diff --git a/.docs.version b/.docs.version index 719fe7cfc1..8734952503 100644 --- a/.docs.version +++ b/.docs.version @@ -1 +1 @@ -f45dbad97046bef81fe1031e544675b3cc226f52 +acce18bd14c29c394c3825137166e66e879f1eb4 diff --git a/aws-cloudformation-schema/aws-bedrock-applicationinferenceprofile.json b/aws-cloudformation-schema/aws-bedrock-applicationinferenceprofile.json new file mode 100644 index 0000000000..224cbc8302 --- /dev/null +++ b/aws-cloudformation-schema/aws-bedrock-applicationinferenceprofile.json @@ -0,0 +1,182 @@ +{ + "typeName" : "AWS::Bedrock::ApplicationInferenceProfile", + "description" : "Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type", + "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-bedrock-application-inference-profile", + "definitions" : { + "InferenceProfileModelSource" : { + "description" : "Various ways to encode a list of models in a CreateInferenceProfile request", + "oneOf" : [ { + "type" : "object", + "title" : "CopyFrom", + "properties" : { + "CopyFrom" : { + "type" : "string", + "maxLength" : 2048, + "minLength" : 1, + "pattern" : "^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|foundation-model)/[a-zA-Z0-9-:.]+$", + "description" : "Source arns for a custom inference profile to copy its regional load balancing config from. This\ncan either be a foundation model or predefined inference profile ARN." + } + }, + "required" : [ "CopyFrom" ], + "additionalProperties" : false + } ] + }, + "InferenceProfileStatus" : { + "type" : "string", + "description" : "Status of the Inference Profile", + "enum" : [ "ACTIVE" ] + }, + "InferenceProfileType" : { + "type" : "string", + "description" : "Type of the Inference Profile", + "enum" : [ "APPLICATION", "SYSTEM_DEFINED" ] + }, + "InferenceProfileModel" : { + "type" : "object", + "description" : "Model configuration", + "properties" : { + "ModelArn" : { + "type" : "string", + "pattern" : "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}$", + "description" : "ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs" + } + }, + "additionalProperties" : false + }, + "Tag" : { + "type" : "object", + "description" : "Definition of the key/value pair for a tag", + "properties" : { + "Key" : { + "type" : "string", + "maxLength" : 128, + "minLength" : 1, + "pattern" : "^[a-zA-Z0-9\\s._:/=+@-]*$", + "description" : "Tag Key" + }, + "Value" : { + "type" : "string", + "maxLength" : 256, + "minLength" : 0, + "pattern" : "^[a-zA-Z0-9\\s._:/=+@-]*$", + "description" : "Tag Value" + } + }, + "required" : [ "Key", "Value" ], + "additionalProperties" : false + }, + "Unit" : { + "type" : "object", + "additionalProperties" : false + } + }, + "properties" : { + "CreatedAt" : { + "type" : "string", + "description" : "Time Stamp", + "format" : "date-time" + }, + "Description" : { + "type" : "string", + "maxLength" : 200, + "minLength" : 1, + "pattern" : "^([0-9a-zA-Z:.][ _-]?)+$", + "description" : "Description of the inference profile" + }, + "InferenceProfileArn" : { + "type" : "string", + "maxLength" : 2048, + "minLength" : 1, + "pattern" : "^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$" + }, + "InferenceProfileId" : { + "type" : "string", + "maxLength" : 64, + "minLength" : 1, + "pattern" : "^[a-zA-Z0-9-:.]+$" + }, + "InferenceProfileIdentifier" : { + "type" : "string", + "maxLength" : 2048, + "minLength" : 1, + "pattern" : "^(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/)?[a-zA-Z0-9-:.]+$", + "description" : "Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs." + }, + "InferenceProfileName" : { + "type" : "string", + "maxLength" : 64, + "minLength" : 1, + "pattern" : "^([0-9a-zA-Z][ _-]?)+$" + }, + "ModelSource" : { + "$ref" : "#/definitions/InferenceProfileModelSource" + }, + "Models" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/InferenceProfileModel" + }, + "maxItems" : 5, + "minItems" : 1, + "description" : "List of model configuration" + }, + "Status" : { + "$ref" : "#/definitions/InferenceProfileStatus" + }, + "Tags" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/Tag" + }, + "maxItems" : 200, + "minItems" : 0, + "description" : "List of Tags" + }, + "Type" : { + "$ref" : "#/definitions/InferenceProfileType" + }, + "UpdatedAt" : { + "type" : "string", + "description" : "Time Stamp", + "format" : "date-time" + } + }, + "required" : [ "InferenceProfileName" ], + "readOnlyProperties" : [ "/properties/Models", "/properties/InferenceProfileArn", "/properties/InferenceProfileId", "/properties/InferenceProfileIdentifier", "/properties/Status", "/properties/Type", "/properties/CreatedAt", "/properties/UpdatedAt" ], + "writeOnlyProperties" : [ "/properties/ModelSource" ], + "createOnlyProperties" : [ "/properties/Description", "/properties/InferenceProfileName", "/properties/ModelSource" ], + "primaryIdentifier" : [ "/properties/InferenceProfileIdentifier" ], + "handlers" : { + "create" : { + "permissions" : [ "bedrock:CreateInferenceProfile", "bedrock:GetInferenceProfile", "bedrock:TagResource", "bedrock:ListTagsForResource" ] + }, + "read" : { + "permissions" : [ "bedrock:GetInferenceProfile", "bedrock:ListTagsForResource" ] + }, + "update" : { + "permissions" : [ "bedrock:GetInferenceProfile", "bedrock:ListTagsForResource", "bedrock:TagResource", "bedrock:UntagResource" ] + }, + "delete" : { + "permissions" : [ "bedrock:DeleteInferenceProfile", "bedrock:GetInferenceProfile" ] + }, + "list" : { + "handlerSchema" : { + "properties" : { + "Type" : { + "$ref" : "resource-schema.json#/properties/Type" + } + } + }, + "permissions" : [ "bedrock:ListInferenceProfiles" ] + } + }, + "tagging" : { + "cloudFormationSystemTags" : true, + "tagOnCreate" : true, + "tagProperty" : "/properties/Tags", + "tagUpdatable" : true, + "taggable" : true, + "permissions" : [ "bedrock:TagResource", "bedrock:UntagResource", "bedrock:ListTagsForResource" ] + }, + "additionalProperties" : false +} \ No newline at end of file diff --git a/aws-cloudformation-schema/aws-bedrock-flow.json b/aws-cloudformation-schema/aws-bedrock-flow.json index 22e4a35741..d75245c66d 100644 --- a/aws-cloudformation-schema/aws-bedrock-flow.json +++ b/aws-cloudformation-schema/aws-bedrock-flow.json @@ -421,7 +421,7 @@ "type" : "string", "maxLength" : 2048, "minLength" : 1, - "pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", + "pattern" : "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", "description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models." }, "GuardrailConfiguration" : { @@ -530,7 +530,7 @@ "type" : "string", "maxLength" : 2048, "minLength" : 1, - "pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", + "pattern" : "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", "description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models." }, "InferenceConfiguration" : { diff --git a/aws-cloudformation-schema/aws-bedrock-flowversion.json b/aws-cloudformation-schema/aws-bedrock-flowversion.json index bdec4bba02..38c023c313 100644 --- a/aws-cloudformation-schema/aws-bedrock-flowversion.json +++ b/aws-cloudformation-schema/aws-bedrock-flowversion.json @@ -421,7 +421,7 @@ "type" : "string", "maxLength" : 2048, "minLength" : 1, - "pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", + "pattern" : "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", "description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models." }, "GuardrailConfiguration" : { @@ -510,7 +510,7 @@ "type" : "string", "maxLength" : 2048, "minLength" : 1, - "pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", + "pattern" : "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", "description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models." }, "InferenceConfiguration" : { diff --git a/aws-cloudformation-schema/aws-bedrock-prompt.json b/aws-cloudformation-schema/aws-bedrock-prompt.json index 5d75d282d4..e3af04fd5c 100644 --- a/aws-cloudformation-schema/aws-bedrock-prompt.json +++ b/aws-cloudformation-schema/aws-bedrock-prompt.json @@ -26,7 +26,7 @@ "type" : "string", "maxLength" : 2048, "minLength" : 1, - "pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", + "pattern" : "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", "description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models." }, "InferenceConfiguration" : { diff --git a/aws-cloudformation-schema/aws-bedrock-promptversion.json b/aws-cloudformation-schema/aws-bedrock-promptversion.json index ec2b950a9d..bd4cd4d109 100644 --- a/aws-cloudformation-schema/aws-bedrock-promptversion.json +++ b/aws-cloudformation-schema/aws-bedrock-promptversion.json @@ -27,7 +27,7 @@ "type" : "string", "maxLength" : 2048, "minLength" : 1, - "pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", + "pattern" : "^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$", "description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models." }, "InferenceConfiguration" : { diff --git a/aws-cloudformation-schema/aws-events-apidestination.json b/aws-cloudformation-schema/aws-events-apidestination.json index d9b76b3136..3d6c428511 100644 --- a/aws-cloudformation-schema/aws-events-apidestination.json +++ b/aws-cloudformation-schema/aws-events-apidestination.json @@ -6,7 +6,8 @@ "description" : "Name of the apiDestination.", "type" : "string", "minLength" : 1, - "maxLength" : 64 + "maxLength" : 64, + "pattern" : "[\\.\\-_A-Za-z0-9]+" }, "Description" : { "type" : "string", @@ -14,11 +15,13 @@ }, "ConnectionArn" : { "description" : "The arn of the connection.", - "type" : "string" + "type" : "string", + "pattern" : "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:connection/[\\.\\-_A-Za-z0-9]+/[\\-A-Za-z0-9]+$" }, "Arn" : { "description" : "The arn of the api destination.", - "type" : "string" + "type" : "string", + "pattern" : "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:api-destination/[\\.\\-_A-Za-z0-9]+/[\\-A-Za-z0-9]+$" }, "InvocationRateLimitPerSecond" : { "type" : "integer", @@ -26,7 +29,8 @@ }, "InvocationEndpoint" : { "description" : "Url endpoint to invoke.", - "type" : "string" + "type" : "string", + "pattern" : "^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$" }, "HttpMethod" : { "type" : "string", @@ -38,6 +42,12 @@ "readOnlyProperties" : [ "/properties/Arn" ], "required" : [ "ConnectionArn", "InvocationEndpoint", "HttpMethod" ], "primaryIdentifier" : [ "/properties/Name" ], + "tagging" : { + "taggable" : false, + "tagOnCreate" : false, + "tagUpdatable" : false, + "cloudFormationSystemTags" : false + }, "handlers" : { "create" : { "permissions" : [ "events:CreateApiDestination", "events:DescribeApiDestination" ] diff --git a/aws-cloudformation-schema/aws-events-archive.json b/aws-cloudformation-schema/aws-events-archive.json index 05a92e2152..b8dd1f8de7 100644 --- a/aws-cloudformation-schema/aws-events-archive.json +++ b/aws-cloudformation-schema/aws-events-archive.json @@ -6,7 +6,8 @@ "ArchiveName" : { "type" : "string", "minLength" : 1, - "maxLength" : 48 + "maxLength" : 48, + "pattern" : "[\\.\\-_A-Za-z0-9]+" }, "SourceArn" : { "type" : "string" @@ -18,7 +19,8 @@ "type" : "object" }, "Arn" : { - "type" : "string" + "type" : "string", + "pattern" : "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:.+\\/.+$" }, "RetentionDays" : { "type" : "integer" @@ -28,6 +30,12 @@ "readOnlyProperties" : [ "/properties/Arn" ], "createOnlyProperties" : [ "/properties/ArchiveName", "/properties/SourceArn" ], "primaryIdentifier" : [ "/properties/ArchiveName" ], + "tagging" : { + "taggable" : false, + "tagOnCreate" : false, + "tagUpdatable" : false, + "cloudFormationSystemTags" : false + }, "handlers" : { "create" : { "permissions" : [ "events:DescribeArchive", "events:CreateArchive" ] diff --git a/aws-cloudformation-schema/aws-events-connection.json b/aws-cloudformation-schema/aws-events-connection.json index e102b3b82b..056cbd0e78 100644 --- a/aws-cloudformation-schema/aws-events-connection.json +++ b/aws-cloudformation-schema/aws-events-connection.json @@ -1,96 +1,149 @@ { + "tagging" : { + "taggable" : false, + "tagOnCreate" : false, + "tagUpdatable" : false, + "cloudFormationSystemTags" : false + }, + "handlers" : { + "read" : { + "permissions" : [ "events:DescribeConnection" ] + }, + "create" : { + "permissions" : [ "events:CreateConnection", "events:DescribeConnection", "secretsmanager:CreateSecret", "secretsmanager:GetSecretValue", "secretsmanager:PutSecretValue", "iam:CreateServiceLinkedRole" ] + }, + "update" : { + "permissions" : [ "events:UpdateConnection", "events:DescribeConnection", "secretsmanager:CreateSecret", "secretsmanager:UpdateSecret", "secretsmanager:GetSecretValue", "secretsmanager:PutSecretValue" ] + }, + "list" : { + "permissions" : [ "events:ListConnections" ] + }, + "delete" : { + "permissions" : [ "events:DeleteConnection", "events:DescribeConnection" ] + } + }, "typeName" : "AWS::Events::Connection", + "readOnlyProperties" : [ "/properties/Arn", "/properties/SecretArn" ], "description" : "Resource Type definition for AWS::Events::Connection.", + "writeOnlyProperties" : [ "/properties/AuthParameters" ], + "createOnlyProperties" : [ "/properties/Name" ], + "additionalProperties" : false, + "primaryIdentifier" : [ "/properties/Name" ], "definitions" : { "AuthParameters" : { - "type" : "object", - "minProperties" : 1, + "oneOf" : [ { + "required" : [ "BasicAuthParameters" ] + }, { + "required" : [ "OAuthParameters" ] + }, { + "required" : [ "ApiKeyAuthParameters" ] + } ], "maxProperties" : 2, + "additionalProperties" : false, + "type" : "object", "properties" : { - "ApiKeyAuthParameters" : { - "$ref" : "#/definitions/ApiKeyAuthParameters" + "InvocationHttpParameters" : { + "$ref" : "#/definitions/ConnectionHttpParameters" }, "BasicAuthParameters" : { "$ref" : "#/definitions/BasicAuthParameters" }, + "ApiKeyAuthParameters" : { + "$ref" : "#/definitions/ApiKeyAuthParameters" + }, "OAuthParameters" : { "$ref" : "#/definitions/OAuthParameters" + } + }, + "minProperties" : 1 + }, + "ClientParameters" : { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "ClientSecret" : { + "pattern" : "^[ \\t]*[^\\x00-\\x1F\\x7F]+([ \\t]+[^\\x00-\\x1F\\x7F]+)*[ \\t]*$", + "type" : "string" }, - "InvocationHttpParameters" : { - "$ref" : "#/definitions/ConnectionHttpParameters" + "ClientID" : { + "pattern" : "^[ \\t]*[^\\x00-\\x1F\\x7F]+([ \\t]+[^\\x00-\\x1F\\x7F]+)*[ \\t]*$", + "type" : "string" } }, - "oneOf" : [ { - "required" : [ "BasicAuthParameters" ] - }, { - "required" : [ "OAuthParameters" ] - }, { - "required" : [ "ApiKeyAuthParameters" ] - } ], - "additionalProperties" : false + "required" : [ "ClientID", "ClientSecret" ] }, "BasicAuthParameters" : { + "additionalProperties" : false, "type" : "object", "properties" : { "Username" : { + "pattern" : "^[ \\t]*[^\\x00-\\x1F\\x7F]+([ \\t]+[^\\x00-\\x1F\\x7F]+)*[ \\t]*$", "type" : "string" }, "Password" : { + "pattern" : "^[ \\t]*[^\\x00-\\x1F\\x7F]+([ \\t]+[^\\x00-\\x1F\\x7F]+)*[ \\t]*$", "type" : "string" } }, - "required" : [ "Username", "Password" ], - "additionalProperties" : false + "required" : [ "Username", "Password" ] + }, + "ApiKeyAuthParameters" : { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "ApiKeyValue" : { + "pattern" : "^[ \\t]*[^\\x00-\\x1F\\x7F]+([ \\t]+[^\\x00-\\x1F\\x7F]+)*[ \\t]*$", + "type" : "string" + }, + "ApiKeyName" : { + "pattern" : "^[ \\t]*[^\\x00-\\x1F\\x7F]+([ \\t]+[^\\x00-\\x1F\\x7F]+)*[ \\t]*$", + "type" : "string" + } + }, + "required" : [ "ApiKeyName", "ApiKeyValue" ] }, "OAuthParameters" : { + "additionalProperties" : false, "type" : "object", "properties" : { "ClientParameters" : { "$ref" : "#/definitions/ClientParameters" }, + "OAuthHttpParameters" : { + "$ref" : "#/definitions/ConnectionHttpParameters" + }, "AuthorizationEndpoint" : { - "type" : "string", "minLength" : 1, + "pattern" : "^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$", + "type" : "string", "maxLength" : 2048 }, "HttpMethod" : { "type" : "string", "enum" : [ "GET", "POST", "PUT" ] - }, - "OAuthHttpParameters" : { - "$ref" : "#/definitions/ConnectionHttpParameters" } }, - "required" : [ "ClientParameters", "AuthorizationEndpoint", "HttpMethod" ], - "additionalProperties" : false + "required" : [ "ClientParameters", "AuthorizationEndpoint", "HttpMethod" ] }, - "ApiKeyAuthParameters" : { + "Parameter" : { + "additionalProperties" : false, "type" : "object", "properties" : { - "ApiKeyName" : { + "Value" : { "type" : "string" }, - "ApiKeyValue" : { - "type" : "string" - } - }, - "required" : [ "ApiKeyName", "ApiKeyValue" ], - "additionalProperties" : false - }, - "ClientParameters" : { - "type" : "object", - "properties" : { - "ClientID" : { - "type" : "string" + "IsValueSecret" : { + "default" : true, + "type" : "boolean" }, - "ClientSecret" : { + "Key" : { "type" : "string" } }, - "required" : [ "ClientID", "ClientSecret" ], - "additionalProperties" : false + "required" : [ "Key", "Value" ] }, "ConnectionHttpParameters" : { + "additionalProperties" : false, "type" : "object", "properties" : { "HeaderParameters" : { @@ -111,76 +164,38 @@ "$ref" : "#/definitions/Parameter" } } - }, - "additionalProperties" : false - }, - "Parameter" : { - "type" : "object", - "properties" : { - "Key" : { - "type" : "string" - }, - "Value" : { - "type" : "string" - }, - "IsValueSecret" : { - "type" : "boolean", - "default" : true - } - }, - "required" : [ "Key", "Value" ], - "additionalProperties" : false + } } }, "properties" : { - "Name" : { - "description" : "Name of the connection.", - "type" : "string", - "minLength" : 1, - "maxLength" : 64 - }, - "Arn" : { - "description" : "The arn of the connection resource.", - "type" : "string" - }, "SecretArn" : { + "pattern" : "^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]|\\d|\\-)*:([0-9]{12})?:secret:[\\/_+=\\.@\\-A-Za-z0-9]+$", "description" : "The arn of the secrets manager secret created in the customer account.", "type" : "string" }, + "AuthParameters" : { + "$ref" : "#/definitions/AuthParameters" + }, "Description" : { "description" : "Description of the connection.", "type" : "string", "maxLength" : 512 }, + "Arn" : { + "pattern" : "^arn:aws([a-z]|\\-)*:events:([a-z]|\\d|\\-)*:([0-9]{12})?:connection\\/[\\.\\-_A-Za-z0-9]+\\/[\\-A-Za-z0-9]+$", + "description" : "The arn of the connection resource.", + "type" : "string" + }, "AuthorizationType" : { "type" : "string", "enum" : [ "API_KEY", "BASIC", "OAUTH_CLIENT_CREDENTIALS" ] }, - "AuthParameters" : { - "$ref" : "#/definitions/AuthParameters" - } - }, - "additionalProperties" : false, - "required" : [ "AuthorizationType", "AuthParameters" ], - "createOnlyProperties" : [ "/properties/Name" ], - "readOnlyProperties" : [ "/properties/Arn", "/properties/SecretArn" ], - "writeOnlyProperties" : [ "/properties/AuthParameters" ], - "primaryIdentifier" : [ "/properties/Name" ], - "handlers" : { - "create" : { - "permissions" : [ "events:CreateConnection", "secretsmanager:CreateSecret", "secretsmanager:GetSecretValue", "secretsmanager:PutSecretValue", "iam:CreateServiceLinkedRole" ] - }, - "read" : { - "permissions" : [ "events:DescribeConnection" ] - }, - "update" : { - "permissions" : [ "events:UpdateConnection", "events:DescribeConnection", "secretsmanager:CreateSecret", "secretsmanager:UpdateSecret", "secretsmanager:GetSecretValue", "secretsmanager:PutSecretValue" ] - }, - "delete" : { - "permissions" : [ "events:DeleteConnection" ] - }, - "list" : { - "permissions" : [ "events:ListConnections" ] + "Name" : { + "minLength" : 1, + "pattern" : "[\\.\\-_A-Za-z0-9]+", + "description" : "Name of the connection.", + "type" : "string", + "maxLength" : 64 } } } \ No newline at end of file diff --git a/aws-cloudformation-schema/aws-route53resolver-outpostresolver.json b/aws-cloudformation-schema/aws-route53resolver-outpostresolver.json index ba6b934d73..c6103a97b9 100644 --- a/aws-cloudformation-schema/aws-route53resolver-outpostresolver.json +++ b/aws-cloudformation-schema/aws-route53resolver-outpostresolver.json @@ -104,7 +104,8 @@ "tagOnCreate" : true, "tagUpdatable" : true, "cloudFormationSystemTags" : true, - "tagProperty" : "/properties/Tags" + "tagProperty" : "/properties/Tags", + "permissions" : [ "route53resolver:TagResource", "route53resolver:UntagResource" ] }, "required" : [ "OutpostArn", "PreferredInstanceType", "Name" ], "readOnlyProperties" : [ "/properties/Id", "/properties/Arn", "/properties/Status", "/properties/StatusMessage", "/properties/CreationTime", "/properties/ModificationTime", "/properties/CreatorRequestId" ], @@ -112,7 +113,7 @@ "primaryIdentifier" : [ "/properties/Id" ], "handlers" : { "create" : { - "permissions" : [ "route53resolver:CreateOutpostResolver", "route53resolver:GetOutpostResolver", "route53resolver:ListTagsForResource", "outposts:GetOutpost" ] + "permissions" : [ "route53resolver:CreateOutpostResolver", "route53resolver:GetOutpostResolver", "route53resolver:ListTagsForResource", "outposts:GetOutpost", "route53resolver:TagResource" ] }, "read" : { "permissions" : [ "route53resolver:GetOutpostResolver", "route53resolver:ListTagsForResource" ] diff --git a/aws-cloudformation-schema/aws-ses-configurationset.json b/aws-cloudformation-schema/aws-ses-configurationset.json index 0de8c92bd6..00a7e29a73 100644 --- a/aws-cloudformation-schema/aws-ses-configurationset.json +++ b/aws-cloudformation-schema/aws-ses-configurationset.json @@ -27,6 +27,12 @@ "SendingPoolName" : { "type" : "string", "description" : "The name of the dedicated IP pool to associate with the configuration set." + }, + "MaxDeliverySeconds" : { + "type" : "number", + "description" : "Specifies the maximum time until which SES will retry sending emails", + "minimum" : 300, + "maximum" : 50400 } } }, diff --git a/aws-cloudformation-schema/aws-wisdom-aiagent.json b/aws-cloudformation-schema/aws-wisdom-aiagent.json new file mode 100644 index 0000000000..97ad7975ef --- /dev/null +++ b/aws-cloudformation-schema/aws-wisdom-aiagent.json @@ -0,0 +1,300 @@ +{ + "typeName" : "AWS::Wisdom::AIAgent", + "description" : "Definition of AWS::Wisdom::AIAgent Resource Type", + "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "definitions" : { + "AIAgentAssociationConfigurationType" : { + "type" : "string", + "enum" : [ "KNOWLEDGE_BASE" ] + }, + "AIAgentConfiguration" : { + "oneOf" : [ { + "type" : "object", + "title" : "ManualSearchAIAgentConfiguration", + "properties" : { + "ManualSearchAIAgentConfiguration" : { + "$ref" : "#/definitions/ManualSearchAIAgentConfiguration" + } + }, + "required" : [ "ManualSearchAIAgentConfiguration" ], + "additionalProperties" : false + }, { + "type" : "object", + "title" : "AnswerRecommendationAIAgentConfiguration", + "properties" : { + "AnswerRecommendationAIAgentConfiguration" : { + "$ref" : "#/definitions/AnswerRecommendationAIAgentConfiguration" + } + }, + "required" : [ "AnswerRecommendationAIAgentConfiguration" ], + "additionalProperties" : false + } ] + }, + "AIAgentType" : { + "type" : "string", + "enum" : [ "MANUAL_SEARCH", "ANSWER_RECOMMENDATION" ] + }, + "AnswerRecommendationAIAgentConfiguration" : { + "type" : "object", + "properties" : { + "IntentLabelingGenerationAIPromptId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$" + }, + "QueryReformulationAIPromptId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$" + }, + "AnswerGenerationAIPromptId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$" + }, + "AssociationConfigurations" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/AssociationConfiguration" + } + } + }, + "additionalProperties" : false + }, + "AssociationConfiguration" : { + "type" : "object", + "properties" : { + "AssociationId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" + }, + "AssociationType" : { + "$ref" : "#/definitions/AIAgentAssociationConfigurationType" + }, + "AssociationConfigurationData" : { + "$ref" : "#/definitions/AssociationConfigurationData" + } + }, + "additionalProperties" : false + }, + "AssociationConfigurationData" : { + "oneOf" : [ { + "type" : "object", + "title" : "KnowledgeBaseAssociationConfigurationData", + "properties" : { + "KnowledgeBaseAssociationConfigurationData" : { + "$ref" : "#/definitions/KnowledgeBaseAssociationConfigurationData" + } + }, + "required" : [ "KnowledgeBaseAssociationConfigurationData" ], + "additionalProperties" : false + } ] + }, + "KnowledgeBaseAssociationConfigurationData" : { + "type" : "object", + "properties" : { + "ContentTagFilter" : { + "$ref" : "#/definitions/TagFilter" + }, + "MaxResults" : { + "type" : "number", + "maximum" : 100, + "minimum" : 1 + }, + "OverrideKnowledgeBaseSearchType" : { + "$ref" : "#/definitions/KnowledgeBaseSearchType" + } + }, + "additionalProperties" : false + }, + "KnowledgeBaseSearchType" : { + "type" : "string", + "enum" : [ "HYBRID", "SEMANTIC" ] + }, + "ManualSearchAIAgentConfiguration" : { + "type" : "object", + "properties" : { + "AnswerGenerationAIPromptId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$" + }, + "AssociationConfigurations" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/AssociationConfiguration" + } + } + }, + "additionalProperties" : false + }, + "OrCondition" : { + "oneOf" : [ { + "type" : "object", + "title" : "AndConditions", + "properties" : { + "AndConditions" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/TagCondition" + } + } + }, + "required" : [ "AndConditions" ], + "additionalProperties" : false + }, { + "type" : "object", + "title" : "TagCondition", + "properties" : { + "TagCondition" : { + "$ref" : "#/definitions/TagCondition" + } + }, + "required" : [ "TagCondition" ], + "additionalProperties" : false + } ] + }, + "TagCondition" : { + "type" : "object", + "properties" : { + "Key" : { + "type" : "string", + "maxLength" : 128, + "minLength" : 1, + "pattern" : "^(?!aws:)[a-zA-Z+-=._:/]+$" + }, + "Value" : { + "type" : "string", + "maxLength" : 256, + "minLength" : 1 + } + }, + "required" : [ "Key" ], + "additionalProperties" : false + }, + "TagFilter" : { + "oneOf" : [ { + "type" : "object", + "title" : "TagCondition", + "properties" : { + "TagCondition" : { + "$ref" : "#/definitions/TagCondition" + } + }, + "required" : [ "TagCondition" ], + "additionalProperties" : false + }, { + "type" : "object", + "title" : "AndConditions", + "properties" : { + "AndConditions" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/TagCondition" + } + } + }, + "required" : [ "AndConditions" ], + "additionalProperties" : false + }, { + "type" : "object", + "title" : "OrConditions", + "properties" : { + "OrConditions" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/OrCondition" + } + } + }, + "required" : [ "OrConditions" ], + "additionalProperties" : false + } ] + }, + "Tags" : { + "type" : "object", + "patternProperties" : { + "^(?!aws:)[a-zA-Z+-=._:/]+$" : { + "type" : "string", + "maxLength" : 256, + "minLength" : 1 + } + }, + "additionalProperties" : false + } + }, + "properties" : { + "AIAgentId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}(:[A-Z0-9_$]+){0,1}$" + }, + "AIAgentArn" : { + "type" : "string", + "pattern" : "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$" + }, + "AssistantId" : { + "type" : "string", + "pattern" : "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$" + }, + "AssistantArn" : { + "type" : "string", + "pattern" : "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$" + }, + "Configuration" : { + "$ref" : "#/definitions/AIAgentConfiguration" + }, + "Description" : { + "type" : "string", + "maxLength" : 255, + "minLength" : 1, + "pattern" : "^[a-zA-Z0-9\\s_.,-]+" + }, + "Name" : { + "type" : "string", + "maxLength" : 255, + "minLength" : 1, + "pattern" : "^[a-zA-Z0-9\\s_.,-]+" + }, + "Tags" : { + "$ref" : "#/definitions/Tags" + }, + "Type" : { + "$ref" : "#/definitions/AIAgentType" + } + }, + "required" : [ "AssistantId", "Configuration", "Type" ], + "readOnlyProperties" : [ "/properties/AIAgentArn", "/properties/AIAgentId", "/properties/AssistantArn" ], + "createOnlyProperties" : [ "/properties/AssistantId", "/properties/Name", "/properties/Tags", "/properties/Type" ], + "primaryIdentifier" : [ "/properties/AIAgentId", "/properties/AssistantId" ], + "additionalIdentifiers" : [ [ "/properties/AIAgentArn", "/properties/AssistantArn" ] ], + "tagging" : { + "taggable" : true, + "tagOnCreate" : true, + "tagUpdatable" : false, + "cloudFormationSystemTags" : false, + "tagProperty" : "/properties/Tags", + "permissions" : [ "wisdom:TagResource" ] + }, + "handlers" : { + "create" : { + "permissions" : [ "wisdom:CreateAIAgent", "wisdom:TagResource" ] + }, + "read" : { + "permissions" : [ "wisdom:GetAIAgent" ] + }, + "update" : { + "permissions" : [ "wisdom:UpdateAIAgent" ] + }, + "delete" : { + "permissions" : [ "wisdom:DeleteAIAgent" ] + }, + "list" : { + "permissions" : [ "wisdom:ListAIAgents" ], + "handlerSchema" : { + "properties" : { + "AssistantId" : { + "$ref" : "resource-schema.json#/properties/AssistantId" + } + }, + "required" : [ "AssistantId" ] + } + } + }, + "additionalProperties" : false +} \ No newline at end of file diff --git a/meta/.botocore.version b/meta/.botocore.version index 66d5f0e638..752068675b 100644 --- a/meta/.botocore.version +++ b/meta/.botocore.version @@ -1 +1 @@ -1.35.52 +1.35.53 diff --git a/provider/cmd/pulumi-gen-aws-native/supported-types.txt b/provider/cmd/pulumi-gen-aws-native/supported-types.txt index 8735d0298c..357809e463 100644 --- a/provider/cmd/pulumi-gen-aws-native/supported-types.txt +++ b/provider/cmd/pulumi-gen-aws-native/supported-types.txt @@ -115,6 +115,7 @@ AWS::Batch::JobQueue AWS::Batch::SchedulingPolicy AWS::Bedrock::Agent AWS::Bedrock::AgentAlias +AWS::Bedrock::ApplicationInferenceProfile AWS::Bedrock::DataSource AWS::Bedrock::Flow AWS::Bedrock::FlowAlias @@ -1051,6 +1052,7 @@ AWS::WAFv2::RegexPatternSet AWS::WAFv2::RuleGroup AWS::WAFv2::WebACL AWS::WAFv2::WebACLAssociation +AWS::Wisdom::AIAgent AWS::Wisdom::AIPrompt AWS::Wisdom::AIPromptVersion AWS::Wisdom::Assistant diff --git a/provider/cmd/pulumi-resource-aws-native/metadata.json b/provider/cmd/pulumi-resource-aws-native/metadata.json index d7aa08426e..5406f7a332 100644 --- a/provider/cmd/pulumi-resource-aws-native/metadata.json +++ b/provider/cmd/pulumi-resource-aws-native/metadata.json @@ -6883,16 +6883,19 @@ "$ref": "#/types/aws-native:appsync:ApiEventConfig" }, "name": { - "type": "string" + "type": "string", + "description": "The API name." }, "ownerContact": { - "type": "string" + "type": "string", + "description": "The owner contact information for an API resource.\n\nThis field accepts any string input with a length of 0 - 256 characters." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "The tags." } }, "outputs": { @@ -6914,16 +6917,19 @@ "$ref": "#/types/aws-native:appsync:ApiEventConfig" }, "name": { - "type": "string" + "type": "string", + "description": "The API name." }, "ownerContact": { - "type": "string" + "type": "string", + "description": "The owner contact information for an API resource.\n\nThis field accepts any string input with a length of 0 - 256 characters." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "The tags." } }, "autoNamingSpec": { @@ -11421,6 +11427,96 @@ "tagsProperty": "tags", "tagsStyle": "stringMap" }, + "aws-native:bedrock:ApplicationInferenceProfile": { + "cf": "AWS::Bedrock::ApplicationInferenceProfile", + "inputs": { + "description": { + "type": "string", + "description": "Description of the inference profile" + }, + "inferenceProfileName": { + "type": "string" + }, + "modelSource": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSourceProperties" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:index:Tag" + }, + "description": "List of Tags" + } + }, + "outputs": { + "createdAt": { + "type": "string", + "description": "Time Stamp" + }, + "description": { + "type": "string", + "description": "Description of the inference profile", + "replaceOnChanges": true + }, + "inferenceProfileArn": { + "type": "string" + }, + "inferenceProfileId": { + "type": "string" + }, + "inferenceProfileIdentifier": { + "type": "string", + "description": "Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs." + }, + "inferenceProfileName": { + "type": "string", + "replaceOnChanges": true + }, + "modelSource": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSourceProperties", + "replaceOnChanges": true + }, + "models": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModel" + }, + "description": "List of model configuration" + }, + "status": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileStatus" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:index:Tag" + }, + "description": "List of Tags" + }, + "type": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileType" + }, + "updatedAt": { + "type": "string", + "description": "Time Stamp" + } + }, + "autoNamingSpec": { + "sdkName": "inferenceProfileName", + "minLength": 1, + "maxLength": 64 + }, + "createOnly": [ + "description", + "inferenceProfileName", + "modelSource" + ], + "writeOnly": [ + "modelSource" + ], + "tagsProperty": "tags", + "tagsStyle": "keyValueArray" + }, "aws-native:bedrock:DataSource": { "cf": "AWS::Bedrock::DataSource", "inputs": { @@ -24924,7 +25020,7 @@ "items": { "$ref": "#/types/aws-native:datasync:TaskFilterRule" }, - "description": "Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." + "description": "Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." }, "manifestConfig": { "$ref": "#/types/aws-native:datasync:TaskManifestConfig", @@ -24987,7 +25083,7 @@ "items": { "$ref": "#/types/aws-native:datasync:TaskFilterRule" }, - "description": "Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." + "description": "Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." }, "manifestConfig": { "$ref": "#/types/aws-native:datasync:TaskManifestConfig", @@ -41490,10 +41586,6 @@ "minLength": 1, "maxLength": 64 }, - "required": [ - "authParameters", - "authorizationType" - ], "createOnly": [ "name" ], @@ -71077,7 +71169,8 @@ "description": "The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* .\n\nIf you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) ." }, "identityCenterOptions": { - "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions" + "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions", + "description": "Container for IAM Identity Center Option control for the domain." }, "ipAddressType": { "type": "string", @@ -71193,7 +71286,8 @@ "description": "The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* .\n\nIf you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) ." }, "identityCenterOptions": { - "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions" + "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions", + "description": "Container for IAM Identity Center Option control for the domain." }, "ipAddressType": { "type": "string", @@ -96558,6 +96652,104 @@ "webAclArn": "WebACLArn" } }, + "aws-native:wisdom:AiAgent": { + "cf": "AWS::Wisdom::AIAgent", + "inputs": { + "assistantId": { + "type": "string" + }, + "configuration": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration1Properties" + } + ] + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentType" + } + }, + "outputs": { + "aiAgentArn": { + "type": "string" + }, + "aiAgentId": { + "type": "string" + }, + "assistantArn": { + "type": "string" + }, + "assistantId": { + "type": "string", + "replaceOnChanges": true + }, + "configuration": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration1Properties" + } + ] + }, + "description": { + "type": "string" + }, + "name": { + "type": "string", + "replaceOnChanges": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "replaceOnChanges": true + }, + "type": { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentType", + "replaceOnChanges": true + } + }, + "autoNamingSpec": { + "sdkName": "name", + "minLength": 1, + "maxLength": 255 + }, + "required": [ + "assistantId", + "configuration", + "type" + ], + "createOnly": [ + "assistantId", + "name", + "tags", + "type" + ], + "irreversibleNames": { + "aiAgentArn": "AIAgentArn", + "aiAgentId": "AIAgentId" + }, + "tagsProperty": "tags", + "tagsStyle": "stringMap" + }, "aws-native:wisdom:AiPrompt": { "cf": "AWS::Wisdom::AIPrompt", "inputs": { @@ -109126,6 +109318,52 @@ "aws-native:bedrock:AgentType": { "type": "string" }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModel": { + "type": "object", + "properties": { + "modelArn": { + "type": "string", + "description": "ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs" + } + } + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSource0Properties": { + "type": "object", + "properties": { + "copyFrom": { + "type": "string", + "description": "Source arns for a custom inference profile to copy its regional load balancing config from. This\ncan either be a foundation model or predefined inference profile ARN." + } + } + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSourceProperties": { + "type": "object", + "properties": { + "copyFrom": { + "type": "string", + "description": "Source arns for a custom inference profile to copy its regional load balancing config from. This\ncan either be a foundation model or predefined inference profile ARN." + } + } + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileStatus": { + "type": "string" + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileType": { + "type": "string" + }, + "aws-native:bedrock:ApplicationInferenceProfileTag": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Tag Key" + }, + "value": { + "type": "string", + "description": "Tag Value" + } + } + }, "aws-native:bedrock:DataSourceBedrockFoundationModelConfiguration": { "type": "object", "properties": { @@ -129008,7 +129246,7 @@ }, "minimumScalingStepSize": { "type": "integer", - "description": "The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used.\n\nWhen additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.\n\nIf you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand." + "description": "The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used.\n\nWhen additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.\n\nIf you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand." }, "status": { "$ref": "#/types/aws-native:ecs:CapacityProviderManagedScalingStatus", @@ -157426,7 +157664,8 @@ "type": "object", "properties": { "flowTimeouts": { - "$ref": "#/types/aws-native:networkfirewall:FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties" + "$ref": "#/types/aws-native:networkfirewall:FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties", + "description": "Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle." }, "ruleOrder": { "$ref": "#/types/aws-native:networkfirewall:FirewallPolicyRuleOrder", @@ -208317,6 +208556,10 @@ "aws-native:ses:ConfigurationSetDeliveryOptions": { "type": "object", "properties": { + "maxDeliverySeconds": { + "type": "number", + "description": "Specifies the maximum time until which SES will retry sending emails" + }, "sendingPoolName": { "type": "string", "description": "The name of the dedicated IP pool to associate with the configuration set." @@ -215236,6 +215479,200 @@ } } }, + "aws-native:wisdom:AiAgentAiAgentAssociationConfigurationType": { + "type": "string" + }, + "aws-native:wisdom:AiAgentAiAgentConfiguration0Properties": { + "type": "object", + "properties": { + "manualSearchAiAgentConfiguration": { + "$ref": "#/types/aws-native:wisdom:AiAgentManualSearchAiAgentConfiguration" + } + }, + "irreversibleNames": { + "manualSearchAiAgentConfiguration": "ManualSearchAIAgentConfiguration" + } + }, + "aws-native:wisdom:AiAgentAiAgentConfiguration1Properties": { + "type": "object", + "properties": { + "answerRecommendationAiAgentConfiguration": { + "$ref": "#/types/aws-native:wisdom:AiAgentAnswerRecommendationAiAgentConfiguration" + } + }, + "irreversibleNames": { + "answerRecommendationAiAgentConfiguration": "AnswerRecommendationAIAgentConfiguration" + } + }, + "aws-native:wisdom:AiAgentAiAgentType": { + "type": "string" + }, + "aws-native:wisdom:AiAgentAnswerRecommendationAiAgentConfiguration": { + "type": "object", + "properties": { + "answerGenerationAiPromptId": { + "type": "string" + }, + "associationConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentAssociationConfiguration" + } + }, + "intentLabelingGenerationAiPromptId": { + "type": "string" + }, + "queryReformulationAiPromptId": { + "type": "string" + } + }, + "irreversibleNames": { + "answerGenerationAiPromptId": "AnswerGenerationAIPromptId", + "intentLabelingGenerationAiPromptId": "IntentLabelingGenerationAIPromptId", + "queryReformulationAiPromptId": "QueryReformulationAIPromptId" + } + }, + "aws-native:wisdom:AiAgentAssociationConfiguration": { + "type": "object", + "properties": { + "associationConfigurationData": { + "$ref": "#/types/aws-native:wisdom:AiAgentAssociationConfigurationDataProperties" + }, + "associationId": { + "type": "string" + }, + "associationType": { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentAssociationConfigurationType" + } + } + }, + "aws-native:wisdom:AiAgentAssociationConfigurationData0Properties": { + "type": "object", + "properties": { + "knowledgeBaseAssociationConfigurationData": { + "$ref": "#/types/aws-native:wisdom:AiAgentKnowledgeBaseAssociationConfigurationData" + } + } + }, + "aws-native:wisdom:AiAgentAssociationConfigurationDataProperties": { + "type": "object", + "properties": { + "knowledgeBaseAssociationConfigurationData": { + "$ref": "#/types/aws-native:wisdom:AiAgentKnowledgeBaseAssociationConfigurationData" + } + } + }, + "aws-native:wisdom:AiAgentKnowledgeBaseAssociationConfigurationData": { + "type": "object", + "properties": { + "contentTagFilter": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentTagFilter0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentTagFilter1Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentTagFilter2Properties" + } + ] + }, + "maxResults": { + "type": "number" + }, + "overrideKnowledgeBaseSearchType": { + "$ref": "#/types/aws-native:wisdom:AiAgentKnowledgeBaseSearchType" + } + } + }, + "aws-native:wisdom:AiAgentKnowledgeBaseSearchType": { + "type": "string" + }, + "aws-native:wisdom:AiAgentManualSearchAiAgentConfiguration": { + "type": "object", + "properties": { + "answerGenerationAiPromptId": { + "type": "string" + }, + "associationConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentAssociationConfiguration" + } + } + }, + "irreversibleNames": { + "answerGenerationAiPromptId": "AnswerGenerationAIPromptId" + } + }, + "aws-native:wisdom:AiAgentOrCondition0Properties": { + "type": "object", + "properties": { + "andConditions": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + } + } + }, + "aws-native:wisdom:AiAgentOrCondition1Properties": { + "type": "object", + "properties": { + "tagCondition": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + } + }, + "aws-native:wisdom:AiAgentTagCondition": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "aws-native:wisdom:AiAgentTagFilter0Properties": { + "type": "object", + "properties": { + "tagCondition": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + } + }, + "aws-native:wisdom:AiAgentTagFilter1Properties": { + "type": "object", + "properties": { + "andConditions": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + } + } + }, + "aws-native:wisdom:AiAgentTagFilter2Properties": { + "type": "object", + "properties": { + "orConditions": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentOrCondition0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentOrCondition1Properties" + } + ] + } + } + } + }, "aws-native:wisdom:AiPromptAiPromptApiFormat": { "type": "string" }, @@ -216600,6 +217037,12 @@ "agentAliasId" ] }, + "aws-native:bedrock:getApplicationInferenceProfile": { + "cf": "AWS::Bedrock::ApplicationInferenceProfile", + "ids": [ + "inferenceProfileIdentifier" + ] + }, "aws-native:bedrock:getDataSource": { "cf": "AWS::Bedrock::DataSource", "ids": [ @@ -222153,6 +222596,13 @@ "scope" ] }, + "aws-native:wisdom:getAiAgent": { + "cf": "AWS::Wisdom::AIAgent", + "ids": [ + "aiAgentId", + "assistantId" + ] + }, "aws-native:wisdom:getAiPrompt": { "cf": "AWS::Wisdom::AIPrompt", "ids": [ diff --git a/provider/cmd/pulumi-resource-aws-native/schema.json b/provider/cmd/pulumi-resource-aws-native/schema.json index 16929db500..a1d1aa4fb2 100644 --- a/provider/cmd/pulumi-resource-aws-native/schema.json +++ b/provider/cmd/pulumi-resource-aws-native/schema.json @@ -15948,6 +15948,84 @@ } ] }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModel": { + "description": "Model configuration", + "properties": { + "modelArn": { + "type": "string", + "description": "ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs" + } + }, + "type": "object" + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSource0Properties": { + "description": "Various ways to encode a list of models in a CreateInferenceProfile request", + "properties": { + "copyFrom": { + "type": "string", + "description": "Source arns for a custom inference profile to copy its regional load balancing config from. This\ncan either be a foundation model or predefined inference profile ARN." + } + }, + "type": "object", + "required": [ + "copyFrom" + ] + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSourceProperties": { + "description": "Various ways to encode a list of models in a CreateInferenceProfile request", + "properties": { + "copyFrom": { + "type": "string", + "description": "Source arns for a custom inference profile to copy its regional load balancing config from. This\ncan either be a foundation model or predefined inference profile ARN." + } + }, + "type": "object", + "required": [ + "copyFrom" + ] + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileStatus": { + "description": "Status of the Inference Profile", + "type": "string", + "enum": [ + { + "name": "Active", + "value": "ACTIVE" + } + ] + }, + "aws-native:bedrock:ApplicationInferenceProfileInferenceProfileType": { + "description": "Type of the Inference Profile", + "type": "string", + "enum": [ + { + "name": "Application", + "value": "APPLICATION" + }, + { + "name": "SystemDefined", + "value": "SYSTEM_DEFINED" + } + ] + }, + "aws-native:bedrock:ApplicationInferenceProfileTag": { + "description": "Definition of the key/value pair for a tag", + "properties": { + "key": { + "type": "string", + "description": "Tag Key" + }, + "value": { + "type": "string", + "description": "Tag Value" + } + }, + "type": "object", + "required": [ + "key", + "value" + ] + }, "aws-native:bedrock:DataSourceBedrockFoundationModelConfiguration": { "description": "Settings for a foundation model used to parse documents for a data source.", "properties": { @@ -45403,7 +45481,7 @@ }, "minimumScalingStepSize": { "type": "integer", - "description": "The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used.\n\nWhen additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.\n\nIf you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand." + "description": "The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used.\n\nWhen additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.\n\nIf you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand." }, "status": { "$ref": "#/types/aws-native:ecs:CapacityProviderManagedScalingStatus", @@ -86130,7 +86208,8 @@ "aws-native:networkfirewall:FirewallPolicyStatefulEngineOptions": { "properties": { "flowTimeouts": { - "$ref": "#/types/aws-native:networkfirewall:FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties" + "$ref": "#/types/aws-native:networkfirewall:FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties", + "description": "Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle." }, "ruleOrder": { "$ref": "#/types/aws-native:networkfirewall:FirewallPolicyRuleOrder", @@ -86144,6 +86223,7 @@ "type": "object" }, "aws-native:networkfirewall:FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties": { + "description": "Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle.", "properties": { "tcpIdleTimeoutSeconds": { "type": "integer" @@ -154963,6 +155043,10 @@ "aws-native:ses:ConfigurationSetDeliveryOptions": { "description": "An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.", "properties": { + "maxDeliverySeconds": { + "type": "number", + "description": "Specifies the maximum time until which SES will retry sending emails" + }, "sendingPoolName": { "type": "string", "description": "The name of the dedicated IP pool to associate with the configuration set." @@ -165869,6 +165953,242 @@ "textTransformations" ] }, + "aws-native:wisdom:AiAgentAiAgentAssociationConfigurationType": { + "type": "string", + "enum": [ + { + "name": "KnowledgeBase", + "value": "KNOWLEDGE_BASE" + } + ] + }, + "aws-native:wisdom:AiAgentAiAgentConfiguration0Properties": { + "properties": { + "manualSearchAiAgentConfiguration": { + "$ref": "#/types/aws-native:wisdom:AiAgentManualSearchAiAgentConfiguration" + } + }, + "type": "object", + "required": [ + "manualSearchAiAgentConfiguration" + ] + }, + "aws-native:wisdom:AiAgentAiAgentConfiguration1Properties": { + "properties": { + "answerRecommendationAiAgentConfiguration": { + "$ref": "#/types/aws-native:wisdom:AiAgentAnswerRecommendationAiAgentConfiguration" + } + }, + "type": "object", + "required": [ + "answerRecommendationAiAgentConfiguration" + ] + }, + "aws-native:wisdom:AiAgentAiAgentType": { + "type": "string", + "enum": [ + { + "name": "ManualSearch", + "value": "MANUAL_SEARCH" + }, + { + "name": "AnswerRecommendation", + "value": "ANSWER_RECOMMENDATION" + } + ] + }, + "aws-native:wisdom:AiAgentAnswerRecommendationAiAgentConfiguration": { + "properties": { + "answerGenerationAiPromptId": { + "type": "string" + }, + "associationConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentAssociationConfiguration" + } + }, + "intentLabelingGenerationAiPromptId": { + "type": "string" + }, + "queryReformulationAiPromptId": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:wisdom:AiAgentAssociationConfiguration": { + "properties": { + "associationConfigurationData": { + "$ref": "#/types/aws-native:wisdom:AiAgentAssociationConfigurationDataProperties" + }, + "associationId": { + "type": "string" + }, + "associationType": { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentAssociationConfigurationType" + } + }, + "type": "object" + }, + "aws-native:wisdom:AiAgentAssociationConfigurationData0Properties": { + "properties": { + "knowledgeBaseAssociationConfigurationData": { + "$ref": "#/types/aws-native:wisdom:AiAgentKnowledgeBaseAssociationConfigurationData" + } + }, + "type": "object", + "required": [ + "knowledgeBaseAssociationConfigurationData" + ] + }, + "aws-native:wisdom:AiAgentAssociationConfigurationDataProperties": { + "properties": { + "knowledgeBaseAssociationConfigurationData": { + "$ref": "#/types/aws-native:wisdom:AiAgentKnowledgeBaseAssociationConfigurationData" + } + }, + "type": "object", + "required": [ + "knowledgeBaseAssociationConfigurationData" + ] + }, + "aws-native:wisdom:AiAgentKnowledgeBaseAssociationConfigurationData": { + "properties": { + "contentTagFilter": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentTagFilter0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentTagFilter1Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentTagFilter2Properties" + } + ] + }, + "maxResults": { + "type": "number" + }, + "overrideKnowledgeBaseSearchType": { + "$ref": "#/types/aws-native:wisdom:AiAgentKnowledgeBaseSearchType" + } + }, + "type": "object" + }, + "aws-native:wisdom:AiAgentKnowledgeBaseSearchType": { + "type": "string", + "enum": [ + { + "name": "Hybrid", + "value": "HYBRID" + }, + { + "name": "Semantic", + "value": "SEMANTIC" + } + ] + }, + "aws-native:wisdom:AiAgentManualSearchAiAgentConfiguration": { + "properties": { + "answerGenerationAiPromptId": { + "type": "string" + }, + "associationConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentAssociationConfiguration" + } + } + }, + "type": "object" + }, + "aws-native:wisdom:AiAgentOrCondition0Properties": { + "properties": { + "andConditions": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + } + }, + "type": "object", + "required": [ + "andConditions" + ] + }, + "aws-native:wisdom:AiAgentOrCondition1Properties": { + "properties": { + "tagCondition": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + }, + "type": "object", + "required": [ + "tagCondition" + ] + }, + "aws-native:wisdom:AiAgentTagCondition": { + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "required": [ + "key" + ] + }, + "aws-native:wisdom:AiAgentTagFilter0Properties": { + "properties": { + "tagCondition": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + }, + "type": "object", + "required": [ + "tagCondition" + ] + }, + "aws-native:wisdom:AiAgentTagFilter1Properties": { + "properties": { + "andConditions": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:wisdom:AiAgentTagCondition" + } + } + }, + "type": "object", + "required": [ + "andConditions" + ] + }, + "aws-native:wisdom:AiAgentTagFilter2Properties": { + "properties": { + "orConditions": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentOrCondition0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentOrCondition1Properties" + } + ] + } + } + }, + "type": "object", + "required": [ + "orConditions" + ] + }, "aws-native:wisdom:AiPromptAiPromptApiFormat": { "type": "string", "enum": [ @@ -173726,16 +174046,19 @@ "$ref": "#/types/aws-native:appsync:ApiEventConfig" }, "name": { - "type": "string" + "type": "string", + "description": "The API name." }, "ownerContact": { - "type": "string" + "type": "string", + "description": "The owner contact information for an API resource.\n\nThis field accepts any string input with a length of 0 - 256 characters." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "The tags." } }, "type": "object", @@ -173750,16 +174073,19 @@ "$ref": "#/types/aws-native:appsync:ApiEventConfig" }, "name": { - "type": "string" + "type": "string", + "description": "The API name." }, "ownerContact": { - "type": "string" + "type": "string", + "description": "The owner contact information for an API resource.\n\nThis field accepts any string input with a length of 0 - 256 characters." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "The tags." } } }, @@ -178116,6 +178442,93 @@ "agentId" ] }, + "aws-native:bedrock:ApplicationInferenceProfile": { + "description": "Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type", + "properties": { + "createdAt": { + "type": "string", + "description": "Time Stamp" + }, + "description": { + "type": "string", + "description": "Description of the inference profile", + "replaceOnChanges": true + }, + "inferenceProfileArn": { + "type": "string" + }, + "inferenceProfileId": { + "type": "string" + }, + "inferenceProfileIdentifier": { + "type": "string", + "description": "Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs." + }, + "inferenceProfileName": { + "type": "string", + "replaceOnChanges": true + }, + "modelSource": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSourceProperties", + "replaceOnChanges": true + }, + "models": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModel" + }, + "description": "List of model configuration" + }, + "status": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileStatus" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:index:Tag" + }, + "description": "List of Tags" + }, + "type": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileType" + }, + "updatedAt": { + "type": "string", + "description": "Time Stamp" + } + }, + "type": "object", + "required": [ + "createdAt", + "inferenceProfileArn", + "inferenceProfileId", + "inferenceProfileIdentifier", + "inferenceProfileName", + "models", + "status", + "type", + "updatedAt" + ], + "inputProperties": { + "description": { + "type": "string", + "description": "Description of the inference profile" + }, + "inferenceProfileName": { + "type": "string" + }, + "modelSource": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModelSourceProperties" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:index:Tag" + }, + "description": "List of Tags" + } + } + }, "aws-native:bedrock:DataSource": { "description": "Definition of AWS::Bedrock::DataSource Resource Type", "properties": { @@ -191312,7 +191725,7 @@ "items": { "$ref": "#/types/aws-native:datasync:TaskFilterRule" }, - "description": "Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." + "description": "Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." }, "manifestConfig": { "$ref": "#/types/aws-native:datasync:TaskManifestConfig", @@ -191392,7 +191805,7 @@ "items": { "$ref": "#/types/aws-native:datasync:TaskFilterRule" }, - "description": "Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." + "description": "Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." }, "manifestConfig": { "$ref": "#/types/aws-native:datasync:TaskManifestConfig", @@ -207450,8 +207863,6 @@ "type": "object", "required": [ "arn", - "authParameters", - "authorizationType", "secretArn" ], "inputProperties": { @@ -207471,11 +207882,7 @@ "type": "string", "description": "Name of the connection." } - }, - "requiredInputs": [ - "authParameters", - "authorizationType" - ] + } }, "aws-native:events:Endpoint": { "description": "Resource Type definition for AWS::Events::Endpoint.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sampleEndpoint = new AwsNative.Events.Endpoint(\"sampleEndpoint\", new()\n {\n Name = \"CreateExampleEndpoint\",\n RoutingConfig = new AwsNative.Events.Inputs.EndpointRoutingConfigArgs\n {\n FailoverConfig = new AwsNative.Events.Inputs.EndpointFailoverConfigArgs\n {\n Primary = new AwsNative.Events.Inputs.EndpointPrimaryArgs\n {\n HealthCheck = \"arn:aws:route53:::healthcheck/0123456789abc\",\n },\n Secondary = new AwsNative.Events.Inputs.EndpointSecondaryArgs\n {\n Route = \"us-east-1\",\n },\n },\n },\n ReplicationConfig = new AwsNative.Events.Inputs.EndpointReplicationConfigArgs\n {\n State = AwsNative.Events.EndpointReplicationState.Enabled,\n },\n RoleArn = \"arn:aws:iam::123456789012:role/EndpointReplicationRole\",\n EventBuses = new[]\n {\n new AwsNative.Events.Inputs.EndpointEventBusArgs\n {\n EventBusArn = \"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\",\n },\n new AwsNative.Events.Inputs.EndpointEventBusArgs\n {\n EventBusArn = \"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\",\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"sampleEndpointName\"] = sampleEndpoint.Id,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/events\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsampleEndpoint, err := events.NewEndpoint(ctx, \"sampleEndpoint\", \u0026events.EndpointArgs{\n\t\t\tName: pulumi.String(\"CreateExampleEndpoint\"),\n\t\t\tRoutingConfig: \u0026events.EndpointRoutingConfigArgs{\n\t\t\t\tFailoverConfig: \u0026events.EndpointFailoverConfigArgs{\n\t\t\t\t\tPrimary: \u0026events.EndpointPrimaryArgs{\n\t\t\t\t\t\tHealthCheck: pulumi.String(\"arn:aws:route53:::healthcheck/0123456789abc\"),\n\t\t\t\t\t},\n\t\t\t\t\tSecondary: \u0026events.EndpointSecondaryArgs{\n\t\t\t\t\t\tRoute: pulumi.String(\"us-east-1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tReplicationConfig: \u0026events.EndpointReplicationConfigArgs{\n\t\t\t\tState: events.EndpointReplicationStateEnabled,\n\t\t\t},\n\t\t\tRoleArn: pulumi.String(\"arn:aws:iam::123456789012:role/EndpointReplicationRole\"),\n\t\t\tEventBuses: events.EndpointEventBusArray{\n\t\t\t\t\u0026events.EndpointEventBusArgs{\n\t\t\t\t\tEventBusArn: pulumi.String(\"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\"),\n\t\t\t\t},\n\t\t\t\t\u0026events.EndpointEventBusArgs{\n\t\t\t\t\tEventBusArn: pulumi.String(\"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"sampleEndpointName\", sampleEndpoint.ID())\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleEndpoint = new aws_native.events.Endpoint(\"sampleEndpoint\", {\n name: \"CreateExampleEndpoint\",\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: \"arn:aws:route53:::healthcheck/0123456789abc\",\n },\n secondary: {\n route: \"us-east-1\",\n },\n },\n },\n replicationConfig: {\n state: aws_native.events.EndpointReplicationState.Enabled,\n },\n roleArn: \"arn:aws:iam::123456789012:role/EndpointReplicationRole\",\n eventBuses: [\n {\n eventBusArn: \"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\",\n },\n {\n eventBusArn: \"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\",\n },\n ],\n});\nexport const sampleEndpointName = sampleEndpoint.id;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_endpoint = aws_native.events.Endpoint(\"sampleEndpoint\",\n name=\"CreateExampleEndpoint\",\n routing_config={\n \"failover_config\": {\n \"primary\": {\n \"health_check\": \"arn:aws:route53:::healthcheck/0123456789abc\",\n },\n \"secondary\": {\n \"route\": \"us-east-1\",\n },\n },\n },\n replication_config={\n \"state\": aws_native.events.EndpointReplicationState.ENABLED,\n },\n role_arn=\"arn:aws:iam::123456789012:role/EndpointReplicationRole\",\n event_buses=[\n {\n \"event_bus_arn\": \"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\",\n },\n {\n \"event_bus_arn\": \"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\",\n },\n ])\npulumi.export(\"sampleEndpointName\", sample_endpoint.id)\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Example\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sampleEndpoint = new AwsNative.Events.Endpoint(\"sampleEndpoint\", new()\n {\n Name = \"CreateExampleEndpoint\",\n RoutingConfig = new AwsNative.Events.Inputs.EndpointRoutingConfigArgs\n {\n FailoverConfig = new AwsNative.Events.Inputs.EndpointFailoverConfigArgs\n {\n Primary = new AwsNative.Events.Inputs.EndpointPrimaryArgs\n {\n HealthCheck = \"arn:aws:route53:::healthcheck/0123456789abc\",\n },\n Secondary = new AwsNative.Events.Inputs.EndpointSecondaryArgs\n {\n Route = \"us-east-1\",\n },\n },\n },\n ReplicationConfig = new AwsNative.Events.Inputs.EndpointReplicationConfigArgs\n {\n State = AwsNative.Events.EndpointReplicationState.Disabled,\n },\n EventBuses = new[]\n {\n new AwsNative.Events.Inputs.EndpointEventBusArgs\n {\n EventBusArn = \"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\",\n },\n new AwsNative.Events.Inputs.EndpointEventBusArgs\n {\n EventBusArn = \"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\",\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"sampleEndpointName\"] = sampleEndpoint.Id,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/events\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsampleEndpoint, err := events.NewEndpoint(ctx, \"sampleEndpoint\", \u0026events.EndpointArgs{\n\t\t\tName: pulumi.String(\"CreateExampleEndpoint\"),\n\t\t\tRoutingConfig: \u0026events.EndpointRoutingConfigArgs{\n\t\t\t\tFailoverConfig: \u0026events.EndpointFailoverConfigArgs{\n\t\t\t\t\tPrimary: \u0026events.EndpointPrimaryArgs{\n\t\t\t\t\t\tHealthCheck: pulumi.String(\"arn:aws:route53:::healthcheck/0123456789abc\"),\n\t\t\t\t\t},\n\t\t\t\t\tSecondary: \u0026events.EndpointSecondaryArgs{\n\t\t\t\t\t\tRoute: pulumi.String(\"us-east-1\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tReplicationConfig: \u0026events.EndpointReplicationConfigArgs{\n\t\t\t\tState: events.EndpointReplicationStateDisabled,\n\t\t\t},\n\t\t\tEventBuses: events.EndpointEventBusArray{\n\t\t\t\t\u0026events.EndpointEventBusArgs{\n\t\t\t\t\tEventBusArn: pulumi.String(\"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\"),\n\t\t\t\t},\n\t\t\t\t\u0026events.EndpointEventBusArgs{\n\t\t\t\t\tEventBusArn: pulumi.String(\"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"sampleEndpointName\", sampleEndpoint.ID())\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst sampleEndpoint = new aws_native.events.Endpoint(\"sampleEndpoint\", {\n name: \"CreateExampleEndpoint\",\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: \"arn:aws:route53:::healthcheck/0123456789abc\",\n },\n secondary: {\n route: \"us-east-1\",\n },\n },\n },\n replicationConfig: {\n state: aws_native.events.EndpointReplicationState.Disabled,\n },\n eventBuses: [\n {\n eventBusArn: \"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\",\n },\n {\n eventBusArn: \"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\",\n },\n ],\n});\nexport const sampleEndpointName = sampleEndpoint.id;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nsample_endpoint = aws_native.events.Endpoint(\"sampleEndpoint\",\n name=\"CreateExampleEndpoint\",\n routing_config={\n \"failover_config\": {\n \"primary\": {\n \"health_check\": \"arn:aws:route53:::healthcheck/0123456789abc\",\n },\n \"secondary\": {\n \"route\": \"us-east-1\",\n },\n },\n },\n replication_config={\n \"state\": aws_native.events.EndpointReplicationState.DISABLED,\n },\n event_buses=[\n {\n \"event_bus_arn\": \"arn:aws:events:us-west-2:123456789012:event-bus/ExampleEventBus\",\n },\n {\n \"event_bus_arn\": \"arn:aws:events:us-east-1:123456789012:event-bus/ExampleEventBus\",\n },\n ])\npulumi.export(\"sampleEndpointName\", sample_endpoint.id)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", @@ -236210,7 +236617,8 @@ "description": "The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* .\n\nIf you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) ." }, "identityCenterOptions": { - "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions" + "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions", + "description": "Container for IAM Identity Center Option control for the domain." }, "ipAddressType": { "type": "string", @@ -236312,7 +236720,8 @@ "description": "The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* .\n\nIf you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) ." }, "identityCenterOptions": { - "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions" + "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions", + "description": "Container for IAM Identity Center Option control for the domain." }, "ipAddressType": { "type": "string", @@ -260682,6 +261091,96 @@ "webAclArn" ] }, + "aws-native:wisdom:AiAgent": { + "description": "Definition of AWS::Wisdom::AIAgent Resource Type", + "properties": { + "aiAgentArn": { + "type": "string" + }, + "aiAgentId": { + "type": "string" + }, + "assistantArn": { + "type": "string" + }, + "assistantId": { + "type": "string", + "replaceOnChanges": true + }, + "configuration": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration1Properties" + } + ] + }, + "description": { + "type": "string" + }, + "name": { + "type": "string", + "replaceOnChanges": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "replaceOnChanges": true + }, + "type": { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentType", + "replaceOnChanges": true + } + }, + "type": "object", + "required": [ + "aiAgentArn", + "aiAgentId", + "assistantArn", + "assistantId", + "configuration", + "type" + ], + "inputProperties": { + "assistantId": { + "type": "string" + }, + "configuration": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration1Properties" + } + ] + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentType" + } + }, + "requiredInputs": [ + "assistantId", + "configuration", + "type" + ] + }, "aws-native:wisdom:AiPrompt": { "description": "Definition of AWS::Wisdom::AIPrompt Resource Type", "properties": { @@ -265696,16 +266195,19 @@ "$ref": "#/types/aws-native:appsync:ApiEventConfig" }, "name": { - "type": "string" + "type": "string", + "description": "The API name." }, "ownerContact": { - "type": "string" + "type": "string", + "description": "The owner contact information for an API resource.\n\nThis field accepts any string input with a length of 0 - 256 characters." }, "tags": { "type": "array", "items": { "$ref": "#/types/aws-native:index:Tag" - } + }, + "description": "The tags." } } } @@ -268000,6 +268502,62 @@ } } }, + "aws-native:bedrock:getApplicationInferenceProfile": { + "description": "Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type", + "inputs": { + "properties": { + "inferenceProfileIdentifier": { + "type": "string", + "description": "Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs." + } + }, + "required": [ + "inferenceProfileIdentifier" + ] + }, + "outputs": { + "properties": { + "createdAt": { + "type": "string", + "description": "Time Stamp" + }, + "inferenceProfileArn": { + "type": "string" + }, + "inferenceProfileId": { + "type": "string" + }, + "inferenceProfileIdentifier": { + "type": "string", + "description": "Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs." + }, + "models": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileModel" + }, + "description": "List of model configuration" + }, + "status": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileStatus" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:index:Tag" + }, + "description": "List of Tags" + }, + "type": { + "$ref": "#/types/aws-native:bedrock:ApplicationInferenceProfileInferenceProfileType" + }, + "updatedAt": { + "type": "string", + "description": "Time Stamp" + } + } + } + }, "aws-native:bedrock:getDataSource": { "description": "Definition of AWS::Bedrock::DataSource Resource Type", "inputs": { @@ -275144,7 +275702,7 @@ "items": { "$ref": "#/types/aws-native:datasync:TaskFilterRule" }, - "description": "Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." + "description": "Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) ." }, "manifestConfig": { "$ref": "#/types/aws-native:datasync:TaskManifestConfig", @@ -298592,7 +299150,8 @@ "description": "The resource ID. For example, `123456789012/my-domain` ." }, "identityCenterOptions": { - "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions" + "$ref": "#/types/aws-native:opensearchservice:DomainIdentityCenterOptions", + "description": "Container for IAM Identity Center Option control for the domain." }, "ipAddressType": { "type": "string", @@ -311242,6 +311801,49 @@ } } }, + "aws-native:wisdom:getAiAgent": { + "description": "Definition of AWS::Wisdom::AIAgent Resource Type", + "inputs": { + "properties": { + "aiAgentId": { + "type": "string" + }, + "assistantId": { + "type": "string" + } + }, + "required": [ + "aiAgentId", + "assistantId" + ] + }, + "outputs": { + "properties": { + "aiAgentArn": { + "type": "string" + }, + "aiAgentId": { + "type": "string" + }, + "assistantArn": { + "type": "string" + }, + "configuration": { + "oneOf": [ + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration0Properties" + }, + { + "$ref": "#/types/aws-native:wisdom:AiAgentAiAgentConfiguration1Properties" + } + ] + }, + "description": { + "type": "string" + } + } + } + }, "aws-native:wisdom:getAiPrompt": { "description": "Definition of AWS::Wisdom::AIPrompt Resource Type", "inputs": { diff --git a/sdk/dotnet/AppSync/Api.cs b/sdk/dotnet/AppSync/Api.cs index d9970ac078..77611bbba2 100644 --- a/sdk/dotnet/AppSync/Api.cs +++ b/sdk/dotnet/AppSync/Api.cs @@ -33,12 +33,23 @@ public partial class Api : global::Pulumi.CustomResource [Output("eventConfig")] public Output EventConfig { get; private set; } = null!; + /// + /// The API name. + /// [Output("name")] public Output Name { get; private set; } = null!; + /// + /// The owner contact information for an API resource. + /// + /// This field accepts any string input with a length of 0 - 256 characters. + /// [Output("ownerContact")] public Output OwnerContact { get; private set; } = null!; + /// + /// The tags. + /// [Output("tags")] public Output> Tags { get; private set; } = null!; @@ -90,14 +101,26 @@ public sealed class ApiArgs : global::Pulumi.ResourceArgs [Input("eventConfig")] public Input? EventConfig { get; set; } + /// + /// The API name. + /// [Input("name")] public Input? Name { get; set; } + /// + /// The owner contact information for an API resource. + /// + /// This field accepts any string input with a length of 0 - 256 characters. + /// [Input("ownerContact")] public Input? OwnerContact { get; set; } [Input("tags")] private InputList? _tags; + + /// + /// The tags. + /// public InputList Tags { get => _tags ?? (_tags = new InputList()); diff --git a/sdk/dotnet/AppSync/GetApi.cs b/sdk/dotnet/AppSync/GetApi.cs index 52eb27da09..dc6a3ac1df 100644 --- a/sdk/dotnet/AppSync/GetApi.cs +++ b/sdk/dotnet/AppSync/GetApi.cs @@ -67,8 +67,19 @@ public sealed class GetApiResult public readonly string? ApiId; public readonly ImmutableDictionary? Dns; public readonly Outputs.ApiEventConfig? EventConfig; + /// + /// The API name. + /// public readonly string? Name; + /// + /// The owner contact information for an API resource. + /// + /// This field accepts any string input with a length of 0 - 256 characters. + /// public readonly string? OwnerContact; + /// + /// The tags. + /// public readonly ImmutableArray Tags; [OutputConstructor] diff --git a/sdk/dotnet/Bedrock/ApplicationInferenceProfile.cs b/sdk/dotnet/Bedrock/ApplicationInferenceProfile.cs new file mode 100644 index 0000000000..4cd8d559ec --- /dev/null +++ b/sdk/dotnet/Bedrock/ApplicationInferenceProfile.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Bedrock +{ + /// + /// Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + /// + [AwsNativeResourceType("aws-native:bedrock:ApplicationInferenceProfile")] + public partial class ApplicationInferenceProfile : global::Pulumi.CustomResource + { + /// + /// Time Stamp + /// + [Output("createdAt")] + public Output CreatedAt { get; private set; } = null!; + + /// + /// Description of the inference profile + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + [Output("inferenceProfileArn")] + public Output InferenceProfileArn { get; private set; } = null!; + + [Output("inferenceProfileId")] + public Output InferenceProfileId { get; private set; } = null!; + + /// + /// Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + /// + [Output("inferenceProfileIdentifier")] + public Output InferenceProfileIdentifier { get; private set; } = null!; + + [Output("inferenceProfileName")] + public Output InferenceProfileName { get; private set; } = null!; + + [Output("modelSource")] + public Output ModelSource { get; private set; } = null!; + + /// + /// List of model configuration + /// + [Output("models")] + public Output> Models { get; private set; } = null!; + + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// List of Tags + /// + [Output("tags")] + public Output> Tags { get; private set; } = null!; + + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Time Stamp + /// + [Output("updatedAt")] + public Output UpdatedAt { get; private set; } = null!; + + + /// + /// Create a ApplicationInferenceProfile resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ApplicationInferenceProfile(string name, ApplicationInferenceProfileArgs? args = null, CustomResourceOptions? options = null) + : base("aws-native:bedrock:ApplicationInferenceProfile", name, args ?? new ApplicationInferenceProfileArgs(), MakeResourceOptions(options, "")) + { + } + + private ApplicationInferenceProfile(string name, Input id, CustomResourceOptions? options = null) + : base("aws-native:bedrock:ApplicationInferenceProfile", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + ReplaceOnChanges = + { + "description", + "inferenceProfileName", + "modelSource", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ApplicationInferenceProfile resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static ApplicationInferenceProfile Get(string name, Input id, CustomResourceOptions? options = null) + { + return new ApplicationInferenceProfile(name, id, options); + } + } + + public sealed class ApplicationInferenceProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the inference profile + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("inferenceProfileName")] + public Input? InferenceProfileName { get; set; } + + [Input("modelSource")] + public Input? ModelSource { get; set; } + + [Input("tags")] + private InputList? _tags; + + /// + /// List of Tags + /// + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + public ApplicationInferenceProfileArgs() + { + } + public static new ApplicationInferenceProfileArgs Empty => new ApplicationInferenceProfileArgs(); + } +} diff --git a/sdk/dotnet/Bedrock/Enums.cs b/sdk/dotnet/Bedrock/Enums.cs index 3b5836c412..b63d108e76 100644 --- a/sdk/dotnet/Bedrock/Enums.cs +++ b/sdk/dotnet/Bedrock/Enums.cs @@ -330,6 +330,67 @@ private AgentType(string value) public override string ToString() => _value; } + /// + /// Status of the Inference Profile + /// + [EnumType] + public readonly struct ApplicationInferenceProfileInferenceProfileStatus : IEquatable + { + private readonly string _value; + + private ApplicationInferenceProfileInferenceProfileStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ApplicationInferenceProfileInferenceProfileStatus Active { get; } = new ApplicationInferenceProfileInferenceProfileStatus("ACTIVE"); + + public static bool operator ==(ApplicationInferenceProfileInferenceProfileStatus left, ApplicationInferenceProfileInferenceProfileStatus right) => left.Equals(right); + public static bool operator !=(ApplicationInferenceProfileInferenceProfileStatus left, ApplicationInferenceProfileInferenceProfileStatus right) => !left.Equals(right); + + public static explicit operator string(ApplicationInferenceProfileInferenceProfileStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ApplicationInferenceProfileInferenceProfileStatus other && Equals(other); + public bool Equals(ApplicationInferenceProfileInferenceProfileStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the Inference Profile + /// + [EnumType] + public readonly struct ApplicationInferenceProfileInferenceProfileType : IEquatable + { + private readonly string _value; + + private ApplicationInferenceProfileInferenceProfileType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ApplicationInferenceProfileInferenceProfileType Application { get; } = new ApplicationInferenceProfileInferenceProfileType("APPLICATION"); + public static ApplicationInferenceProfileInferenceProfileType SystemDefined { get; } = new ApplicationInferenceProfileInferenceProfileType("SYSTEM_DEFINED"); + + public static bool operator ==(ApplicationInferenceProfileInferenceProfileType left, ApplicationInferenceProfileInferenceProfileType right) => left.Equals(right); + public static bool operator !=(ApplicationInferenceProfileInferenceProfileType left, ApplicationInferenceProfileInferenceProfileType right) => !left.Equals(right); + + public static explicit operator string(ApplicationInferenceProfileInferenceProfileType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ApplicationInferenceProfileInferenceProfileType other && Equals(other); + public bool Equals(ApplicationInferenceProfileInferenceProfileType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + /// /// Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. /// diff --git a/sdk/dotnet/Bedrock/GetApplicationInferenceProfile.cs b/sdk/dotnet/Bedrock/GetApplicationInferenceProfile.cs new file mode 100644 index 0000000000..c193fcc8a7 --- /dev/null +++ b/sdk/dotnet/Bedrock/GetApplicationInferenceProfile.cs @@ -0,0 +1,116 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Bedrock +{ + public static class GetApplicationInferenceProfile + { + /// + /// Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + /// + public static Task InvokeAsync(GetApplicationInferenceProfileArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("aws-native:bedrock:getApplicationInferenceProfile", args ?? new GetApplicationInferenceProfileArgs(), options.WithDefaults()); + + /// + /// Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + /// + public static Output Invoke(GetApplicationInferenceProfileInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("aws-native:bedrock:getApplicationInferenceProfile", args ?? new GetApplicationInferenceProfileInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetApplicationInferenceProfileArgs : global::Pulumi.InvokeArgs + { + /// + /// Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + /// + [Input("inferenceProfileIdentifier", required: true)] + public string InferenceProfileIdentifier { get; set; } = null!; + + public GetApplicationInferenceProfileArgs() + { + } + public static new GetApplicationInferenceProfileArgs Empty => new GetApplicationInferenceProfileArgs(); + } + + public sealed class GetApplicationInferenceProfileInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + /// + [Input("inferenceProfileIdentifier", required: true)] + public Input InferenceProfileIdentifier { get; set; } = null!; + + public GetApplicationInferenceProfileInvokeArgs() + { + } + public static new GetApplicationInferenceProfileInvokeArgs Empty => new GetApplicationInferenceProfileInvokeArgs(); + } + + + [OutputType] + public sealed class GetApplicationInferenceProfileResult + { + /// + /// Time Stamp + /// + public readonly string? CreatedAt; + public readonly string? InferenceProfileArn; + public readonly string? InferenceProfileId; + /// + /// Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + /// + public readonly string? InferenceProfileIdentifier; + /// + /// List of model configuration + /// + public readonly ImmutableArray Models; + public readonly Pulumi.AwsNative.Bedrock.ApplicationInferenceProfileInferenceProfileStatus? Status; + /// + /// List of Tags + /// + public readonly ImmutableArray Tags; + public readonly Pulumi.AwsNative.Bedrock.ApplicationInferenceProfileInferenceProfileType? Type; + /// + /// Time Stamp + /// + public readonly string? UpdatedAt; + + [OutputConstructor] + private GetApplicationInferenceProfileResult( + string? createdAt, + + string? inferenceProfileArn, + + string? inferenceProfileId, + + string? inferenceProfileIdentifier, + + ImmutableArray models, + + Pulumi.AwsNative.Bedrock.ApplicationInferenceProfileInferenceProfileStatus? status, + + ImmutableArray tags, + + Pulumi.AwsNative.Bedrock.ApplicationInferenceProfileInferenceProfileType? type, + + string? updatedAt) + { + CreatedAt = createdAt; + InferenceProfileArn = inferenceProfileArn; + InferenceProfileId = inferenceProfileId; + InferenceProfileIdentifier = inferenceProfileIdentifier; + Models = models; + Status = status; + Tags = tags; + Type = type; + UpdatedAt = updatedAt; + } + } +} diff --git a/sdk/dotnet/Bedrock/Inputs/ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs.cs b/sdk/dotnet/Bedrock/Inputs/ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs.cs new file mode 100644 index 0000000000..40769d31e0 --- /dev/null +++ b/sdk/dotnet/Bedrock/Inputs/ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Bedrock.Inputs +{ + + /// + /// Various ways to encode a list of models in a CreateInferenceProfile request + /// + public sealed class ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// Source arns for a custom inference profile to copy its regional load balancing config from. This + /// can either be a foundation model or predefined inference profile ARN. + /// + [Input("copyFrom", required: true)] + public Input CopyFrom { get; set; } = null!; + + public ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs() + { + } + public static new ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs Empty => new ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/Bedrock/Outputs/ApplicationInferenceProfileInferenceProfileModel.cs b/sdk/dotnet/Bedrock/Outputs/ApplicationInferenceProfileInferenceProfileModel.cs new file mode 100644 index 0000000000..a23f006147 --- /dev/null +++ b/sdk/dotnet/Bedrock/Outputs/ApplicationInferenceProfileInferenceProfileModel.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Bedrock.Outputs +{ + + /// + /// Model configuration + /// + [OutputType] + public sealed class ApplicationInferenceProfileInferenceProfileModel + { + /// + /// ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs + /// + public readonly string? ModelArn; + + [OutputConstructor] + private ApplicationInferenceProfileInferenceProfileModel(string? modelArn) + { + ModelArn = modelArn; + } + } +} diff --git a/sdk/dotnet/Bedrock/Outputs/ApplicationInferenceProfileInferenceProfileModelSourceProperties.cs b/sdk/dotnet/Bedrock/Outputs/ApplicationInferenceProfileInferenceProfileModelSourceProperties.cs new file mode 100644 index 0000000000..725111d110 --- /dev/null +++ b/sdk/dotnet/Bedrock/Outputs/ApplicationInferenceProfileInferenceProfileModelSourceProperties.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Bedrock.Outputs +{ + + /// + /// Various ways to encode a list of models in a CreateInferenceProfile request + /// + [OutputType] + public sealed class ApplicationInferenceProfileInferenceProfileModelSourceProperties + { + /// + /// Source arns for a custom inference profile to copy its regional load balancing config from. This + /// can either be a foundation model or predefined inference profile ARN. + /// + public readonly string CopyFrom; + + [OutputConstructor] + private ApplicationInferenceProfileInferenceProfileModelSourceProperties(string copyFrom) + { + CopyFrom = copyFrom; + } + } +} diff --git a/sdk/dotnet/DataSync/GetTask.cs b/sdk/dotnet/DataSync/GetTask.cs index 7d6a416472..5315673fb5 100644 --- a/sdk/dotnet/DataSync/GetTask.cs +++ b/sdk/dotnet/DataSync/GetTask.cs @@ -70,7 +70,7 @@ public sealed class GetTaskResult /// public readonly ImmutableArray Excludes; /// - /// Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + /// Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . /// public readonly ImmutableArray Includes; /// diff --git a/sdk/dotnet/DataSync/Task.cs b/sdk/dotnet/DataSync/Task.cs index d6edb3f26b..b64866f773 100644 --- a/sdk/dotnet/DataSync/Task.cs +++ b/sdk/dotnet/DataSync/Task.cs @@ -80,7 +80,7 @@ public partial class Task : global::Pulumi.CustomResource public Output> Excludes { get; private set; } = null!; /// - /// Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + /// Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . /// [Output("includes")] public Output> Includes { get; private set; } = null!; @@ -225,7 +225,7 @@ public InputList Excludes private InputList? _includes; /// - /// Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + /// Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . /// public InputList Includes { diff --git a/sdk/dotnet/Ecs/Inputs/CapacityProviderManagedScalingArgs.cs b/sdk/dotnet/Ecs/Inputs/CapacityProviderManagedScalingArgs.cs index 6fc4aa03d0..6834d215e7 100644 --- a/sdk/dotnet/Ecs/Inputs/CapacityProviderManagedScalingArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/CapacityProviderManagedScalingArgs.cs @@ -28,7 +28,7 @@ public sealed class CapacityProviderManagedScalingArgs : global::Pulumi.Resource public Input? MaximumScalingStepSize { get; set; } /// - /// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + /// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. /// /// When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. /// diff --git a/sdk/dotnet/Ecs/Outputs/CapacityProviderManagedScaling.cs b/sdk/dotnet/Ecs/Outputs/CapacityProviderManagedScaling.cs index 706f53bae6..a12469786c 100644 --- a/sdk/dotnet/Ecs/Outputs/CapacityProviderManagedScaling.cs +++ b/sdk/dotnet/Ecs/Outputs/CapacityProviderManagedScaling.cs @@ -25,7 +25,7 @@ public sealed class CapacityProviderManagedScaling /// public readonly int? MaximumScalingStepSize; /// - /// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + /// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. /// /// When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. /// diff --git a/sdk/dotnet/Events/Connection.cs b/sdk/dotnet/Events/Connection.cs index bc0096ed18..c1273d9d25 100644 --- a/sdk/dotnet/Events/Connection.cs +++ b/sdk/dotnet/Events/Connection.cs @@ -64,7 +64,7 @@ public partial class Connection : global::Pulumi.CustomResource /// A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. /// [Output("authParameters")] - public Output AuthParameters { get; private set; } = null!; + public Output AuthParameters { get; private set; } = null!; /// /// The type of authorization to use for the connection. @@ -72,7 +72,7 @@ public partial class Connection : global::Pulumi.CustomResource /// > OAUTH tokens are refreshed when a 401 or 407 response is returned. /// [Output("authorizationType")] - public Output AuthorizationType { get; private set; } = null!; + public Output AuthorizationType { get; private set; } = null!; /// /// Description of the connection. @@ -100,7 +100,7 @@ public partial class Connection : global::Pulumi.CustomResource /// The unique name of the resource /// The arguments used to populate this resource's properties /// A bag of options that control this resource's behavior - public Connection(string name, ConnectionArgs args, CustomResourceOptions? options = null) + public Connection(string name, ConnectionArgs? args = null, CustomResourceOptions? options = null) : base("aws-native:events:Connection", name, args ?? new ConnectionArgs(), MakeResourceOptions(options, "")) { } @@ -144,16 +144,16 @@ public sealed class ConnectionArgs : global::Pulumi.ResourceArgs /// /// A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. /// - [Input("authParameters", required: true)] - public Input AuthParameters { get; set; } = null!; + [Input("authParameters")] + public Input? AuthParameters { get; set; } /// /// The type of authorization to use for the connection. /// /// > OAUTH tokens are refreshed when a 401 or 407 response is returned. /// - [Input("authorizationType", required: true)] - public Input AuthorizationType { get; set; } = null!; + [Input("authorizationType")] + public Input? AuthorizationType { get; set; } /// /// Description of the connection. diff --git a/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsArgs.cs index 948925f0c8..43cf2895a3 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.AwsNative.NetworkFirewall.Inputs public sealed class FirewallPolicyStatefulEngineOptionsArgs : global::Pulumi.ResourceArgs { + /// + /// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + /// [Input("flowTimeouts")] public Input? FlowTimeouts { get; set; } diff --git a/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs.cs index 497225914e..104fdaa914 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs.cs @@ -10,6 +10,9 @@ namespace Pulumi.AwsNative.NetworkFirewall.Inputs { + /// + /// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + /// public sealed class FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs : global::Pulumi.ResourceArgs { [Input("tcpIdleTimeoutSeconds")] diff --git a/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptions.cs b/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptions.cs index 2823e1154f..5d865e2589 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptions.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptions.cs @@ -13,6 +13,9 @@ namespace Pulumi.AwsNative.NetworkFirewall.Outputs [OutputType] public sealed class FirewallPolicyStatefulEngineOptions { + /// + /// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + /// public readonly Outputs.FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties? FlowTimeouts; /// /// Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . diff --git a/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties.cs b/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties.cs index a5b5f5f148..66f7bb8cd9 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties.cs @@ -10,6 +10,9 @@ namespace Pulumi.AwsNative.NetworkFirewall.Outputs { + /// + /// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + /// [OutputType] public sealed class FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties { diff --git a/sdk/dotnet/OpenSearchService/Domain.cs b/sdk/dotnet/OpenSearchService/Domain.cs index 2b9da9dff1..602c793076 100644 --- a/sdk/dotnet/OpenSearchService/Domain.cs +++ b/sdk/dotnet/OpenSearchService/Domain.cs @@ -120,6 +120,9 @@ public partial class Domain : global::Pulumi.CustomResource [Output("engineVersion")] public Output EngineVersion { get; private set; } = null!; + /// + /// Container for IAM Identity Center Option control for the domain. + /// [Output("identityCenterOptions")] public Output IdentityCenterOptions { get; private set; } = null!; @@ -306,6 +309,9 @@ public InputMap AdvancedOptions [Input("engineVersion")] public Input? EngineVersion { get; set; } + /// + /// Container for IAM Identity Center Option control for the domain. + /// [Input("identityCenterOptions")] public Input? IdentityCenterOptions { get; set; } diff --git a/sdk/dotnet/OpenSearchService/GetDomain.cs b/sdk/dotnet/OpenSearchService/GetDomain.cs index 7ca70c01bf..669f9f8760 100644 --- a/sdk/dotnet/OpenSearchService/GetDomain.cs +++ b/sdk/dotnet/OpenSearchService/GetDomain.cs @@ -130,6 +130,9 @@ public sealed class GetDomainResult /// The resource ID. For example, `123456789012/my-domain` . /// public readonly string? Id; + /// + /// Container for IAM Identity Center Option control for the domain. + /// public readonly Outputs.DomainIdentityCenterOptions? IdentityCenterOptions; /// /// Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. diff --git a/sdk/dotnet/Ses/Inputs/ConfigurationSetDeliveryOptionsArgs.cs b/sdk/dotnet/Ses/Inputs/ConfigurationSetDeliveryOptionsArgs.cs index 3778c69044..edcbf3d85c 100644 --- a/sdk/dotnet/Ses/Inputs/ConfigurationSetDeliveryOptionsArgs.cs +++ b/sdk/dotnet/Ses/Inputs/ConfigurationSetDeliveryOptionsArgs.cs @@ -15,6 +15,12 @@ namespace Pulumi.AwsNative.Ses.Inputs /// public sealed class ConfigurationSetDeliveryOptionsArgs : global::Pulumi.ResourceArgs { + /// + /// Specifies the maximum time until which SES will retry sending emails + /// + [Input("maxDeliverySeconds")] + public Input? MaxDeliverySeconds { get; set; } + /// /// The name of the dedicated IP pool to associate with the configuration set. /// diff --git a/sdk/dotnet/Ses/Outputs/ConfigurationSetDeliveryOptions.cs b/sdk/dotnet/Ses/Outputs/ConfigurationSetDeliveryOptions.cs index 43f9f46c28..62f1768460 100644 --- a/sdk/dotnet/Ses/Outputs/ConfigurationSetDeliveryOptions.cs +++ b/sdk/dotnet/Ses/Outputs/ConfigurationSetDeliveryOptions.cs @@ -16,6 +16,10 @@ namespace Pulumi.AwsNative.Ses.Outputs [OutputType] public sealed class ConfigurationSetDeliveryOptions { + /// + /// Specifies the maximum time until which SES will retry sending emails + /// + public readonly double? MaxDeliverySeconds; /// /// The name of the dedicated IP pool to associate with the configuration set. /// @@ -27,10 +31,13 @@ public sealed class ConfigurationSetDeliveryOptions [OutputConstructor] private ConfigurationSetDeliveryOptions( + double? maxDeliverySeconds, + string? sendingPoolName, string? tlsPolicy) { + MaxDeliverySeconds = maxDeliverySeconds; SendingPoolName = sendingPoolName; TlsPolicy = tlsPolicy; } diff --git a/sdk/dotnet/Wisdom/AiAgent.cs b/sdk/dotnet/Wisdom/AiAgent.cs new file mode 100644 index 0000000000..a1069878f5 --- /dev/null +++ b/sdk/dotnet/Wisdom/AiAgent.cs @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom +{ + /// + /// Definition of AWS::Wisdom::AIAgent Resource Type + /// + [AwsNativeResourceType("aws-native:wisdom:AiAgent")] + public partial class AiAgent : global::Pulumi.CustomResource + { + [Output("aiAgentArn")] + public Output AiAgentArn { get; private set; } = null!; + + [Output("aiAgentId")] + public Output AiAgentId { get; private set; } = null!; + + [Output("assistantArn")] + public Output AssistantArn { get; private set; } = null!; + + [Output("assistantId")] + public Output AssistantId { get; private set; } = null!; + + [Output("configuration")] + public Output> Configuration { get; private set; } = null!; + + [Output("description")] + public Output Description { get; private set; } = null!; + + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a AiAgent resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public AiAgent(string name, AiAgentArgs args, CustomResourceOptions? options = null) + : base("aws-native:wisdom:AiAgent", name, args ?? new AiAgentArgs(), MakeResourceOptions(options, "")) + { + } + + private AiAgent(string name, Input id, CustomResourceOptions? options = null) + : base("aws-native:wisdom:AiAgent", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + ReplaceOnChanges = + { + "assistantId", + "name", + "tags.*", + "type", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing AiAgent resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static AiAgent Get(string name, Input id, CustomResourceOptions? options = null) + { + return new AiAgent(name, id, options); + } + } + + public sealed class AiAgentArgs : global::Pulumi.ResourceArgs + { + [Input("assistantId", required: true)] + public Input AssistantId { get; set; } = null!; + + [Input("configuration", required: true)] + public InputUnion Configuration { get; set; } = null!; + + [Input("description")] + public Input? Description { get; set; } + + [Input("name")] + public Input? Name { get; set; } + + [Input("tags")] + private InputMap? _tags; + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public AiAgentArgs() + { + } + public static new AiAgentArgs Empty => new AiAgentArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Enums.cs b/sdk/dotnet/Wisdom/Enums.cs index 2fb851041c..9de82af007 100644 --- a/sdk/dotnet/Wisdom/Enums.cs +++ b/sdk/dotnet/Wisdom/Enums.cs @@ -7,6 +7,89 @@ namespace Pulumi.AwsNative.Wisdom { + [EnumType] + public readonly struct AiAgentAiAgentAssociationConfigurationType : IEquatable + { + private readonly string _value; + + private AiAgentAiAgentAssociationConfigurationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AiAgentAiAgentAssociationConfigurationType KnowledgeBase { get; } = new AiAgentAiAgentAssociationConfigurationType("KNOWLEDGE_BASE"); + + public static bool operator ==(AiAgentAiAgentAssociationConfigurationType left, AiAgentAiAgentAssociationConfigurationType right) => left.Equals(right); + public static bool operator !=(AiAgentAiAgentAssociationConfigurationType left, AiAgentAiAgentAssociationConfigurationType right) => !left.Equals(right); + + public static explicit operator string(AiAgentAiAgentAssociationConfigurationType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AiAgentAiAgentAssociationConfigurationType other && Equals(other); + public bool Equals(AiAgentAiAgentAssociationConfigurationType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AiAgentAiAgentType : IEquatable + { + private readonly string _value; + + private AiAgentAiAgentType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AiAgentAiAgentType ManualSearch { get; } = new AiAgentAiAgentType("MANUAL_SEARCH"); + public static AiAgentAiAgentType AnswerRecommendation { get; } = new AiAgentAiAgentType("ANSWER_RECOMMENDATION"); + + public static bool operator ==(AiAgentAiAgentType left, AiAgentAiAgentType right) => left.Equals(right); + public static bool operator !=(AiAgentAiAgentType left, AiAgentAiAgentType right) => !left.Equals(right); + + public static explicit operator string(AiAgentAiAgentType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AiAgentAiAgentType other && Equals(other); + public bool Equals(AiAgentAiAgentType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + [EnumType] + public readonly struct AiAgentKnowledgeBaseSearchType : IEquatable + { + private readonly string _value; + + private AiAgentKnowledgeBaseSearchType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static AiAgentKnowledgeBaseSearchType Hybrid { get; } = new AiAgentKnowledgeBaseSearchType("HYBRID"); + public static AiAgentKnowledgeBaseSearchType Semantic { get; } = new AiAgentKnowledgeBaseSearchType("SEMANTIC"); + + public static bool operator ==(AiAgentKnowledgeBaseSearchType left, AiAgentKnowledgeBaseSearchType right) => left.Equals(right); + public static bool operator !=(AiAgentKnowledgeBaseSearchType left, AiAgentKnowledgeBaseSearchType right) => !left.Equals(right); + + public static explicit operator string(AiAgentKnowledgeBaseSearchType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AiAgentKnowledgeBaseSearchType other && Equals(other); + public bool Equals(AiAgentKnowledgeBaseSearchType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + [EnumType] public readonly struct AiPromptAiPromptApiFormat : IEquatable { diff --git a/sdk/dotnet/Wisdom/GetAiAgent.cs b/sdk/dotnet/Wisdom/GetAiAgent.cs new file mode 100644 index 0000000000..bddb017bdf --- /dev/null +++ b/sdk/dotnet/Wisdom/GetAiAgent.cs @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom +{ + public static class GetAiAgent + { + /// + /// Definition of AWS::Wisdom::AIAgent Resource Type + /// + public static Task InvokeAsync(GetAiAgentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("aws-native:wisdom:getAiAgent", args ?? new GetAiAgentArgs(), options.WithDefaults()); + + /// + /// Definition of AWS::Wisdom::AIAgent Resource Type + /// + public static Output Invoke(GetAiAgentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("aws-native:wisdom:getAiAgent", args ?? new GetAiAgentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAiAgentArgs : global::Pulumi.InvokeArgs + { + [Input("aiAgentId", required: true)] + public string AiAgentId { get; set; } = null!; + + [Input("assistantId", required: true)] + public string AssistantId { get; set; } = null!; + + public GetAiAgentArgs() + { + } + public static new GetAiAgentArgs Empty => new GetAiAgentArgs(); + } + + public sealed class GetAiAgentInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("aiAgentId", required: true)] + public Input AiAgentId { get; set; } = null!; + + [Input("assistantId", required: true)] + public Input AssistantId { get; set; } = null!; + + public GetAiAgentInvokeArgs() + { + } + public static new GetAiAgentInvokeArgs Empty => new GetAiAgentInvokeArgs(); + } + + + [OutputType] + public sealed class GetAiAgentResult + { + public readonly string? AiAgentArn; + public readonly string? AiAgentId; + public readonly string? AssistantArn; + public readonly Union? Configuration; + public readonly string? Description; + + [OutputConstructor] + private GetAiAgentResult( + string? aiAgentArn, + + string? aiAgentId, + + string? assistantArn, + + Union? configuration, + + string? description) + { + AiAgentArn = aiAgentArn; + AiAgentId = aiAgentId; + AssistantArn = assistantArn; + Configuration = configuration; + Description = description; + } + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentAiAgentConfiguration0PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentAiAgentConfiguration0PropertiesArgs.cs new file mode 100644 index 0000000000..6e905ad3c8 --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentAiAgentConfiguration0PropertiesArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentAiAgentConfiguration0PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("manualSearchAiAgentConfiguration", required: true)] + public Input ManualSearchAiAgentConfiguration { get; set; } = null!; + + public AiAgentAiAgentConfiguration0PropertiesArgs() + { + } + public static new AiAgentAiAgentConfiguration0PropertiesArgs Empty => new AiAgentAiAgentConfiguration0PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentAiAgentConfiguration1PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentAiAgentConfiguration1PropertiesArgs.cs new file mode 100644 index 0000000000..bb5a14a6c7 --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentAiAgentConfiguration1PropertiesArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentAiAgentConfiguration1PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("answerRecommendationAiAgentConfiguration", required: true)] + public Input AnswerRecommendationAiAgentConfiguration { get; set; } = null!; + + public AiAgentAiAgentConfiguration1PropertiesArgs() + { + } + public static new AiAgentAiAgentConfiguration1PropertiesArgs Empty => new AiAgentAiAgentConfiguration1PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentAnswerRecommendationAiAgentConfigurationArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentAnswerRecommendationAiAgentConfigurationArgs.cs new file mode 100644 index 0000000000..662a751e37 --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentAnswerRecommendationAiAgentConfigurationArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentAnswerRecommendationAiAgentConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("answerGenerationAiPromptId")] + public Input? AnswerGenerationAiPromptId { get; set; } + + [Input("associationConfigurations")] + private InputList? _associationConfigurations; + public InputList AssociationConfigurations + { + get => _associationConfigurations ?? (_associationConfigurations = new InputList()); + set => _associationConfigurations = value; + } + + [Input("intentLabelingGenerationAiPromptId")] + public Input? IntentLabelingGenerationAiPromptId { get; set; } + + [Input("queryReformulationAiPromptId")] + public Input? QueryReformulationAiPromptId { get; set; } + + public AiAgentAnswerRecommendationAiAgentConfigurationArgs() + { + } + public static new AiAgentAnswerRecommendationAiAgentConfigurationArgs Empty => new AiAgentAnswerRecommendationAiAgentConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentAssociationConfigurationArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentAssociationConfigurationArgs.cs new file mode 100644 index 0000000000..8fac64bf5a --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentAssociationConfigurationArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentAssociationConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("associationConfigurationData")] + public Input? AssociationConfigurationData { get; set; } + + [Input("associationId")] + public Input? AssociationId { get; set; } + + [Input("associationType")] + public Input? AssociationType { get; set; } + + public AiAgentAssociationConfigurationArgs() + { + } + public static new AiAgentAssociationConfigurationArgs Empty => new AiAgentAssociationConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentAssociationConfigurationDataPropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentAssociationConfigurationDataPropertiesArgs.cs new file mode 100644 index 0000000000..86a22bc824 --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentAssociationConfigurationDataPropertiesArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentAssociationConfigurationDataPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("knowledgeBaseAssociationConfigurationData", required: true)] + public Input KnowledgeBaseAssociationConfigurationData { get; set; } = null!; + + public AiAgentAssociationConfigurationDataPropertiesArgs() + { + } + public static new AiAgentAssociationConfigurationDataPropertiesArgs Empty => new AiAgentAssociationConfigurationDataPropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentKnowledgeBaseAssociationConfigurationDataArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentKnowledgeBaseAssociationConfigurationDataArgs.cs new file mode 100644 index 0000000000..bc17352a9b --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentKnowledgeBaseAssociationConfigurationDataArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentKnowledgeBaseAssociationConfigurationDataArgs : global::Pulumi.ResourceArgs + { + [Input("contentTagFilter")] + public object? ContentTagFilter { get; set; } + + [Input("maxResults")] + public Input? MaxResults { get; set; } + + [Input("overrideKnowledgeBaseSearchType")] + public Input? OverrideKnowledgeBaseSearchType { get; set; } + + public AiAgentKnowledgeBaseAssociationConfigurationDataArgs() + { + } + public static new AiAgentKnowledgeBaseAssociationConfigurationDataArgs Empty => new AiAgentKnowledgeBaseAssociationConfigurationDataArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentManualSearchAiAgentConfigurationArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentManualSearchAiAgentConfigurationArgs.cs new file mode 100644 index 0000000000..90d498ddb5 --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentManualSearchAiAgentConfigurationArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentManualSearchAiAgentConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("answerGenerationAiPromptId")] + public Input? AnswerGenerationAiPromptId { get; set; } + + [Input("associationConfigurations")] + private InputList? _associationConfigurations; + public InputList AssociationConfigurations + { + get => _associationConfigurations ?? (_associationConfigurations = new InputList()); + set => _associationConfigurations = value; + } + + public AiAgentManualSearchAiAgentConfigurationArgs() + { + } + public static new AiAgentManualSearchAiAgentConfigurationArgs Empty => new AiAgentManualSearchAiAgentConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentOrCondition0PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentOrCondition0PropertiesArgs.cs new file mode 100644 index 0000000000..66ad21711f --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentOrCondition0PropertiesArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentOrCondition0PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("andConditions", required: true)] + private InputList? _andConditions; + public InputList AndConditions + { + get => _andConditions ?? (_andConditions = new InputList()); + set => _andConditions = value; + } + + public AiAgentOrCondition0PropertiesArgs() + { + } + public static new AiAgentOrCondition0PropertiesArgs Empty => new AiAgentOrCondition0PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentOrCondition1PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentOrCondition1PropertiesArgs.cs new file mode 100644 index 0000000000..77b4d1ea3e --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentOrCondition1PropertiesArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentOrCondition1PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("tagCondition", required: true)] + public Input TagCondition { get; set; } = null!; + + public AiAgentOrCondition1PropertiesArgs() + { + } + public static new AiAgentOrCondition1PropertiesArgs Empty => new AiAgentOrCondition1PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentTagConditionArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentTagConditionArgs.cs new file mode 100644 index 0000000000..475f34cb9b --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentTagConditionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentTagConditionArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("value")] + public Input? Value { get; set; } + + public AiAgentTagConditionArgs() + { + } + public static new AiAgentTagConditionArgs Empty => new AiAgentTagConditionArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter0PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter0PropertiesArgs.cs new file mode 100644 index 0000000000..e7e3bf6e9d --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter0PropertiesArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentTagFilter0PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("tagCondition", required: true)] + public Input TagCondition { get; set; } = null!; + + public AiAgentTagFilter0PropertiesArgs() + { + } + public static new AiAgentTagFilter0PropertiesArgs Empty => new AiAgentTagFilter0PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter1PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter1PropertiesArgs.cs new file mode 100644 index 0000000000..ace5804336 --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter1PropertiesArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentTagFilter1PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("andConditions", required: true)] + private InputList? _andConditions; + public InputList AndConditions + { + get => _andConditions ?? (_andConditions = new InputList()); + set => _andConditions = value; + } + + public AiAgentTagFilter1PropertiesArgs() + { + } + public static new AiAgentTagFilter1PropertiesArgs Empty => new AiAgentTagFilter1PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter2PropertiesArgs.cs b/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter2PropertiesArgs.cs new file mode 100644 index 0000000000..72ede4d02e --- /dev/null +++ b/sdk/dotnet/Wisdom/Inputs/AiAgentTagFilter2PropertiesArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Inputs +{ + + public sealed class AiAgentTagFilter2PropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("orConditions", required: true)] + private InputList>? _orConditions; + public InputList> OrConditions + { + get => _orConditions ?? (_orConditions = new InputList>()); + set => _orConditions = value; + } + + public AiAgentTagFilter2PropertiesArgs() + { + } + public static new AiAgentTagFilter2PropertiesArgs Empty => new AiAgentTagFilter2PropertiesArgs(); + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentAiAgentConfiguration0Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentAiAgentConfiguration0Properties.cs new file mode 100644 index 0000000000..3566d86530 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentAiAgentConfiguration0Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentAiAgentConfiguration0Properties + { + public readonly Outputs.AiAgentManualSearchAiAgentConfiguration ManualSearchAiAgentConfiguration; + + [OutputConstructor] + private AiAgentAiAgentConfiguration0Properties(Outputs.AiAgentManualSearchAiAgentConfiguration manualSearchAiAgentConfiguration) + { + ManualSearchAiAgentConfiguration = manualSearchAiAgentConfiguration; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentAiAgentConfiguration1Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentAiAgentConfiguration1Properties.cs new file mode 100644 index 0000000000..ddca2be425 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentAiAgentConfiguration1Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentAiAgentConfiguration1Properties + { + public readonly Outputs.AiAgentAnswerRecommendationAiAgentConfiguration AnswerRecommendationAiAgentConfiguration; + + [OutputConstructor] + private AiAgentAiAgentConfiguration1Properties(Outputs.AiAgentAnswerRecommendationAiAgentConfiguration answerRecommendationAiAgentConfiguration) + { + AnswerRecommendationAiAgentConfiguration = answerRecommendationAiAgentConfiguration; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentAnswerRecommendationAiAgentConfiguration.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentAnswerRecommendationAiAgentConfiguration.cs new file mode 100644 index 0000000000..0780e9fac1 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentAnswerRecommendationAiAgentConfiguration.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentAnswerRecommendationAiAgentConfiguration + { + public readonly string? AnswerGenerationAiPromptId; + public readonly ImmutableArray AssociationConfigurations; + public readonly string? IntentLabelingGenerationAiPromptId; + public readonly string? QueryReformulationAiPromptId; + + [OutputConstructor] + private AiAgentAnswerRecommendationAiAgentConfiguration( + string? answerGenerationAiPromptId, + + ImmutableArray associationConfigurations, + + string? intentLabelingGenerationAiPromptId, + + string? queryReformulationAiPromptId) + { + AnswerGenerationAiPromptId = answerGenerationAiPromptId; + AssociationConfigurations = associationConfigurations; + IntentLabelingGenerationAiPromptId = intentLabelingGenerationAiPromptId; + QueryReformulationAiPromptId = queryReformulationAiPromptId; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentAssociationConfiguration.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentAssociationConfiguration.cs new file mode 100644 index 0000000000..ff7c806aeb --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentAssociationConfiguration.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentAssociationConfiguration + { + public readonly Outputs.AiAgentAssociationConfigurationDataProperties? AssociationConfigurationData; + public readonly string? AssociationId; + public readonly Pulumi.AwsNative.Wisdom.AiAgentAiAgentAssociationConfigurationType? AssociationType; + + [OutputConstructor] + private AiAgentAssociationConfiguration( + Outputs.AiAgentAssociationConfigurationDataProperties? associationConfigurationData, + + string? associationId, + + Pulumi.AwsNative.Wisdom.AiAgentAiAgentAssociationConfigurationType? associationType) + { + AssociationConfigurationData = associationConfigurationData; + AssociationId = associationId; + AssociationType = associationType; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentAssociationConfigurationDataProperties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentAssociationConfigurationDataProperties.cs new file mode 100644 index 0000000000..052544bc4d --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentAssociationConfigurationDataProperties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentAssociationConfigurationDataProperties + { + public readonly Outputs.AiAgentKnowledgeBaseAssociationConfigurationData KnowledgeBaseAssociationConfigurationData; + + [OutputConstructor] + private AiAgentAssociationConfigurationDataProperties(Outputs.AiAgentKnowledgeBaseAssociationConfigurationData knowledgeBaseAssociationConfigurationData) + { + KnowledgeBaseAssociationConfigurationData = knowledgeBaseAssociationConfigurationData; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentKnowledgeBaseAssociationConfigurationData.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentKnowledgeBaseAssociationConfigurationData.cs new file mode 100644 index 0000000000..812c18ffe5 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentKnowledgeBaseAssociationConfigurationData.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentKnowledgeBaseAssociationConfigurationData + { + public readonly object? ContentTagFilter; + public readonly double? MaxResults; + public readonly Pulumi.AwsNative.Wisdom.AiAgentKnowledgeBaseSearchType? OverrideKnowledgeBaseSearchType; + + [OutputConstructor] + private AiAgentKnowledgeBaseAssociationConfigurationData( + object? contentTagFilter, + + double? maxResults, + + Pulumi.AwsNative.Wisdom.AiAgentKnowledgeBaseSearchType? overrideKnowledgeBaseSearchType) + { + ContentTagFilter = contentTagFilter; + MaxResults = maxResults; + OverrideKnowledgeBaseSearchType = overrideKnowledgeBaseSearchType; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentManualSearchAiAgentConfiguration.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentManualSearchAiAgentConfiguration.cs new file mode 100644 index 0000000000..7735f931a8 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentManualSearchAiAgentConfiguration.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentManualSearchAiAgentConfiguration + { + public readonly string? AnswerGenerationAiPromptId; + public readonly ImmutableArray AssociationConfigurations; + + [OutputConstructor] + private AiAgentManualSearchAiAgentConfiguration( + string? answerGenerationAiPromptId, + + ImmutableArray associationConfigurations) + { + AnswerGenerationAiPromptId = answerGenerationAiPromptId; + AssociationConfigurations = associationConfigurations; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentOrCondition0Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentOrCondition0Properties.cs new file mode 100644 index 0000000000..c839da58cc --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentOrCondition0Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentOrCondition0Properties + { + public readonly ImmutableArray AndConditions; + + [OutputConstructor] + private AiAgentOrCondition0Properties(ImmutableArray andConditions) + { + AndConditions = andConditions; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentOrCondition1Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentOrCondition1Properties.cs new file mode 100644 index 0000000000..06cb8364e8 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentOrCondition1Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentOrCondition1Properties + { + public readonly Outputs.AiAgentTagCondition TagCondition; + + [OutputConstructor] + private AiAgentOrCondition1Properties(Outputs.AiAgentTagCondition tagCondition) + { + TagCondition = tagCondition; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentTagCondition.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentTagCondition.cs new file mode 100644 index 0000000000..818d9dca75 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentTagCondition.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentTagCondition + { + public readonly string Key; + public readonly string? Value; + + [OutputConstructor] + private AiAgentTagCondition( + string key, + + string? value) + { + Key = key; + Value = value; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter0Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter0Properties.cs new file mode 100644 index 0000000000..ea27a56f53 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter0Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentTagFilter0Properties + { + public readonly Outputs.AiAgentTagCondition TagCondition; + + [OutputConstructor] + private AiAgentTagFilter0Properties(Outputs.AiAgentTagCondition tagCondition) + { + TagCondition = tagCondition; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter1Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter1Properties.cs new file mode 100644 index 0000000000..58fcca94ec --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter1Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentTagFilter1Properties + { + public readonly ImmutableArray AndConditions; + + [OutputConstructor] + private AiAgentTagFilter1Properties(ImmutableArray andConditions) + { + AndConditions = andConditions; + } + } +} diff --git a/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter2Properties.cs b/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter2Properties.cs new file mode 100644 index 0000000000..3c20d7e4e8 --- /dev/null +++ b/sdk/dotnet/Wisdom/Outputs/AiAgentTagFilter2Properties.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Wisdom.Outputs +{ + + [OutputType] + public sealed class AiAgentTagFilter2Properties + { + public readonly ImmutableArray> OrConditions; + + [OutputConstructor] + private AiAgentTagFilter2Properties(ImmutableArray> orConditions) + { + OrConditions = orConditions; + } + } +} diff --git a/sdk/go/aws/appsync/api.go b/sdk/go/aws/appsync/api.go index 7062c15769..934beb10d1 100644 --- a/sdk/go/aws/appsync/api.go +++ b/sdk/go/aws/appsync/api.go @@ -19,12 +19,17 @@ type Api struct { // The Amazon Resource Name (ARN) of the AppSync Api ApiArn pulumi.StringOutput `pulumi:"apiArn"` // The unique identifier for the AppSync Api generated by the service - ApiId pulumi.StringOutput `pulumi:"apiId"` - Dns pulumi.StringMapOutput `pulumi:"dns"` - EventConfig ApiEventConfigPtrOutput `pulumi:"eventConfig"` - Name pulumi.StringOutput `pulumi:"name"` - OwnerContact pulumi.StringPtrOutput `pulumi:"ownerContact"` - Tags aws.TagArrayOutput `pulumi:"tags"` + ApiId pulumi.StringOutput `pulumi:"apiId"` + Dns pulumi.StringMapOutput `pulumi:"dns"` + EventConfig ApiEventConfigPtrOutput `pulumi:"eventConfig"` + // The API name. + Name pulumi.StringOutput `pulumi:"name"` + // The owner contact information for an API resource. + // + // This field accepts any string input with a length of 0 - 256 characters. + OwnerContact pulumi.StringPtrOutput `pulumi:"ownerContact"` + // The tags. + Tags aws.TagArrayOutput `pulumi:"tags"` } // NewApi registers a new resource with the given unique name, arguments, and options. @@ -67,18 +72,28 @@ func (ApiState) ElementType() reflect.Type { } type apiArgs struct { - EventConfig *ApiEventConfig `pulumi:"eventConfig"` - Name *string `pulumi:"name"` - OwnerContact *string `pulumi:"ownerContact"` - Tags []aws.Tag `pulumi:"tags"` + EventConfig *ApiEventConfig `pulumi:"eventConfig"` + // The API name. + Name *string `pulumi:"name"` + // The owner contact information for an API resource. + // + // This field accepts any string input with a length of 0 - 256 characters. + OwnerContact *string `pulumi:"ownerContact"` + // The tags. + Tags []aws.Tag `pulumi:"tags"` } // The set of arguments for constructing a Api resource. type ApiArgs struct { - EventConfig ApiEventConfigPtrInput - Name pulumi.StringPtrInput + EventConfig ApiEventConfigPtrInput + // The API name. + Name pulumi.StringPtrInput + // The owner contact information for an API resource. + // + // This field accepts any string input with a length of 0 - 256 characters. OwnerContact pulumi.StringPtrInput - Tags aws.TagArrayInput + // The tags. + Tags aws.TagArrayInput } func (ApiArgs) ElementType() reflect.Type { @@ -136,14 +151,19 @@ func (o ApiOutput) EventConfig() ApiEventConfigPtrOutput { return o.ApplyT(func(v *Api) ApiEventConfigPtrOutput { return v.EventConfig }).(ApiEventConfigPtrOutput) } +// The API name. func (o ApiOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Api) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } +// The owner contact information for an API resource. +// +// This field accepts any string input with a length of 0 - 256 characters. func (o ApiOutput) OwnerContact() pulumi.StringPtrOutput { return o.ApplyT(func(v *Api) pulumi.StringPtrOutput { return v.OwnerContact }).(pulumi.StringPtrOutput) } +// The tags. func (o ApiOutput) Tags() aws.TagArrayOutput { return o.ApplyT(func(v *Api) aws.TagArrayOutput { return v.Tags }).(aws.TagArrayOutput) } diff --git a/sdk/go/aws/appsync/getApi.go b/sdk/go/aws/appsync/getApi.go index 55cbf2b8c3..c60dd630cf 100644 --- a/sdk/go/aws/appsync/getApi.go +++ b/sdk/go/aws/appsync/getApi.go @@ -32,12 +32,17 @@ type LookupApiResult struct { // The Amazon Resource Name (ARN) of the AppSync Api ApiArn *string `pulumi:"apiArn"` // The unique identifier for the AppSync Api generated by the service - ApiId *string `pulumi:"apiId"` - Dns map[string]string `pulumi:"dns"` - EventConfig *ApiEventConfig `pulumi:"eventConfig"` - Name *string `pulumi:"name"` - OwnerContact *string `pulumi:"ownerContact"` - Tags []aws.Tag `pulumi:"tags"` + ApiId *string `pulumi:"apiId"` + Dns map[string]string `pulumi:"dns"` + EventConfig *ApiEventConfig `pulumi:"eventConfig"` + // The API name. + Name *string `pulumi:"name"` + // The owner contact information for an API resource. + // + // This field accepts any string input with a length of 0 - 256 characters. + OwnerContact *string `pulumi:"ownerContact"` + // The tags. + Tags []aws.Tag `pulumi:"tags"` } func LookupApiOutput(ctx *pulumi.Context, args LookupApiOutputArgs, opts ...pulumi.InvokeOption) LookupApiResultOutput { @@ -100,14 +105,19 @@ func (o LookupApiResultOutput) EventConfig() ApiEventConfigPtrOutput { return o.ApplyT(func(v LookupApiResult) *ApiEventConfig { return v.EventConfig }).(ApiEventConfigPtrOutput) } +// The API name. func (o LookupApiResultOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupApiResult) *string { return v.Name }).(pulumi.StringPtrOutput) } +// The owner contact information for an API resource. +// +// This field accepts any string input with a length of 0 - 256 characters. func (o LookupApiResultOutput) OwnerContact() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupApiResult) *string { return v.OwnerContact }).(pulumi.StringPtrOutput) } +// The tags. func (o LookupApiResultOutput) Tags() aws.TagArrayOutput { return o.ApplyT(func(v LookupApiResult) []aws.Tag { return v.Tags }).(aws.TagArrayOutput) } diff --git a/sdk/go/aws/bedrock/applicationInferenceProfile.go b/sdk/go/aws/bedrock/applicationInferenceProfile.go new file mode 100644 index 0000000000..2cd3c94ae8 --- /dev/null +++ b/sdk/go/aws/bedrock/applicationInferenceProfile.go @@ -0,0 +1,205 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package bedrock + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws-native/sdk/go/aws" + "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type +type ApplicationInferenceProfile struct { + pulumi.CustomResourceState + + // Time Stamp + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Description of the inference profile + Description pulumi.StringPtrOutput `pulumi:"description"` + InferenceProfileArn pulumi.StringOutput `pulumi:"inferenceProfileArn"` + InferenceProfileId pulumi.StringOutput `pulumi:"inferenceProfileId"` + // Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + InferenceProfileIdentifier pulumi.StringOutput `pulumi:"inferenceProfileIdentifier"` + InferenceProfileName pulumi.StringOutput `pulumi:"inferenceProfileName"` + ModelSource ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput `pulumi:"modelSource"` + // List of model configuration + Models ApplicationInferenceProfileInferenceProfileModelArrayOutput `pulumi:"models"` + Status ApplicationInferenceProfileInferenceProfileStatusOutput `pulumi:"status"` + // List of Tags + Tags aws.TagArrayOutput `pulumi:"tags"` + Type ApplicationInferenceProfileInferenceProfileTypeOutput `pulumi:"type"` + // Time Stamp + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewApplicationInferenceProfile registers a new resource with the given unique name, arguments, and options. +func NewApplicationInferenceProfile(ctx *pulumi.Context, + name string, args *ApplicationInferenceProfileArgs, opts ...pulumi.ResourceOption) (*ApplicationInferenceProfile, error) { + if args == nil { + args = &ApplicationInferenceProfileArgs{} + } + + replaceOnChanges := pulumi.ReplaceOnChanges([]string{ + "description", + "inferenceProfileName", + "modelSource", + }) + opts = append(opts, replaceOnChanges) + opts = internal.PkgResourceDefaultOpts(opts) + var resource ApplicationInferenceProfile + err := ctx.RegisterResource("aws-native:bedrock:ApplicationInferenceProfile", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetApplicationInferenceProfile gets an existing ApplicationInferenceProfile resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetApplicationInferenceProfile(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ApplicationInferenceProfileState, opts ...pulumi.ResourceOption) (*ApplicationInferenceProfile, error) { + var resource ApplicationInferenceProfile + err := ctx.ReadResource("aws-native:bedrock:ApplicationInferenceProfile", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ApplicationInferenceProfile resources. +type applicationInferenceProfileState struct { +} + +type ApplicationInferenceProfileState struct { +} + +func (ApplicationInferenceProfileState) ElementType() reflect.Type { + return reflect.TypeOf((*applicationInferenceProfileState)(nil)).Elem() +} + +type applicationInferenceProfileArgs struct { + // Description of the inference profile + Description *string `pulumi:"description"` + InferenceProfileName *string `pulumi:"inferenceProfileName"` + ModelSource *ApplicationInferenceProfileInferenceProfileModelSourceProperties `pulumi:"modelSource"` + // List of Tags + Tags []aws.Tag `pulumi:"tags"` +} + +// The set of arguments for constructing a ApplicationInferenceProfile resource. +type ApplicationInferenceProfileArgs struct { + // Description of the inference profile + Description pulumi.StringPtrInput + InferenceProfileName pulumi.StringPtrInput + ModelSource ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrInput + // List of Tags + Tags aws.TagArrayInput +} + +func (ApplicationInferenceProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*applicationInferenceProfileArgs)(nil)).Elem() +} + +type ApplicationInferenceProfileInput interface { + pulumi.Input + + ToApplicationInferenceProfileOutput() ApplicationInferenceProfileOutput + ToApplicationInferenceProfileOutputWithContext(ctx context.Context) ApplicationInferenceProfileOutput +} + +func (*ApplicationInferenceProfile) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInferenceProfile)(nil)).Elem() +} + +func (i *ApplicationInferenceProfile) ToApplicationInferenceProfileOutput() ApplicationInferenceProfileOutput { + return i.ToApplicationInferenceProfileOutputWithContext(context.Background()) +} + +func (i *ApplicationInferenceProfile) ToApplicationInferenceProfileOutputWithContext(ctx context.Context) ApplicationInferenceProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationInferenceProfileOutput) +} + +type ApplicationInferenceProfileOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInferenceProfile)(nil)).Elem() +} + +func (o ApplicationInferenceProfileOutput) ToApplicationInferenceProfileOutput() ApplicationInferenceProfileOutput { + return o +} + +func (o ApplicationInferenceProfileOutput) ToApplicationInferenceProfileOutputWithContext(ctx context.Context) ApplicationInferenceProfileOutput { + return o +} + +// Time Stamp +func (o ApplicationInferenceProfileOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Description of the inference profile +func (o ApplicationInferenceProfileOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o ApplicationInferenceProfileOutput) InferenceProfileArn() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringOutput { return v.InferenceProfileArn }).(pulumi.StringOutput) +} + +func (o ApplicationInferenceProfileOutput) InferenceProfileId() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringOutput { return v.InferenceProfileId }).(pulumi.StringOutput) +} + +// Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. +func (o ApplicationInferenceProfileOutput) InferenceProfileIdentifier() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringOutput { return v.InferenceProfileIdentifier }).(pulumi.StringOutput) +} + +func (o ApplicationInferenceProfileOutput) InferenceProfileName() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringOutput { return v.InferenceProfileName }).(pulumi.StringOutput) +} + +func (o ApplicationInferenceProfileOutput) ModelSource() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return v.ModelSource + }).(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) +} + +// List of model configuration +func (o ApplicationInferenceProfileOutput) Models() ApplicationInferenceProfileInferenceProfileModelArrayOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) ApplicationInferenceProfileInferenceProfileModelArrayOutput { + return v.Models + }).(ApplicationInferenceProfileInferenceProfileModelArrayOutput) +} + +func (o ApplicationInferenceProfileOutput) Status() ApplicationInferenceProfileInferenceProfileStatusOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) ApplicationInferenceProfileInferenceProfileStatusOutput { + return v.Status + }).(ApplicationInferenceProfileInferenceProfileStatusOutput) +} + +// List of Tags +func (o ApplicationInferenceProfileOutput) Tags() aws.TagArrayOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) aws.TagArrayOutput { return v.Tags }).(aws.TagArrayOutput) +} + +func (o ApplicationInferenceProfileOutput) Type() ApplicationInferenceProfileInferenceProfileTypeOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) ApplicationInferenceProfileInferenceProfileTypeOutput { + return v.Type + }).(ApplicationInferenceProfileInferenceProfileTypeOutput) +} + +// Time Stamp +func (o ApplicationInferenceProfileOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *ApplicationInferenceProfile) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationInferenceProfileInput)(nil)).Elem(), &ApplicationInferenceProfile{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileOutput{}) +} diff --git a/sdk/go/aws/bedrock/getApplicationInferenceProfile.go b/sdk/go/aws/bedrock/getApplicationInferenceProfile.go new file mode 100644 index 0000000000..c1b929d9de --- /dev/null +++ b/sdk/go/aws/bedrock/getApplicationInferenceProfile.go @@ -0,0 +1,139 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package bedrock + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws-native/sdk/go/aws" + "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type +func LookupApplicationInferenceProfile(ctx *pulumi.Context, args *LookupApplicationInferenceProfileArgs, opts ...pulumi.InvokeOption) (*LookupApplicationInferenceProfileResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplicationInferenceProfileResult + err := ctx.Invoke("aws-native:bedrock:getApplicationInferenceProfile", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupApplicationInferenceProfileArgs struct { + // Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + InferenceProfileIdentifier string `pulumi:"inferenceProfileIdentifier"` +} + +type LookupApplicationInferenceProfileResult struct { + // Time Stamp + CreatedAt *string `pulumi:"createdAt"` + InferenceProfileArn *string `pulumi:"inferenceProfileArn"` + InferenceProfileId *string `pulumi:"inferenceProfileId"` + // Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + InferenceProfileIdentifier *string `pulumi:"inferenceProfileIdentifier"` + // List of model configuration + Models []ApplicationInferenceProfileInferenceProfileModel `pulumi:"models"` + Status *ApplicationInferenceProfileInferenceProfileStatus `pulumi:"status"` + // List of Tags + Tags []aws.Tag `pulumi:"tags"` + Type *ApplicationInferenceProfileInferenceProfileType `pulumi:"type"` + // Time Stamp + UpdatedAt *string `pulumi:"updatedAt"` +} + +func LookupApplicationInferenceProfileOutput(ctx *pulumi.Context, args LookupApplicationInferenceProfileOutputArgs, opts ...pulumi.InvokeOption) LookupApplicationInferenceProfileResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupApplicationInferenceProfileResultOutput, error) { + args := v.(LookupApplicationInferenceProfileArgs) + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupApplicationInferenceProfileResult + secret, err := ctx.InvokePackageRaw("aws-native:bedrock:getApplicationInferenceProfile", args, &rv, "", opts...) + if err != nil { + return LookupApplicationInferenceProfileResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupApplicationInferenceProfileResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupApplicationInferenceProfileResultOutput), nil + } + return output, nil + }).(LookupApplicationInferenceProfileResultOutput) +} + +type LookupApplicationInferenceProfileOutputArgs struct { + // Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + InferenceProfileIdentifier pulumi.StringInput `pulumi:"inferenceProfileIdentifier"` +} + +func (LookupApplicationInferenceProfileOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupApplicationInferenceProfileArgs)(nil)).Elem() +} + +type LookupApplicationInferenceProfileResultOutput struct{ *pulumi.OutputState } + +func (LookupApplicationInferenceProfileResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupApplicationInferenceProfileResult)(nil)).Elem() +} + +func (o LookupApplicationInferenceProfileResultOutput) ToLookupApplicationInferenceProfileResultOutput() LookupApplicationInferenceProfileResultOutput { + return o +} + +func (o LookupApplicationInferenceProfileResultOutput) ToLookupApplicationInferenceProfileResultOutputWithContext(ctx context.Context) LookupApplicationInferenceProfileResultOutput { + return o +} + +// Time Stamp +func (o LookupApplicationInferenceProfileResultOutput) CreatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *string { return v.CreatedAt }).(pulumi.StringPtrOutput) +} + +func (o LookupApplicationInferenceProfileResultOutput) InferenceProfileArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *string { return v.InferenceProfileArn }).(pulumi.StringPtrOutput) +} + +func (o LookupApplicationInferenceProfileResultOutput) InferenceProfileId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *string { return v.InferenceProfileId }).(pulumi.StringPtrOutput) +} + +// Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. +func (o LookupApplicationInferenceProfileResultOutput) InferenceProfileIdentifier() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *string { return v.InferenceProfileIdentifier }).(pulumi.StringPtrOutput) +} + +// List of model configuration +func (o LookupApplicationInferenceProfileResultOutput) Models() ApplicationInferenceProfileInferenceProfileModelArrayOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) []ApplicationInferenceProfileInferenceProfileModel { + return v.Models + }).(ApplicationInferenceProfileInferenceProfileModelArrayOutput) +} + +func (o LookupApplicationInferenceProfileResultOutput) Status() ApplicationInferenceProfileInferenceProfileStatusPtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *ApplicationInferenceProfileInferenceProfileStatus { + return v.Status + }).(ApplicationInferenceProfileInferenceProfileStatusPtrOutput) +} + +// List of Tags +func (o LookupApplicationInferenceProfileResultOutput) Tags() aws.TagArrayOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) []aws.Tag { return v.Tags }).(aws.TagArrayOutput) +} + +func (o LookupApplicationInferenceProfileResultOutput) Type() ApplicationInferenceProfileInferenceProfileTypePtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *ApplicationInferenceProfileInferenceProfileType { + return v.Type + }).(ApplicationInferenceProfileInferenceProfileTypePtrOutput) +} + +// Time Stamp +func (o LookupApplicationInferenceProfileResultOutput) UpdatedAt() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupApplicationInferenceProfileResult) *string { return v.UpdatedAt }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupApplicationInferenceProfileResultOutput{}) +} diff --git a/sdk/go/aws/bedrock/init.go b/sdk/go/aws/bedrock/init.go index ccc989cdc4..41e58f7232 100644 --- a/sdk/go/aws/bedrock/init.go +++ b/sdk/go/aws/bedrock/init.go @@ -25,6 +25,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Agent{} case "aws-native:bedrock:AgentAlias": r = &AgentAlias{} + case "aws-native:bedrock:ApplicationInferenceProfile": + r = &ApplicationInferenceProfile{} case "aws-native:bedrock:DataSource": r = &DataSource{} case "aws-native:bedrock:Flow": diff --git a/sdk/go/aws/bedrock/pulumiEnums.go b/sdk/go/aws/bedrock/pulumiEnums.go index 11abbd4330..4b95e2fe62 100644 --- a/sdk/go/aws/bedrock/pulumiEnums.go +++ b/sdk/go/aws/bedrock/pulumiEnums.go @@ -1537,6 +1537,187 @@ func (in *agentTypePtr) ToAgentTypePtrOutputWithContext(ctx context.Context) Age return pulumi.ToOutputWithContext(ctx, in).(AgentTypePtrOutput) } +// Status of the Inference Profile +type ApplicationInferenceProfileInferenceProfileStatus string + +const ( + ApplicationInferenceProfileInferenceProfileStatusActive = ApplicationInferenceProfileInferenceProfileStatus("ACTIVE") +) + +type ApplicationInferenceProfileInferenceProfileStatusOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileStatus)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToApplicationInferenceProfileInferenceProfileStatusOutput() ApplicationInferenceProfileInferenceProfileStatusOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToApplicationInferenceProfileInferenceProfileStatusOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileStatusOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToApplicationInferenceProfileInferenceProfileStatusPtrOutput() ApplicationInferenceProfileInferenceProfileStatusPtrOutput { + return o.ToApplicationInferenceProfileInferenceProfileStatusPtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToApplicationInferenceProfileInferenceProfileStatusPtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApplicationInferenceProfileInferenceProfileStatus) *ApplicationInferenceProfileInferenceProfileStatus { + return &v + }).(ApplicationInferenceProfileInferenceProfileStatusPtrOutput) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ApplicationInferenceProfileInferenceProfileStatus) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ApplicationInferenceProfileInferenceProfileStatus) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type ApplicationInferenceProfileInferenceProfileStatusPtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInferenceProfileInferenceProfileStatus)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileStatusPtrOutput) ToApplicationInferenceProfileInferenceProfileStatusPtrOutput() ApplicationInferenceProfileInferenceProfileStatusPtrOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileStatusPtrOutput) ToApplicationInferenceProfileInferenceProfileStatusPtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileStatusPtrOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileStatusPtrOutput) Elem() ApplicationInferenceProfileInferenceProfileStatusOutput { + return o.ApplyT(func(v *ApplicationInferenceProfileInferenceProfileStatus) ApplicationInferenceProfileInferenceProfileStatus { + if v != nil { + return *v + } + var ret ApplicationInferenceProfileInferenceProfileStatus + return ret + }).(ApplicationInferenceProfileInferenceProfileStatusOutput) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileStatusPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *ApplicationInferenceProfileInferenceProfileStatus) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// Type of the Inference Profile +type ApplicationInferenceProfileInferenceProfileType string + +const ( + ApplicationInferenceProfileInferenceProfileTypeApplication = ApplicationInferenceProfileInferenceProfileType("APPLICATION") + ApplicationInferenceProfileInferenceProfileTypeSystemDefined = ApplicationInferenceProfileInferenceProfileType("SYSTEM_DEFINED") +) + +type ApplicationInferenceProfileInferenceProfileTypeOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileType)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToApplicationInferenceProfileInferenceProfileTypeOutput() ApplicationInferenceProfileInferenceProfileTypeOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToApplicationInferenceProfileInferenceProfileTypeOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileTypeOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToApplicationInferenceProfileInferenceProfileTypePtrOutput() ApplicationInferenceProfileInferenceProfileTypePtrOutput { + return o.ToApplicationInferenceProfileInferenceProfileTypePtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToApplicationInferenceProfileInferenceProfileTypePtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApplicationInferenceProfileInferenceProfileType) *ApplicationInferenceProfileInferenceProfileType { + return &v + }).(ApplicationInferenceProfileInferenceProfileTypePtrOutput) +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ApplicationInferenceProfileInferenceProfileType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ApplicationInferenceProfileInferenceProfileType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type ApplicationInferenceProfileInferenceProfileTypePtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInferenceProfileInferenceProfileType)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileTypePtrOutput) ToApplicationInferenceProfileInferenceProfileTypePtrOutput() ApplicationInferenceProfileInferenceProfileTypePtrOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileTypePtrOutput) ToApplicationInferenceProfileInferenceProfileTypePtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileTypePtrOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileTypePtrOutput) Elem() ApplicationInferenceProfileInferenceProfileTypeOutput { + return o.ApplyT(func(v *ApplicationInferenceProfileInferenceProfileType) ApplicationInferenceProfileInferenceProfileType { + if v != nil { + return *v + } + var ret ApplicationInferenceProfileInferenceProfileType + return ret + }).(ApplicationInferenceProfileInferenceProfileTypeOutput) +} + +func (o ApplicationInferenceProfileInferenceProfileTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *ApplicationInferenceProfileInferenceProfileType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + // Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. type DataSourceChunkingStrategy string @@ -6962,6 +7143,10 @@ func init() { pulumi.RegisterOutputType(AgentStatusPtrOutput{}) pulumi.RegisterOutputType(AgentTypeOutput{}) pulumi.RegisterOutputType(AgentTypePtrOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileStatusOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileStatusPtrOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileTypeOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileTypePtrOutput{}) pulumi.RegisterOutputType(DataSourceChunkingStrategyOutput{}) pulumi.RegisterOutputType(DataSourceChunkingStrategyPtrOutput{}) pulumi.RegisterOutputType(DataSourceConfluenceSourceConfigurationAuthTypeOutput{}) diff --git a/sdk/go/aws/bedrock/pulumiTypes.go b/sdk/go/aws/bedrock/pulumiTypes.go index 2f36f057ee..0450d0d890 100644 --- a/sdk/go/aws/bedrock/pulumiTypes.go +++ b/sdk/go/aws/bedrock/pulumiTypes.go @@ -2241,6 +2241,211 @@ func (o AgentS3IdentifierPtrOutput) S3ObjectKey() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// Model configuration +type ApplicationInferenceProfileInferenceProfileModel struct { + // ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs + ModelArn *string `pulumi:"modelArn"` +} + +// Model configuration +type ApplicationInferenceProfileInferenceProfileModelOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileModel)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileModelOutput) ToApplicationInferenceProfileInferenceProfileModelOutput() ApplicationInferenceProfileInferenceProfileModelOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelOutput) ToApplicationInferenceProfileInferenceProfileModelOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelOutput { + return o +} + +// ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs +func (o ApplicationInferenceProfileInferenceProfileModelOutput) ModelArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApplicationInferenceProfileInferenceProfileModel) *string { return v.ModelArn }).(pulumi.StringPtrOutput) +} + +type ApplicationInferenceProfileInferenceProfileModelArrayOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileModelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ApplicationInferenceProfileInferenceProfileModel)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileModelArrayOutput) ToApplicationInferenceProfileInferenceProfileModelArrayOutput() ApplicationInferenceProfileInferenceProfileModelArrayOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelArrayOutput) ToApplicationInferenceProfileInferenceProfileModelArrayOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelArrayOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelArrayOutput) Index(i pulumi.IntInput) ApplicationInferenceProfileInferenceProfileModelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApplicationInferenceProfileInferenceProfileModel { + return vs[0].([]ApplicationInferenceProfileInferenceProfileModel)[vs[1].(int)] + }).(ApplicationInferenceProfileInferenceProfileModelOutput) +} + +// Various ways to encode a list of models in a CreateInferenceProfile request +type ApplicationInferenceProfileInferenceProfileModelSource0Properties struct { + // Source arns for a custom inference profile to copy its regional load balancing config from. This + // can either be a foundation model or predefined inference profile ARN. + CopyFrom string `pulumi:"copyFrom"` +} + +// Various ways to encode a list of models in a CreateInferenceProfile request +type ApplicationInferenceProfileInferenceProfileModelSourceProperties struct { + // Source arns for a custom inference profile to copy its regional load balancing config from. This + // can either be a foundation model or predefined inference profile ARN. + CopyFrom string `pulumi:"copyFrom"` +} + +// ApplicationInferenceProfileInferenceProfileModelSourcePropertiesInput is an input type that accepts ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs and ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput values. +// You can construct a concrete instance of `ApplicationInferenceProfileInferenceProfileModelSourcePropertiesInput` via: +// +// ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs{...} +type ApplicationInferenceProfileInferenceProfileModelSourcePropertiesInput interface { + pulumi.Input + + ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput + ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutputWithContext(context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput +} + +// Various ways to encode a list of models in a CreateInferenceProfile request +type ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs struct { + // Source arns for a custom inference profile to copy its regional load balancing config from. This + // can either be a foundation model or predefined inference profile ARN. + CopyFrom pulumi.StringInput `pulumi:"copyFrom"` +} + +func (ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileModelSourceProperties)(nil)).Elem() +} + +func (i ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput { + return i.ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutputWithContext(context.Background()) +} + +func (i ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) +} + +func (i ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return i.ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput).ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(ctx) +} + +// ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrInput is an input type that accepts ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs, ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtr and ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput values. +// You can construct a concrete instance of `ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrInput` via: +// +// ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs{...} +// +// or: +// +// nil +type ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrInput interface { + pulumi.Input + + ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput + ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput +} + +type applicationInferenceProfileInferenceProfileModelSourcePropertiesPtrType ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs + +func ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtr(v *ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrInput { + return (*applicationInferenceProfileInferenceProfileModelSourcePropertiesPtrType)(v) +} + +func (*applicationInferenceProfileInferenceProfileModelSourcePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInferenceProfileInferenceProfileModelSourceProperties)(nil)).Elem() +} + +func (i *applicationInferenceProfileInferenceProfileModelSourcePropertiesPtrType) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return i.ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *applicationInferenceProfileInferenceProfileModelSourcePropertiesPtrType) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) +} + +// Various ways to encode a list of models in a CreateInferenceProfile request +type ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileModelSourceProperties)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return o.ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApplicationInferenceProfileInferenceProfileModelSourceProperties) *ApplicationInferenceProfileInferenceProfileModelSourceProperties { + return &v + }).(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) +} + +// Source arns for a custom inference profile to copy its regional load balancing config from. This +// can either be a foundation model or predefined inference profile ARN. +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) CopyFrom() pulumi.StringOutput { + return o.ApplyT(func(v ApplicationInferenceProfileInferenceProfileModelSourceProperties) string { return v.CopyFrom }).(pulumi.StringOutput) +} + +type ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ApplicationInferenceProfileInferenceProfileModelSourceProperties)(nil)).Elem() +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) ToApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutputWithContext(ctx context.Context) ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput { + return o +} + +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) Elem() ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput { + return o.ApplyT(func(v *ApplicationInferenceProfileInferenceProfileModelSourceProperties) ApplicationInferenceProfileInferenceProfileModelSourceProperties { + if v != nil { + return *v + } + var ret ApplicationInferenceProfileInferenceProfileModelSourceProperties + return ret + }).(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput) +} + +// Source arns for a custom inference profile to copy its regional load balancing config from. This +// can either be a foundation model or predefined inference profile ARN. +func (o ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput) CopyFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApplicationInferenceProfileInferenceProfileModelSourceProperties) *string { + if v == nil { + return nil + } + return &v.CopyFrom + }).(pulumi.StringPtrOutput) +} + +// Definition of the key/value pair for a tag +type ApplicationInferenceProfileTag struct { + // Tag Key + Key string `pulumi:"key"` + // Tag Value + Value string `pulumi:"value"` +} + // Settings for a foundation model used to parse documents for a data source. type DataSourceBedrockFoundationModelConfiguration struct { // The model's ARN. @@ -23060,6 +23265,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AgentPromptOverrideConfigurationPtrInput)(nil)).Elem(), AgentPromptOverrideConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentS3IdentifierInput)(nil)).Elem(), AgentS3IdentifierArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentS3IdentifierPtrInput)(nil)).Elem(), AgentS3IdentifierArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileModelSourcePropertiesInput)(nil)).Elem(), ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrInput)(nil)).Elem(), ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DataSourceBedrockFoundationModelConfigurationInput)(nil)).Elem(), DataSourceBedrockFoundationModelConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DataSourceBedrockFoundationModelConfigurationPtrInput)(nil)).Elem(), DataSourceBedrockFoundationModelConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DataSourceChunkingConfigurationInput)(nil)).Elem(), DataSourceChunkingConfigurationArgs{}) @@ -23320,6 +23527,10 @@ func init() { pulumi.RegisterOutputType(AgentPromptOverrideConfigurationPtrOutput{}) pulumi.RegisterOutputType(AgentS3IdentifierOutput{}) pulumi.RegisterOutputType(AgentS3IdentifierPtrOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileModelOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileModelArrayOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesOutput{}) + pulumi.RegisterOutputType(ApplicationInferenceProfileInferenceProfileModelSourcePropertiesPtrOutput{}) pulumi.RegisterOutputType(DataSourceBedrockFoundationModelConfigurationOutput{}) pulumi.RegisterOutputType(DataSourceBedrockFoundationModelConfigurationPtrOutput{}) pulumi.RegisterOutputType(DataSourceChunkingConfigurationOutput{}) diff --git a/sdk/go/aws/datasync/getTask.go b/sdk/go/aws/datasync/getTask.go index 84d289d19e..d62827b131 100644 --- a/sdk/go/aws/datasync/getTask.go +++ b/sdk/go/aws/datasync/getTask.go @@ -35,7 +35,7 @@ type LookupTaskResult struct { DestinationNetworkInterfaceArns []string `pulumi:"destinationNetworkInterfaceArns"` // Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Excludes []TaskFilterRule `pulumi:"excludes"` - // Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + // Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Includes []TaskFilterRule `pulumi:"includes"` // The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see [Specifying what DataSync transfers by using a manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . ManifestConfig *TaskManifestConfig `pulumi:"manifestConfig"` @@ -116,7 +116,7 @@ func (o LookupTaskResultOutput) Excludes() TaskFilterRuleArrayOutput { return o.ApplyT(func(v LookupTaskResult) []TaskFilterRule { return v.Excludes }).(TaskFilterRuleArrayOutput) } -// Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . +// Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . func (o LookupTaskResultOutput) Includes() TaskFilterRuleArrayOutput { return o.ApplyT(func(v LookupTaskResult) []TaskFilterRule { return v.Includes }).(TaskFilterRuleArrayOutput) } diff --git a/sdk/go/aws/datasync/task.go b/sdk/go/aws/datasync/task.go index ca36ae2874..164c658a1e 100644 --- a/sdk/go/aws/datasync/task.go +++ b/sdk/go/aws/datasync/task.go @@ -79,7 +79,7 @@ type Task struct { DestinationNetworkInterfaceArns pulumi.StringArrayOutput `pulumi:"destinationNetworkInterfaceArns"` // Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Excludes TaskFilterRuleArrayOutput `pulumi:"excludes"` - // Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + // Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Includes TaskFilterRuleArrayOutput `pulumi:"includes"` // The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see [Specifying what DataSync transfers by using a manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . ManifestConfig TaskManifestConfigPtrOutput `pulumi:"manifestConfig"` @@ -162,7 +162,7 @@ type taskArgs struct { DestinationLocationArn string `pulumi:"destinationLocationArn"` // Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Excludes []TaskFilterRule `pulumi:"excludes"` - // Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + // Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Includes []TaskFilterRule `pulumi:"includes"` // The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see [Specifying what DataSync transfers by using a manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . ManifestConfig *TaskManifestConfig `pulumi:"manifestConfig"` @@ -190,7 +190,7 @@ type TaskArgs struct { DestinationLocationArn pulumi.StringInput // Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Excludes TaskFilterRuleArrayInput - // Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + // Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . Includes TaskFilterRuleArrayInput // The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see [Specifying what DataSync transfers by using a manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . ManifestConfig TaskManifestConfigPtrInput @@ -267,7 +267,7 @@ func (o TaskOutput) Excludes() TaskFilterRuleArrayOutput { return o.ApplyT(func(v *Task) TaskFilterRuleArrayOutput { return v.Excludes }).(TaskFilterRuleArrayOutput) } -// Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . +// Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . func (o TaskOutput) Includes() TaskFilterRuleArrayOutput { return o.ApplyT(func(v *Task) TaskFilterRuleArrayOutput { return v.Includes }).(TaskFilterRuleArrayOutput) } diff --git a/sdk/go/aws/ecs/pulumiTypes.go b/sdk/go/aws/ecs/pulumiTypes.go index e424597752..cef48bc4c7 100644 --- a/sdk/go/aws/ecs/pulumiTypes.go +++ b/sdk/go/aws/ecs/pulumiTypes.go @@ -243,7 +243,7 @@ type CapacityProviderManagedScaling struct { InstanceWarmupPeriod *int `pulumi:"instanceWarmupPeriod"` // The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `10000` is used. MaximumScalingStepSize *int `pulumi:"maximumScalingStepSize"` - // The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + // The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. // // When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. // @@ -272,7 +272,7 @@ type CapacityProviderManagedScalingArgs struct { InstanceWarmupPeriod pulumi.IntPtrInput `pulumi:"instanceWarmupPeriod"` // The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `10000` is used. MaximumScalingStepSize pulumi.IntPtrInput `pulumi:"maximumScalingStepSize"` - // The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + // The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. // // When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. // @@ -372,7 +372,7 @@ func (o CapacityProviderManagedScalingOutput) MaximumScalingStepSize() pulumi.In return o.ApplyT(func(v CapacityProviderManagedScaling) *int { return v.MaximumScalingStepSize }).(pulumi.IntPtrOutput) } -// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. +// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. // // When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. // @@ -435,7 +435,7 @@ func (o CapacityProviderManagedScalingPtrOutput) MaximumScalingStepSize() pulumi }).(pulumi.IntPtrOutput) } -// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. +// The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. // // When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. // diff --git a/sdk/go/aws/events/connection.go b/sdk/go/aws/events/connection.go index 0eec508198..ac0c87be1d 100644 --- a/sdk/go/aws/events/connection.go +++ b/sdk/go/aws/events/connection.go @@ -7,7 +7,6 @@ import ( "context" "reflect" - "errors" "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -65,11 +64,11 @@ type Connection struct { // The arn of the connection resource. Arn pulumi.StringOutput `pulumi:"arn"` // A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. - AuthParameters ConnectionAuthParametersOutput `pulumi:"authParameters"` + AuthParameters ConnectionAuthParametersPtrOutput `pulumi:"authParameters"` // The type of authorization to use for the connection. // // > OAUTH tokens are refreshed when a 401 or 407 response is returned. - AuthorizationType ConnectionAuthorizationTypeOutput `pulumi:"authorizationType"` + AuthorizationType ConnectionAuthorizationTypePtrOutput `pulumi:"authorizationType"` // Description of the connection. Description pulumi.StringPtrOutput `pulumi:"description"` // Name of the connection. @@ -82,15 +81,9 @@ type Connection struct { func NewConnection(ctx *pulumi.Context, name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error) { if args == nil { - return nil, errors.New("missing one or more required arguments") + args = &ConnectionArgs{} } - if args.AuthParameters == nil { - return nil, errors.New("invalid value for required argument 'AuthParameters'") - } - if args.AuthorizationType == nil { - return nil, errors.New("invalid value for required argument 'AuthorizationType'") - } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ "name", }) @@ -129,11 +122,11 @@ func (ConnectionState) ElementType() reflect.Type { type connectionArgs struct { // A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. - AuthParameters ConnectionAuthParameters `pulumi:"authParameters"` + AuthParameters *ConnectionAuthParameters `pulumi:"authParameters"` // The type of authorization to use for the connection. // // > OAUTH tokens are refreshed when a 401 or 407 response is returned. - AuthorizationType ConnectionAuthorizationType `pulumi:"authorizationType"` + AuthorizationType *ConnectionAuthorizationType `pulumi:"authorizationType"` // Description of the connection. Description *string `pulumi:"description"` // Name of the connection. @@ -143,11 +136,11 @@ type connectionArgs struct { // The set of arguments for constructing a Connection resource. type ConnectionArgs struct { // A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. - AuthParameters ConnectionAuthParametersInput + AuthParameters ConnectionAuthParametersPtrInput // The type of authorization to use for the connection. // // > OAUTH tokens are refreshed when a 401 or 407 response is returned. - AuthorizationType ConnectionAuthorizationTypeInput + AuthorizationType ConnectionAuthorizationTypePtrInput // Description of the connection. Description pulumi.StringPtrInput // Name of the connection. @@ -197,15 +190,15 @@ func (o ConnectionOutput) Arn() pulumi.StringOutput { } // A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. -func (o ConnectionOutput) AuthParameters() ConnectionAuthParametersOutput { - return o.ApplyT(func(v *Connection) ConnectionAuthParametersOutput { return v.AuthParameters }).(ConnectionAuthParametersOutput) +func (o ConnectionOutput) AuthParameters() ConnectionAuthParametersPtrOutput { + return o.ApplyT(func(v *Connection) ConnectionAuthParametersPtrOutput { return v.AuthParameters }).(ConnectionAuthParametersPtrOutput) } // The type of authorization to use for the connection. // // > OAUTH tokens are refreshed when a 401 or 407 response is returned. -func (o ConnectionOutput) AuthorizationType() ConnectionAuthorizationTypeOutput { - return o.ApplyT(func(v *Connection) ConnectionAuthorizationTypeOutput { return v.AuthorizationType }).(ConnectionAuthorizationTypeOutput) +func (o ConnectionOutput) AuthorizationType() ConnectionAuthorizationTypePtrOutput { + return o.ApplyT(func(v *Connection) ConnectionAuthorizationTypePtrOutput { return v.AuthorizationType }).(ConnectionAuthorizationTypePtrOutput) } // Description of the connection. diff --git a/sdk/go/aws/events/pulumiTypes.go b/sdk/go/aws/events/pulumiTypes.go index bb515e5957..27a15df49f 100644 --- a/sdk/go/aws/events/pulumiTypes.go +++ b/sdk/go/aws/events/pulumiTypes.go @@ -214,6 +214,47 @@ func (i ConnectionAuthParametersArgs) ToConnectionAuthParametersOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ConnectionAuthParametersOutput) } +func (i ConnectionAuthParametersArgs) ToConnectionAuthParametersPtrOutput() ConnectionAuthParametersPtrOutput { + return i.ToConnectionAuthParametersPtrOutputWithContext(context.Background()) +} + +func (i ConnectionAuthParametersArgs) ToConnectionAuthParametersPtrOutputWithContext(ctx context.Context) ConnectionAuthParametersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionAuthParametersOutput).ToConnectionAuthParametersPtrOutputWithContext(ctx) +} + +// ConnectionAuthParametersPtrInput is an input type that accepts ConnectionAuthParametersArgs, ConnectionAuthParametersPtr and ConnectionAuthParametersPtrOutput values. +// You can construct a concrete instance of `ConnectionAuthParametersPtrInput` via: +// +// ConnectionAuthParametersArgs{...} +// +// or: +// +// nil +type ConnectionAuthParametersPtrInput interface { + pulumi.Input + + ToConnectionAuthParametersPtrOutput() ConnectionAuthParametersPtrOutput + ToConnectionAuthParametersPtrOutputWithContext(context.Context) ConnectionAuthParametersPtrOutput +} + +type connectionAuthParametersPtrType ConnectionAuthParametersArgs + +func ConnectionAuthParametersPtr(v *ConnectionAuthParametersArgs) ConnectionAuthParametersPtrInput { + return (*connectionAuthParametersPtrType)(v) +} + +func (*connectionAuthParametersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionAuthParameters)(nil)).Elem() +} + +func (i *connectionAuthParametersPtrType) ToConnectionAuthParametersPtrOutput() ConnectionAuthParametersPtrOutput { + return i.ToConnectionAuthParametersPtrOutputWithContext(context.Background()) +} + +func (i *connectionAuthParametersPtrType) ToConnectionAuthParametersPtrOutputWithContext(ctx context.Context) ConnectionAuthParametersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionAuthParametersPtrOutput) +} + type ConnectionAuthParametersOutput struct{ *pulumi.OutputState } func (ConnectionAuthParametersOutput) ElementType() reflect.Type { @@ -228,6 +269,16 @@ func (o ConnectionAuthParametersOutput) ToConnectionAuthParametersOutputWithCont return o } +func (o ConnectionAuthParametersOutput) ToConnectionAuthParametersPtrOutput() ConnectionAuthParametersPtrOutput { + return o.ToConnectionAuthParametersPtrOutputWithContext(context.Background()) +} + +func (o ConnectionAuthParametersOutput) ToConnectionAuthParametersPtrOutputWithContext(ctx context.Context) ConnectionAuthParametersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionAuthParameters) *ConnectionAuthParameters { + return &v + }).(ConnectionAuthParametersPtrOutput) +} + // The API Key parameters to use for authorization. func (o ConnectionAuthParametersOutput) ApiKeyAuthParameters() ConnectionApiKeyAuthParametersPtrOutput { return o.ApplyT(func(v ConnectionAuthParameters) *ConnectionApiKeyAuthParameters { return v.ApiKeyAuthParameters }).(ConnectionApiKeyAuthParametersPtrOutput) @@ -248,6 +299,70 @@ func (o ConnectionAuthParametersOutput) OAuthParameters() ConnectionOAuthParamet return o.ApplyT(func(v ConnectionAuthParameters) *ConnectionOAuthParameters { return v.OAuthParameters }).(ConnectionOAuthParametersPtrOutput) } +type ConnectionAuthParametersPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionAuthParametersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionAuthParameters)(nil)).Elem() +} + +func (o ConnectionAuthParametersPtrOutput) ToConnectionAuthParametersPtrOutput() ConnectionAuthParametersPtrOutput { + return o +} + +func (o ConnectionAuthParametersPtrOutput) ToConnectionAuthParametersPtrOutputWithContext(ctx context.Context) ConnectionAuthParametersPtrOutput { + return o +} + +func (o ConnectionAuthParametersPtrOutput) Elem() ConnectionAuthParametersOutput { + return o.ApplyT(func(v *ConnectionAuthParameters) ConnectionAuthParameters { + if v != nil { + return *v + } + var ret ConnectionAuthParameters + return ret + }).(ConnectionAuthParametersOutput) +} + +// The API Key parameters to use for authorization. +func (o ConnectionAuthParametersPtrOutput) ApiKeyAuthParameters() ConnectionApiKeyAuthParametersPtrOutput { + return o.ApplyT(func(v *ConnectionAuthParameters) *ConnectionApiKeyAuthParameters { + if v == nil { + return nil + } + return v.ApiKeyAuthParameters + }).(ConnectionApiKeyAuthParametersPtrOutput) +} + +// The authorization parameters for Basic authorization. +func (o ConnectionAuthParametersPtrOutput) BasicAuthParameters() ConnectionBasicAuthParametersPtrOutput { + return o.ApplyT(func(v *ConnectionAuthParameters) *ConnectionBasicAuthParameters { + if v == nil { + return nil + } + return v.BasicAuthParameters + }).(ConnectionBasicAuthParametersPtrOutput) +} + +// Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint. +func (o ConnectionAuthParametersPtrOutput) InvocationHttpParameters() ConnectionHttpParametersPtrOutput { + return o.ApplyT(func(v *ConnectionAuthParameters) *ConnectionHttpParameters { + if v == nil { + return nil + } + return v.InvocationHttpParameters + }).(ConnectionHttpParametersPtrOutput) +} + +// The OAuth parameters to use for authorization. +func (o ConnectionAuthParametersPtrOutput) OAuthParameters() ConnectionOAuthParametersPtrOutput { + return o.ApplyT(func(v *ConnectionAuthParameters) *ConnectionOAuthParameters { + if v == nil { + return nil + } + return v.OAuthParameters + }).(ConnectionOAuthParametersPtrOutput) +} + type ConnectionBasicAuthParameters struct { // The password associated with the user name to use for Basic authorization. Password string `pulumi:"password"` @@ -5633,6 +5748,7 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionApiKeyAuthParametersInput)(nil)).Elem(), ConnectionApiKeyAuthParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionApiKeyAuthParametersPtrInput)(nil)).Elem(), ConnectionApiKeyAuthParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionAuthParametersInput)(nil)).Elem(), ConnectionAuthParametersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionAuthParametersPtrInput)(nil)).Elem(), ConnectionAuthParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionBasicAuthParametersInput)(nil)).Elem(), ConnectionBasicAuthParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionBasicAuthParametersPtrInput)(nil)).Elem(), ConnectionBasicAuthParametersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionClientParametersInput)(nil)).Elem(), ConnectionClientParametersArgs{}) @@ -5702,6 +5818,7 @@ func init() { pulumi.RegisterOutputType(ConnectionApiKeyAuthParametersOutput{}) pulumi.RegisterOutputType(ConnectionApiKeyAuthParametersPtrOutput{}) pulumi.RegisterOutputType(ConnectionAuthParametersOutput{}) + pulumi.RegisterOutputType(ConnectionAuthParametersPtrOutput{}) pulumi.RegisterOutputType(ConnectionBasicAuthParametersOutput{}) pulumi.RegisterOutputType(ConnectionBasicAuthParametersPtrOutput{}) pulumi.RegisterOutputType(ConnectionClientParametersOutput{}) diff --git a/sdk/go/aws/networkfirewall/pulumiTypes.go b/sdk/go/aws/networkfirewall/pulumiTypes.go index 5bf0a1edce..bda9f3fc8b 100644 --- a/sdk/go/aws/networkfirewall/pulumiTypes.go +++ b/sdk/go/aws/networkfirewall/pulumiTypes.go @@ -953,6 +953,7 @@ func (o FirewallPolicyPublishMetricActionPtrOutput) Dimensions() FirewallPolicyD } type FirewallPolicyStatefulEngineOptions struct { + // Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. FlowTimeouts *FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties `pulumi:"flowTimeouts"` // Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . RuleOrder *FirewallPolicyRuleOrder `pulumi:"ruleOrder"` @@ -976,6 +977,7 @@ type FirewallPolicyStatefulEngineOptionsInput interface { } type FirewallPolicyStatefulEngineOptionsArgs struct { + // Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. FlowTimeouts FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesPtrInput `pulumi:"flowTimeouts"` // Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . RuleOrder FirewallPolicyRuleOrderPtrInput `pulumi:"ruleOrder"` @@ -1064,6 +1066,7 @@ func (o FirewallPolicyStatefulEngineOptionsOutput) ToFirewallPolicyStatefulEngin }).(FirewallPolicyStatefulEngineOptionsPtrOutput) } +// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. func (o FirewallPolicyStatefulEngineOptionsOutput) FlowTimeouts() FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesPtrOutput { return o.ApplyT(func(v FirewallPolicyStatefulEngineOptions) *FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties { return v.FlowTimeouts @@ -1110,6 +1113,7 @@ func (o FirewallPolicyStatefulEngineOptionsPtrOutput) Elem() FirewallPolicyState }).(FirewallPolicyStatefulEngineOptionsOutput) } +// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. func (o FirewallPolicyStatefulEngineOptionsPtrOutput) FlowTimeouts() FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesPtrOutput { return o.ApplyT(func(v *FirewallPolicyStatefulEngineOptions) *FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties { if v == nil { @@ -1143,6 +1147,7 @@ func (o FirewallPolicyStatefulEngineOptionsPtrOutput) StreamExceptionPolicy() Fi }).(FirewallPolicyStreamExceptionPolicyPtrOutput) } +// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. type FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties struct { TcpIdleTimeoutSeconds *int `pulumi:"tcpIdleTimeoutSeconds"` } @@ -1158,6 +1163,7 @@ type FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesInput interface { ToFirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesOutputWithContext(context.Context) FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesOutput } +// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. type FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs struct { TcpIdleTimeoutSeconds pulumi.IntPtrInput `pulumi:"tcpIdleTimeoutSeconds"` } @@ -1215,6 +1221,7 @@ func (i *firewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesPtrType) ToFir return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesPtrOutput) } +// Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. type FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesOutput struct{ *pulumi.OutputState } func (FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesOutput) ElementType() reflect.Type { diff --git a/sdk/go/aws/opensearchservice/domain.go b/sdk/go/aws/opensearchservice/domain.go index a488f45cae..33a0d55fde 100644 --- a/sdk/go/aws/opensearchservice/domain.go +++ b/sdk/go/aws/opensearchservice/domain.go @@ -58,7 +58,8 @@ type Domain struct { // The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* . // // If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . - EngineVersion pulumi.StringPtrOutput `pulumi:"engineVersion"` + EngineVersion pulumi.StringPtrOutput `pulumi:"engineVersion"` + // Container for IAM Identity Center Option control for the domain. IdentityCenterOptions DomainIdentityCenterOptionsPtrOutput `pulumi:"identityCenterOptions"` // Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. IpAddressType pulumi.StringPtrOutput `pulumi:"ipAddressType"` @@ -157,7 +158,8 @@ type domainArgs struct { // The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* . // // If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . - EngineVersion *string `pulumi:"engineVersion"` + EngineVersion *string `pulumi:"engineVersion"` + // Container for IAM Identity Center Option control for the domain. IdentityCenterOptions *DomainIdentityCenterOptions `pulumi:"identityCenterOptions"` // Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. IpAddressType *string `pulumi:"ipAddressType"` @@ -213,7 +215,8 @@ type DomainArgs struct { // The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* . // // If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . - EngineVersion pulumi.StringPtrInput + EngineVersion pulumi.StringPtrInput + // Container for IAM Identity Center Option control for the domain. IdentityCenterOptions DomainIdentityCenterOptionsPtrInput // Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. IpAddressType pulumi.StringPtrInput @@ -364,6 +367,7 @@ func (o DomainOutput) EngineVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *Domain) pulumi.StringPtrOutput { return v.EngineVersion }).(pulumi.StringPtrOutput) } +// Container for IAM Identity Center Option control for the domain. func (o DomainOutput) IdentityCenterOptions() DomainIdentityCenterOptionsPtrOutput { return o.ApplyT(func(v *Domain) DomainIdentityCenterOptionsPtrOutput { return v.IdentityCenterOptions }).(DomainIdentityCenterOptionsPtrOutput) } diff --git a/sdk/go/aws/opensearchservice/getDomain.go b/sdk/go/aws/opensearchservice/getDomain.go index 16bb58eefb..e54965d29e 100644 --- a/sdk/go/aws/opensearchservice/getDomain.go +++ b/sdk/go/aws/opensearchservice/getDomain.go @@ -69,7 +69,8 @@ type LookupDomainResult struct { // If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . EngineVersion *string `pulumi:"engineVersion"` // The resource ID. For example, `123456789012/my-domain` . - Id *string `pulumi:"id"` + Id *string `pulumi:"id"` + // Container for IAM Identity Center Option control for the domain. IdentityCenterOptions *DomainIdentityCenterOptions `pulumi:"identityCenterOptions"` // Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. IpAddressType *string `pulumi:"ipAddressType"` @@ -221,6 +222,7 @@ func (o LookupDomainResultOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupDomainResult) *string { return v.Id }).(pulumi.StringPtrOutput) } +// Container for IAM Identity Center Option control for the domain. func (o LookupDomainResultOutput) IdentityCenterOptions() DomainIdentityCenterOptionsPtrOutput { return o.ApplyT(func(v LookupDomainResult) *DomainIdentityCenterOptions { return v.IdentityCenterOptions }).(DomainIdentityCenterOptionsPtrOutput) } diff --git a/sdk/go/aws/ses/pulumiTypes.go b/sdk/go/aws/ses/pulumiTypes.go index 39e6126e05..c47ec1021d 100644 --- a/sdk/go/aws/ses/pulumiTypes.go +++ b/sdk/go/aws/ses/pulumiTypes.go @@ -155,6 +155,8 @@ func (o ConfigurationSetDashboardOptionsPtrOutput) EngagementMetrics() pulumi.St // An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. type ConfigurationSetDeliveryOptions struct { + // Specifies the maximum time until which SES will retry sending emails + MaxDeliverySeconds *float64 `pulumi:"maxDeliverySeconds"` // The name of the dedicated IP pool to associate with the configuration set. SendingPoolName *string `pulumi:"sendingPoolName"` // Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established. @@ -174,6 +176,8 @@ type ConfigurationSetDeliveryOptionsInput interface { // An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. type ConfigurationSetDeliveryOptionsArgs struct { + // Specifies the maximum time until which SES will retry sending emails + MaxDeliverySeconds pulumi.Float64PtrInput `pulumi:"maxDeliverySeconds"` // The name of the dedicated IP pool to associate with the configuration set. SendingPoolName pulumi.StringPtrInput `pulumi:"sendingPoolName"` // Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established. @@ -258,6 +262,11 @@ func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptions }).(ConfigurationSetDeliveryOptionsPtrOutput) } +// Specifies the maximum time until which SES will retry sending emails +func (o ConfigurationSetDeliveryOptionsOutput) MaxDeliverySeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ConfigurationSetDeliveryOptions) *float64 { return v.MaxDeliverySeconds }).(pulumi.Float64PtrOutput) +} + // The name of the dedicated IP pool to associate with the configuration set. func (o ConfigurationSetDeliveryOptionsOutput) SendingPoolName() pulumi.StringPtrOutput { return o.ApplyT(func(v ConfigurationSetDeliveryOptions) *string { return v.SendingPoolName }).(pulumi.StringPtrOutput) @@ -292,6 +301,16 @@ func (o ConfigurationSetDeliveryOptionsPtrOutput) Elem() ConfigurationSetDeliver }).(ConfigurationSetDeliveryOptionsOutput) } +// Specifies the maximum time until which SES will retry sending emails +func (o ConfigurationSetDeliveryOptionsPtrOutput) MaxDeliverySeconds() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ConfigurationSetDeliveryOptions) *float64 { + if v == nil { + return nil + } + return v.MaxDeliverySeconds + }).(pulumi.Float64PtrOutput) +} + // The name of the dedicated IP pool to associate with the configuration set. func (o ConfigurationSetDeliveryOptionsPtrOutput) SendingPoolName() pulumi.StringPtrOutput { return o.ApplyT(func(v *ConfigurationSetDeliveryOptions) *string { diff --git a/sdk/go/aws/wisdom/aiAgent.go b/sdk/go/aws/wisdom/aiAgent.go new file mode 100644 index 0000000000..f5efd7d494 --- /dev/null +++ b/sdk/go/aws/wisdom/aiAgent.go @@ -0,0 +1,180 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package wisdom + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Definition of AWS::Wisdom::AIAgent Resource Type +type AiAgent struct { + pulumi.CustomResourceState + + AiAgentArn pulumi.StringOutput `pulumi:"aiAgentArn"` + AiAgentId pulumi.StringOutput `pulumi:"aiAgentId"` + AssistantArn pulumi.StringOutput `pulumi:"assistantArn"` + AssistantId pulumi.StringOutput `pulumi:"assistantId"` + Configuration pulumi.AnyOutput `pulumi:"configuration"` + Description pulumi.StringPtrOutput `pulumi:"description"` + Name pulumi.StringPtrOutput `pulumi:"name"` + Tags pulumi.StringMapOutput `pulumi:"tags"` + Type AiAgentAiAgentTypeOutput `pulumi:"type"` +} + +// NewAiAgent registers a new resource with the given unique name, arguments, and options. +func NewAiAgent(ctx *pulumi.Context, + name string, args *AiAgentArgs, opts ...pulumi.ResourceOption) (*AiAgent, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AssistantId == nil { + return nil, errors.New("invalid value for required argument 'AssistantId'") + } + if args.Configuration == nil { + return nil, errors.New("invalid value for required argument 'Configuration'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + replaceOnChanges := pulumi.ReplaceOnChanges([]string{ + "assistantId", + "name", + "tags.*", + "type", + }) + opts = append(opts, replaceOnChanges) + opts = internal.PkgResourceDefaultOpts(opts) + var resource AiAgent + err := ctx.RegisterResource("aws-native:wisdom:AiAgent", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAiAgent gets an existing AiAgent resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAiAgent(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AiAgentState, opts ...pulumi.ResourceOption) (*AiAgent, error) { + var resource AiAgent + err := ctx.ReadResource("aws-native:wisdom:AiAgent", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AiAgent resources. +type aiAgentState struct { +} + +type AiAgentState struct { +} + +func (AiAgentState) ElementType() reflect.Type { + return reflect.TypeOf((*aiAgentState)(nil)).Elem() +} + +type aiAgentArgs struct { + AssistantId string `pulumi:"assistantId"` + Configuration interface{} `pulumi:"configuration"` + Description *string `pulumi:"description"` + Name *string `pulumi:"name"` + Tags map[string]string `pulumi:"tags"` + Type AiAgentAiAgentType `pulumi:"type"` +} + +// The set of arguments for constructing a AiAgent resource. +type AiAgentArgs struct { + AssistantId pulumi.StringInput + Configuration pulumi.Input + Description pulumi.StringPtrInput + Name pulumi.StringPtrInput + Tags pulumi.StringMapInput + Type AiAgentAiAgentTypeInput +} + +func (AiAgentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*aiAgentArgs)(nil)).Elem() +} + +type AiAgentInput interface { + pulumi.Input + + ToAiAgentOutput() AiAgentOutput + ToAiAgentOutputWithContext(ctx context.Context) AiAgentOutput +} + +func (*AiAgent) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgent)(nil)).Elem() +} + +func (i *AiAgent) ToAiAgentOutput() AiAgentOutput { + return i.ToAiAgentOutputWithContext(context.Background()) +} + +func (i *AiAgent) ToAiAgentOutputWithContext(ctx context.Context) AiAgentOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentOutput) +} + +type AiAgentOutput struct{ *pulumi.OutputState } + +func (AiAgentOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgent)(nil)).Elem() +} + +func (o AiAgentOutput) ToAiAgentOutput() AiAgentOutput { + return o +} + +func (o AiAgentOutput) ToAiAgentOutputWithContext(ctx context.Context) AiAgentOutput { + return o +} + +func (o AiAgentOutput) AiAgentArn() pulumi.StringOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringOutput { return v.AiAgentArn }).(pulumi.StringOutput) +} + +func (o AiAgentOutput) AiAgentId() pulumi.StringOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringOutput { return v.AiAgentId }).(pulumi.StringOutput) +} + +func (o AiAgentOutput) AssistantArn() pulumi.StringOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringOutput { return v.AssistantArn }).(pulumi.StringOutput) +} + +func (o AiAgentOutput) AssistantId() pulumi.StringOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringOutput { return v.AssistantId }).(pulumi.StringOutput) +} + +func (o AiAgentOutput) Configuration() pulumi.AnyOutput { + return o.ApplyT(func(v *AiAgent) pulumi.AnyOutput { return v.Configuration }).(pulumi.AnyOutput) +} + +func (o AiAgentOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o AiAgentOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringPtrOutput { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o AiAgentOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *AiAgent) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +func (o AiAgentOutput) Type() AiAgentAiAgentTypeOutput { + return o.ApplyT(func(v *AiAgent) AiAgentAiAgentTypeOutput { return v.Type }).(AiAgentAiAgentTypeOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentInput)(nil)).Elem(), &AiAgent{}) + pulumi.RegisterOutputType(AiAgentOutput{}) +} diff --git a/sdk/go/aws/wisdom/getAiAgent.go b/sdk/go/aws/wisdom/getAiAgent.go new file mode 100644 index 0000000000..e736a9ad68 --- /dev/null +++ b/sdk/go/aws/wisdom/getAiAgent.go @@ -0,0 +1,102 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package wisdom + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Definition of AWS::Wisdom::AIAgent Resource Type +func LookupAiAgent(ctx *pulumi.Context, args *LookupAiAgentArgs, opts ...pulumi.InvokeOption) (*LookupAiAgentResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAiAgentResult + err := ctx.Invoke("aws-native:wisdom:getAiAgent", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupAiAgentArgs struct { + AiAgentId string `pulumi:"aiAgentId"` + AssistantId string `pulumi:"assistantId"` +} + +type LookupAiAgentResult struct { + AiAgentArn *string `pulumi:"aiAgentArn"` + AiAgentId *string `pulumi:"aiAgentId"` + AssistantArn *string `pulumi:"assistantArn"` + Configuration interface{} `pulumi:"configuration"` + Description *string `pulumi:"description"` +} + +func LookupAiAgentOutput(ctx *pulumi.Context, args LookupAiAgentOutputArgs, opts ...pulumi.InvokeOption) LookupAiAgentResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupAiAgentResultOutput, error) { + args := v.(LookupAiAgentArgs) + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAiAgentResult + secret, err := ctx.InvokePackageRaw("aws-native:wisdom:getAiAgent", args, &rv, "", opts...) + if err != nil { + return LookupAiAgentResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupAiAgentResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAiAgentResultOutput), nil + } + return output, nil + }).(LookupAiAgentResultOutput) +} + +type LookupAiAgentOutputArgs struct { + AiAgentId pulumi.StringInput `pulumi:"aiAgentId"` + AssistantId pulumi.StringInput `pulumi:"assistantId"` +} + +func (LookupAiAgentOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAiAgentArgs)(nil)).Elem() +} + +type LookupAiAgentResultOutput struct{ *pulumi.OutputState } + +func (LookupAiAgentResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAiAgentResult)(nil)).Elem() +} + +func (o LookupAiAgentResultOutput) ToLookupAiAgentResultOutput() LookupAiAgentResultOutput { + return o +} + +func (o LookupAiAgentResultOutput) ToLookupAiAgentResultOutputWithContext(ctx context.Context) LookupAiAgentResultOutput { + return o +} + +func (o LookupAiAgentResultOutput) AiAgentArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupAiAgentResult) *string { return v.AiAgentArn }).(pulumi.StringPtrOutput) +} + +func (o LookupAiAgentResultOutput) AiAgentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupAiAgentResult) *string { return v.AiAgentId }).(pulumi.StringPtrOutput) +} + +func (o LookupAiAgentResultOutput) AssistantArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupAiAgentResult) *string { return v.AssistantArn }).(pulumi.StringPtrOutput) +} + +func (o LookupAiAgentResultOutput) Configuration() pulumi.AnyOutput { + return o.ApplyT(func(v LookupAiAgentResult) interface{} { return v.Configuration }).(pulumi.AnyOutput) +} + +func (o LookupAiAgentResultOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupAiAgentResult) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupAiAgentResultOutput{}) +} diff --git a/sdk/go/aws/wisdom/init.go b/sdk/go/aws/wisdom/init.go index 3491dbf010..ed0075ceb5 100644 --- a/sdk/go/aws/wisdom/init.go +++ b/sdk/go/aws/wisdom/init.go @@ -21,6 +21,8 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "aws-native:wisdom:AiAgent": + r = &AiAgent{} case "aws-native:wisdom:AiPrompt": r = &AiPrompt{} case "aws-native:wisdom:AiPromptVersion": diff --git a/sdk/go/aws/wisdom/pulumiEnums.go b/sdk/go/aws/wisdom/pulumiEnums.go index 2ee8e1c2ba..b8a6343223 100644 --- a/sdk/go/aws/wisdom/pulumiEnums.go +++ b/sdk/go/aws/wisdom/pulumiEnums.go @@ -10,6 +10,499 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +type AiAgentAiAgentAssociationConfigurationType string + +const ( + AiAgentAiAgentAssociationConfigurationTypeKnowledgeBase = AiAgentAiAgentAssociationConfigurationType("KNOWLEDGE_BASE") +) + +func (AiAgentAiAgentAssociationConfigurationType) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentAssociationConfigurationType)(nil)).Elem() +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToAiAgentAiAgentAssociationConfigurationTypeOutput() AiAgentAiAgentAssociationConfigurationTypeOutput { + return pulumi.ToOutput(e).(AiAgentAiAgentAssociationConfigurationTypeOutput) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToAiAgentAiAgentAssociationConfigurationTypeOutputWithContext(ctx context.Context) AiAgentAiAgentAssociationConfigurationTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(AiAgentAiAgentAssociationConfigurationTypeOutput) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToAiAgentAiAgentAssociationConfigurationTypePtrOutput() AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return e.ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(context.Background()) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return AiAgentAiAgentAssociationConfigurationType(e).ToAiAgentAiAgentAssociationConfigurationTypeOutputWithContext(ctx).ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(ctx) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e AiAgentAiAgentAssociationConfigurationType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type AiAgentAiAgentAssociationConfigurationTypeOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentAssociationConfigurationTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentAssociationConfigurationType)(nil)).Elem() +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToAiAgentAiAgentAssociationConfigurationTypeOutput() AiAgentAiAgentAssociationConfigurationTypeOutput { + return o +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToAiAgentAiAgentAssociationConfigurationTypeOutputWithContext(ctx context.Context) AiAgentAiAgentAssociationConfigurationTypeOutput { + return o +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToAiAgentAiAgentAssociationConfigurationTypePtrOutput() AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return o.ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentAiAgentAssociationConfigurationType) *AiAgentAiAgentAssociationConfigurationType { + return &v + }).(AiAgentAiAgentAssociationConfigurationTypePtrOutput) +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AiAgentAiAgentAssociationConfigurationType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentAssociationConfigurationTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AiAgentAiAgentAssociationConfigurationType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type AiAgentAiAgentAssociationConfigurationTypePtrOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentAssociationConfigurationTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAiAgentAssociationConfigurationType)(nil)).Elem() +} + +func (o AiAgentAiAgentAssociationConfigurationTypePtrOutput) ToAiAgentAiAgentAssociationConfigurationTypePtrOutput() AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return o +} + +func (o AiAgentAiAgentAssociationConfigurationTypePtrOutput) ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return o +} + +func (o AiAgentAiAgentAssociationConfigurationTypePtrOutput) Elem() AiAgentAiAgentAssociationConfigurationTypeOutput { + return o.ApplyT(func(v *AiAgentAiAgentAssociationConfigurationType) AiAgentAiAgentAssociationConfigurationType { + if v != nil { + return *v + } + var ret AiAgentAiAgentAssociationConfigurationType + return ret + }).(AiAgentAiAgentAssociationConfigurationTypeOutput) +} + +func (o AiAgentAiAgentAssociationConfigurationTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentAssociationConfigurationTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *AiAgentAiAgentAssociationConfigurationType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// AiAgentAiAgentAssociationConfigurationTypeInput is an input type that accepts values of the AiAgentAiAgentAssociationConfigurationType enum +// A concrete instance of `AiAgentAiAgentAssociationConfigurationTypeInput` can be one of the following: +// +// AiAgentAiAgentAssociationConfigurationTypeKnowledgeBase +type AiAgentAiAgentAssociationConfigurationTypeInput interface { + pulumi.Input + + ToAiAgentAiAgentAssociationConfigurationTypeOutput() AiAgentAiAgentAssociationConfigurationTypeOutput + ToAiAgentAiAgentAssociationConfigurationTypeOutputWithContext(context.Context) AiAgentAiAgentAssociationConfigurationTypeOutput +} + +var aiAgentAiAgentAssociationConfigurationTypePtrType = reflect.TypeOf((**AiAgentAiAgentAssociationConfigurationType)(nil)).Elem() + +type AiAgentAiAgentAssociationConfigurationTypePtrInput interface { + pulumi.Input + + ToAiAgentAiAgentAssociationConfigurationTypePtrOutput() AiAgentAiAgentAssociationConfigurationTypePtrOutput + ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(context.Context) AiAgentAiAgentAssociationConfigurationTypePtrOutput +} + +type aiAgentAiAgentAssociationConfigurationTypePtr string + +func AiAgentAiAgentAssociationConfigurationTypePtr(v string) AiAgentAiAgentAssociationConfigurationTypePtrInput { + return (*aiAgentAiAgentAssociationConfigurationTypePtr)(&v) +} + +func (*aiAgentAiAgentAssociationConfigurationTypePtr) ElementType() reflect.Type { + return aiAgentAiAgentAssociationConfigurationTypePtrType +} + +func (in *aiAgentAiAgentAssociationConfigurationTypePtr) ToAiAgentAiAgentAssociationConfigurationTypePtrOutput() AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return pulumi.ToOutput(in).(AiAgentAiAgentAssociationConfigurationTypePtrOutput) +} + +func (in *aiAgentAiAgentAssociationConfigurationTypePtr) ToAiAgentAiAgentAssociationConfigurationTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(AiAgentAiAgentAssociationConfigurationTypePtrOutput) +} + +type AiAgentAiAgentType string + +const ( + AiAgentAiAgentTypeManualSearch = AiAgentAiAgentType("MANUAL_SEARCH") + AiAgentAiAgentTypeAnswerRecommendation = AiAgentAiAgentType("ANSWER_RECOMMENDATION") +) + +func (AiAgentAiAgentType) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentType)(nil)).Elem() +} + +func (e AiAgentAiAgentType) ToAiAgentAiAgentTypeOutput() AiAgentAiAgentTypeOutput { + return pulumi.ToOutput(e).(AiAgentAiAgentTypeOutput) +} + +func (e AiAgentAiAgentType) ToAiAgentAiAgentTypeOutputWithContext(ctx context.Context) AiAgentAiAgentTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(AiAgentAiAgentTypeOutput) +} + +func (e AiAgentAiAgentType) ToAiAgentAiAgentTypePtrOutput() AiAgentAiAgentTypePtrOutput { + return e.ToAiAgentAiAgentTypePtrOutputWithContext(context.Background()) +} + +func (e AiAgentAiAgentType) ToAiAgentAiAgentTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentTypePtrOutput { + return AiAgentAiAgentType(e).ToAiAgentAiAgentTypeOutputWithContext(ctx).ToAiAgentAiAgentTypePtrOutputWithContext(ctx) +} + +func (e AiAgentAiAgentType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AiAgentAiAgentType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AiAgentAiAgentType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e AiAgentAiAgentType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type AiAgentAiAgentTypeOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentType)(nil)).Elem() +} + +func (o AiAgentAiAgentTypeOutput) ToAiAgentAiAgentTypeOutput() AiAgentAiAgentTypeOutput { + return o +} + +func (o AiAgentAiAgentTypeOutput) ToAiAgentAiAgentTypeOutputWithContext(ctx context.Context) AiAgentAiAgentTypeOutput { + return o +} + +func (o AiAgentAiAgentTypeOutput) ToAiAgentAiAgentTypePtrOutput() AiAgentAiAgentTypePtrOutput { + return o.ToAiAgentAiAgentTypePtrOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentTypeOutput) ToAiAgentAiAgentTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentAiAgentType) *AiAgentAiAgentType { + return &v + }).(AiAgentAiAgentTypePtrOutput) +} + +func (o AiAgentAiAgentTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AiAgentAiAgentType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o AiAgentAiAgentTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AiAgentAiAgentType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type AiAgentAiAgentTypePtrOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAiAgentType)(nil)).Elem() +} + +func (o AiAgentAiAgentTypePtrOutput) ToAiAgentAiAgentTypePtrOutput() AiAgentAiAgentTypePtrOutput { + return o +} + +func (o AiAgentAiAgentTypePtrOutput) ToAiAgentAiAgentTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentTypePtrOutput { + return o +} + +func (o AiAgentAiAgentTypePtrOutput) Elem() AiAgentAiAgentTypeOutput { + return o.ApplyT(func(v *AiAgentAiAgentType) AiAgentAiAgentType { + if v != nil { + return *v + } + var ret AiAgentAiAgentType + return ret + }).(AiAgentAiAgentTypeOutput) +} + +func (o AiAgentAiAgentTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AiAgentAiAgentTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *AiAgentAiAgentType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// AiAgentAiAgentTypeInput is an input type that accepts values of the AiAgentAiAgentType enum +// A concrete instance of `AiAgentAiAgentTypeInput` can be one of the following: +// +// AiAgentAiAgentTypeManualSearch +// AiAgentAiAgentTypeAnswerRecommendation +type AiAgentAiAgentTypeInput interface { + pulumi.Input + + ToAiAgentAiAgentTypeOutput() AiAgentAiAgentTypeOutput + ToAiAgentAiAgentTypeOutputWithContext(context.Context) AiAgentAiAgentTypeOutput +} + +var aiAgentAiAgentTypePtrType = reflect.TypeOf((**AiAgentAiAgentType)(nil)).Elem() + +type AiAgentAiAgentTypePtrInput interface { + pulumi.Input + + ToAiAgentAiAgentTypePtrOutput() AiAgentAiAgentTypePtrOutput + ToAiAgentAiAgentTypePtrOutputWithContext(context.Context) AiAgentAiAgentTypePtrOutput +} + +type aiAgentAiAgentTypePtr string + +func AiAgentAiAgentTypePtr(v string) AiAgentAiAgentTypePtrInput { + return (*aiAgentAiAgentTypePtr)(&v) +} + +func (*aiAgentAiAgentTypePtr) ElementType() reflect.Type { + return aiAgentAiAgentTypePtrType +} + +func (in *aiAgentAiAgentTypePtr) ToAiAgentAiAgentTypePtrOutput() AiAgentAiAgentTypePtrOutput { + return pulumi.ToOutput(in).(AiAgentAiAgentTypePtrOutput) +} + +func (in *aiAgentAiAgentTypePtr) ToAiAgentAiAgentTypePtrOutputWithContext(ctx context.Context) AiAgentAiAgentTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(AiAgentAiAgentTypePtrOutput) +} + +type AiAgentKnowledgeBaseSearchType string + +const ( + AiAgentKnowledgeBaseSearchTypeHybrid = AiAgentKnowledgeBaseSearchType("HYBRID") + AiAgentKnowledgeBaseSearchTypeSemantic = AiAgentKnowledgeBaseSearchType("SEMANTIC") +) + +func (AiAgentKnowledgeBaseSearchType) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentKnowledgeBaseSearchType)(nil)).Elem() +} + +func (e AiAgentKnowledgeBaseSearchType) ToAiAgentKnowledgeBaseSearchTypeOutput() AiAgentKnowledgeBaseSearchTypeOutput { + return pulumi.ToOutput(e).(AiAgentKnowledgeBaseSearchTypeOutput) +} + +func (e AiAgentKnowledgeBaseSearchType) ToAiAgentKnowledgeBaseSearchTypeOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseSearchTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(AiAgentKnowledgeBaseSearchTypeOutput) +} + +func (e AiAgentKnowledgeBaseSearchType) ToAiAgentKnowledgeBaseSearchTypePtrOutput() AiAgentKnowledgeBaseSearchTypePtrOutput { + return e.ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(context.Background()) +} + +func (e AiAgentKnowledgeBaseSearchType) ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseSearchTypePtrOutput { + return AiAgentKnowledgeBaseSearchType(e).ToAiAgentKnowledgeBaseSearchTypeOutputWithContext(ctx).ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(ctx) +} + +func (e AiAgentKnowledgeBaseSearchType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AiAgentKnowledgeBaseSearchType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AiAgentKnowledgeBaseSearchType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e AiAgentKnowledgeBaseSearchType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type AiAgentKnowledgeBaseSearchTypeOutput struct{ *pulumi.OutputState } + +func (AiAgentKnowledgeBaseSearchTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentKnowledgeBaseSearchType)(nil)).Elem() +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToAiAgentKnowledgeBaseSearchTypeOutput() AiAgentKnowledgeBaseSearchTypeOutput { + return o +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToAiAgentKnowledgeBaseSearchTypeOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseSearchTypeOutput { + return o +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToAiAgentKnowledgeBaseSearchTypePtrOutput() AiAgentKnowledgeBaseSearchTypePtrOutput { + return o.ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(context.Background()) +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseSearchTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentKnowledgeBaseSearchType) *AiAgentKnowledgeBaseSearchType { + return &v + }).(AiAgentKnowledgeBaseSearchTypePtrOutput) +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AiAgentKnowledgeBaseSearchType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AiAgentKnowledgeBaseSearchTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AiAgentKnowledgeBaseSearchType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type AiAgentKnowledgeBaseSearchTypePtrOutput struct{ *pulumi.OutputState } + +func (AiAgentKnowledgeBaseSearchTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentKnowledgeBaseSearchType)(nil)).Elem() +} + +func (o AiAgentKnowledgeBaseSearchTypePtrOutput) ToAiAgentKnowledgeBaseSearchTypePtrOutput() AiAgentKnowledgeBaseSearchTypePtrOutput { + return o +} + +func (o AiAgentKnowledgeBaseSearchTypePtrOutput) ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseSearchTypePtrOutput { + return o +} + +func (o AiAgentKnowledgeBaseSearchTypePtrOutput) Elem() AiAgentKnowledgeBaseSearchTypeOutput { + return o.ApplyT(func(v *AiAgentKnowledgeBaseSearchType) AiAgentKnowledgeBaseSearchType { + if v != nil { + return *v + } + var ret AiAgentKnowledgeBaseSearchType + return ret + }).(AiAgentKnowledgeBaseSearchTypeOutput) +} + +func (o AiAgentKnowledgeBaseSearchTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AiAgentKnowledgeBaseSearchTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *AiAgentKnowledgeBaseSearchType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// AiAgentKnowledgeBaseSearchTypeInput is an input type that accepts values of the AiAgentKnowledgeBaseSearchType enum +// A concrete instance of `AiAgentKnowledgeBaseSearchTypeInput` can be one of the following: +// +// AiAgentKnowledgeBaseSearchTypeHybrid +// AiAgentKnowledgeBaseSearchTypeSemantic +type AiAgentKnowledgeBaseSearchTypeInput interface { + pulumi.Input + + ToAiAgentKnowledgeBaseSearchTypeOutput() AiAgentKnowledgeBaseSearchTypeOutput + ToAiAgentKnowledgeBaseSearchTypeOutputWithContext(context.Context) AiAgentKnowledgeBaseSearchTypeOutput +} + +var aiAgentKnowledgeBaseSearchTypePtrType = reflect.TypeOf((**AiAgentKnowledgeBaseSearchType)(nil)).Elem() + +type AiAgentKnowledgeBaseSearchTypePtrInput interface { + pulumi.Input + + ToAiAgentKnowledgeBaseSearchTypePtrOutput() AiAgentKnowledgeBaseSearchTypePtrOutput + ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(context.Context) AiAgentKnowledgeBaseSearchTypePtrOutput +} + +type aiAgentKnowledgeBaseSearchTypePtr string + +func AiAgentKnowledgeBaseSearchTypePtr(v string) AiAgentKnowledgeBaseSearchTypePtrInput { + return (*aiAgentKnowledgeBaseSearchTypePtr)(&v) +} + +func (*aiAgentKnowledgeBaseSearchTypePtr) ElementType() reflect.Type { + return aiAgentKnowledgeBaseSearchTypePtrType +} + +func (in *aiAgentKnowledgeBaseSearchTypePtr) ToAiAgentKnowledgeBaseSearchTypePtrOutput() AiAgentKnowledgeBaseSearchTypePtrOutput { + return pulumi.ToOutput(in).(AiAgentKnowledgeBaseSearchTypePtrOutput) +} + +func (in *aiAgentKnowledgeBaseSearchTypePtr) ToAiAgentKnowledgeBaseSearchTypePtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseSearchTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(AiAgentKnowledgeBaseSearchTypePtrOutput) +} + type AiPromptAiPromptApiFormat string const ( @@ -999,6 +1492,12 @@ func (in *knowledgeBaseTypePtr) ToKnowledgeBaseTypePtrOutputWithContext(ctx cont } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAiAgentAssociationConfigurationTypeInput)(nil)).Elem(), AiAgentAiAgentAssociationConfigurationType("KNOWLEDGE_BASE")) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAiAgentAssociationConfigurationTypePtrInput)(nil)).Elem(), AiAgentAiAgentAssociationConfigurationType("KNOWLEDGE_BASE")) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAiAgentTypeInput)(nil)).Elem(), AiAgentAiAgentType("MANUAL_SEARCH")) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAiAgentTypePtrInput)(nil)).Elem(), AiAgentAiAgentType("MANUAL_SEARCH")) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentKnowledgeBaseSearchTypeInput)(nil)).Elem(), AiAgentKnowledgeBaseSearchType("HYBRID")) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentKnowledgeBaseSearchTypePtrInput)(nil)).Elem(), AiAgentKnowledgeBaseSearchType("HYBRID")) pulumi.RegisterInputType(reflect.TypeOf((*AiPromptAiPromptApiFormatInput)(nil)).Elem(), AiPromptAiPromptApiFormat("ANTHROPIC_CLAUDE_MESSAGES")) pulumi.RegisterInputType(reflect.TypeOf((*AiPromptAiPromptApiFormatPtrInput)(nil)).Elem(), AiPromptAiPromptApiFormat("ANTHROPIC_CLAUDE_MESSAGES")) pulumi.RegisterInputType(reflect.TypeOf((*AiPromptAiPromptTemplateTypeInput)(nil)).Elem(), AiPromptAiPromptTemplateType("TEXT")) @@ -1011,6 +1510,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AssistantTypePtrInput)(nil)).Elem(), AssistantType("AGENT")) pulumi.RegisterInputType(reflect.TypeOf((*KnowledgeBaseTypeInput)(nil)).Elem(), KnowledgeBaseType("EXTERNAL")) pulumi.RegisterInputType(reflect.TypeOf((*KnowledgeBaseTypePtrInput)(nil)).Elem(), KnowledgeBaseType("EXTERNAL")) + pulumi.RegisterOutputType(AiAgentAiAgentAssociationConfigurationTypeOutput{}) + pulumi.RegisterOutputType(AiAgentAiAgentAssociationConfigurationTypePtrOutput{}) + pulumi.RegisterOutputType(AiAgentAiAgentTypeOutput{}) + pulumi.RegisterOutputType(AiAgentAiAgentTypePtrOutput{}) + pulumi.RegisterOutputType(AiAgentKnowledgeBaseSearchTypeOutput{}) + pulumi.RegisterOutputType(AiAgentKnowledgeBaseSearchTypePtrOutput{}) pulumi.RegisterOutputType(AiPromptAiPromptApiFormatOutput{}) pulumi.RegisterOutputType(AiPromptAiPromptApiFormatPtrOutput{}) pulumi.RegisterOutputType(AiPromptAiPromptTemplateTypeOutput{}) diff --git a/sdk/go/aws/wisdom/pulumiTypes.go b/sdk/go/aws/wisdom/pulumiTypes.go index 242ec5e059..dadde17057 100644 --- a/sdk/go/aws/wisdom/pulumiTypes.go +++ b/sdk/go/aws/wisdom/pulumiTypes.go @@ -13,6 +13,1508 @@ import ( var _ = internal.GetEnvOrDefault +type AiAgentAiAgentConfiguration0Properties struct { + ManualSearchAiAgentConfiguration AiAgentManualSearchAiAgentConfiguration `pulumi:"manualSearchAiAgentConfiguration"` +} + +// AiAgentAiAgentConfiguration0PropertiesInput is an input type that accepts AiAgentAiAgentConfiguration0PropertiesArgs and AiAgentAiAgentConfiguration0PropertiesOutput values. +// You can construct a concrete instance of `AiAgentAiAgentConfiguration0PropertiesInput` via: +// +// AiAgentAiAgentConfiguration0PropertiesArgs{...} +type AiAgentAiAgentConfiguration0PropertiesInput interface { + pulumi.Input + + ToAiAgentAiAgentConfiguration0PropertiesOutput() AiAgentAiAgentConfiguration0PropertiesOutput + ToAiAgentAiAgentConfiguration0PropertiesOutputWithContext(context.Context) AiAgentAiAgentConfiguration0PropertiesOutput +} + +type AiAgentAiAgentConfiguration0PropertiesArgs struct { + ManualSearchAiAgentConfiguration AiAgentManualSearchAiAgentConfigurationInput `pulumi:"manualSearchAiAgentConfiguration"` +} + +func (AiAgentAiAgentConfiguration0PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentConfiguration0Properties)(nil)).Elem() +} + +func (i AiAgentAiAgentConfiguration0PropertiesArgs) ToAiAgentAiAgentConfiguration0PropertiesOutput() AiAgentAiAgentConfiguration0PropertiesOutput { + return i.ToAiAgentAiAgentConfiguration0PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentAiAgentConfiguration0PropertiesArgs) ToAiAgentAiAgentConfiguration0PropertiesOutputWithContext(ctx context.Context) AiAgentAiAgentConfiguration0PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAiAgentConfiguration0PropertiesOutput) +} + +type AiAgentAiAgentConfiguration0PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentConfiguration0PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentConfiguration0Properties)(nil)).Elem() +} + +func (o AiAgentAiAgentConfiguration0PropertiesOutput) ToAiAgentAiAgentConfiguration0PropertiesOutput() AiAgentAiAgentConfiguration0PropertiesOutput { + return o +} + +func (o AiAgentAiAgentConfiguration0PropertiesOutput) ToAiAgentAiAgentConfiguration0PropertiesOutputWithContext(ctx context.Context) AiAgentAiAgentConfiguration0PropertiesOutput { + return o +} + +func (o AiAgentAiAgentConfiguration0PropertiesOutput) ManualSearchAiAgentConfiguration() AiAgentManualSearchAiAgentConfigurationOutput { + return o.ApplyT(func(v AiAgentAiAgentConfiguration0Properties) AiAgentManualSearchAiAgentConfiguration { + return v.ManualSearchAiAgentConfiguration + }).(AiAgentManualSearchAiAgentConfigurationOutput) +} + +type AiAgentAiAgentConfiguration0PropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentConfiguration0PropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAiAgentConfiguration0Properties)(nil)).Elem() +} + +func (o AiAgentAiAgentConfiguration0PropertiesPtrOutput) ToAiAgentAiAgentConfiguration0PropertiesPtrOutput() AiAgentAiAgentConfiguration0PropertiesPtrOutput { + return o +} + +func (o AiAgentAiAgentConfiguration0PropertiesPtrOutput) ToAiAgentAiAgentConfiguration0PropertiesPtrOutputWithContext(ctx context.Context) AiAgentAiAgentConfiguration0PropertiesPtrOutput { + return o +} + +func (o AiAgentAiAgentConfiguration0PropertiesPtrOutput) Elem() AiAgentAiAgentConfiguration0PropertiesOutput { + return o.ApplyT(func(v *AiAgentAiAgentConfiguration0Properties) AiAgentAiAgentConfiguration0Properties { + if v != nil { + return *v + } + var ret AiAgentAiAgentConfiguration0Properties + return ret + }).(AiAgentAiAgentConfiguration0PropertiesOutput) +} + +func (o AiAgentAiAgentConfiguration0PropertiesPtrOutput) ManualSearchAiAgentConfiguration() AiAgentManualSearchAiAgentConfigurationPtrOutput { + return o.ApplyT(func(v *AiAgentAiAgentConfiguration0Properties) *AiAgentManualSearchAiAgentConfiguration { + if v == nil { + return nil + } + return &v.ManualSearchAiAgentConfiguration + }).(AiAgentManualSearchAiAgentConfigurationPtrOutput) +} + +type AiAgentAiAgentConfiguration1Properties struct { + AnswerRecommendationAiAgentConfiguration AiAgentAnswerRecommendationAiAgentConfiguration `pulumi:"answerRecommendationAiAgentConfiguration"` +} + +// AiAgentAiAgentConfiguration1PropertiesInput is an input type that accepts AiAgentAiAgentConfiguration1PropertiesArgs and AiAgentAiAgentConfiguration1PropertiesOutput values. +// You can construct a concrete instance of `AiAgentAiAgentConfiguration1PropertiesInput` via: +// +// AiAgentAiAgentConfiguration1PropertiesArgs{...} +type AiAgentAiAgentConfiguration1PropertiesInput interface { + pulumi.Input + + ToAiAgentAiAgentConfiguration1PropertiesOutput() AiAgentAiAgentConfiguration1PropertiesOutput + ToAiAgentAiAgentConfiguration1PropertiesOutputWithContext(context.Context) AiAgentAiAgentConfiguration1PropertiesOutput +} + +type AiAgentAiAgentConfiguration1PropertiesArgs struct { + AnswerRecommendationAiAgentConfiguration AiAgentAnswerRecommendationAiAgentConfigurationInput `pulumi:"answerRecommendationAiAgentConfiguration"` +} + +func (AiAgentAiAgentConfiguration1PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentConfiguration1Properties)(nil)).Elem() +} + +func (i AiAgentAiAgentConfiguration1PropertiesArgs) ToAiAgentAiAgentConfiguration1PropertiesOutput() AiAgentAiAgentConfiguration1PropertiesOutput { + return i.ToAiAgentAiAgentConfiguration1PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentAiAgentConfiguration1PropertiesArgs) ToAiAgentAiAgentConfiguration1PropertiesOutputWithContext(ctx context.Context) AiAgentAiAgentConfiguration1PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAiAgentConfiguration1PropertiesOutput) +} + +type AiAgentAiAgentConfiguration1PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentConfiguration1PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAiAgentConfiguration1Properties)(nil)).Elem() +} + +func (o AiAgentAiAgentConfiguration1PropertiesOutput) ToAiAgentAiAgentConfiguration1PropertiesOutput() AiAgentAiAgentConfiguration1PropertiesOutput { + return o +} + +func (o AiAgentAiAgentConfiguration1PropertiesOutput) ToAiAgentAiAgentConfiguration1PropertiesOutputWithContext(ctx context.Context) AiAgentAiAgentConfiguration1PropertiesOutput { + return o +} + +func (o AiAgentAiAgentConfiguration1PropertiesOutput) AnswerRecommendationAiAgentConfiguration() AiAgentAnswerRecommendationAiAgentConfigurationOutput { + return o.ApplyT(func(v AiAgentAiAgentConfiguration1Properties) AiAgentAnswerRecommendationAiAgentConfiguration { + return v.AnswerRecommendationAiAgentConfiguration + }).(AiAgentAnswerRecommendationAiAgentConfigurationOutput) +} + +type AiAgentAiAgentConfiguration1PropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentAiAgentConfiguration1PropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAiAgentConfiguration1Properties)(nil)).Elem() +} + +func (o AiAgentAiAgentConfiguration1PropertiesPtrOutput) ToAiAgentAiAgentConfiguration1PropertiesPtrOutput() AiAgentAiAgentConfiguration1PropertiesPtrOutput { + return o +} + +func (o AiAgentAiAgentConfiguration1PropertiesPtrOutput) ToAiAgentAiAgentConfiguration1PropertiesPtrOutputWithContext(ctx context.Context) AiAgentAiAgentConfiguration1PropertiesPtrOutput { + return o +} + +func (o AiAgentAiAgentConfiguration1PropertiesPtrOutput) Elem() AiAgentAiAgentConfiguration1PropertiesOutput { + return o.ApplyT(func(v *AiAgentAiAgentConfiguration1Properties) AiAgentAiAgentConfiguration1Properties { + if v != nil { + return *v + } + var ret AiAgentAiAgentConfiguration1Properties + return ret + }).(AiAgentAiAgentConfiguration1PropertiesOutput) +} + +func (o AiAgentAiAgentConfiguration1PropertiesPtrOutput) AnswerRecommendationAiAgentConfiguration() AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput { + return o.ApplyT(func(v *AiAgentAiAgentConfiguration1Properties) *AiAgentAnswerRecommendationAiAgentConfiguration { + if v == nil { + return nil + } + return &v.AnswerRecommendationAiAgentConfiguration + }).(AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) +} + +type AiAgentAnswerRecommendationAiAgentConfiguration struct { + AnswerGenerationAiPromptId *string `pulumi:"answerGenerationAiPromptId"` + AssociationConfigurations []AiAgentAssociationConfiguration `pulumi:"associationConfigurations"` + IntentLabelingGenerationAiPromptId *string `pulumi:"intentLabelingGenerationAiPromptId"` + QueryReformulationAiPromptId *string `pulumi:"queryReformulationAiPromptId"` +} + +// AiAgentAnswerRecommendationAiAgentConfigurationInput is an input type that accepts AiAgentAnswerRecommendationAiAgentConfigurationArgs and AiAgentAnswerRecommendationAiAgentConfigurationOutput values. +// You can construct a concrete instance of `AiAgentAnswerRecommendationAiAgentConfigurationInput` via: +// +// AiAgentAnswerRecommendationAiAgentConfigurationArgs{...} +type AiAgentAnswerRecommendationAiAgentConfigurationInput interface { + pulumi.Input + + ToAiAgentAnswerRecommendationAiAgentConfigurationOutput() AiAgentAnswerRecommendationAiAgentConfigurationOutput + ToAiAgentAnswerRecommendationAiAgentConfigurationOutputWithContext(context.Context) AiAgentAnswerRecommendationAiAgentConfigurationOutput +} + +type AiAgentAnswerRecommendationAiAgentConfigurationArgs struct { + AnswerGenerationAiPromptId pulumi.StringPtrInput `pulumi:"answerGenerationAiPromptId"` + AssociationConfigurations AiAgentAssociationConfigurationArrayInput `pulumi:"associationConfigurations"` + IntentLabelingGenerationAiPromptId pulumi.StringPtrInput `pulumi:"intentLabelingGenerationAiPromptId"` + QueryReformulationAiPromptId pulumi.StringPtrInput `pulumi:"queryReformulationAiPromptId"` +} + +func (AiAgentAnswerRecommendationAiAgentConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAnswerRecommendationAiAgentConfiguration)(nil)).Elem() +} + +func (i AiAgentAnswerRecommendationAiAgentConfigurationArgs) ToAiAgentAnswerRecommendationAiAgentConfigurationOutput() AiAgentAnswerRecommendationAiAgentConfigurationOutput { + return i.ToAiAgentAnswerRecommendationAiAgentConfigurationOutputWithContext(context.Background()) +} + +func (i AiAgentAnswerRecommendationAiAgentConfigurationArgs) ToAiAgentAnswerRecommendationAiAgentConfigurationOutputWithContext(ctx context.Context) AiAgentAnswerRecommendationAiAgentConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAnswerRecommendationAiAgentConfigurationOutput) +} + +type AiAgentAnswerRecommendationAiAgentConfigurationOutput struct{ *pulumi.OutputState } + +func (AiAgentAnswerRecommendationAiAgentConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAnswerRecommendationAiAgentConfiguration)(nil)).Elem() +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationOutput) ToAiAgentAnswerRecommendationAiAgentConfigurationOutput() AiAgentAnswerRecommendationAiAgentConfigurationOutput { + return o +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationOutput) ToAiAgentAnswerRecommendationAiAgentConfigurationOutputWithContext(ctx context.Context) AiAgentAnswerRecommendationAiAgentConfigurationOutput { + return o +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationOutput) AnswerGenerationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AiAgentAnswerRecommendationAiAgentConfiguration) *string { return v.AnswerGenerationAiPromptId }).(pulumi.StringPtrOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationOutput) AssociationConfigurations() AiAgentAssociationConfigurationArrayOutput { + return o.ApplyT(func(v AiAgentAnswerRecommendationAiAgentConfiguration) []AiAgentAssociationConfiguration { + return v.AssociationConfigurations + }).(AiAgentAssociationConfigurationArrayOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationOutput) IntentLabelingGenerationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AiAgentAnswerRecommendationAiAgentConfiguration) *string { + return v.IntentLabelingGenerationAiPromptId + }).(pulumi.StringPtrOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationOutput) QueryReformulationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AiAgentAnswerRecommendationAiAgentConfiguration) *string { return v.QueryReformulationAiPromptId }).(pulumi.StringPtrOutput) +} + +type AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAnswerRecommendationAiAgentConfiguration)(nil)).Elem() +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) ToAiAgentAnswerRecommendationAiAgentConfigurationPtrOutput() AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput { + return o +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) ToAiAgentAnswerRecommendationAiAgentConfigurationPtrOutputWithContext(ctx context.Context) AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput { + return o +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) Elem() AiAgentAnswerRecommendationAiAgentConfigurationOutput { + return o.ApplyT(func(v *AiAgentAnswerRecommendationAiAgentConfiguration) AiAgentAnswerRecommendationAiAgentConfiguration { + if v != nil { + return *v + } + var ret AiAgentAnswerRecommendationAiAgentConfiguration + return ret + }).(AiAgentAnswerRecommendationAiAgentConfigurationOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) AnswerGenerationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgentAnswerRecommendationAiAgentConfiguration) *string { + if v == nil { + return nil + } + return v.AnswerGenerationAiPromptId + }).(pulumi.StringPtrOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) AssociationConfigurations() AiAgentAssociationConfigurationArrayOutput { + return o.ApplyT(func(v *AiAgentAnswerRecommendationAiAgentConfiguration) []AiAgentAssociationConfiguration { + if v == nil { + return nil + } + return v.AssociationConfigurations + }).(AiAgentAssociationConfigurationArrayOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) IntentLabelingGenerationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgentAnswerRecommendationAiAgentConfiguration) *string { + if v == nil { + return nil + } + return v.IntentLabelingGenerationAiPromptId + }).(pulumi.StringPtrOutput) +} + +func (o AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput) QueryReformulationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgentAnswerRecommendationAiAgentConfiguration) *string { + if v == nil { + return nil + } + return v.QueryReformulationAiPromptId + }).(pulumi.StringPtrOutput) +} + +type AiAgentAssociationConfiguration struct { + AssociationConfigurationData *AiAgentAssociationConfigurationDataProperties `pulumi:"associationConfigurationData"` + AssociationId *string `pulumi:"associationId"` + AssociationType *AiAgentAiAgentAssociationConfigurationType `pulumi:"associationType"` +} + +// AiAgentAssociationConfigurationInput is an input type that accepts AiAgentAssociationConfigurationArgs and AiAgentAssociationConfigurationOutput values. +// You can construct a concrete instance of `AiAgentAssociationConfigurationInput` via: +// +// AiAgentAssociationConfigurationArgs{...} +type AiAgentAssociationConfigurationInput interface { + pulumi.Input + + ToAiAgentAssociationConfigurationOutput() AiAgentAssociationConfigurationOutput + ToAiAgentAssociationConfigurationOutputWithContext(context.Context) AiAgentAssociationConfigurationOutput +} + +type AiAgentAssociationConfigurationArgs struct { + AssociationConfigurationData AiAgentAssociationConfigurationDataPropertiesPtrInput `pulumi:"associationConfigurationData"` + AssociationId pulumi.StringPtrInput `pulumi:"associationId"` + AssociationType AiAgentAiAgentAssociationConfigurationTypePtrInput `pulumi:"associationType"` +} + +func (AiAgentAssociationConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAssociationConfiguration)(nil)).Elem() +} + +func (i AiAgentAssociationConfigurationArgs) ToAiAgentAssociationConfigurationOutput() AiAgentAssociationConfigurationOutput { + return i.ToAiAgentAssociationConfigurationOutputWithContext(context.Background()) +} + +func (i AiAgentAssociationConfigurationArgs) ToAiAgentAssociationConfigurationOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAssociationConfigurationOutput) +} + +// AiAgentAssociationConfigurationArrayInput is an input type that accepts AiAgentAssociationConfigurationArray and AiAgentAssociationConfigurationArrayOutput values. +// You can construct a concrete instance of `AiAgentAssociationConfigurationArrayInput` via: +// +// AiAgentAssociationConfigurationArray{ AiAgentAssociationConfigurationArgs{...} } +type AiAgentAssociationConfigurationArrayInput interface { + pulumi.Input + + ToAiAgentAssociationConfigurationArrayOutput() AiAgentAssociationConfigurationArrayOutput + ToAiAgentAssociationConfigurationArrayOutputWithContext(context.Context) AiAgentAssociationConfigurationArrayOutput +} + +type AiAgentAssociationConfigurationArray []AiAgentAssociationConfigurationInput + +func (AiAgentAssociationConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AiAgentAssociationConfiguration)(nil)).Elem() +} + +func (i AiAgentAssociationConfigurationArray) ToAiAgentAssociationConfigurationArrayOutput() AiAgentAssociationConfigurationArrayOutput { + return i.ToAiAgentAssociationConfigurationArrayOutputWithContext(context.Background()) +} + +func (i AiAgentAssociationConfigurationArray) ToAiAgentAssociationConfigurationArrayOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAssociationConfigurationArrayOutput) +} + +type AiAgentAssociationConfigurationOutput struct{ *pulumi.OutputState } + +func (AiAgentAssociationConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAssociationConfiguration)(nil)).Elem() +} + +func (o AiAgentAssociationConfigurationOutput) ToAiAgentAssociationConfigurationOutput() AiAgentAssociationConfigurationOutput { + return o +} + +func (o AiAgentAssociationConfigurationOutput) ToAiAgentAssociationConfigurationOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationOutput { + return o +} + +func (o AiAgentAssociationConfigurationOutput) AssociationConfigurationData() AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return o.ApplyT(func(v AiAgentAssociationConfiguration) *AiAgentAssociationConfigurationDataProperties { + return v.AssociationConfigurationData + }).(AiAgentAssociationConfigurationDataPropertiesPtrOutput) +} + +func (o AiAgentAssociationConfigurationOutput) AssociationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AiAgentAssociationConfiguration) *string { return v.AssociationId }).(pulumi.StringPtrOutput) +} + +func (o AiAgentAssociationConfigurationOutput) AssociationType() AiAgentAiAgentAssociationConfigurationTypePtrOutput { + return o.ApplyT(func(v AiAgentAssociationConfiguration) *AiAgentAiAgentAssociationConfigurationType { + return v.AssociationType + }).(AiAgentAiAgentAssociationConfigurationTypePtrOutput) +} + +type AiAgentAssociationConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (AiAgentAssociationConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AiAgentAssociationConfiguration)(nil)).Elem() +} + +func (o AiAgentAssociationConfigurationArrayOutput) ToAiAgentAssociationConfigurationArrayOutput() AiAgentAssociationConfigurationArrayOutput { + return o +} + +func (o AiAgentAssociationConfigurationArrayOutput) ToAiAgentAssociationConfigurationArrayOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationArrayOutput { + return o +} + +func (o AiAgentAssociationConfigurationArrayOutput) Index(i pulumi.IntInput) AiAgentAssociationConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AiAgentAssociationConfiguration { + return vs[0].([]AiAgentAssociationConfiguration)[vs[1].(int)] + }).(AiAgentAssociationConfigurationOutput) +} + +type AiAgentAssociationConfigurationData0Properties struct { + KnowledgeBaseAssociationConfigurationData AiAgentKnowledgeBaseAssociationConfigurationData `pulumi:"knowledgeBaseAssociationConfigurationData"` +} + +type AiAgentAssociationConfigurationDataProperties struct { + KnowledgeBaseAssociationConfigurationData AiAgentKnowledgeBaseAssociationConfigurationData `pulumi:"knowledgeBaseAssociationConfigurationData"` +} + +// AiAgentAssociationConfigurationDataPropertiesInput is an input type that accepts AiAgentAssociationConfigurationDataPropertiesArgs and AiAgentAssociationConfigurationDataPropertiesOutput values. +// You can construct a concrete instance of `AiAgentAssociationConfigurationDataPropertiesInput` via: +// +// AiAgentAssociationConfigurationDataPropertiesArgs{...} +type AiAgentAssociationConfigurationDataPropertiesInput interface { + pulumi.Input + + ToAiAgentAssociationConfigurationDataPropertiesOutput() AiAgentAssociationConfigurationDataPropertiesOutput + ToAiAgentAssociationConfigurationDataPropertiesOutputWithContext(context.Context) AiAgentAssociationConfigurationDataPropertiesOutput +} + +type AiAgentAssociationConfigurationDataPropertiesArgs struct { + KnowledgeBaseAssociationConfigurationData AiAgentKnowledgeBaseAssociationConfigurationDataInput `pulumi:"knowledgeBaseAssociationConfigurationData"` +} + +func (AiAgentAssociationConfigurationDataPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAssociationConfigurationDataProperties)(nil)).Elem() +} + +func (i AiAgentAssociationConfigurationDataPropertiesArgs) ToAiAgentAssociationConfigurationDataPropertiesOutput() AiAgentAssociationConfigurationDataPropertiesOutput { + return i.ToAiAgentAssociationConfigurationDataPropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentAssociationConfigurationDataPropertiesArgs) ToAiAgentAssociationConfigurationDataPropertiesOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationDataPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAssociationConfigurationDataPropertiesOutput) +} + +func (i AiAgentAssociationConfigurationDataPropertiesArgs) ToAiAgentAssociationConfigurationDataPropertiesPtrOutput() AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return i.ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(context.Background()) +} + +func (i AiAgentAssociationConfigurationDataPropertiesArgs) ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAssociationConfigurationDataPropertiesOutput).ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(ctx) +} + +// AiAgentAssociationConfigurationDataPropertiesPtrInput is an input type that accepts AiAgentAssociationConfigurationDataPropertiesArgs, AiAgentAssociationConfigurationDataPropertiesPtr and AiAgentAssociationConfigurationDataPropertiesPtrOutput values. +// You can construct a concrete instance of `AiAgentAssociationConfigurationDataPropertiesPtrInput` via: +// +// AiAgentAssociationConfigurationDataPropertiesArgs{...} +// +// or: +// +// nil +type AiAgentAssociationConfigurationDataPropertiesPtrInput interface { + pulumi.Input + + ToAiAgentAssociationConfigurationDataPropertiesPtrOutput() AiAgentAssociationConfigurationDataPropertiesPtrOutput + ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(context.Context) AiAgentAssociationConfigurationDataPropertiesPtrOutput +} + +type aiAgentAssociationConfigurationDataPropertiesPtrType AiAgentAssociationConfigurationDataPropertiesArgs + +func AiAgentAssociationConfigurationDataPropertiesPtr(v *AiAgentAssociationConfigurationDataPropertiesArgs) AiAgentAssociationConfigurationDataPropertiesPtrInput { + return (*aiAgentAssociationConfigurationDataPropertiesPtrType)(v) +} + +func (*aiAgentAssociationConfigurationDataPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAssociationConfigurationDataProperties)(nil)).Elem() +} + +func (i *aiAgentAssociationConfigurationDataPropertiesPtrType) ToAiAgentAssociationConfigurationDataPropertiesPtrOutput() AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return i.ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *aiAgentAssociationConfigurationDataPropertiesPtrType) ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentAssociationConfigurationDataPropertiesPtrOutput) +} + +type AiAgentAssociationConfigurationDataPropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentAssociationConfigurationDataPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentAssociationConfigurationDataProperties)(nil)).Elem() +} + +func (o AiAgentAssociationConfigurationDataPropertiesOutput) ToAiAgentAssociationConfigurationDataPropertiesOutput() AiAgentAssociationConfigurationDataPropertiesOutput { + return o +} + +func (o AiAgentAssociationConfigurationDataPropertiesOutput) ToAiAgentAssociationConfigurationDataPropertiesOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationDataPropertiesOutput { + return o +} + +func (o AiAgentAssociationConfigurationDataPropertiesOutput) ToAiAgentAssociationConfigurationDataPropertiesPtrOutput() AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return o.ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(context.Background()) +} + +func (o AiAgentAssociationConfigurationDataPropertiesOutput) ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentAssociationConfigurationDataProperties) *AiAgentAssociationConfigurationDataProperties { + return &v + }).(AiAgentAssociationConfigurationDataPropertiesPtrOutput) +} + +func (o AiAgentAssociationConfigurationDataPropertiesOutput) KnowledgeBaseAssociationConfigurationData() AiAgentKnowledgeBaseAssociationConfigurationDataOutput { + return o.ApplyT(func(v AiAgentAssociationConfigurationDataProperties) AiAgentKnowledgeBaseAssociationConfigurationData { + return v.KnowledgeBaseAssociationConfigurationData + }).(AiAgentKnowledgeBaseAssociationConfigurationDataOutput) +} + +type AiAgentAssociationConfigurationDataPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentAssociationConfigurationDataPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentAssociationConfigurationDataProperties)(nil)).Elem() +} + +func (o AiAgentAssociationConfigurationDataPropertiesPtrOutput) ToAiAgentAssociationConfigurationDataPropertiesPtrOutput() AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return o +} + +func (o AiAgentAssociationConfigurationDataPropertiesPtrOutput) ToAiAgentAssociationConfigurationDataPropertiesPtrOutputWithContext(ctx context.Context) AiAgentAssociationConfigurationDataPropertiesPtrOutput { + return o +} + +func (o AiAgentAssociationConfigurationDataPropertiesPtrOutput) Elem() AiAgentAssociationConfigurationDataPropertiesOutput { + return o.ApplyT(func(v *AiAgentAssociationConfigurationDataProperties) AiAgentAssociationConfigurationDataProperties { + if v != nil { + return *v + } + var ret AiAgentAssociationConfigurationDataProperties + return ret + }).(AiAgentAssociationConfigurationDataPropertiesOutput) +} + +func (o AiAgentAssociationConfigurationDataPropertiesPtrOutput) KnowledgeBaseAssociationConfigurationData() AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return o.ApplyT(func(v *AiAgentAssociationConfigurationDataProperties) *AiAgentKnowledgeBaseAssociationConfigurationData { + if v == nil { + return nil + } + return &v.KnowledgeBaseAssociationConfigurationData + }).(AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) +} + +type AiAgentKnowledgeBaseAssociationConfigurationData struct { + ContentTagFilter interface{} `pulumi:"contentTagFilter"` + MaxResults *float64 `pulumi:"maxResults"` + OverrideKnowledgeBaseSearchType *AiAgentKnowledgeBaseSearchType `pulumi:"overrideKnowledgeBaseSearchType"` +} + +// AiAgentKnowledgeBaseAssociationConfigurationDataInput is an input type that accepts AiAgentKnowledgeBaseAssociationConfigurationDataArgs and AiAgentKnowledgeBaseAssociationConfigurationDataOutput values. +// You can construct a concrete instance of `AiAgentKnowledgeBaseAssociationConfigurationDataInput` via: +// +// AiAgentKnowledgeBaseAssociationConfigurationDataArgs{...} +type AiAgentKnowledgeBaseAssociationConfigurationDataInput interface { + pulumi.Input + + ToAiAgentKnowledgeBaseAssociationConfigurationDataOutput() AiAgentKnowledgeBaseAssociationConfigurationDataOutput + ToAiAgentKnowledgeBaseAssociationConfigurationDataOutputWithContext(context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataOutput +} + +type AiAgentKnowledgeBaseAssociationConfigurationDataArgs struct { + ContentTagFilter pulumi.Input `pulumi:"contentTagFilter"` + MaxResults pulumi.Float64PtrInput `pulumi:"maxResults"` + OverrideKnowledgeBaseSearchType AiAgentKnowledgeBaseSearchTypePtrInput `pulumi:"overrideKnowledgeBaseSearchType"` +} + +func (AiAgentKnowledgeBaseAssociationConfigurationDataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentKnowledgeBaseAssociationConfigurationData)(nil)).Elem() +} + +func (i AiAgentKnowledgeBaseAssociationConfigurationDataArgs) ToAiAgentKnowledgeBaseAssociationConfigurationDataOutput() AiAgentKnowledgeBaseAssociationConfigurationDataOutput { + return i.ToAiAgentKnowledgeBaseAssociationConfigurationDataOutputWithContext(context.Background()) +} + +func (i AiAgentKnowledgeBaseAssociationConfigurationDataArgs) ToAiAgentKnowledgeBaseAssociationConfigurationDataOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentKnowledgeBaseAssociationConfigurationDataOutput) +} + +func (i AiAgentKnowledgeBaseAssociationConfigurationDataArgs) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput() AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return i.ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(context.Background()) +} + +func (i AiAgentKnowledgeBaseAssociationConfigurationDataArgs) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentKnowledgeBaseAssociationConfigurationDataOutput).ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(ctx) +} + +// AiAgentKnowledgeBaseAssociationConfigurationDataPtrInput is an input type that accepts AiAgentKnowledgeBaseAssociationConfigurationDataArgs, AiAgentKnowledgeBaseAssociationConfigurationDataPtr and AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput values. +// You can construct a concrete instance of `AiAgentKnowledgeBaseAssociationConfigurationDataPtrInput` via: +// +// AiAgentKnowledgeBaseAssociationConfigurationDataArgs{...} +// +// or: +// +// nil +type AiAgentKnowledgeBaseAssociationConfigurationDataPtrInput interface { + pulumi.Input + + ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput() AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput + ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput +} + +type aiAgentKnowledgeBaseAssociationConfigurationDataPtrType AiAgentKnowledgeBaseAssociationConfigurationDataArgs + +func AiAgentKnowledgeBaseAssociationConfigurationDataPtr(v *AiAgentKnowledgeBaseAssociationConfigurationDataArgs) AiAgentKnowledgeBaseAssociationConfigurationDataPtrInput { + return (*aiAgentKnowledgeBaseAssociationConfigurationDataPtrType)(v) +} + +func (*aiAgentKnowledgeBaseAssociationConfigurationDataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentKnowledgeBaseAssociationConfigurationData)(nil)).Elem() +} + +func (i *aiAgentKnowledgeBaseAssociationConfigurationDataPtrType) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput() AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return i.ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(context.Background()) +} + +func (i *aiAgentKnowledgeBaseAssociationConfigurationDataPtrType) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) +} + +type AiAgentKnowledgeBaseAssociationConfigurationDataOutput struct{ *pulumi.OutputState } + +func (AiAgentKnowledgeBaseAssociationConfigurationDataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentKnowledgeBaseAssociationConfigurationData)(nil)).Elem() +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) ToAiAgentKnowledgeBaseAssociationConfigurationDataOutput() AiAgentKnowledgeBaseAssociationConfigurationDataOutput { + return o +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) ToAiAgentKnowledgeBaseAssociationConfigurationDataOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataOutput { + return o +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput() AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return o.ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(context.Background()) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentKnowledgeBaseAssociationConfigurationData) *AiAgentKnowledgeBaseAssociationConfigurationData { + return &v + }).(AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) ContentTagFilter() pulumi.AnyOutput { + return o.ApplyT(func(v AiAgentKnowledgeBaseAssociationConfigurationData) interface{} { return v.ContentTagFilter }).(pulumi.AnyOutput) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) MaxResults() pulumi.Float64PtrOutput { + return o.ApplyT(func(v AiAgentKnowledgeBaseAssociationConfigurationData) *float64 { return v.MaxResults }).(pulumi.Float64PtrOutput) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataOutput) OverrideKnowledgeBaseSearchType() AiAgentKnowledgeBaseSearchTypePtrOutput { + return o.ApplyT(func(v AiAgentKnowledgeBaseAssociationConfigurationData) *AiAgentKnowledgeBaseSearchType { + return v.OverrideKnowledgeBaseSearchType + }).(AiAgentKnowledgeBaseSearchTypePtrOutput) +} + +type AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentKnowledgeBaseAssociationConfigurationData)(nil)).Elem() +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput() AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return o +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) ToAiAgentKnowledgeBaseAssociationConfigurationDataPtrOutputWithContext(ctx context.Context) AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput { + return o +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) Elem() AiAgentKnowledgeBaseAssociationConfigurationDataOutput { + return o.ApplyT(func(v *AiAgentKnowledgeBaseAssociationConfigurationData) AiAgentKnowledgeBaseAssociationConfigurationData { + if v != nil { + return *v + } + var ret AiAgentKnowledgeBaseAssociationConfigurationData + return ret + }).(AiAgentKnowledgeBaseAssociationConfigurationDataOutput) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) ContentTagFilter() pulumi.AnyOutput { + return o.ApplyT(func(v *AiAgentKnowledgeBaseAssociationConfigurationData) interface{} { + if v == nil { + return nil + } + return v.ContentTagFilter + }).(pulumi.AnyOutput) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) MaxResults() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *AiAgentKnowledgeBaseAssociationConfigurationData) *float64 { + if v == nil { + return nil + } + return v.MaxResults + }).(pulumi.Float64PtrOutput) +} + +func (o AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput) OverrideKnowledgeBaseSearchType() AiAgentKnowledgeBaseSearchTypePtrOutput { + return o.ApplyT(func(v *AiAgentKnowledgeBaseAssociationConfigurationData) *AiAgentKnowledgeBaseSearchType { + if v == nil { + return nil + } + return v.OverrideKnowledgeBaseSearchType + }).(AiAgentKnowledgeBaseSearchTypePtrOutput) +} + +type AiAgentManualSearchAiAgentConfiguration struct { + AnswerGenerationAiPromptId *string `pulumi:"answerGenerationAiPromptId"` + AssociationConfigurations []AiAgentAssociationConfiguration `pulumi:"associationConfigurations"` +} + +// AiAgentManualSearchAiAgentConfigurationInput is an input type that accepts AiAgentManualSearchAiAgentConfigurationArgs and AiAgentManualSearchAiAgentConfigurationOutput values. +// You can construct a concrete instance of `AiAgentManualSearchAiAgentConfigurationInput` via: +// +// AiAgentManualSearchAiAgentConfigurationArgs{...} +type AiAgentManualSearchAiAgentConfigurationInput interface { + pulumi.Input + + ToAiAgentManualSearchAiAgentConfigurationOutput() AiAgentManualSearchAiAgentConfigurationOutput + ToAiAgentManualSearchAiAgentConfigurationOutputWithContext(context.Context) AiAgentManualSearchAiAgentConfigurationOutput +} + +type AiAgentManualSearchAiAgentConfigurationArgs struct { + AnswerGenerationAiPromptId pulumi.StringPtrInput `pulumi:"answerGenerationAiPromptId"` + AssociationConfigurations AiAgentAssociationConfigurationArrayInput `pulumi:"associationConfigurations"` +} + +func (AiAgentManualSearchAiAgentConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentManualSearchAiAgentConfiguration)(nil)).Elem() +} + +func (i AiAgentManualSearchAiAgentConfigurationArgs) ToAiAgentManualSearchAiAgentConfigurationOutput() AiAgentManualSearchAiAgentConfigurationOutput { + return i.ToAiAgentManualSearchAiAgentConfigurationOutputWithContext(context.Background()) +} + +func (i AiAgentManualSearchAiAgentConfigurationArgs) ToAiAgentManualSearchAiAgentConfigurationOutputWithContext(ctx context.Context) AiAgentManualSearchAiAgentConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentManualSearchAiAgentConfigurationOutput) +} + +type AiAgentManualSearchAiAgentConfigurationOutput struct{ *pulumi.OutputState } + +func (AiAgentManualSearchAiAgentConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentManualSearchAiAgentConfiguration)(nil)).Elem() +} + +func (o AiAgentManualSearchAiAgentConfigurationOutput) ToAiAgentManualSearchAiAgentConfigurationOutput() AiAgentManualSearchAiAgentConfigurationOutput { + return o +} + +func (o AiAgentManualSearchAiAgentConfigurationOutput) ToAiAgentManualSearchAiAgentConfigurationOutputWithContext(ctx context.Context) AiAgentManualSearchAiAgentConfigurationOutput { + return o +} + +func (o AiAgentManualSearchAiAgentConfigurationOutput) AnswerGenerationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AiAgentManualSearchAiAgentConfiguration) *string { return v.AnswerGenerationAiPromptId }).(pulumi.StringPtrOutput) +} + +func (o AiAgentManualSearchAiAgentConfigurationOutput) AssociationConfigurations() AiAgentAssociationConfigurationArrayOutput { + return o.ApplyT(func(v AiAgentManualSearchAiAgentConfiguration) []AiAgentAssociationConfiguration { + return v.AssociationConfigurations + }).(AiAgentAssociationConfigurationArrayOutput) +} + +type AiAgentManualSearchAiAgentConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentManualSearchAiAgentConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentManualSearchAiAgentConfiguration)(nil)).Elem() +} + +func (o AiAgentManualSearchAiAgentConfigurationPtrOutput) ToAiAgentManualSearchAiAgentConfigurationPtrOutput() AiAgentManualSearchAiAgentConfigurationPtrOutput { + return o +} + +func (o AiAgentManualSearchAiAgentConfigurationPtrOutput) ToAiAgentManualSearchAiAgentConfigurationPtrOutputWithContext(ctx context.Context) AiAgentManualSearchAiAgentConfigurationPtrOutput { + return o +} + +func (o AiAgentManualSearchAiAgentConfigurationPtrOutput) Elem() AiAgentManualSearchAiAgentConfigurationOutput { + return o.ApplyT(func(v *AiAgentManualSearchAiAgentConfiguration) AiAgentManualSearchAiAgentConfiguration { + if v != nil { + return *v + } + var ret AiAgentManualSearchAiAgentConfiguration + return ret + }).(AiAgentManualSearchAiAgentConfigurationOutput) +} + +func (o AiAgentManualSearchAiAgentConfigurationPtrOutput) AnswerGenerationAiPromptId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgentManualSearchAiAgentConfiguration) *string { + if v == nil { + return nil + } + return v.AnswerGenerationAiPromptId + }).(pulumi.StringPtrOutput) +} + +func (o AiAgentManualSearchAiAgentConfigurationPtrOutput) AssociationConfigurations() AiAgentAssociationConfigurationArrayOutput { + return o.ApplyT(func(v *AiAgentManualSearchAiAgentConfiguration) []AiAgentAssociationConfiguration { + if v == nil { + return nil + } + return v.AssociationConfigurations + }).(AiAgentAssociationConfigurationArrayOutput) +} + +type AiAgentOrCondition0Properties struct { + AndConditions []AiAgentTagCondition `pulumi:"andConditions"` +} + +// AiAgentOrCondition0PropertiesInput is an input type that accepts AiAgentOrCondition0PropertiesArgs and AiAgentOrCondition0PropertiesOutput values. +// You can construct a concrete instance of `AiAgentOrCondition0PropertiesInput` via: +// +// AiAgentOrCondition0PropertiesArgs{...} +type AiAgentOrCondition0PropertiesInput interface { + pulumi.Input + + ToAiAgentOrCondition0PropertiesOutput() AiAgentOrCondition0PropertiesOutput + ToAiAgentOrCondition0PropertiesOutputWithContext(context.Context) AiAgentOrCondition0PropertiesOutput +} + +type AiAgentOrCondition0PropertiesArgs struct { + AndConditions AiAgentTagConditionArrayInput `pulumi:"andConditions"` +} + +func (AiAgentOrCondition0PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentOrCondition0Properties)(nil)).Elem() +} + +func (i AiAgentOrCondition0PropertiesArgs) ToAiAgentOrCondition0PropertiesOutput() AiAgentOrCondition0PropertiesOutput { + return i.ToAiAgentOrCondition0PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentOrCondition0PropertiesArgs) ToAiAgentOrCondition0PropertiesOutputWithContext(ctx context.Context) AiAgentOrCondition0PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentOrCondition0PropertiesOutput) +} + +type AiAgentOrCondition0PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentOrCondition0PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentOrCondition0Properties)(nil)).Elem() +} + +func (o AiAgentOrCondition0PropertiesOutput) ToAiAgentOrCondition0PropertiesOutput() AiAgentOrCondition0PropertiesOutput { + return o +} + +func (o AiAgentOrCondition0PropertiesOutput) ToAiAgentOrCondition0PropertiesOutputWithContext(ctx context.Context) AiAgentOrCondition0PropertiesOutput { + return o +} + +func (o AiAgentOrCondition0PropertiesOutput) AndConditions() AiAgentTagConditionArrayOutput { + return o.ApplyT(func(v AiAgentOrCondition0Properties) []AiAgentTagCondition { return v.AndConditions }).(AiAgentTagConditionArrayOutput) +} + +type AiAgentOrCondition1Properties struct { + TagCondition AiAgentTagCondition `pulumi:"tagCondition"` +} + +// AiAgentOrCondition1PropertiesInput is an input type that accepts AiAgentOrCondition1PropertiesArgs and AiAgentOrCondition1PropertiesOutput values. +// You can construct a concrete instance of `AiAgentOrCondition1PropertiesInput` via: +// +// AiAgentOrCondition1PropertiesArgs{...} +type AiAgentOrCondition1PropertiesInput interface { + pulumi.Input + + ToAiAgentOrCondition1PropertiesOutput() AiAgentOrCondition1PropertiesOutput + ToAiAgentOrCondition1PropertiesOutputWithContext(context.Context) AiAgentOrCondition1PropertiesOutput +} + +type AiAgentOrCondition1PropertiesArgs struct { + TagCondition AiAgentTagConditionInput `pulumi:"tagCondition"` +} + +func (AiAgentOrCondition1PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentOrCondition1Properties)(nil)).Elem() +} + +func (i AiAgentOrCondition1PropertiesArgs) ToAiAgentOrCondition1PropertiesOutput() AiAgentOrCondition1PropertiesOutput { + return i.ToAiAgentOrCondition1PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentOrCondition1PropertiesArgs) ToAiAgentOrCondition1PropertiesOutputWithContext(ctx context.Context) AiAgentOrCondition1PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentOrCondition1PropertiesOutput) +} + +type AiAgentOrCondition1PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentOrCondition1PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentOrCondition1Properties)(nil)).Elem() +} + +func (o AiAgentOrCondition1PropertiesOutput) ToAiAgentOrCondition1PropertiesOutput() AiAgentOrCondition1PropertiesOutput { + return o +} + +func (o AiAgentOrCondition1PropertiesOutput) ToAiAgentOrCondition1PropertiesOutputWithContext(ctx context.Context) AiAgentOrCondition1PropertiesOutput { + return o +} + +func (o AiAgentOrCondition1PropertiesOutput) TagCondition() AiAgentTagConditionOutput { + return o.ApplyT(func(v AiAgentOrCondition1Properties) AiAgentTagCondition { return v.TagCondition }).(AiAgentTagConditionOutput) +} + +type AiAgentTagCondition struct { + Key string `pulumi:"key"` + Value *string `pulumi:"value"` +} + +// AiAgentTagConditionInput is an input type that accepts AiAgentTagConditionArgs and AiAgentTagConditionOutput values. +// You can construct a concrete instance of `AiAgentTagConditionInput` via: +// +// AiAgentTagConditionArgs{...} +type AiAgentTagConditionInput interface { + pulumi.Input + + ToAiAgentTagConditionOutput() AiAgentTagConditionOutput + ToAiAgentTagConditionOutputWithContext(context.Context) AiAgentTagConditionOutput +} + +type AiAgentTagConditionArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (AiAgentTagConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagCondition)(nil)).Elem() +} + +func (i AiAgentTagConditionArgs) ToAiAgentTagConditionOutput() AiAgentTagConditionOutput { + return i.ToAiAgentTagConditionOutputWithContext(context.Background()) +} + +func (i AiAgentTagConditionArgs) ToAiAgentTagConditionOutputWithContext(ctx context.Context) AiAgentTagConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagConditionOutput) +} + +func (i AiAgentTagConditionArgs) ToAiAgentTagConditionPtrOutput() AiAgentTagConditionPtrOutput { + return i.ToAiAgentTagConditionPtrOutputWithContext(context.Background()) +} + +func (i AiAgentTagConditionArgs) ToAiAgentTagConditionPtrOutputWithContext(ctx context.Context) AiAgentTagConditionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagConditionOutput).ToAiAgentTagConditionPtrOutputWithContext(ctx) +} + +// AiAgentTagConditionPtrInput is an input type that accepts AiAgentTagConditionArgs, AiAgentTagConditionPtr and AiAgentTagConditionPtrOutput values. +// You can construct a concrete instance of `AiAgentTagConditionPtrInput` via: +// +// AiAgentTagConditionArgs{...} +// +// or: +// +// nil +type AiAgentTagConditionPtrInput interface { + pulumi.Input + + ToAiAgentTagConditionPtrOutput() AiAgentTagConditionPtrOutput + ToAiAgentTagConditionPtrOutputWithContext(context.Context) AiAgentTagConditionPtrOutput +} + +type aiAgentTagConditionPtrType AiAgentTagConditionArgs + +func AiAgentTagConditionPtr(v *AiAgentTagConditionArgs) AiAgentTagConditionPtrInput { + return (*aiAgentTagConditionPtrType)(v) +} + +func (*aiAgentTagConditionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagCondition)(nil)).Elem() +} + +func (i *aiAgentTagConditionPtrType) ToAiAgentTagConditionPtrOutput() AiAgentTagConditionPtrOutput { + return i.ToAiAgentTagConditionPtrOutputWithContext(context.Background()) +} + +func (i *aiAgentTagConditionPtrType) ToAiAgentTagConditionPtrOutputWithContext(ctx context.Context) AiAgentTagConditionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagConditionPtrOutput) +} + +// AiAgentTagConditionArrayInput is an input type that accepts AiAgentTagConditionArray and AiAgentTagConditionArrayOutput values. +// You can construct a concrete instance of `AiAgentTagConditionArrayInput` via: +// +// AiAgentTagConditionArray{ AiAgentTagConditionArgs{...} } +type AiAgentTagConditionArrayInput interface { + pulumi.Input + + ToAiAgentTagConditionArrayOutput() AiAgentTagConditionArrayOutput + ToAiAgentTagConditionArrayOutputWithContext(context.Context) AiAgentTagConditionArrayOutput +} + +type AiAgentTagConditionArray []AiAgentTagConditionInput + +func (AiAgentTagConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AiAgentTagCondition)(nil)).Elem() +} + +func (i AiAgentTagConditionArray) ToAiAgentTagConditionArrayOutput() AiAgentTagConditionArrayOutput { + return i.ToAiAgentTagConditionArrayOutputWithContext(context.Background()) +} + +func (i AiAgentTagConditionArray) ToAiAgentTagConditionArrayOutputWithContext(ctx context.Context) AiAgentTagConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagConditionArrayOutput) +} + +type AiAgentTagConditionOutput struct{ *pulumi.OutputState } + +func (AiAgentTagConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagCondition)(nil)).Elem() +} + +func (o AiAgentTagConditionOutput) ToAiAgentTagConditionOutput() AiAgentTagConditionOutput { + return o +} + +func (o AiAgentTagConditionOutput) ToAiAgentTagConditionOutputWithContext(ctx context.Context) AiAgentTagConditionOutput { + return o +} + +func (o AiAgentTagConditionOutput) ToAiAgentTagConditionPtrOutput() AiAgentTagConditionPtrOutput { + return o.ToAiAgentTagConditionPtrOutputWithContext(context.Background()) +} + +func (o AiAgentTagConditionOutput) ToAiAgentTagConditionPtrOutputWithContext(ctx context.Context) AiAgentTagConditionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentTagCondition) *AiAgentTagCondition { + return &v + }).(AiAgentTagConditionPtrOutput) +} + +func (o AiAgentTagConditionOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v AiAgentTagCondition) string { return v.Key }).(pulumi.StringOutput) +} + +func (o AiAgentTagConditionOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v AiAgentTagCondition) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type AiAgentTagConditionPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentTagConditionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagCondition)(nil)).Elem() +} + +func (o AiAgentTagConditionPtrOutput) ToAiAgentTagConditionPtrOutput() AiAgentTagConditionPtrOutput { + return o +} + +func (o AiAgentTagConditionPtrOutput) ToAiAgentTagConditionPtrOutputWithContext(ctx context.Context) AiAgentTagConditionPtrOutput { + return o +} + +func (o AiAgentTagConditionPtrOutput) Elem() AiAgentTagConditionOutput { + return o.ApplyT(func(v *AiAgentTagCondition) AiAgentTagCondition { + if v != nil { + return *v + } + var ret AiAgentTagCondition + return ret + }).(AiAgentTagConditionOutput) +} + +func (o AiAgentTagConditionPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgentTagCondition) *string { + if v == nil { + return nil + } + return &v.Key + }).(pulumi.StringPtrOutput) +} + +func (o AiAgentTagConditionPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AiAgentTagCondition) *string { + if v == nil { + return nil + } + return v.Value + }).(pulumi.StringPtrOutput) +} + +type AiAgentTagConditionArrayOutput struct{ *pulumi.OutputState } + +func (AiAgentTagConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AiAgentTagCondition)(nil)).Elem() +} + +func (o AiAgentTagConditionArrayOutput) ToAiAgentTagConditionArrayOutput() AiAgentTagConditionArrayOutput { + return o +} + +func (o AiAgentTagConditionArrayOutput) ToAiAgentTagConditionArrayOutputWithContext(ctx context.Context) AiAgentTagConditionArrayOutput { + return o +} + +func (o AiAgentTagConditionArrayOutput) Index(i pulumi.IntInput) AiAgentTagConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AiAgentTagCondition { + return vs[0].([]AiAgentTagCondition)[vs[1].(int)] + }).(AiAgentTagConditionOutput) +} + +type AiAgentTagFilter0Properties struct { + TagCondition AiAgentTagCondition `pulumi:"tagCondition"` +} + +// AiAgentTagFilter0PropertiesInput is an input type that accepts AiAgentTagFilter0PropertiesArgs and AiAgentTagFilter0PropertiesOutput values. +// You can construct a concrete instance of `AiAgentTagFilter0PropertiesInput` via: +// +// AiAgentTagFilter0PropertiesArgs{...} +type AiAgentTagFilter0PropertiesInput interface { + pulumi.Input + + ToAiAgentTagFilter0PropertiesOutput() AiAgentTagFilter0PropertiesOutput + ToAiAgentTagFilter0PropertiesOutputWithContext(context.Context) AiAgentTagFilter0PropertiesOutput +} + +type AiAgentTagFilter0PropertiesArgs struct { + TagCondition AiAgentTagConditionInput `pulumi:"tagCondition"` +} + +func (AiAgentTagFilter0PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagFilter0Properties)(nil)).Elem() +} + +func (i AiAgentTagFilter0PropertiesArgs) ToAiAgentTagFilter0PropertiesOutput() AiAgentTagFilter0PropertiesOutput { + return i.ToAiAgentTagFilter0PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentTagFilter0PropertiesArgs) ToAiAgentTagFilter0PropertiesOutputWithContext(ctx context.Context) AiAgentTagFilter0PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter0PropertiesOutput) +} + +func (i AiAgentTagFilter0PropertiesArgs) ToAiAgentTagFilter0PropertiesPtrOutput() AiAgentTagFilter0PropertiesPtrOutput { + return i.ToAiAgentTagFilter0PropertiesPtrOutputWithContext(context.Background()) +} + +func (i AiAgentTagFilter0PropertiesArgs) ToAiAgentTagFilter0PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter0PropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter0PropertiesOutput).ToAiAgentTagFilter0PropertiesPtrOutputWithContext(ctx) +} + +// AiAgentTagFilter0PropertiesPtrInput is an input type that accepts AiAgentTagFilter0PropertiesArgs, AiAgentTagFilter0PropertiesPtr and AiAgentTagFilter0PropertiesPtrOutput values. +// You can construct a concrete instance of `AiAgentTagFilter0PropertiesPtrInput` via: +// +// AiAgentTagFilter0PropertiesArgs{...} +// +// or: +// +// nil +type AiAgentTagFilter0PropertiesPtrInput interface { + pulumi.Input + + ToAiAgentTagFilter0PropertiesPtrOutput() AiAgentTagFilter0PropertiesPtrOutput + ToAiAgentTagFilter0PropertiesPtrOutputWithContext(context.Context) AiAgentTagFilter0PropertiesPtrOutput +} + +type aiAgentTagFilter0PropertiesPtrType AiAgentTagFilter0PropertiesArgs + +func AiAgentTagFilter0PropertiesPtr(v *AiAgentTagFilter0PropertiesArgs) AiAgentTagFilter0PropertiesPtrInput { + return (*aiAgentTagFilter0PropertiesPtrType)(v) +} + +func (*aiAgentTagFilter0PropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagFilter0Properties)(nil)).Elem() +} + +func (i *aiAgentTagFilter0PropertiesPtrType) ToAiAgentTagFilter0PropertiesPtrOutput() AiAgentTagFilter0PropertiesPtrOutput { + return i.ToAiAgentTagFilter0PropertiesPtrOutputWithContext(context.Background()) +} + +func (i *aiAgentTagFilter0PropertiesPtrType) ToAiAgentTagFilter0PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter0PropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter0PropertiesPtrOutput) +} + +type AiAgentTagFilter0PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentTagFilter0PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagFilter0Properties)(nil)).Elem() +} + +func (o AiAgentTagFilter0PropertiesOutput) ToAiAgentTagFilter0PropertiesOutput() AiAgentTagFilter0PropertiesOutput { + return o +} + +func (o AiAgentTagFilter0PropertiesOutput) ToAiAgentTagFilter0PropertiesOutputWithContext(ctx context.Context) AiAgentTagFilter0PropertiesOutput { + return o +} + +func (o AiAgentTagFilter0PropertiesOutput) ToAiAgentTagFilter0PropertiesPtrOutput() AiAgentTagFilter0PropertiesPtrOutput { + return o.ToAiAgentTagFilter0PropertiesPtrOutputWithContext(context.Background()) +} + +func (o AiAgentTagFilter0PropertiesOutput) ToAiAgentTagFilter0PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter0PropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentTagFilter0Properties) *AiAgentTagFilter0Properties { + return &v + }).(AiAgentTagFilter0PropertiesPtrOutput) +} + +func (o AiAgentTagFilter0PropertiesOutput) TagCondition() AiAgentTagConditionOutput { + return o.ApplyT(func(v AiAgentTagFilter0Properties) AiAgentTagCondition { return v.TagCondition }).(AiAgentTagConditionOutput) +} + +type AiAgentTagFilter0PropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentTagFilter0PropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagFilter0Properties)(nil)).Elem() +} + +func (o AiAgentTagFilter0PropertiesPtrOutput) ToAiAgentTagFilter0PropertiesPtrOutput() AiAgentTagFilter0PropertiesPtrOutput { + return o +} + +func (o AiAgentTagFilter0PropertiesPtrOutput) ToAiAgentTagFilter0PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter0PropertiesPtrOutput { + return o +} + +func (o AiAgentTagFilter0PropertiesPtrOutput) Elem() AiAgentTagFilter0PropertiesOutput { + return o.ApplyT(func(v *AiAgentTagFilter0Properties) AiAgentTagFilter0Properties { + if v != nil { + return *v + } + var ret AiAgentTagFilter0Properties + return ret + }).(AiAgentTagFilter0PropertiesOutput) +} + +func (o AiAgentTagFilter0PropertiesPtrOutput) TagCondition() AiAgentTagConditionPtrOutput { + return o.ApplyT(func(v *AiAgentTagFilter0Properties) *AiAgentTagCondition { + if v == nil { + return nil + } + return &v.TagCondition + }).(AiAgentTagConditionPtrOutput) +} + +type AiAgentTagFilter1Properties struct { + AndConditions []AiAgentTagCondition `pulumi:"andConditions"` +} + +// AiAgentTagFilter1PropertiesInput is an input type that accepts AiAgentTagFilter1PropertiesArgs and AiAgentTagFilter1PropertiesOutput values. +// You can construct a concrete instance of `AiAgentTagFilter1PropertiesInput` via: +// +// AiAgentTagFilter1PropertiesArgs{...} +type AiAgentTagFilter1PropertiesInput interface { + pulumi.Input + + ToAiAgentTagFilter1PropertiesOutput() AiAgentTagFilter1PropertiesOutput + ToAiAgentTagFilter1PropertiesOutputWithContext(context.Context) AiAgentTagFilter1PropertiesOutput +} + +type AiAgentTagFilter1PropertiesArgs struct { + AndConditions AiAgentTagConditionArrayInput `pulumi:"andConditions"` +} + +func (AiAgentTagFilter1PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagFilter1Properties)(nil)).Elem() +} + +func (i AiAgentTagFilter1PropertiesArgs) ToAiAgentTagFilter1PropertiesOutput() AiAgentTagFilter1PropertiesOutput { + return i.ToAiAgentTagFilter1PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentTagFilter1PropertiesArgs) ToAiAgentTagFilter1PropertiesOutputWithContext(ctx context.Context) AiAgentTagFilter1PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter1PropertiesOutput) +} + +func (i AiAgentTagFilter1PropertiesArgs) ToAiAgentTagFilter1PropertiesPtrOutput() AiAgentTagFilter1PropertiesPtrOutput { + return i.ToAiAgentTagFilter1PropertiesPtrOutputWithContext(context.Background()) +} + +func (i AiAgentTagFilter1PropertiesArgs) ToAiAgentTagFilter1PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter1PropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter1PropertiesOutput).ToAiAgentTagFilter1PropertiesPtrOutputWithContext(ctx) +} + +// AiAgentTagFilter1PropertiesPtrInput is an input type that accepts AiAgentTagFilter1PropertiesArgs, AiAgentTagFilter1PropertiesPtr and AiAgentTagFilter1PropertiesPtrOutput values. +// You can construct a concrete instance of `AiAgentTagFilter1PropertiesPtrInput` via: +// +// AiAgentTagFilter1PropertiesArgs{...} +// +// or: +// +// nil +type AiAgentTagFilter1PropertiesPtrInput interface { + pulumi.Input + + ToAiAgentTagFilter1PropertiesPtrOutput() AiAgentTagFilter1PropertiesPtrOutput + ToAiAgentTagFilter1PropertiesPtrOutputWithContext(context.Context) AiAgentTagFilter1PropertiesPtrOutput +} + +type aiAgentTagFilter1PropertiesPtrType AiAgentTagFilter1PropertiesArgs + +func AiAgentTagFilter1PropertiesPtr(v *AiAgentTagFilter1PropertiesArgs) AiAgentTagFilter1PropertiesPtrInput { + return (*aiAgentTagFilter1PropertiesPtrType)(v) +} + +func (*aiAgentTagFilter1PropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagFilter1Properties)(nil)).Elem() +} + +func (i *aiAgentTagFilter1PropertiesPtrType) ToAiAgentTagFilter1PropertiesPtrOutput() AiAgentTagFilter1PropertiesPtrOutput { + return i.ToAiAgentTagFilter1PropertiesPtrOutputWithContext(context.Background()) +} + +func (i *aiAgentTagFilter1PropertiesPtrType) ToAiAgentTagFilter1PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter1PropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter1PropertiesPtrOutput) +} + +type AiAgentTagFilter1PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentTagFilter1PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagFilter1Properties)(nil)).Elem() +} + +func (o AiAgentTagFilter1PropertiesOutput) ToAiAgentTagFilter1PropertiesOutput() AiAgentTagFilter1PropertiesOutput { + return o +} + +func (o AiAgentTagFilter1PropertiesOutput) ToAiAgentTagFilter1PropertiesOutputWithContext(ctx context.Context) AiAgentTagFilter1PropertiesOutput { + return o +} + +func (o AiAgentTagFilter1PropertiesOutput) ToAiAgentTagFilter1PropertiesPtrOutput() AiAgentTagFilter1PropertiesPtrOutput { + return o.ToAiAgentTagFilter1PropertiesPtrOutputWithContext(context.Background()) +} + +func (o AiAgentTagFilter1PropertiesOutput) ToAiAgentTagFilter1PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter1PropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentTagFilter1Properties) *AiAgentTagFilter1Properties { + return &v + }).(AiAgentTagFilter1PropertiesPtrOutput) +} + +func (o AiAgentTagFilter1PropertiesOutput) AndConditions() AiAgentTagConditionArrayOutput { + return o.ApplyT(func(v AiAgentTagFilter1Properties) []AiAgentTagCondition { return v.AndConditions }).(AiAgentTagConditionArrayOutput) +} + +type AiAgentTagFilter1PropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentTagFilter1PropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagFilter1Properties)(nil)).Elem() +} + +func (o AiAgentTagFilter1PropertiesPtrOutput) ToAiAgentTagFilter1PropertiesPtrOutput() AiAgentTagFilter1PropertiesPtrOutput { + return o +} + +func (o AiAgentTagFilter1PropertiesPtrOutput) ToAiAgentTagFilter1PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter1PropertiesPtrOutput { + return o +} + +func (o AiAgentTagFilter1PropertiesPtrOutput) Elem() AiAgentTagFilter1PropertiesOutput { + return o.ApplyT(func(v *AiAgentTagFilter1Properties) AiAgentTagFilter1Properties { + if v != nil { + return *v + } + var ret AiAgentTagFilter1Properties + return ret + }).(AiAgentTagFilter1PropertiesOutput) +} + +func (o AiAgentTagFilter1PropertiesPtrOutput) AndConditions() AiAgentTagConditionArrayOutput { + return o.ApplyT(func(v *AiAgentTagFilter1Properties) []AiAgentTagCondition { + if v == nil { + return nil + } + return v.AndConditions + }).(AiAgentTagConditionArrayOutput) +} + +type AiAgentTagFilter2Properties struct { + OrConditions []interface{} `pulumi:"orConditions"` +} + +// AiAgentTagFilter2PropertiesInput is an input type that accepts AiAgentTagFilter2PropertiesArgs and AiAgentTagFilter2PropertiesOutput values. +// You can construct a concrete instance of `AiAgentTagFilter2PropertiesInput` via: +// +// AiAgentTagFilter2PropertiesArgs{...} +type AiAgentTagFilter2PropertiesInput interface { + pulumi.Input + + ToAiAgentTagFilter2PropertiesOutput() AiAgentTagFilter2PropertiesOutput + ToAiAgentTagFilter2PropertiesOutputWithContext(context.Context) AiAgentTagFilter2PropertiesOutput +} + +type AiAgentTagFilter2PropertiesArgs struct { + OrConditions pulumi.ArrayInput `pulumi:"orConditions"` +} + +func (AiAgentTagFilter2PropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagFilter2Properties)(nil)).Elem() +} + +func (i AiAgentTagFilter2PropertiesArgs) ToAiAgentTagFilter2PropertiesOutput() AiAgentTagFilter2PropertiesOutput { + return i.ToAiAgentTagFilter2PropertiesOutputWithContext(context.Background()) +} + +func (i AiAgentTagFilter2PropertiesArgs) ToAiAgentTagFilter2PropertiesOutputWithContext(ctx context.Context) AiAgentTagFilter2PropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter2PropertiesOutput) +} + +func (i AiAgentTagFilter2PropertiesArgs) ToAiAgentTagFilter2PropertiesPtrOutput() AiAgentTagFilter2PropertiesPtrOutput { + return i.ToAiAgentTagFilter2PropertiesPtrOutputWithContext(context.Background()) +} + +func (i AiAgentTagFilter2PropertiesArgs) ToAiAgentTagFilter2PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter2PropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter2PropertiesOutput).ToAiAgentTagFilter2PropertiesPtrOutputWithContext(ctx) +} + +// AiAgentTagFilter2PropertiesPtrInput is an input type that accepts AiAgentTagFilter2PropertiesArgs, AiAgentTagFilter2PropertiesPtr and AiAgentTagFilter2PropertiesPtrOutput values. +// You can construct a concrete instance of `AiAgentTagFilter2PropertiesPtrInput` via: +// +// AiAgentTagFilter2PropertiesArgs{...} +// +// or: +// +// nil +type AiAgentTagFilter2PropertiesPtrInput interface { + pulumi.Input + + ToAiAgentTagFilter2PropertiesPtrOutput() AiAgentTagFilter2PropertiesPtrOutput + ToAiAgentTagFilter2PropertiesPtrOutputWithContext(context.Context) AiAgentTagFilter2PropertiesPtrOutput +} + +type aiAgentTagFilter2PropertiesPtrType AiAgentTagFilter2PropertiesArgs + +func AiAgentTagFilter2PropertiesPtr(v *AiAgentTagFilter2PropertiesArgs) AiAgentTagFilter2PropertiesPtrInput { + return (*aiAgentTagFilter2PropertiesPtrType)(v) +} + +func (*aiAgentTagFilter2PropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagFilter2Properties)(nil)).Elem() +} + +func (i *aiAgentTagFilter2PropertiesPtrType) ToAiAgentTagFilter2PropertiesPtrOutput() AiAgentTagFilter2PropertiesPtrOutput { + return i.ToAiAgentTagFilter2PropertiesPtrOutputWithContext(context.Background()) +} + +func (i *aiAgentTagFilter2PropertiesPtrType) ToAiAgentTagFilter2PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter2PropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AiAgentTagFilter2PropertiesPtrOutput) +} + +type AiAgentTagFilter2PropertiesOutput struct{ *pulumi.OutputState } + +func (AiAgentTagFilter2PropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AiAgentTagFilter2Properties)(nil)).Elem() +} + +func (o AiAgentTagFilter2PropertiesOutput) ToAiAgentTagFilter2PropertiesOutput() AiAgentTagFilter2PropertiesOutput { + return o +} + +func (o AiAgentTagFilter2PropertiesOutput) ToAiAgentTagFilter2PropertiesOutputWithContext(ctx context.Context) AiAgentTagFilter2PropertiesOutput { + return o +} + +func (o AiAgentTagFilter2PropertiesOutput) ToAiAgentTagFilter2PropertiesPtrOutput() AiAgentTagFilter2PropertiesPtrOutput { + return o.ToAiAgentTagFilter2PropertiesPtrOutputWithContext(context.Background()) +} + +func (o AiAgentTagFilter2PropertiesOutput) ToAiAgentTagFilter2PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter2PropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AiAgentTagFilter2Properties) *AiAgentTagFilter2Properties { + return &v + }).(AiAgentTagFilter2PropertiesPtrOutput) +} + +func (o AiAgentTagFilter2PropertiesOutput) OrConditions() pulumi.ArrayOutput { + return o.ApplyT(func(v AiAgentTagFilter2Properties) []interface{} { return v.OrConditions }).(pulumi.ArrayOutput) +} + +type AiAgentTagFilter2PropertiesPtrOutput struct{ *pulumi.OutputState } + +func (AiAgentTagFilter2PropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AiAgentTagFilter2Properties)(nil)).Elem() +} + +func (o AiAgentTagFilter2PropertiesPtrOutput) ToAiAgentTagFilter2PropertiesPtrOutput() AiAgentTagFilter2PropertiesPtrOutput { + return o +} + +func (o AiAgentTagFilter2PropertiesPtrOutput) ToAiAgentTagFilter2PropertiesPtrOutputWithContext(ctx context.Context) AiAgentTagFilter2PropertiesPtrOutput { + return o +} + +func (o AiAgentTagFilter2PropertiesPtrOutput) Elem() AiAgentTagFilter2PropertiesOutput { + return o.ApplyT(func(v *AiAgentTagFilter2Properties) AiAgentTagFilter2Properties { + if v != nil { + return *v + } + var ret AiAgentTagFilter2Properties + return ret + }).(AiAgentTagFilter2PropertiesOutput) +} + +func (o AiAgentTagFilter2PropertiesPtrOutput) OrConditions() pulumi.ArrayOutput { + return o.ApplyT(func(v *AiAgentTagFilter2Properties) []interface{} { + if v == nil { + return nil + } + return v.OrConditions + }).(pulumi.ArrayOutput) +} + type AiPromptAiPromptTemplateConfiguration struct { } @@ -956,6 +2458,27 @@ type KnowledgeBaseTag struct { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAiAgentConfiguration0PropertiesInput)(nil)).Elem(), AiAgentAiAgentConfiguration0PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAiAgentConfiguration1PropertiesInput)(nil)).Elem(), AiAgentAiAgentConfiguration1PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAnswerRecommendationAiAgentConfigurationInput)(nil)).Elem(), AiAgentAnswerRecommendationAiAgentConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAssociationConfigurationInput)(nil)).Elem(), AiAgentAssociationConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAssociationConfigurationArrayInput)(nil)).Elem(), AiAgentAssociationConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAssociationConfigurationDataPropertiesInput)(nil)).Elem(), AiAgentAssociationConfigurationDataPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentAssociationConfigurationDataPropertiesPtrInput)(nil)).Elem(), AiAgentAssociationConfigurationDataPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentKnowledgeBaseAssociationConfigurationDataInput)(nil)).Elem(), AiAgentKnowledgeBaseAssociationConfigurationDataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentKnowledgeBaseAssociationConfigurationDataPtrInput)(nil)).Elem(), AiAgentKnowledgeBaseAssociationConfigurationDataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentManualSearchAiAgentConfigurationInput)(nil)).Elem(), AiAgentManualSearchAiAgentConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentOrCondition0PropertiesInput)(nil)).Elem(), AiAgentOrCondition0PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentOrCondition1PropertiesInput)(nil)).Elem(), AiAgentOrCondition1PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagConditionInput)(nil)).Elem(), AiAgentTagConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagConditionPtrInput)(nil)).Elem(), AiAgentTagConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagConditionArrayInput)(nil)).Elem(), AiAgentTagConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagFilter0PropertiesInput)(nil)).Elem(), AiAgentTagFilter0PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagFilter0PropertiesPtrInput)(nil)).Elem(), AiAgentTagFilter0PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagFilter1PropertiesInput)(nil)).Elem(), AiAgentTagFilter1PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagFilter1PropertiesPtrInput)(nil)).Elem(), AiAgentTagFilter1PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagFilter2PropertiesInput)(nil)).Elem(), AiAgentTagFilter2PropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AiAgentTagFilter2PropertiesPtrInput)(nil)).Elem(), AiAgentTagFilter2PropertiesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AiPromptAiPromptTemplateConfigurationInput)(nil)).Elem(), AiPromptAiPromptTemplateConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AssistantAssociationAssociationDataInput)(nil)).Elem(), AssistantAssociationAssociationDataArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AssistantServerSideEncryptionConfigurationInput)(nil)).Elem(), AssistantServerSideEncryptionConfigurationArgs{}) @@ -968,6 +2491,31 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*KnowledgeBaseServerSideEncryptionConfigurationPtrInput)(nil)).Elem(), KnowledgeBaseServerSideEncryptionConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KnowledgeBaseSourceConfigurationInput)(nil)).Elem(), KnowledgeBaseSourceConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KnowledgeBaseSourceConfigurationPtrInput)(nil)).Elem(), KnowledgeBaseSourceConfigurationArgs{}) + pulumi.RegisterOutputType(AiAgentAiAgentConfiguration0PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentAiAgentConfiguration0PropertiesPtrOutput{}) + pulumi.RegisterOutputType(AiAgentAiAgentConfiguration1PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentAiAgentConfiguration1PropertiesPtrOutput{}) + pulumi.RegisterOutputType(AiAgentAnswerRecommendationAiAgentConfigurationOutput{}) + pulumi.RegisterOutputType(AiAgentAnswerRecommendationAiAgentConfigurationPtrOutput{}) + pulumi.RegisterOutputType(AiAgentAssociationConfigurationOutput{}) + pulumi.RegisterOutputType(AiAgentAssociationConfigurationArrayOutput{}) + pulumi.RegisterOutputType(AiAgentAssociationConfigurationDataPropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentAssociationConfigurationDataPropertiesPtrOutput{}) + pulumi.RegisterOutputType(AiAgentKnowledgeBaseAssociationConfigurationDataOutput{}) + pulumi.RegisterOutputType(AiAgentKnowledgeBaseAssociationConfigurationDataPtrOutput{}) + pulumi.RegisterOutputType(AiAgentManualSearchAiAgentConfigurationOutput{}) + pulumi.RegisterOutputType(AiAgentManualSearchAiAgentConfigurationPtrOutput{}) + pulumi.RegisterOutputType(AiAgentOrCondition0PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentOrCondition1PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentTagConditionOutput{}) + pulumi.RegisterOutputType(AiAgentTagConditionPtrOutput{}) + pulumi.RegisterOutputType(AiAgentTagConditionArrayOutput{}) + pulumi.RegisterOutputType(AiAgentTagFilter0PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentTagFilter0PropertiesPtrOutput{}) + pulumi.RegisterOutputType(AiAgentTagFilter1PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentTagFilter1PropertiesPtrOutput{}) + pulumi.RegisterOutputType(AiAgentTagFilter2PropertiesOutput{}) + pulumi.RegisterOutputType(AiAgentTagFilter2PropertiesPtrOutput{}) pulumi.RegisterOutputType(AiPromptAiPromptTemplateConfigurationOutput{}) pulumi.RegisterOutputType(AiPromptAiPromptTemplateConfigurationPtrOutput{}) pulumi.RegisterOutputType(AssistantAssociationAssociationDataOutput{}) diff --git a/sdk/nodejs/appsync/api.ts b/sdk/nodejs/appsync/api.ts index ca4cda16ea..28cdefa037 100644 --- a/sdk/nodejs/appsync/api.ts +++ b/sdk/nodejs/appsync/api.ts @@ -47,8 +47,19 @@ export class Api extends pulumi.CustomResource { public /*out*/ readonly apiId!: pulumi.Output; public /*out*/ readonly dns!: pulumi.Output<{[key: string]: string}>; public readonly eventConfig!: pulumi.Output; + /** + * The API name. + */ public readonly name!: pulumi.Output; + /** + * The owner contact information for an API resource. + * + * This field accepts any string input with a length of 0 - 256 characters. + */ public readonly ownerContact!: pulumi.Output; + /** + * The tags. + */ public readonly tags!: pulumi.Output; /** @@ -88,7 +99,18 @@ export class Api extends pulumi.CustomResource { */ export interface ApiArgs { eventConfig?: pulumi.Input; + /** + * The API name. + */ name?: pulumi.Input; + /** + * The owner contact information for an API resource. + * + * This field accepts any string input with a length of 0 - 256 characters. + */ ownerContact?: pulumi.Input; + /** + * The tags. + */ tags?: pulumi.Input[]>; } diff --git a/sdk/nodejs/appsync/getApi.ts b/sdk/nodejs/appsync/getApi.ts index 6cd4f4bb8e..f9da93603a 100644 --- a/sdk/nodejs/appsync/getApi.ts +++ b/sdk/nodejs/appsync/getApi.ts @@ -35,8 +35,19 @@ export interface GetApiResult { readonly apiId?: string; readonly dns?: {[key: string]: string}; readonly eventConfig?: outputs.appsync.ApiEventConfig; + /** + * The API name. + */ readonly name?: string; + /** + * The owner contact information for an API resource. + * + * This field accepts any string input with a length of 0 - 256 characters. + */ readonly ownerContact?: string; + /** + * The tags. + */ readonly tags?: outputs.Tag[]; } /** diff --git a/sdk/nodejs/bedrock/applicationInferenceProfile.ts b/sdk/nodejs/bedrock/applicationInferenceProfile.ts new file mode 100644 index 0000000000..c7bf8659a7 --- /dev/null +++ b/sdk/nodejs/bedrock/applicationInferenceProfile.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + */ +export class ApplicationInferenceProfile extends pulumi.CustomResource { + /** + * Get an existing ApplicationInferenceProfile resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ApplicationInferenceProfile { + return new ApplicationInferenceProfile(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'aws-native:bedrock:ApplicationInferenceProfile'; + + /** + * Returns true if the given object is an instance of ApplicationInferenceProfile. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ApplicationInferenceProfile { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ApplicationInferenceProfile.__pulumiType; + } + + /** + * Time Stamp + */ + public /*out*/ readonly createdAt!: pulumi.Output; + /** + * Description of the inference profile + */ + public readonly description!: pulumi.Output; + public /*out*/ readonly inferenceProfileArn!: pulumi.Output; + public /*out*/ readonly inferenceProfileId!: pulumi.Output; + /** + * Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + */ + public /*out*/ readonly inferenceProfileIdentifier!: pulumi.Output; + public readonly inferenceProfileName!: pulumi.Output; + public readonly modelSource!: pulumi.Output; + /** + * List of model configuration + */ + public /*out*/ readonly models!: pulumi.Output; + public /*out*/ readonly status!: pulumi.Output; + /** + * List of Tags + */ + public readonly tags!: pulumi.Output; + public /*out*/ readonly type!: pulumi.Output; + /** + * Time Stamp + */ + public /*out*/ readonly updatedAt!: pulumi.Output; + + /** + * Create a ApplicationInferenceProfile resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: ApplicationInferenceProfileArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["inferenceProfileName"] = args ? args.inferenceProfileName : undefined; + resourceInputs["modelSource"] = args ? args.modelSource : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["inferenceProfileArn"] = undefined /*out*/; + resourceInputs["inferenceProfileId"] = undefined /*out*/; + resourceInputs["inferenceProfileIdentifier"] = undefined /*out*/; + resourceInputs["models"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + } else { + resourceInputs["createdAt"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["inferenceProfileArn"] = undefined /*out*/; + resourceInputs["inferenceProfileId"] = undefined /*out*/; + resourceInputs["inferenceProfileIdentifier"] = undefined /*out*/; + resourceInputs["inferenceProfileName"] = undefined /*out*/; + resourceInputs["modelSource"] = undefined /*out*/; + resourceInputs["models"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["updatedAt"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const replaceOnChanges = { replaceOnChanges: ["description", "inferenceProfileName", "modelSource"] }; + opts = pulumi.mergeOptions(opts, replaceOnChanges); + super(ApplicationInferenceProfile.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a ApplicationInferenceProfile resource. + */ +export interface ApplicationInferenceProfileArgs { + /** + * Description of the inference profile + */ + description?: pulumi.Input; + inferenceProfileName?: pulumi.Input; + modelSource?: pulumi.Input; + /** + * List of Tags + */ + tags?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/bedrock/getApplicationInferenceProfile.ts b/sdk/nodejs/bedrock/getApplicationInferenceProfile.ts new file mode 100644 index 0000000000..c10e62dfdd --- /dev/null +++ b/sdk/nodejs/bedrock/getApplicationInferenceProfile.ts @@ -0,0 +1,68 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + */ +export function getApplicationInferenceProfile(args: GetApplicationInferenceProfileArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("aws-native:bedrock:getApplicationInferenceProfile", { + "inferenceProfileIdentifier": args.inferenceProfileIdentifier, + }, opts); +} + +export interface GetApplicationInferenceProfileArgs { + /** + * Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + */ + inferenceProfileIdentifier: string; +} + +export interface GetApplicationInferenceProfileResult { + /** + * Time Stamp + */ + readonly createdAt?: string; + readonly inferenceProfileArn?: string; + readonly inferenceProfileId?: string; + /** + * Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + */ + readonly inferenceProfileIdentifier?: string; + /** + * List of model configuration + */ + readonly models?: outputs.bedrock.ApplicationInferenceProfileInferenceProfileModel[]; + readonly status?: enums.bedrock.ApplicationInferenceProfileInferenceProfileStatus; + /** + * List of Tags + */ + readonly tags?: outputs.Tag[]; + readonly type?: enums.bedrock.ApplicationInferenceProfileInferenceProfileType; + /** + * Time Stamp + */ + readonly updatedAt?: string; +} +/** + * Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + */ +export function getApplicationInferenceProfileOutput(args: GetApplicationInferenceProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getApplicationInferenceProfile", { + "inferenceProfileIdentifier": args.inferenceProfileIdentifier, + }, opts); +} + +export interface GetApplicationInferenceProfileOutputArgs { + /** + * Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + */ + inferenceProfileIdentifier: pulumi.Input; +} diff --git a/sdk/nodejs/bedrock/index.ts b/sdk/nodejs/bedrock/index.ts index 9acddecabc..eb2ad0d268 100644 --- a/sdk/nodejs/bedrock/index.ts +++ b/sdk/nodejs/bedrock/index.ts @@ -15,6 +15,11 @@ export type AgentAlias = import("./agentAlias").AgentAlias; export const AgentAlias: typeof import("./agentAlias").AgentAlias = null as any; utilities.lazyLoad(exports, ["AgentAlias"], () => require("./agentAlias")); +export { ApplicationInferenceProfileArgs } from "./applicationInferenceProfile"; +export type ApplicationInferenceProfile = import("./applicationInferenceProfile").ApplicationInferenceProfile; +export const ApplicationInferenceProfile: typeof import("./applicationInferenceProfile").ApplicationInferenceProfile = null as any; +utilities.lazyLoad(exports, ["ApplicationInferenceProfile"], () => require("./applicationInferenceProfile")); + export { DataSourceArgs } from "./dataSource"; export type DataSource = import("./dataSource").DataSource; export const DataSource: typeof import("./dataSource").DataSource = null as any; @@ -45,6 +50,11 @@ export const getAgentAlias: typeof import("./getAgentAlias").getAgentAlias = nul export const getAgentAliasOutput: typeof import("./getAgentAlias").getAgentAliasOutput = null as any; utilities.lazyLoad(exports, ["getAgentAlias","getAgentAliasOutput"], () => require("./getAgentAlias")); +export { GetApplicationInferenceProfileArgs, GetApplicationInferenceProfileResult, GetApplicationInferenceProfileOutputArgs } from "./getApplicationInferenceProfile"; +export const getApplicationInferenceProfile: typeof import("./getApplicationInferenceProfile").getApplicationInferenceProfile = null as any; +export const getApplicationInferenceProfileOutput: typeof import("./getApplicationInferenceProfile").getApplicationInferenceProfileOutput = null as any; +utilities.lazyLoad(exports, ["getApplicationInferenceProfile","getApplicationInferenceProfileOutput"], () => require("./getApplicationInferenceProfile")); + export { GetDataSourceArgs, GetDataSourceResult, GetDataSourceOutputArgs } from "./getDataSource"; export const getDataSource: typeof import("./getDataSource").getDataSource = null as any; export const getDataSourceOutput: typeof import("./getDataSource").getDataSourceOutput = null as any; @@ -127,6 +137,8 @@ const _module = { return new Agent(name, undefined, { urn }) case "aws-native:bedrock:AgentAlias": return new AgentAlias(name, undefined, { urn }) + case "aws-native:bedrock:ApplicationInferenceProfile": + return new ApplicationInferenceProfile(name, undefined, { urn }) case "aws-native:bedrock:DataSource": return new DataSource(name, undefined, { urn }) case "aws-native:bedrock:Flow": diff --git a/sdk/nodejs/datasync/getTask.ts b/sdk/nodejs/datasync/getTask.ts index 23f8d4ecee..679cf4ba01 100644 --- a/sdk/nodejs/datasync/getTask.ts +++ b/sdk/nodejs/datasync/getTask.ts @@ -38,7 +38,7 @@ export interface GetTaskResult { */ readonly excludes?: outputs.datasync.TaskFilterRule[]; /** - * Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ readonly includes?: outputs.datasync.TaskFilterRule[]; /** diff --git a/sdk/nodejs/datasync/task.ts b/sdk/nodejs/datasync/task.ts index 7987f42142..1aa0038b06 100644 --- a/sdk/nodejs/datasync/task.ts +++ b/sdk/nodejs/datasync/task.ts @@ -80,7 +80,7 @@ export class Task extends pulumi.CustomResource { */ public readonly excludes!: pulumi.Output; /** - * Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public readonly includes!: pulumi.Output; /** @@ -199,7 +199,7 @@ export interface TaskArgs { */ excludes?: pulumi.Input[]>; /** - * Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ includes?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/events/connection.ts b/sdk/nodejs/events/connection.ts index 122335767d..f5613a9f8f 100644 --- a/sdk/nodejs/events/connection.ts +++ b/sdk/nodejs/events/connection.ts @@ -72,13 +72,13 @@ export class Connection extends pulumi.CustomResource { /** * A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. */ - public readonly authParameters!: pulumi.Output; + public readonly authParameters!: pulumi.Output; /** * The type of authorization to use for the connection. * * > OAUTH tokens are refreshed when a 401 or 407 response is returned. */ - public readonly authorizationType!: pulumi.Output; + public readonly authorizationType!: pulumi.Output; /** * Description of the connection. */ @@ -99,16 +99,10 @@ export class Connection extends pulumi.CustomResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions) { + constructor(name: string, args?: ConnectionArgs, opts?: pulumi.CustomResourceOptions) { let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (!opts.id) { - if ((!args || args.authParameters === undefined) && !opts.urn) { - throw new Error("Missing required property 'authParameters'"); - } - if ((!args || args.authorizationType === undefined) && !opts.urn) { - throw new Error("Missing required property 'authorizationType'"); - } resourceInputs["authParameters"] = args ? args.authParameters : undefined; resourceInputs["authorizationType"] = args ? args.authorizationType : undefined; resourceInputs["description"] = args ? args.description : undefined; @@ -137,13 +131,13 @@ export interface ConnectionArgs { /** * A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. */ - authParameters: pulumi.Input; + authParameters?: pulumi.Input; /** * The type of authorization to use for the connection. * * > OAUTH tokens are refreshed when a 401 or 407 response is returned. */ - authorizationType: pulumi.Input; + authorizationType?: pulumi.Input; /** * Description of the connection. */ diff --git a/sdk/nodejs/opensearchservice/domain.ts b/sdk/nodejs/opensearchservice/domain.ts index 1d82853ed1..6c6e31ef88 100644 --- a/sdk/nodejs/opensearchservice/domain.ts +++ b/sdk/nodejs/opensearchservice/domain.ts @@ -110,6 +110,9 @@ export class Domain extends pulumi.CustomResource { * If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . */ public readonly engineVersion!: pulumi.Output; + /** + * Container for IAM Identity Center Option control for the domain. + */ public readonly identityCenterOptions!: pulumi.Output; /** * Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. @@ -278,6 +281,9 @@ export interface DomainArgs { * If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . */ engineVersion?: pulumi.Input; + /** + * Container for IAM Identity Center Option control for the domain. + */ identityCenterOptions?: pulumi.Input; /** * Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. diff --git a/sdk/nodejs/opensearchservice/getDomain.ts b/sdk/nodejs/opensearchservice/getDomain.ts index 9de08a9675..a5d932f1ad 100644 --- a/sdk/nodejs/opensearchservice/getDomain.ts +++ b/sdk/nodejs/opensearchservice/getDomain.ts @@ -94,6 +94,9 @@ export interface GetDomainResult { * The resource ID. For example, `123456789012/my-domain` . */ readonly id?: string; + /** + * Container for IAM Identity Center Option control for the domain. + */ readonly identityCenterOptions?: outputs.opensearchservice.DomainIdentityCenterOptions; /** * Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 1e3b9ac5ce..cc157a77b1 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -266,12 +266,14 @@ "batch/schedulingPolicy.ts", "bedrock/agent.ts", "bedrock/agentAlias.ts", + "bedrock/applicationInferenceProfile.ts", "bedrock/dataSource.ts", "bedrock/flow.ts", "bedrock/flowAlias.ts", "bedrock/flowVersion.ts", "bedrock/getAgent.ts", "bedrock/getAgentAlias.ts", + "bedrock/getApplicationInferenceProfile.ts", "bedrock/getDataSource.ts", "bedrock/getFlow.ts", "bedrock/getFlowAlias.ts", @@ -2470,10 +2472,12 @@ "wafv2/ruleGroup.ts", "wafv2/webAcl.ts", "wafv2/webAclAssociation.ts", + "wisdom/aiAgent.ts", "wisdom/aiPrompt.ts", "wisdom/aiPromptVersion.ts", "wisdom/assistant.ts", "wisdom/assistantAssociation.ts", + "wisdom/getAiAgent.ts", "wisdom/getAiPrompt.ts", "wisdom/getAiPromptVersion.ts", "wisdom/getAssistant.ts", diff --git a/sdk/nodejs/types/enums/bedrock/index.ts b/sdk/nodejs/types/enums/bedrock/index.ts index 7f049b6b21..39ca4134c7 100644 --- a/sdk/nodejs/types/enums/bedrock/index.ts +++ b/sdk/nodejs/types/enums/bedrock/index.ts @@ -115,6 +115,25 @@ export const AgentType = { */ export type AgentType = (typeof AgentType)[keyof typeof AgentType]; +export const ApplicationInferenceProfileInferenceProfileStatus = { + Active: "ACTIVE", +} as const; + +/** + * Status of the Inference Profile + */ +export type ApplicationInferenceProfileInferenceProfileStatus = (typeof ApplicationInferenceProfileInferenceProfileStatus)[keyof typeof ApplicationInferenceProfileInferenceProfileStatus]; + +export const ApplicationInferenceProfileInferenceProfileType = { + Application: "APPLICATION", + SystemDefined: "SYSTEM_DEFINED", +} as const; + +/** + * Type of the Inference Profile + */ +export type ApplicationInferenceProfileInferenceProfileType = (typeof ApplicationInferenceProfileInferenceProfileType)[keyof typeof ApplicationInferenceProfileInferenceProfileType]; + export const DataSourceChunkingStrategy = { FixedSize: "FIXED_SIZE", None: "NONE", diff --git a/sdk/nodejs/types/enums/wisdom/index.ts b/sdk/nodejs/types/enums/wisdom/index.ts index 00d08717f4..45149f2ef4 100644 --- a/sdk/nodejs/types/enums/wisdom/index.ts +++ b/sdk/nodejs/types/enums/wisdom/index.ts @@ -2,6 +2,26 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** +export const AiAgentAiAgentAssociationConfigurationType = { + KnowledgeBase: "KNOWLEDGE_BASE", +} as const; + +export type AiAgentAiAgentAssociationConfigurationType = (typeof AiAgentAiAgentAssociationConfigurationType)[keyof typeof AiAgentAiAgentAssociationConfigurationType]; + +export const AiAgentAiAgentType = { + ManualSearch: "MANUAL_SEARCH", + AnswerRecommendation: "ANSWER_RECOMMENDATION", +} as const; + +export type AiAgentAiAgentType = (typeof AiAgentAiAgentType)[keyof typeof AiAgentAiAgentType]; + +export const AiAgentKnowledgeBaseSearchType = { + Hybrid: "HYBRID", + Semantic: "SEMANTIC", +} as const; + +export type AiAgentKnowledgeBaseSearchType = (typeof AiAgentKnowledgeBaseSearchType)[keyof typeof AiAgentKnowledgeBaseSearchType]; + export const AiPromptAiPromptApiFormat = { AnthropicClaudeMessages: "ANTHROPIC_CLAUDE_MESSAGES", AnthropicClaudeTextCompletions: "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 14e350ce53..97dfd040dc 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -9410,6 +9410,17 @@ export namespace bedrock { s3ObjectKey?: pulumi.Input; } + /** + * Various ways to encode a list of models in a CreateInferenceProfile request + */ + export interface ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs { + /** + * Source arns for a custom inference profile to copy its regional load balancing config from. This + * can either be a foundation model or predefined inference profile ARN. + */ + copyFrom: pulumi.Input; + } + /** * Settings for a foundation model used to parse documents for a data source. */ @@ -24211,7 +24222,7 @@ export namespace ecs { */ maximumScalingStepSize?: pulumi.Input; /** - * The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + * The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. * * When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. * @@ -47358,6 +47369,9 @@ export namespace networkfirewall { } export interface FirewallPolicyStatefulEngineOptionsArgs { + /** + * Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + */ flowTimeouts?: pulumi.Input; /** * Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . @@ -47373,6 +47387,9 @@ export namespace networkfirewall { streamExceptionPolicy?: pulumi.Input; } + /** + * Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + */ export interface FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs { tcpIdleTimeoutSeconds?: pulumi.Input; } @@ -88099,6 +88116,10 @@ export namespace ses { * An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. */ export interface ConfigurationSetDeliveryOptionsArgs { + /** + * Specifies the maximum time until which SES will retry sending emails + */ + maxDeliverySeconds?: pulumi.Input; /** * The name of the dedicated IP pool to associate with the configuration set. */ @@ -94032,6 +94053,67 @@ export namespace wafv2 { } export namespace wisdom { + export interface AiAgentAiAgentConfiguration0PropertiesArgs { + manualSearchAiAgentConfiguration: pulumi.Input; + } + + export interface AiAgentAiAgentConfiguration1PropertiesArgs { + answerRecommendationAiAgentConfiguration: pulumi.Input; + } + + export interface AiAgentAnswerRecommendationAiAgentConfigurationArgs { + answerGenerationAiPromptId?: pulumi.Input; + associationConfigurations?: pulumi.Input[]>; + intentLabelingGenerationAiPromptId?: pulumi.Input; + queryReformulationAiPromptId?: pulumi.Input; + } + + export interface AiAgentAssociationConfigurationArgs { + associationConfigurationData?: pulumi.Input; + associationId?: pulumi.Input; + associationType?: pulumi.Input; + } + + export interface AiAgentAssociationConfigurationDataPropertiesArgs { + knowledgeBaseAssociationConfigurationData: pulumi.Input; + } + + export interface AiAgentKnowledgeBaseAssociationConfigurationDataArgs { + contentTagFilter?: pulumi.Input; + maxResults?: pulumi.Input; + overrideKnowledgeBaseSearchType?: pulumi.Input; + } + + export interface AiAgentManualSearchAiAgentConfigurationArgs { + answerGenerationAiPromptId?: pulumi.Input; + associationConfigurations?: pulumi.Input[]>; + } + + export interface AiAgentOrCondition0PropertiesArgs { + andConditions: pulumi.Input[]>; + } + + export interface AiAgentOrCondition1PropertiesArgs { + tagCondition: pulumi.Input; + } + + export interface AiAgentTagConditionArgs { + key: pulumi.Input; + value?: pulumi.Input; + } + + export interface AiAgentTagFilter0PropertiesArgs { + tagCondition: pulumi.Input; + } + + export interface AiAgentTagFilter1PropertiesArgs { + andConditions: pulumi.Input[]>; + } + + export interface AiAgentTagFilter2PropertiesArgs { + orConditions: pulumi.Input[]>; + } + export interface AiPromptAiPromptTemplateConfigurationArgs { } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index b64cb74956..6c102b9c83 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -9359,6 +9359,27 @@ export namespace bedrock { s3ObjectKey?: string; } + /** + * Model configuration + */ + export interface ApplicationInferenceProfileInferenceProfileModel { + /** + * ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs + */ + modelArn?: string; + } + + /** + * Various ways to encode a list of models in a CreateInferenceProfile request + */ + export interface ApplicationInferenceProfileInferenceProfileModelSourceProperties { + /** + * Source arns for a custom inference profile to copy its regional load balancing config from. This + * can either be a foundation model or predefined inference profile ARN. + */ + copyFrom: string; + } + /** * Settings for a foundation model used to parse documents for a data source. */ @@ -25543,7 +25564,7 @@ export namespace ecs { */ maximumScalingStepSize?: number; /** - * The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + * The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. * * When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. * @@ -48903,6 +48924,9 @@ export namespace networkfirewall { } export interface FirewallPolicyStatefulEngineOptions { + /** + * Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + */ flowTimeouts?: outputs.networkfirewall.FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties; /** * Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . @@ -48918,6 +48942,9 @@ export namespace networkfirewall { streamExceptionPolicy?: enums.networkfirewall.FirewallPolicyStreamExceptionPolicy; } + /** + * Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + */ export interface FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties { tcpIdleTimeoutSeconds?: number; } @@ -90482,6 +90509,10 @@ export namespace ses { * An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. */ export interface ConfigurationSetDeliveryOptions { + /** + * Specifies the maximum time until which SES will retry sending emails + */ + maxDeliverySeconds?: number; /** * The name of the dedicated IP pool to associate with the configuration set. */ @@ -96454,6 +96485,67 @@ export namespace wafv2 { } export namespace wisdom { + export interface AiAgentAiAgentConfiguration0Properties { + manualSearchAiAgentConfiguration: outputs.wisdom.AiAgentManualSearchAiAgentConfiguration; + } + + export interface AiAgentAiAgentConfiguration1Properties { + answerRecommendationAiAgentConfiguration: outputs.wisdom.AiAgentAnswerRecommendationAiAgentConfiguration; + } + + export interface AiAgentAnswerRecommendationAiAgentConfiguration { + answerGenerationAiPromptId?: string; + associationConfigurations?: outputs.wisdom.AiAgentAssociationConfiguration[]; + intentLabelingGenerationAiPromptId?: string; + queryReformulationAiPromptId?: string; + } + + export interface AiAgentAssociationConfiguration { + associationConfigurationData?: outputs.wisdom.AiAgentAssociationConfigurationDataProperties; + associationId?: string; + associationType?: enums.wisdom.AiAgentAiAgentAssociationConfigurationType; + } + + export interface AiAgentAssociationConfigurationDataProperties { + knowledgeBaseAssociationConfigurationData: outputs.wisdom.AiAgentKnowledgeBaseAssociationConfigurationData; + } + + export interface AiAgentKnowledgeBaseAssociationConfigurationData { + contentTagFilter?: outputs.wisdom.AiAgentTagFilter0Properties | outputs.wisdom.AiAgentTagFilter1Properties | outputs.wisdom.AiAgentTagFilter2Properties; + maxResults?: number; + overrideKnowledgeBaseSearchType?: enums.wisdom.AiAgentKnowledgeBaseSearchType; + } + + export interface AiAgentManualSearchAiAgentConfiguration { + answerGenerationAiPromptId?: string; + associationConfigurations?: outputs.wisdom.AiAgentAssociationConfiguration[]; + } + + export interface AiAgentOrCondition0Properties { + andConditions: outputs.wisdom.AiAgentTagCondition[]; + } + + export interface AiAgentOrCondition1Properties { + tagCondition: outputs.wisdom.AiAgentTagCondition; + } + + export interface AiAgentTagCondition { + key: string; + value?: string; + } + + export interface AiAgentTagFilter0Properties { + tagCondition: outputs.wisdom.AiAgentTagCondition; + } + + export interface AiAgentTagFilter1Properties { + andConditions: outputs.wisdom.AiAgentTagCondition[]; + } + + export interface AiAgentTagFilter2Properties { + orConditions: (outputs.wisdom.AiAgentOrCondition0Properties | outputs.wisdom.AiAgentOrCondition1Properties)[]; + } + export interface AiPromptAiPromptTemplateConfiguration { } diff --git a/sdk/nodejs/wisdom/aiAgent.ts b/sdk/nodejs/wisdom/aiAgent.ts new file mode 100644 index 0000000000..d705129d81 --- /dev/null +++ b/sdk/nodejs/wisdom/aiAgent.ts @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Definition of AWS::Wisdom::AIAgent Resource Type + */ +export class AiAgent extends pulumi.CustomResource { + /** + * Get an existing AiAgent resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AiAgent { + return new AiAgent(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'aws-native:wisdom:AiAgent'; + + /** + * Returns true if the given object is an instance of AiAgent. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is AiAgent { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AiAgent.__pulumiType; + } + + public /*out*/ readonly aiAgentArn!: pulumi.Output; + public /*out*/ readonly aiAgentId!: pulumi.Output; + public /*out*/ readonly assistantArn!: pulumi.Output; + public readonly assistantId!: pulumi.Output; + public readonly configuration!: pulumi.Output; + public readonly description!: pulumi.Output; + public readonly name!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + public readonly type!: pulumi.Output; + + /** + * Create a AiAgent resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: AiAgentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.assistantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'assistantId'"); + } + if ((!args || args.configuration === undefined) && !opts.urn) { + throw new Error("Missing required property 'configuration'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["assistantId"] = args ? args.assistantId : undefined; + resourceInputs["configuration"] = args ? args.configuration : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["aiAgentArn"] = undefined /*out*/; + resourceInputs["aiAgentId"] = undefined /*out*/; + resourceInputs["assistantArn"] = undefined /*out*/; + } else { + resourceInputs["aiAgentArn"] = undefined /*out*/; + resourceInputs["aiAgentId"] = undefined /*out*/; + resourceInputs["assistantArn"] = undefined /*out*/; + resourceInputs["assistantId"] = undefined /*out*/; + resourceInputs["configuration"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const replaceOnChanges = { replaceOnChanges: ["assistantId", "name", "tags.*", "type"] }; + opts = pulumi.mergeOptions(opts, replaceOnChanges); + super(AiAgent.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a AiAgent resource. + */ +export interface AiAgentArgs { + assistantId: pulumi.Input; + configuration: pulumi.Input; + description?: pulumi.Input; + name?: pulumi.Input; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + type: pulumi.Input; +} diff --git a/sdk/nodejs/wisdom/getAiAgent.ts b/sdk/nodejs/wisdom/getAiAgent.ts new file mode 100644 index 0000000000..dc3b0147be --- /dev/null +++ b/sdk/nodejs/wisdom/getAiAgent.ts @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Definition of AWS::Wisdom::AIAgent Resource Type + */ +export function getAiAgent(args: GetAiAgentArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("aws-native:wisdom:getAiAgent", { + "aiAgentId": args.aiAgentId, + "assistantId": args.assistantId, + }, opts); +} + +export interface GetAiAgentArgs { + aiAgentId: string; + assistantId: string; +} + +export interface GetAiAgentResult { + readonly aiAgentArn?: string; + readonly aiAgentId?: string; + readonly assistantArn?: string; + readonly configuration?: outputs.wisdom.AiAgentAiAgentConfiguration0Properties | outputs.wisdom.AiAgentAiAgentConfiguration1Properties; + readonly description?: string; +} +/** + * Definition of AWS::Wisdom::AIAgent Resource Type + */ +export function getAiAgentOutput(args: GetAiAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wisdom:getAiAgent", { + "aiAgentId": args.aiAgentId, + "assistantId": args.assistantId, + }, opts); +} + +export interface GetAiAgentOutputArgs { + aiAgentId: pulumi.Input; + assistantId: pulumi.Input; +} diff --git a/sdk/nodejs/wisdom/index.ts b/sdk/nodejs/wisdom/index.ts index 527717a660..f49922e244 100644 --- a/sdk/nodejs/wisdom/index.ts +++ b/sdk/nodejs/wisdom/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { AiAgentArgs } from "./aiAgent"; +export type AiAgent = import("./aiAgent").AiAgent; +export const AiAgent: typeof import("./aiAgent").AiAgent = null as any; +utilities.lazyLoad(exports, ["AiAgent"], () => require("./aiAgent")); + export { AiPromptArgs } from "./aiPrompt"; export type AiPrompt = import("./aiPrompt").AiPrompt; export const AiPrompt: typeof import("./aiPrompt").AiPrompt = null as any; @@ -25,6 +30,11 @@ export type AssistantAssociation = import("./assistantAssociation").AssistantAss export const AssistantAssociation: typeof import("./assistantAssociation").AssistantAssociation = null as any; utilities.lazyLoad(exports, ["AssistantAssociation"], () => require("./assistantAssociation")); +export { GetAiAgentArgs, GetAiAgentResult, GetAiAgentOutputArgs } from "./getAiAgent"; +export const getAiAgent: typeof import("./getAiAgent").getAiAgent = null as any; +export const getAiAgentOutput: typeof import("./getAiAgent").getAiAgentOutput = null as any; +utilities.lazyLoad(exports, ["getAiAgent","getAiAgentOutput"], () => require("./getAiAgent")); + export { GetAiPromptArgs, GetAiPromptResult, GetAiPromptOutputArgs } from "./getAiPrompt"; export const getAiPrompt: typeof import("./getAiPrompt").getAiPrompt = null as any; export const getAiPromptOutput: typeof import("./getAiPrompt").getAiPromptOutput = null as any; @@ -63,6 +73,8 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "aws-native:wisdom:AiAgent": + return new AiAgent(name, undefined, { urn }) case "aws-native:wisdom:AiPrompt": return new AiPrompt(name, undefined, { urn }) case "aws-native:wisdom:AiPromptVersion": diff --git a/sdk/python/pulumi_aws_native/__init__.py b/sdk/python/pulumi_aws_native/__init__.py index e6c2c7c036..68642e0a7a 100644 --- a/sdk/python/pulumi_aws_native/__init__.py +++ b/sdk/python/pulumi_aws_native/__init__.py @@ -975,6 +975,7 @@ "classes": { "aws-native:bedrock:Agent": "Agent", "aws-native:bedrock:AgentAlias": "AgentAlias", + "aws-native:bedrock:ApplicationInferenceProfile": "ApplicationInferenceProfile", "aws-native:bedrock:DataSource": "DataSource", "aws-native:bedrock:Flow": "Flow", "aws-native:bedrock:FlowAlias": "FlowAlias", @@ -3218,6 +3219,7 @@ "mod": "wisdom", "fqn": "pulumi_aws_native.wisdom", "classes": { + "aws-native:wisdom:AiAgent": "AiAgent", "aws-native:wisdom:AiPrompt": "AiPrompt", "aws-native:wisdom:AiPromptVersion": "AiPromptVersion", "aws-native:wisdom:Assistant": "Assistant", diff --git a/sdk/python/pulumi_aws_native/appsync/api.py b/sdk/python/pulumi_aws_native/appsync/api.py index 3b9467fa8e..13c9b02710 100644 --- a/sdk/python/pulumi_aws_native/appsync/api.py +++ b/sdk/python/pulumi_aws_native/appsync/api.py @@ -30,6 +30,11 @@ def __init__(__self__, *, tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None): """ The set of arguments for constructing a Api resource. + :param pulumi.Input[str] name: The API name. + :param pulumi.Input[str] owner_contact: The owner contact information for an API resource. + + This field accepts any string input with a length of 0 - 256 characters. + :param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: The tags. """ if event_config is not None: pulumi.set(__self__, "event_config", event_config) @@ -52,6 +57,9 @@ def event_config(self, value: Optional[pulumi.Input['ApiEventConfigArgs']]): @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: + """ + The API name. + """ return pulumi.get(self, "name") @name.setter @@ -61,6 +69,11 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="ownerContact") def owner_contact(self) -> Optional[pulumi.Input[str]]: + """ + The owner contact information for an API resource. + + This field accepts any string input with a length of 0 - 256 characters. + """ return pulumi.get(self, "owner_contact") @owner_contact.setter @@ -70,6 +83,9 @@ def owner_contact(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]: + """ + The tags. + """ return pulumi.get(self, "tags") @tags.setter @@ -92,6 +108,11 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] name: The API name. + :param pulumi.Input[str] owner_contact: The owner contact information for an API resource. + + This field accepts any string input with a length of 0 - 256 characters. + :param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: The tags. """ ... @overload @@ -197,15 +218,26 @@ def event_config(self) -> pulumi.Output[Optional['outputs.ApiEventConfig']]: @property @pulumi.getter def name(self) -> pulumi.Output[str]: + """ + The API name. + """ return pulumi.get(self, "name") @property @pulumi.getter(name="ownerContact") def owner_contact(self) -> pulumi.Output[Optional[str]]: + """ + The owner contact information for an API resource. + + This field accepts any string input with a length of 0 - 256 characters. + """ return pulumi.get(self, "owner_contact") @property @pulumi.getter def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]: + """ + The tags. + """ return pulumi.get(self, "tags") diff --git a/sdk/python/pulumi_aws_native/appsync/get_api.py b/sdk/python/pulumi_aws_native/appsync/get_api.py index f0345c366d..292d8d73b0 100644 --- a/sdk/python/pulumi_aws_native/appsync/get_api.py +++ b/sdk/python/pulumi_aws_native/appsync/get_api.py @@ -78,16 +78,27 @@ def event_config(self) -> Optional['outputs.ApiEventConfig']: @property @pulumi.getter def name(self) -> Optional[str]: + """ + The API name. + """ return pulumi.get(self, "name") @property @pulumi.getter(name="ownerContact") def owner_contact(self) -> Optional[str]: + """ + The owner contact information for an API resource. + + This field accepts any string input with a length of 0 - 256 characters. + """ return pulumi.get(self, "owner_contact") @property @pulumi.getter def tags(self) -> Optional[Sequence['_root_outputs.Tag']]: + """ + The tags. + """ return pulumi.get(self, "tags") diff --git a/sdk/python/pulumi_aws_native/bedrock/__init__.py b/sdk/python/pulumi_aws_native/bedrock/__init__.py index bc9c4f8ae9..c93537d16b 100644 --- a/sdk/python/pulumi_aws_native/bedrock/__init__.py +++ b/sdk/python/pulumi_aws_native/bedrock/__init__.py @@ -8,12 +8,14 @@ from ._enums import * from .agent import * from .agent_alias import * +from .application_inference_profile import * from .data_source import * from .flow import * from .flow_alias import * from .flow_version import * from .get_agent import * from .get_agent_alias import * +from .get_application_inference_profile import * from .get_data_source import * from .get_flow import * from .get_flow_alias import * diff --git a/sdk/python/pulumi_aws_native/bedrock/_enums.py b/sdk/python/pulumi_aws_native/bedrock/_enums.py index 71b94e236c..f599a6c99a 100644 --- a/sdk/python/pulumi_aws_native/bedrock/_enums.py +++ b/sdk/python/pulumi_aws_native/bedrock/_enums.py @@ -15,6 +15,8 @@ 'AgentPromptType', 'AgentStatus', 'AgentType', + 'ApplicationInferenceProfileInferenceProfileStatus', + 'ApplicationInferenceProfileInferenceProfileType', 'DataSourceChunkingStrategy', 'DataSourceConfluenceSourceConfigurationAuthType', 'DataSourceConfluenceSourceConfigurationHostType', @@ -147,6 +149,21 @@ class AgentType(str, Enum): ARRAY = "array" +class ApplicationInferenceProfileInferenceProfileStatus(str, Enum): + """ + Status of the Inference Profile + """ + ACTIVE = "ACTIVE" + + +class ApplicationInferenceProfileInferenceProfileType(str, Enum): + """ + Type of the Inference Profile + """ + APPLICATION = "APPLICATION" + SYSTEM_DEFINED = "SYSTEM_DEFINED" + + class DataSourceChunkingStrategy(str, Enum): """ Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. diff --git a/sdk/python/pulumi_aws_native/bedrock/_inputs.py b/sdk/python/pulumi_aws_native/bedrock/_inputs.py index f2b77ebfa1..cd89f85c91 100644 --- a/sdk/python/pulumi_aws_native/bedrock/_inputs.py +++ b/sdk/python/pulumi_aws_native/bedrock/_inputs.py @@ -46,6 +46,8 @@ 'AgentPromptOverrideConfigurationArgsDict', 'AgentS3IdentifierArgs', 'AgentS3IdentifierArgsDict', + 'ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs', + 'ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgsDict', 'DataSourceBedrockFoundationModelConfigurationArgs', 'DataSourceBedrockFoundationModelConfigurationArgsDict', 'DataSourceChunkingConfigurationArgs', @@ -1321,6 +1323,44 @@ def s3_object_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_object_key", value) +if not MYPY: + class ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgsDict(TypedDict): + """ + Various ways to encode a list of models in a CreateInferenceProfile request + """ + copy_from: pulumi.Input[str] + """ + Source arns for a custom inference profile to copy its regional load balancing config from. This + can either be a foundation model or predefined inference profile ARN. + """ +elif False: + ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs: + def __init__(__self__, *, + copy_from: pulumi.Input[str]): + """ + Various ways to encode a list of models in a CreateInferenceProfile request + :param pulumi.Input[str] copy_from: Source arns for a custom inference profile to copy its regional load balancing config from. This + can either be a foundation model or predefined inference profile ARN. + """ + pulumi.set(__self__, "copy_from", copy_from) + + @property + @pulumi.getter(name="copyFrom") + def copy_from(self) -> pulumi.Input[str]: + """ + Source arns for a custom inference profile to copy its regional load balancing config from. This + can either be a foundation model or predefined inference profile ARN. + """ + return pulumi.get(self, "copy_from") + + @copy_from.setter + def copy_from(self, value: pulumi.Input[str]): + pulumi.set(self, "copy_from", value) + + if not MYPY: class DataSourceBedrockFoundationModelConfigurationArgsDict(TypedDict): """ diff --git a/sdk/python/pulumi_aws_native/bedrock/application_inference_profile.py b/sdk/python/pulumi_aws_native/bedrock/application_inference_profile.py new file mode 100644 index 0000000000..feebfe1850 --- /dev/null +++ b/sdk/python/pulumi_aws_native/bedrock/application_inference_profile.py @@ -0,0 +1,270 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from .. import _inputs as _root_inputs +from .. import outputs as _root_outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ApplicationInferenceProfileArgs', 'ApplicationInferenceProfile'] + +@pulumi.input_type +class ApplicationInferenceProfileArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + inference_profile_name: Optional[pulumi.Input[str]] = None, + model_source: Optional[pulumi.Input['ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs']] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None): + """ + The set of arguments for constructing a ApplicationInferenceProfile resource. + :param pulumi.Input[str] description: Description of the inference profile + :param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: List of Tags + """ + if description is not None: + pulumi.set(__self__, "description", description) + if inference_profile_name is not None: + pulumi.set(__self__, "inference_profile_name", inference_profile_name) + if model_source is not None: + pulumi.set(__self__, "model_source", model_source) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description of the inference profile + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="inferenceProfileName") + def inference_profile_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "inference_profile_name") + + @inference_profile_name.setter + def inference_profile_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "inference_profile_name", value) + + @property + @pulumi.getter(name="modelSource") + def model_source(self) -> Optional[pulumi.Input['ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs']]: + return pulumi.get(self, "model_source") + + @model_source.setter + def model_source(self, value: Optional[pulumi.Input['ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs']]): + pulumi.set(self, "model_source", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]: + """ + List of Tags + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]): + pulumi.set(self, "tags", value) + + +class ApplicationInferenceProfile(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + inference_profile_name: Optional[pulumi.Input[str]] = None, + model_source: Optional[pulumi.Input[Union['ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs', 'ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgsDict']]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None, + __props__=None): + """ + Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] description: Description of the inference profile + :param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: List of Tags + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[ApplicationInferenceProfileArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + + :param str resource_name: The name of the resource. + :param ApplicationInferenceProfileArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ApplicationInferenceProfileArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[str]] = None, + inference_profile_name: Optional[pulumi.Input[str]] = None, + model_source: Optional[pulumi.Input[Union['ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgs', 'ApplicationInferenceProfileInferenceProfileModelSourcePropertiesArgsDict']]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ApplicationInferenceProfileArgs.__new__(ApplicationInferenceProfileArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["inference_profile_name"] = inference_profile_name + __props__.__dict__["model_source"] = model_source + __props__.__dict__["tags"] = tags + __props__.__dict__["created_at"] = None + __props__.__dict__["inference_profile_arn"] = None + __props__.__dict__["inference_profile_id"] = None + __props__.__dict__["inference_profile_identifier"] = None + __props__.__dict__["models"] = None + __props__.__dict__["status"] = None + __props__.__dict__["type"] = None + __props__.__dict__["updated_at"] = None + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["description", "inferenceProfileName", "modelSource"]) + opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) + super(ApplicationInferenceProfile, __self__).__init__( + 'aws-native:bedrock:ApplicationInferenceProfile', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'ApplicationInferenceProfile': + """ + Get an existing ApplicationInferenceProfile resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ApplicationInferenceProfileArgs.__new__(ApplicationInferenceProfileArgs) + + __props__.__dict__["created_at"] = None + __props__.__dict__["description"] = None + __props__.__dict__["inference_profile_arn"] = None + __props__.__dict__["inference_profile_id"] = None + __props__.__dict__["inference_profile_identifier"] = None + __props__.__dict__["inference_profile_name"] = None + __props__.__dict__["model_source"] = None + __props__.__dict__["models"] = None + __props__.__dict__["status"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["updated_at"] = None + return ApplicationInferenceProfile(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> pulumi.Output[str]: + """ + Time Stamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Description of the inference profile + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="inferenceProfileArn") + def inference_profile_arn(self) -> pulumi.Output[str]: + return pulumi.get(self, "inference_profile_arn") + + @property + @pulumi.getter(name="inferenceProfileId") + def inference_profile_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "inference_profile_id") + + @property + @pulumi.getter(name="inferenceProfileIdentifier") + def inference_profile_identifier(self) -> pulumi.Output[str]: + """ + Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + """ + return pulumi.get(self, "inference_profile_identifier") + + @property + @pulumi.getter(name="inferenceProfileName") + def inference_profile_name(self) -> pulumi.Output[str]: + return pulumi.get(self, "inference_profile_name") + + @property + @pulumi.getter(name="modelSource") + def model_source(self) -> pulumi.Output[Optional['outputs.ApplicationInferenceProfileInferenceProfileModelSourceProperties']]: + return pulumi.get(self, "model_source") + + @property + @pulumi.getter + def models(self) -> pulumi.Output[Sequence['outputs.ApplicationInferenceProfileInferenceProfileModel']]: + """ + List of model configuration + """ + return pulumi.get(self, "models") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['ApplicationInferenceProfileInferenceProfileStatus']: + return pulumi.get(self, "status") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]: + """ + List of Tags + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output['ApplicationInferenceProfileInferenceProfileType']: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> pulumi.Output[str]: + """ + Time Stamp + """ + return pulumi.get(self, "updated_at") + diff --git a/sdk/python/pulumi_aws_native/bedrock/get_application_inference_profile.py b/sdk/python/pulumi_aws_native/bedrock/get_application_inference_profile.py new file mode 100644 index 0000000000..be8164f11e --- /dev/null +++ b/sdk/python/pulumi_aws_native/bedrock/get_application_inference_profile.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from .. import outputs as _root_outputs +from ._enums import * + +__all__ = [ + 'GetApplicationInferenceProfileResult', + 'AwaitableGetApplicationInferenceProfileResult', + 'get_application_inference_profile', + 'get_application_inference_profile_output', +] + +@pulumi.output_type +class GetApplicationInferenceProfileResult: + def __init__(__self__, created_at=None, inference_profile_arn=None, inference_profile_id=None, inference_profile_identifier=None, models=None, status=None, tags=None, type=None, updated_at=None): + if created_at and not isinstance(created_at, str): + raise TypeError("Expected argument 'created_at' to be a str") + pulumi.set(__self__, "created_at", created_at) + if inference_profile_arn and not isinstance(inference_profile_arn, str): + raise TypeError("Expected argument 'inference_profile_arn' to be a str") + pulumi.set(__self__, "inference_profile_arn", inference_profile_arn) + if inference_profile_id and not isinstance(inference_profile_id, str): + raise TypeError("Expected argument 'inference_profile_id' to be a str") + pulumi.set(__self__, "inference_profile_id", inference_profile_id) + if inference_profile_identifier and not isinstance(inference_profile_identifier, str): + raise TypeError("Expected argument 'inference_profile_identifier' to be a str") + pulumi.set(__self__, "inference_profile_identifier", inference_profile_identifier) + if models and not isinstance(models, list): + raise TypeError("Expected argument 'models' to be a list") + pulumi.set(__self__, "models", models) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if tags and not isinstance(tags, list): + raise TypeError("Expected argument 'tags' to be a list") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if updated_at and not isinstance(updated_at, str): + raise TypeError("Expected argument 'updated_at' to be a str") + pulumi.set(__self__, "updated_at", updated_at) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + Time Stamp + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="inferenceProfileArn") + def inference_profile_arn(self) -> Optional[str]: + return pulumi.get(self, "inference_profile_arn") + + @property + @pulumi.getter(name="inferenceProfileId") + def inference_profile_id(self) -> Optional[str]: + return pulumi.get(self, "inference_profile_id") + + @property + @pulumi.getter(name="inferenceProfileIdentifier") + def inference_profile_identifier(self) -> Optional[str]: + """ + Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + """ + return pulumi.get(self, "inference_profile_identifier") + + @property + @pulumi.getter + def models(self) -> Optional[Sequence['outputs.ApplicationInferenceProfileInferenceProfileModel']]: + """ + List of model configuration + """ + return pulumi.get(self, "models") + + @property + @pulumi.getter + def status(self) -> Optional['ApplicationInferenceProfileInferenceProfileStatus']: + return pulumi.get(self, "status") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence['_root_outputs.Tag']]: + """ + List of Tags + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> Optional['ApplicationInferenceProfileInferenceProfileType']: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="updatedAt") + def updated_at(self) -> Optional[str]: + """ + Time Stamp + """ + return pulumi.get(self, "updated_at") + + +class AwaitableGetApplicationInferenceProfileResult(GetApplicationInferenceProfileResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetApplicationInferenceProfileResult( + created_at=self.created_at, + inference_profile_arn=self.inference_profile_arn, + inference_profile_id=self.inference_profile_id, + inference_profile_identifier=self.inference_profile_identifier, + models=self.models, + status=self.status, + tags=self.tags, + type=self.type, + updated_at=self.updated_at) + + +def get_application_inference_profile(inference_profile_identifier: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApplicationInferenceProfileResult: + """ + Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + + + :param str inference_profile_identifier: Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + """ + __args__ = dict() + __args__['inferenceProfileIdentifier'] = inference_profile_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('aws-native:bedrock:getApplicationInferenceProfile', __args__, opts=opts, typ=GetApplicationInferenceProfileResult).value + + return AwaitableGetApplicationInferenceProfileResult( + created_at=pulumi.get(__ret__, 'created_at'), + inference_profile_arn=pulumi.get(__ret__, 'inference_profile_arn'), + inference_profile_id=pulumi.get(__ret__, 'inference_profile_id'), + inference_profile_identifier=pulumi.get(__ret__, 'inference_profile_identifier'), + models=pulumi.get(__ret__, 'models'), + status=pulumi.get(__ret__, 'status'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + updated_at=pulumi.get(__ret__, 'updated_at')) +def get_application_inference_profile_output(inference_profile_identifier: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationInferenceProfileResult]: + """ + Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type + + + :param str inference_profile_identifier: Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. + """ + __args__ = dict() + __args__['inferenceProfileIdentifier'] = inference_profile_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getApplicationInferenceProfile', __args__, opts=opts, typ=GetApplicationInferenceProfileResult) + return __ret__.apply(lambda __response__: GetApplicationInferenceProfileResult( + created_at=pulumi.get(__response__, 'created_at'), + inference_profile_arn=pulumi.get(__response__, 'inference_profile_arn'), + inference_profile_id=pulumi.get(__response__, 'inference_profile_id'), + inference_profile_identifier=pulumi.get(__response__, 'inference_profile_identifier'), + models=pulumi.get(__response__, 'models'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/outputs.py b/sdk/python/pulumi_aws_native/bedrock/outputs.py index 602b0d3714..0729c80c87 100644 --- a/sdk/python/pulumi_aws_native/bedrock/outputs.py +++ b/sdk/python/pulumi_aws_native/bedrock/outputs.py @@ -33,6 +33,8 @@ 'AgentPromptConfiguration', 'AgentPromptOverrideConfiguration', 'AgentS3Identifier', + 'ApplicationInferenceProfileInferenceProfileModel', + 'ApplicationInferenceProfileInferenceProfileModelSourceProperties', 'DataSourceBedrockFoundationModelConfiguration', 'DataSourceChunkingConfiguration', 'DataSourceConfiguration', @@ -1121,6 +1123,87 @@ def s3_object_key(self) -> Optional[str]: return pulumi.get(self, "s3_object_key") +@pulumi.output_type +class ApplicationInferenceProfileInferenceProfileModel(dict): + """ + Model configuration + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "modelArn": + suggest = "model_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApplicationInferenceProfileInferenceProfileModel. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApplicationInferenceProfileInferenceProfileModel.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApplicationInferenceProfileInferenceProfileModel.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + model_arn: Optional[str] = None): + """ + Model configuration + :param str model_arn: ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs + """ + if model_arn is not None: + pulumi.set(__self__, "model_arn", model_arn) + + @property + @pulumi.getter(name="modelArn") + def model_arn(self) -> Optional[str]: + """ + ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs + """ + return pulumi.get(self, "model_arn") + + +@pulumi.output_type +class ApplicationInferenceProfileInferenceProfileModelSourceProperties(dict): + """ + Various ways to encode a list of models in a CreateInferenceProfile request + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "copyFrom": + suggest = "copy_from" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ApplicationInferenceProfileInferenceProfileModelSourceProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ApplicationInferenceProfileInferenceProfileModelSourceProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ApplicationInferenceProfileInferenceProfileModelSourceProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + copy_from: str): + """ + Various ways to encode a list of models in a CreateInferenceProfile request + :param str copy_from: Source arns for a custom inference profile to copy its regional load balancing config from. This + can either be a foundation model or predefined inference profile ARN. + """ + pulumi.set(__self__, "copy_from", copy_from) + + @property + @pulumi.getter(name="copyFrom") + def copy_from(self) -> str: + """ + Source arns for a custom inference profile to copy its regional load balancing config from. This + can either be a foundation model or predefined inference profile ARN. + """ + return pulumi.get(self, "copy_from") + + @pulumi.output_type class DataSourceBedrockFoundationModelConfiguration(dict): """ diff --git a/sdk/python/pulumi_aws_native/datasync/get_task.py b/sdk/python/pulumi_aws_native/datasync/get_task.py index 989e10e33d..5e5da9aac8 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_task.py +++ b/sdk/python/pulumi_aws_native/datasync/get_task.py @@ -95,7 +95,7 @@ def excludes(self) -> Optional[Sequence['outputs.TaskFilterRule']]: @pulumi.getter def includes(self) -> Optional[Sequence['outputs.TaskFilterRule']]: """ - Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . """ return pulumi.get(self, "includes") diff --git a/sdk/python/pulumi_aws_native/datasync/task.py b/sdk/python/pulumi_aws_native/datasync/task.py index 0d9b61d203..63ada6f24c 100644 --- a/sdk/python/pulumi_aws_native/datasync/task.py +++ b/sdk/python/pulumi_aws_native/datasync/task.py @@ -41,7 +41,7 @@ def __init__(__self__, *, :param pulumi.Input[str] source_location_arn: The ARN of the source location for the task. :param pulumi.Input[str] cloud_watch_log_group_arn: The ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task. :param pulumi.Input[Sequence[pulumi.Input['TaskFilterRuleArgs']]] excludes: Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . - :param pulumi.Input[Sequence[pulumi.Input['TaskFilterRuleArgs']]] includes: Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + :param pulumi.Input[Sequence[pulumi.Input['TaskFilterRuleArgs']]] includes: Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . :param pulumi.Input['TaskManifestConfigArgs'] manifest_config: The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see [Specifying what DataSync transfers by using a manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . :param pulumi.Input[str] name: The name of a task. This value is a text reference that is used to identify the task in the console. :param pulumi.Input['TaskOptionsArgs'] options: Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options. @@ -124,7 +124,7 @@ def excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TaskFilte @pulumi.getter def includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TaskFilterRuleArgs']]]]: """ - Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . """ return pulumi.get(self, "includes") @@ -256,7 +256,7 @@ def __init__(__self__, :param pulumi.Input[str] cloud_watch_log_group_arn: The ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task. :param pulumi.Input[str] destination_location_arn: The ARN of an AWS storage resource's location. :param pulumi.Input[Sequence[pulumi.Input[Union['TaskFilterRuleArgs', 'TaskFilterRuleArgsDict']]]] excludes: Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . - :param pulumi.Input[Sequence[pulumi.Input[Union['TaskFilterRuleArgs', 'TaskFilterRuleArgsDict']]]] includes: Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + :param pulumi.Input[Sequence[pulumi.Input[Union['TaskFilterRuleArgs', 'TaskFilterRuleArgsDict']]]] includes: Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . :param pulumi.Input[Union['TaskManifestConfigArgs', 'TaskManifestConfigArgsDict']] manifest_config: The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see [Specifying what DataSync transfers by using a manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . :param pulumi.Input[str] name: The name of a task. This value is a text reference that is used to identify the task in the console. :param pulumi.Input[Union['TaskOptionsArgs', 'TaskOptionsArgsDict']] options: Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options. @@ -431,7 +431,7 @@ def excludes(self) -> pulumi.Output[Optional[Sequence['outputs.TaskFilterRule']] @pulumi.getter def includes(self) -> pulumi.Output[Optional[Sequence['outputs.TaskFilterRule']]]: """ - Specifies include filters define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see [Specifying what DataSync transfers by using filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . """ return pulumi.get(self, "includes") diff --git a/sdk/python/pulumi_aws_native/ecs/_inputs.py b/sdk/python/pulumi_aws_native/ecs/_inputs.py index 1a1b1808b9..f85d113cc6 100644 --- a/sdk/python/pulumi_aws_native/ecs/_inputs.py +++ b/sdk/python/pulumi_aws_native/ecs/_inputs.py @@ -288,7 +288,7 @@ class CapacityProviderManagedScalingArgsDict(TypedDict): """ minimum_scaling_step_size: NotRequired[pulumi.Input[int]] """ - The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. @@ -317,7 +317,7 @@ def __init__(__self__, *, The managed scaling settings for the Auto Scaling group capacity provider. :param pulumi.Input[int] instance_warmup_period: The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of `300` seconds is used. :param pulumi.Input[int] maximum_scaling_step_size: The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `10000` is used. - :param pulumi.Input[int] minimum_scaling_step_size: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + :param pulumi.Input[int] minimum_scaling_step_size: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. @@ -364,7 +364,7 @@ def maximum_scaling_step_size(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="minimumScalingStepSize") def minimum_scaling_step_size(self) -> Optional[pulumi.Input[int]]: """ - The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. diff --git a/sdk/python/pulumi_aws_native/ecs/outputs.py b/sdk/python/pulumi_aws_native/ecs/outputs.py index 042461c213..9f73a5e62a 100644 --- a/sdk/python/pulumi_aws_native/ecs/outputs.py +++ b/sdk/python/pulumi_aws_native/ecs/outputs.py @@ -218,7 +218,7 @@ def __init__(__self__, *, The managed scaling settings for the Auto Scaling group capacity provider. :param int instance_warmup_period: The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of `300` seconds is used. :param int maximum_scaling_step_size: The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `10000` is used. - :param int minimum_scaling_step_size: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + :param int minimum_scaling_step_size: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. @@ -257,7 +257,7 @@ def maximum_scaling_step_size(self) -> Optional[int]: @pulumi.getter(name="minimumScalingStepSize") def minimum_scaling_step_size(self) -> Optional[int]: """ - The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `1` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. diff --git a/sdk/python/pulumi_aws_native/events/connection.py b/sdk/python/pulumi_aws_native/events/connection.py index 4d6e2ddcd7..05a7c84f26 100644 --- a/sdk/python/pulumi_aws_native/events/connection.py +++ b/sdk/python/pulumi_aws_native/events/connection.py @@ -22,8 +22,8 @@ @pulumi.input_type class ConnectionArgs: def __init__(__self__, *, - auth_parameters: pulumi.Input['ConnectionAuthParametersArgs'], - authorization_type: pulumi.Input['ConnectionAuthorizationType'], + auth_parameters: Optional[pulumi.Input['ConnectionAuthParametersArgs']] = None, + authorization_type: Optional[pulumi.Input['ConnectionAuthorizationType']] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None): """ @@ -35,8 +35,10 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Description of the connection. :param pulumi.Input[str] name: Name of the connection. """ - pulumi.set(__self__, "auth_parameters", auth_parameters) - pulumi.set(__self__, "authorization_type", authorization_type) + if auth_parameters is not None: + pulumi.set(__self__, "auth_parameters", auth_parameters) + if authorization_type is not None: + pulumi.set(__self__, "authorization_type", authorization_type) if description is not None: pulumi.set(__self__, "description", description) if name is not None: @@ -44,19 +46,19 @@ def __init__(__self__, *, @property @pulumi.getter(name="authParameters") - def auth_parameters(self) -> pulumi.Input['ConnectionAuthParametersArgs']: + def auth_parameters(self) -> Optional[pulumi.Input['ConnectionAuthParametersArgs']]: """ A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. """ return pulumi.get(self, "auth_parameters") @auth_parameters.setter - def auth_parameters(self, value: pulumi.Input['ConnectionAuthParametersArgs']): + def auth_parameters(self, value: Optional[pulumi.Input['ConnectionAuthParametersArgs']]): pulumi.set(self, "auth_parameters", value) @property @pulumi.getter(name="authorizationType") - def authorization_type(self) -> pulumi.Input['ConnectionAuthorizationType']: + def authorization_type(self) -> Optional[pulumi.Input['ConnectionAuthorizationType']]: """ The type of authorization to use for the connection. @@ -65,7 +67,7 @@ def authorization_type(self) -> pulumi.Input['ConnectionAuthorizationType']: return pulumi.get(self, "authorization_type") @authorization_type.setter - def authorization_type(self, value: pulumi.Input['ConnectionAuthorizationType']): + def authorization_type(self, value: Optional[pulumi.Input['ConnectionAuthorizationType']]): pulumi.set(self, "authorization_type", value) @property @@ -145,7 +147,7 @@ def __init__(__self__, @overload def __init__(__self__, resource_name: str, - args: ConnectionArgs, + args: Optional[ConnectionArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ Resource Type definition for AWS::Events::Connection. @@ -204,11 +206,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ConnectionArgs.__new__(ConnectionArgs) - if auth_parameters is None and not opts.urn: - raise TypeError("Missing required property 'auth_parameters'") __props__.__dict__["auth_parameters"] = auth_parameters - if authorization_type is None and not opts.urn: - raise TypeError("Missing required property 'authorization_type'") __props__.__dict__["authorization_type"] = authorization_type __props__.__dict__["description"] = description __props__.__dict__["name"] = name @@ -256,7 +254,7 @@ def arn(self) -> pulumi.Output[str]: @property @pulumi.getter(name="authParameters") - def auth_parameters(self) -> pulumi.Output['outputs.ConnectionAuthParameters']: + def auth_parameters(self) -> pulumi.Output[Optional['outputs.ConnectionAuthParameters']]: """ A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. """ @@ -264,7 +262,7 @@ def auth_parameters(self) -> pulumi.Output['outputs.ConnectionAuthParameters']: @property @pulumi.getter(name="authorizationType") - def authorization_type(self) -> pulumi.Output['ConnectionAuthorizationType']: + def authorization_type(self) -> pulumi.Output[Optional['ConnectionAuthorizationType']]: """ The type of authorization to use for the connection. diff --git a/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py b/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py index fbc927d73c..7040527d89 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py @@ -314,6 +314,9 @@ def dimensions(self, value: pulumi.Input[Sequence[pulumi.Input['FirewallPolicyDi if not MYPY: class FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict(TypedDict): + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ tcp_idle_timeout_seconds: NotRequired[pulumi.Input[int]] elif False: FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict: TypeAlias = Mapping[str, Any] @@ -322,6 +325,9 @@ class FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict(TypedDic class FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs: def __init__(__self__, *, tcp_idle_timeout_seconds: Optional[pulumi.Input[int]] = None): + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ if tcp_idle_timeout_seconds is not None: pulumi.set(__self__, "tcp_idle_timeout_seconds", tcp_idle_timeout_seconds) @@ -338,6 +344,9 @@ def tcp_idle_timeout_seconds(self, value: Optional[pulumi.Input[int]]): if not MYPY: class FirewallPolicyStatefulEngineOptionsArgsDict(TypedDict): flow_timeouts: NotRequired[pulumi.Input['FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict']] + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ rule_order: NotRequired[pulumi.Input['FirewallPolicyRuleOrder']] """ Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . @@ -360,6 +369,7 @@ def __init__(__self__, *, rule_order: Optional[pulumi.Input['FirewallPolicyRuleOrder']] = None, stream_exception_policy: Optional[pulumi.Input['FirewallPolicyStreamExceptionPolicy']] = None): """ + :param pulumi.Input['FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs'] flow_timeouts: Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. :param pulumi.Input['FirewallPolicyRuleOrder'] rule_order: Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . :param pulumi.Input['FirewallPolicyStreamExceptionPolicy'] stream_exception_policy: Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself. @@ -377,6 +387,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="flowTimeouts") def flow_timeouts(self) -> Optional[pulumi.Input['FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs']]: + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ return pulumi.get(self, "flow_timeouts") @flow_timeouts.setter diff --git a/sdk/python/pulumi_aws_native/networkfirewall/outputs.py b/sdk/python/pulumi_aws_native/networkfirewall/outputs.py index e2172563d5..3fbeb3cbb5 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/outputs.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/outputs.py @@ -445,6 +445,7 @@ def __init__(__self__, *, rule_order: Optional['FirewallPolicyRuleOrder'] = None, stream_exception_policy: Optional['FirewallPolicyStreamExceptionPolicy'] = None): """ + :param 'FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties' flow_timeouts: Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. :param 'FirewallPolicyRuleOrder' rule_order: Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . :param 'FirewallPolicyStreamExceptionPolicy' stream_exception_policy: Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself. @@ -462,6 +463,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="flowTimeouts") def flow_timeouts(self) -> Optional['outputs.FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties']: + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ return pulumi.get(self, "flow_timeouts") @property @@ -487,6 +491,9 @@ def stream_exception_policy(self) -> Optional['FirewallPolicyStreamExceptionPoli @pulumi.output_type class FirewallPolicyStatefulEngineOptionsFlowTimeoutsProperties(dict): + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ @staticmethod def __key_warning(key: str): suggest = None @@ -506,6 +513,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, tcp_idle_timeout_seconds: Optional[int] = None): + """ + Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle. + """ if tcp_idle_timeout_seconds is not None: pulumi.set(__self__, "tcp_idle_timeout_seconds", tcp_idle_timeout_seconds) diff --git a/sdk/python/pulumi_aws_native/opensearchservice/domain.py b/sdk/python/pulumi_aws_native/opensearchservice/domain.py index c54c2a44ec..51d4227c12 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/domain.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/domain.py @@ -68,6 +68,7 @@ def __init__(__self__, *, :param pulumi.Input[str] engine_version: The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* . If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . + :param pulumi.Input['DomainIdentityCenterOptionsArgs'] identity_center_options: Container for IAM Identity Center Option control for the domain. :param pulumi.Input[str] ip_address_type: Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. :param pulumi.Input[Mapping[str, pulumi.Input['DomainLogPublishingOptionArgs']]] log_publishing_options: An object with one or more of the following keys: `SEARCH_SLOW_LOGS` , `ES_APPLICATION_LOGS` , `INDEX_SLOW_LOGS` , `AUDIT_LOGS` , depending on the types of logs you want to publish. Each key needs a valid `LogPublishingOption` value. For the full syntax, see the [examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#aws-resource-opensearchservice-domain--examples) . :param pulumi.Input['DomainNodeToNodeEncryptionOptionsArgs'] node_to_node_encryption_options: Specifies whether node-to-node encryption is enabled. See [Node-to-node encryption for Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html) . @@ -255,6 +256,9 @@ def engine_version(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="identityCenterOptions") def identity_center_options(self) -> Optional[pulumi.Input['DomainIdentityCenterOptionsArgs']]: + """ + Container for IAM Identity Center Option control for the domain. + """ return pulumi.get(self, "identity_center_options") @identity_center_options.setter @@ -422,6 +426,7 @@ def __init__(__self__, :param pulumi.Input[str] engine_version: The version of OpenSearch to use. The value must be in the format `OpenSearch_X.Y` or `Elasticsearch_X.Y` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see [Supported versions of OpenSearch and Elasticsearch](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version) in the *Amazon OpenSearch Service Developer Guide* . If you set the [EnableVersionUpgrade](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain) update policy to `true` , you can update `EngineVersion` without interruption. When `EnableVersionUpgrade` is set to `false` , or is not specified, updating `EngineVersion` results in [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . + :param pulumi.Input[Union['DomainIdentityCenterOptionsArgs', 'DomainIdentityCenterOptionsArgsDict']] identity_center_options: Container for IAM Identity Center Option control for the domain. :param pulumi.Input[str] ip_address_type: Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later. :param pulumi.Input[Mapping[str, pulumi.Input[Union['DomainLogPublishingOptionArgs', 'DomainLogPublishingOptionArgsDict']]]] log_publishing_options: An object with one or more of the following keys: `SEARCH_SLOW_LOGS` , `ES_APPLICATION_LOGS` , `INDEX_SLOW_LOGS` , `AUDIT_LOGS` , depending on the types of logs you want to publish. Each key needs a valid `LogPublishingOption` value. For the full syntax, see the [examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#aws-resource-opensearchservice-domain--examples) . :param pulumi.Input[Union['DomainNodeToNodeEncryptionOptionsArgs', 'DomainNodeToNodeEncryptionOptionsArgsDict']] node_to_node_encryption_options: Specifies whether node-to-node encryption is enabled. See [Node-to-node encryption for Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html) . @@ -706,6 +711,9 @@ def engine_version(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="identityCenterOptions") def identity_center_options(self) -> pulumi.Output[Optional['outputs.DomainIdentityCenterOptions']]: + """ + Container for IAM Identity Center Option control for the domain. + """ return pulumi.get(self, "identity_center_options") @property diff --git a/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py b/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py index be2ff6100e..a7ced28e6a 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py @@ -234,6 +234,9 @@ def id(self) -> Optional[str]: @property @pulumi.getter(name="identityCenterOptions") def identity_center_options(self) -> Optional['outputs.DomainIdentityCenterOptions']: + """ + Container for IAM Identity Center Option control for the domain. + """ return pulumi.get(self, "identity_center_options") @property diff --git a/sdk/python/pulumi_aws_native/ses/_inputs.py b/sdk/python/pulumi_aws_native/ses/_inputs.py index ae7c0fa1a3..b5aedeb885 100644 --- a/sdk/python/pulumi_aws_native/ses/_inputs.py +++ b/sdk/python/pulumi_aws_native/ses/_inputs.py @@ -220,6 +220,10 @@ class ConfigurationSetDeliveryOptionsArgsDict(TypedDict): """ An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. """ + max_delivery_seconds: NotRequired[pulumi.Input[float]] + """ + Specifies the maximum time until which SES will retry sending emails + """ sending_pool_name: NotRequired[pulumi.Input[str]] """ The name of the dedicated IP pool to associate with the configuration set. @@ -234,18 +238,34 @@ class ConfigurationSetDeliveryOptionsArgsDict(TypedDict): @pulumi.input_type class ConfigurationSetDeliveryOptionsArgs: def __init__(__self__, *, + max_delivery_seconds: Optional[pulumi.Input[float]] = None, sending_pool_name: Optional[pulumi.Input[str]] = None, tls_policy: Optional[pulumi.Input[str]] = None): """ An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. + :param pulumi.Input[float] max_delivery_seconds: Specifies the maximum time until which SES will retry sending emails :param pulumi.Input[str] sending_pool_name: The name of the dedicated IP pool to associate with the configuration set. :param pulumi.Input[str] tls_policy: Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established. """ + if max_delivery_seconds is not None: + pulumi.set(__self__, "max_delivery_seconds", max_delivery_seconds) if sending_pool_name is not None: pulumi.set(__self__, "sending_pool_name", sending_pool_name) if tls_policy is not None: pulumi.set(__self__, "tls_policy", tls_policy) + @property + @pulumi.getter(name="maxDeliverySeconds") + def max_delivery_seconds(self) -> Optional[pulumi.Input[float]]: + """ + Specifies the maximum time until which SES will retry sending emails + """ + return pulumi.get(self, "max_delivery_seconds") + + @max_delivery_seconds.setter + def max_delivery_seconds(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_delivery_seconds", value) + @property @pulumi.getter(name="sendingPoolName") def sending_pool_name(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_aws_native/ses/outputs.py b/sdk/python/pulumi_aws_native/ses/outputs.py index c2973138d0..4bbf923514 100644 --- a/sdk/python/pulumi_aws_native/ses/outputs.py +++ b/sdk/python/pulumi_aws_native/ses/outputs.py @@ -146,7 +146,9 @@ class ConfigurationSetDeliveryOptions(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "sendingPoolName": + if key == "maxDeliverySeconds": + suggest = "max_delivery_seconds" + elif key == "sendingPoolName": suggest = "sending_pool_name" elif key == "tlsPolicy": suggest = "tls_policy" @@ -163,18 +165,30 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + max_delivery_seconds: Optional[float] = None, sending_pool_name: Optional[str] = None, tls_policy: Optional[str] = None): """ An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. + :param float max_delivery_seconds: Specifies the maximum time until which SES will retry sending emails :param str sending_pool_name: The name of the dedicated IP pool to associate with the configuration set. :param str tls_policy: Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established. """ + if max_delivery_seconds is not None: + pulumi.set(__self__, "max_delivery_seconds", max_delivery_seconds) if sending_pool_name is not None: pulumi.set(__self__, "sending_pool_name", sending_pool_name) if tls_policy is not None: pulumi.set(__self__, "tls_policy", tls_policy) + @property + @pulumi.getter(name="maxDeliverySeconds") + def max_delivery_seconds(self) -> Optional[float]: + """ + Specifies the maximum time until which SES will retry sending emails + """ + return pulumi.get(self, "max_delivery_seconds") + @property @pulumi.getter(name="sendingPoolName") def sending_pool_name(self) -> Optional[str]: diff --git a/sdk/python/pulumi_aws_native/wisdom/__init__.py b/sdk/python/pulumi_aws_native/wisdom/__init__.py index 5fb52c59a6..c887f86558 100644 --- a/sdk/python/pulumi_aws_native/wisdom/__init__.py +++ b/sdk/python/pulumi_aws_native/wisdom/__init__.py @@ -6,10 +6,12 @@ import typing # Export this package's modules as members: from ._enums import * +from .ai_agent import * from .ai_prompt import * from .ai_prompt_version import * from .assistant import * from .assistant_association import * +from .get_ai_agent import * from .get_ai_prompt import * from .get_ai_prompt_version import * from .get_assistant import * diff --git a/sdk/python/pulumi_aws_native/wisdom/_enums.py b/sdk/python/pulumi_aws_native/wisdom/_enums.py index e8e17953ff..25479a97ee 100644 --- a/sdk/python/pulumi_aws_native/wisdom/_enums.py +++ b/sdk/python/pulumi_aws_native/wisdom/_enums.py @@ -5,6 +5,9 @@ from enum import Enum __all__ = [ + 'AiAgentAiAgentAssociationConfigurationType', + 'AiAgentAiAgentType', + 'AiAgentKnowledgeBaseSearchType', 'AiPromptAiPromptApiFormat', 'AiPromptAiPromptTemplateType', 'AiPromptAiPromptType', @@ -14,6 +17,20 @@ ] +class AiAgentAiAgentAssociationConfigurationType(str, Enum): + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + + +class AiAgentAiAgentType(str, Enum): + MANUAL_SEARCH = "MANUAL_SEARCH" + ANSWER_RECOMMENDATION = "ANSWER_RECOMMENDATION" + + +class AiAgentKnowledgeBaseSearchType(str, Enum): + HYBRID = "HYBRID" + SEMANTIC = "SEMANTIC" + + class AiPromptAiPromptApiFormat(str, Enum): ANTHROPIC_CLAUDE_MESSAGES = "ANTHROPIC_CLAUDE_MESSAGES" ANTHROPIC_CLAUDE_TEXT_COMPLETIONS = "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS" diff --git a/sdk/python/pulumi_aws_native/wisdom/_inputs.py b/sdk/python/pulumi_aws_native/wisdom/_inputs.py index 9177321e60..98262b2a75 100644 --- a/sdk/python/pulumi_aws_native/wisdom/_inputs.py +++ b/sdk/python/pulumi_aws_native/wisdom/_inputs.py @@ -16,6 +16,32 @@ from ._enums import * __all__ = [ + 'AiAgentAiAgentConfiguration0PropertiesArgs', + 'AiAgentAiAgentConfiguration0PropertiesArgsDict', + 'AiAgentAiAgentConfiguration1PropertiesArgs', + 'AiAgentAiAgentConfiguration1PropertiesArgsDict', + 'AiAgentAnswerRecommendationAiAgentConfigurationArgs', + 'AiAgentAnswerRecommendationAiAgentConfigurationArgsDict', + 'AiAgentAssociationConfigurationDataPropertiesArgs', + 'AiAgentAssociationConfigurationDataPropertiesArgsDict', + 'AiAgentAssociationConfigurationArgs', + 'AiAgentAssociationConfigurationArgsDict', + 'AiAgentKnowledgeBaseAssociationConfigurationDataArgs', + 'AiAgentKnowledgeBaseAssociationConfigurationDataArgsDict', + 'AiAgentManualSearchAiAgentConfigurationArgs', + 'AiAgentManualSearchAiAgentConfigurationArgsDict', + 'AiAgentOrCondition0PropertiesArgs', + 'AiAgentOrCondition0PropertiesArgsDict', + 'AiAgentOrCondition1PropertiesArgs', + 'AiAgentOrCondition1PropertiesArgsDict', + 'AiAgentTagConditionArgs', + 'AiAgentTagConditionArgsDict', + 'AiAgentTagFilter0PropertiesArgs', + 'AiAgentTagFilter0PropertiesArgsDict', + 'AiAgentTagFilter1PropertiesArgs', + 'AiAgentTagFilter1PropertiesArgsDict', + 'AiAgentTagFilter2PropertiesArgs', + 'AiAgentTagFilter2PropertiesArgsDict', 'AiPromptAiPromptTemplateConfigurationArgs', 'AiPromptAiPromptTemplateConfigurationArgsDict', 'AssistantAssociationAssociationDataArgs', @@ -34,6 +60,413 @@ MYPY = False +if not MYPY: + class AiAgentAiAgentConfiguration0PropertiesArgsDict(TypedDict): + manual_search_ai_agent_configuration: pulumi.Input['AiAgentManualSearchAiAgentConfigurationArgsDict'] +elif False: + AiAgentAiAgentConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentAiAgentConfiguration0PropertiesArgs: + def __init__(__self__, *, + manual_search_ai_agent_configuration: pulumi.Input['AiAgentManualSearchAiAgentConfigurationArgs']): + pulumi.set(__self__, "manual_search_ai_agent_configuration", manual_search_ai_agent_configuration) + + @property + @pulumi.getter(name="manualSearchAiAgentConfiguration") + def manual_search_ai_agent_configuration(self) -> pulumi.Input['AiAgentManualSearchAiAgentConfigurationArgs']: + return pulumi.get(self, "manual_search_ai_agent_configuration") + + @manual_search_ai_agent_configuration.setter + def manual_search_ai_agent_configuration(self, value: pulumi.Input['AiAgentManualSearchAiAgentConfigurationArgs']): + pulumi.set(self, "manual_search_ai_agent_configuration", value) + + +if not MYPY: + class AiAgentAiAgentConfiguration1PropertiesArgsDict(TypedDict): + answer_recommendation_ai_agent_configuration: pulumi.Input['AiAgentAnswerRecommendationAiAgentConfigurationArgsDict'] +elif False: + AiAgentAiAgentConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentAiAgentConfiguration1PropertiesArgs: + def __init__(__self__, *, + answer_recommendation_ai_agent_configuration: pulumi.Input['AiAgentAnswerRecommendationAiAgentConfigurationArgs']): + pulumi.set(__self__, "answer_recommendation_ai_agent_configuration", answer_recommendation_ai_agent_configuration) + + @property + @pulumi.getter(name="answerRecommendationAiAgentConfiguration") + def answer_recommendation_ai_agent_configuration(self) -> pulumi.Input['AiAgentAnswerRecommendationAiAgentConfigurationArgs']: + return pulumi.get(self, "answer_recommendation_ai_agent_configuration") + + @answer_recommendation_ai_agent_configuration.setter + def answer_recommendation_ai_agent_configuration(self, value: pulumi.Input['AiAgentAnswerRecommendationAiAgentConfigurationArgs']): + pulumi.set(self, "answer_recommendation_ai_agent_configuration", value) + + +if not MYPY: + class AiAgentAnswerRecommendationAiAgentConfigurationArgsDict(TypedDict): + answer_generation_ai_prompt_id: NotRequired[pulumi.Input[str]] + association_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgsDict']]]] + intent_labeling_generation_ai_prompt_id: NotRequired[pulumi.Input[str]] + query_reformulation_ai_prompt_id: NotRequired[pulumi.Input[str]] +elif False: + AiAgentAnswerRecommendationAiAgentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentAnswerRecommendationAiAgentConfigurationArgs: + def __init__(__self__, *, + answer_generation_ai_prompt_id: Optional[pulumi.Input[str]] = None, + association_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgs']]]] = None, + intent_labeling_generation_ai_prompt_id: Optional[pulumi.Input[str]] = None, + query_reformulation_ai_prompt_id: Optional[pulumi.Input[str]] = None): + if answer_generation_ai_prompt_id is not None: + pulumi.set(__self__, "answer_generation_ai_prompt_id", answer_generation_ai_prompt_id) + if association_configurations is not None: + pulumi.set(__self__, "association_configurations", association_configurations) + if intent_labeling_generation_ai_prompt_id is not None: + pulumi.set(__self__, "intent_labeling_generation_ai_prompt_id", intent_labeling_generation_ai_prompt_id) + if query_reformulation_ai_prompt_id is not None: + pulumi.set(__self__, "query_reformulation_ai_prompt_id", query_reformulation_ai_prompt_id) + + @property + @pulumi.getter(name="answerGenerationAiPromptId") + def answer_generation_ai_prompt_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "answer_generation_ai_prompt_id") + + @answer_generation_ai_prompt_id.setter + def answer_generation_ai_prompt_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "answer_generation_ai_prompt_id", value) + + @property + @pulumi.getter(name="associationConfigurations") + def association_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgs']]]]: + return pulumi.get(self, "association_configurations") + + @association_configurations.setter + def association_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgs']]]]): + pulumi.set(self, "association_configurations", value) + + @property + @pulumi.getter(name="intentLabelingGenerationAiPromptId") + def intent_labeling_generation_ai_prompt_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "intent_labeling_generation_ai_prompt_id") + + @intent_labeling_generation_ai_prompt_id.setter + def intent_labeling_generation_ai_prompt_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "intent_labeling_generation_ai_prompt_id", value) + + @property + @pulumi.getter(name="queryReformulationAiPromptId") + def query_reformulation_ai_prompt_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "query_reformulation_ai_prompt_id") + + @query_reformulation_ai_prompt_id.setter + def query_reformulation_ai_prompt_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "query_reformulation_ai_prompt_id", value) + + +if not MYPY: + class AiAgentAssociationConfigurationDataPropertiesArgsDict(TypedDict): + knowledge_base_association_configuration_data: pulumi.Input['AiAgentKnowledgeBaseAssociationConfigurationDataArgsDict'] +elif False: + AiAgentAssociationConfigurationDataPropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentAssociationConfigurationDataPropertiesArgs: + def __init__(__self__, *, + knowledge_base_association_configuration_data: pulumi.Input['AiAgentKnowledgeBaseAssociationConfigurationDataArgs']): + pulumi.set(__self__, "knowledge_base_association_configuration_data", knowledge_base_association_configuration_data) + + @property + @pulumi.getter(name="knowledgeBaseAssociationConfigurationData") + def knowledge_base_association_configuration_data(self) -> pulumi.Input['AiAgentKnowledgeBaseAssociationConfigurationDataArgs']: + return pulumi.get(self, "knowledge_base_association_configuration_data") + + @knowledge_base_association_configuration_data.setter + def knowledge_base_association_configuration_data(self, value: pulumi.Input['AiAgentKnowledgeBaseAssociationConfigurationDataArgs']): + pulumi.set(self, "knowledge_base_association_configuration_data", value) + + +if not MYPY: + class AiAgentAssociationConfigurationArgsDict(TypedDict): + association_configuration_data: NotRequired[pulumi.Input['AiAgentAssociationConfigurationDataPropertiesArgsDict']] + association_id: NotRequired[pulumi.Input[str]] + association_type: NotRequired[pulumi.Input['AiAgentAiAgentAssociationConfigurationType']] +elif False: + AiAgentAssociationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentAssociationConfigurationArgs: + def __init__(__self__, *, + association_configuration_data: Optional[pulumi.Input['AiAgentAssociationConfigurationDataPropertiesArgs']] = None, + association_id: Optional[pulumi.Input[str]] = None, + association_type: Optional[pulumi.Input['AiAgentAiAgentAssociationConfigurationType']] = None): + if association_configuration_data is not None: + pulumi.set(__self__, "association_configuration_data", association_configuration_data) + if association_id is not None: + pulumi.set(__self__, "association_id", association_id) + if association_type is not None: + pulumi.set(__self__, "association_type", association_type) + + @property + @pulumi.getter(name="associationConfigurationData") + def association_configuration_data(self) -> Optional[pulumi.Input['AiAgentAssociationConfigurationDataPropertiesArgs']]: + return pulumi.get(self, "association_configuration_data") + + @association_configuration_data.setter + def association_configuration_data(self, value: Optional[pulumi.Input['AiAgentAssociationConfigurationDataPropertiesArgs']]): + pulumi.set(self, "association_configuration_data", value) + + @property + @pulumi.getter(name="associationId") + def association_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "association_id") + + @association_id.setter + def association_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "association_id", value) + + @property + @pulumi.getter(name="associationType") + def association_type(self) -> Optional[pulumi.Input['AiAgentAiAgentAssociationConfigurationType']]: + return pulumi.get(self, "association_type") + + @association_type.setter + def association_type(self, value: Optional[pulumi.Input['AiAgentAiAgentAssociationConfigurationType']]): + pulumi.set(self, "association_type", value) + + +if not MYPY: + class AiAgentKnowledgeBaseAssociationConfigurationDataArgsDict(TypedDict): + content_tag_filter: NotRequired[pulumi.Input[Union['AiAgentTagFilter0PropertiesArgsDict', 'AiAgentTagFilter1PropertiesArgsDict', 'AiAgentTagFilter2PropertiesArgsDict']]] + max_results: NotRequired[pulumi.Input[float]] + override_knowledge_base_search_type: NotRequired[pulumi.Input['AiAgentKnowledgeBaseSearchType']] +elif False: + AiAgentKnowledgeBaseAssociationConfigurationDataArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentKnowledgeBaseAssociationConfigurationDataArgs: + def __init__(__self__, *, + content_tag_filter: Optional[pulumi.Input[Union['AiAgentTagFilter0PropertiesArgs', 'AiAgentTagFilter1PropertiesArgs', 'AiAgentTagFilter2PropertiesArgs']]] = None, + max_results: Optional[pulumi.Input[float]] = None, + override_knowledge_base_search_type: Optional[pulumi.Input['AiAgentKnowledgeBaseSearchType']] = None): + if content_tag_filter is not None: + pulumi.set(__self__, "content_tag_filter", content_tag_filter) + if max_results is not None: + pulumi.set(__self__, "max_results", max_results) + if override_knowledge_base_search_type is not None: + pulumi.set(__self__, "override_knowledge_base_search_type", override_knowledge_base_search_type) + + @property + @pulumi.getter(name="contentTagFilter") + def content_tag_filter(self) -> Optional[pulumi.Input[Union['AiAgentTagFilter0PropertiesArgs', 'AiAgentTagFilter1PropertiesArgs', 'AiAgentTagFilter2PropertiesArgs']]]: + return pulumi.get(self, "content_tag_filter") + + @content_tag_filter.setter + def content_tag_filter(self, value: Optional[pulumi.Input[Union['AiAgentTagFilter0PropertiesArgs', 'AiAgentTagFilter1PropertiesArgs', 'AiAgentTagFilter2PropertiesArgs']]]): + pulumi.set(self, "content_tag_filter", value) + + @property + @pulumi.getter(name="maxResults") + def max_results(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "max_results") + + @max_results.setter + def max_results(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "max_results", value) + + @property + @pulumi.getter(name="overrideKnowledgeBaseSearchType") + def override_knowledge_base_search_type(self) -> Optional[pulumi.Input['AiAgentKnowledgeBaseSearchType']]: + return pulumi.get(self, "override_knowledge_base_search_type") + + @override_knowledge_base_search_type.setter + def override_knowledge_base_search_type(self, value: Optional[pulumi.Input['AiAgentKnowledgeBaseSearchType']]): + pulumi.set(self, "override_knowledge_base_search_type", value) + + +if not MYPY: + class AiAgentManualSearchAiAgentConfigurationArgsDict(TypedDict): + answer_generation_ai_prompt_id: NotRequired[pulumi.Input[str]] + association_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgsDict']]]] +elif False: + AiAgentManualSearchAiAgentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentManualSearchAiAgentConfigurationArgs: + def __init__(__self__, *, + answer_generation_ai_prompt_id: Optional[pulumi.Input[str]] = None, + association_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgs']]]] = None): + if answer_generation_ai_prompt_id is not None: + pulumi.set(__self__, "answer_generation_ai_prompt_id", answer_generation_ai_prompt_id) + if association_configurations is not None: + pulumi.set(__self__, "association_configurations", association_configurations) + + @property + @pulumi.getter(name="answerGenerationAiPromptId") + def answer_generation_ai_prompt_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "answer_generation_ai_prompt_id") + + @answer_generation_ai_prompt_id.setter + def answer_generation_ai_prompt_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "answer_generation_ai_prompt_id", value) + + @property + @pulumi.getter(name="associationConfigurations") + def association_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgs']]]]: + return pulumi.get(self, "association_configurations") + + @association_configurations.setter + def association_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AiAgentAssociationConfigurationArgs']]]]): + pulumi.set(self, "association_configurations", value) + + +if not MYPY: + class AiAgentOrCondition0PropertiesArgsDict(TypedDict): + and_conditions: pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgsDict']]] +elif False: + AiAgentOrCondition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentOrCondition0PropertiesArgs: + def __init__(__self__, *, + and_conditions: pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgs']]]): + pulumi.set(__self__, "and_conditions", and_conditions) + + @property + @pulumi.getter(name="andConditions") + def and_conditions(self) -> pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgs']]]: + return pulumi.get(self, "and_conditions") + + @and_conditions.setter + def and_conditions(self, value: pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgs']]]): + pulumi.set(self, "and_conditions", value) + + +if not MYPY: + class AiAgentOrCondition1PropertiesArgsDict(TypedDict): + tag_condition: pulumi.Input['AiAgentTagConditionArgsDict'] +elif False: + AiAgentOrCondition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentOrCondition1PropertiesArgs: + def __init__(__self__, *, + tag_condition: pulumi.Input['AiAgentTagConditionArgs']): + pulumi.set(__self__, "tag_condition", tag_condition) + + @property + @pulumi.getter(name="tagCondition") + def tag_condition(self) -> pulumi.Input['AiAgentTagConditionArgs']: + return pulumi.get(self, "tag_condition") + + @tag_condition.setter + def tag_condition(self, value: pulumi.Input['AiAgentTagConditionArgs']): + pulumi.set(self, "tag_condition", value) + + +if not MYPY: + class AiAgentTagConditionArgsDict(TypedDict): + key: pulumi.Input[str] + value: NotRequired[pulumi.Input[str]] +elif False: + AiAgentTagConditionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentTagConditionArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +if not MYPY: + class AiAgentTagFilter0PropertiesArgsDict(TypedDict): + tag_condition: pulumi.Input['AiAgentTagConditionArgsDict'] +elif False: + AiAgentTagFilter0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentTagFilter0PropertiesArgs: + def __init__(__self__, *, + tag_condition: pulumi.Input['AiAgentTagConditionArgs']): + pulumi.set(__self__, "tag_condition", tag_condition) + + @property + @pulumi.getter(name="tagCondition") + def tag_condition(self) -> pulumi.Input['AiAgentTagConditionArgs']: + return pulumi.get(self, "tag_condition") + + @tag_condition.setter + def tag_condition(self, value: pulumi.Input['AiAgentTagConditionArgs']): + pulumi.set(self, "tag_condition", value) + + +if not MYPY: + class AiAgentTagFilter1PropertiesArgsDict(TypedDict): + and_conditions: pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgsDict']]] +elif False: + AiAgentTagFilter1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentTagFilter1PropertiesArgs: + def __init__(__self__, *, + and_conditions: pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgs']]]): + pulumi.set(__self__, "and_conditions", and_conditions) + + @property + @pulumi.getter(name="andConditions") + def and_conditions(self) -> pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgs']]]: + return pulumi.get(self, "and_conditions") + + @and_conditions.setter + def and_conditions(self, value: pulumi.Input[Sequence[pulumi.Input['AiAgentTagConditionArgs']]]): + pulumi.set(self, "and_conditions", value) + + +if not MYPY: + class AiAgentTagFilter2PropertiesArgsDict(TypedDict): + or_conditions: pulumi.Input[Sequence[pulumi.Input[Union['AiAgentOrCondition0PropertiesArgsDict', 'AiAgentOrCondition1PropertiesArgsDict']]]] +elif False: + AiAgentTagFilter2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AiAgentTagFilter2PropertiesArgs: + def __init__(__self__, *, + or_conditions: pulumi.Input[Sequence[pulumi.Input[Union['AiAgentOrCondition0PropertiesArgs', 'AiAgentOrCondition1PropertiesArgs']]]]): + pulumi.set(__self__, "or_conditions", or_conditions) + + @property + @pulumi.getter(name="orConditions") + def or_conditions(self) -> pulumi.Input[Sequence[pulumi.Input[Union['AiAgentOrCondition0PropertiesArgs', 'AiAgentOrCondition1PropertiesArgs']]]]: + return pulumi.get(self, "or_conditions") + + @or_conditions.setter + def or_conditions(self, value: pulumi.Input[Sequence[pulumi.Input[Union['AiAgentOrCondition0PropertiesArgs', 'AiAgentOrCondition1PropertiesArgs']]]]): + pulumi.set(self, "or_conditions", value) + + if not MYPY: class AiPromptAiPromptTemplateConfigurationArgsDict(TypedDict): pass diff --git a/sdk/python/pulumi_aws_native/wisdom/ai_agent.py b/sdk/python/pulumi_aws_native/wisdom/ai_agent.py new file mode 100644 index 0000000000..df2f264289 --- /dev/null +++ b/sdk/python/pulumi_aws_native/wisdom/ai_agent.py @@ -0,0 +1,250 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['AiAgentArgs', 'AiAgent'] + +@pulumi.input_type +class AiAgentArgs: + def __init__(__self__, *, + assistant_id: pulumi.Input[str], + configuration: pulumi.Input[Union['AiAgentAiAgentConfiguration0PropertiesArgs', 'AiAgentAiAgentConfiguration1PropertiesArgs']], + type: pulumi.Input['AiAgentAiAgentType'], + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a AiAgent resource. + """ + pulumi.set(__self__, "assistant_id", assistant_id) + pulumi.set(__self__, "configuration", configuration) + pulumi.set(__self__, "type", type) + if description is not None: + pulumi.set(__self__, "description", description) + if name is not None: + pulumi.set(__self__, "name", name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="assistantId") + def assistant_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "assistant_id") + + @assistant_id.setter + def assistant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "assistant_id", value) + + @property + @pulumi.getter + def configuration(self) -> pulumi.Input[Union['AiAgentAiAgentConfiguration0PropertiesArgs', 'AiAgentAiAgentConfiguration1PropertiesArgs']]: + return pulumi.get(self, "configuration") + + @configuration.setter + def configuration(self, value: pulumi.Input[Union['AiAgentAiAgentConfiguration0PropertiesArgs', 'AiAgentAiAgentConfiguration1PropertiesArgs']]): + pulumi.set(self, "configuration", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input['AiAgentAiAgentType']: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input['AiAgentAiAgentType']): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +class AiAgent(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + assistant_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input[Union[Union['AiAgentAiAgentConfiguration0PropertiesArgs', 'AiAgentAiAgentConfiguration0PropertiesArgsDict'], Union['AiAgentAiAgentConfiguration1PropertiesArgs', 'AiAgentAiAgentConfiguration1PropertiesArgsDict']]]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input['AiAgentAiAgentType']] = None, + __props__=None): + """ + Definition of AWS::Wisdom::AIAgent Resource Type + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AiAgentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Definition of AWS::Wisdom::AIAgent Resource Type + + :param str resource_name: The name of the resource. + :param AiAgentArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AiAgentArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + assistant_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input[Union[Union['AiAgentAiAgentConfiguration0PropertiesArgs', 'AiAgentAiAgentConfiguration0PropertiesArgsDict'], Union['AiAgentAiAgentConfiguration1PropertiesArgs', 'AiAgentAiAgentConfiguration1PropertiesArgsDict']]]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input['AiAgentAiAgentType']] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AiAgentArgs.__new__(AiAgentArgs) + + if assistant_id is None and not opts.urn: + raise TypeError("Missing required property 'assistant_id'") + __props__.__dict__["assistant_id"] = assistant_id + if configuration is None and not opts.urn: + raise TypeError("Missing required property 'configuration'") + __props__.__dict__["configuration"] = configuration + __props__.__dict__["description"] = description + __props__.__dict__["name"] = name + __props__.__dict__["tags"] = tags + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + __props__.__dict__["ai_agent_arn"] = None + __props__.__dict__["ai_agent_id"] = None + __props__.__dict__["assistant_arn"] = None + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["assistantId", "name", "tags.*", "type"]) + opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) + super(AiAgent, __self__).__init__( + 'aws-native:wisdom:AiAgent', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'AiAgent': + """ + Get an existing AiAgent resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = AiAgentArgs.__new__(AiAgentArgs) + + __props__.__dict__["ai_agent_arn"] = None + __props__.__dict__["ai_agent_id"] = None + __props__.__dict__["assistant_arn"] = None + __props__.__dict__["assistant_id"] = None + __props__.__dict__["configuration"] = None + __props__.__dict__["description"] = None + __props__.__dict__["name"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return AiAgent(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="aiAgentArn") + def ai_agent_arn(self) -> pulumi.Output[str]: + return pulumi.get(self, "ai_agent_arn") + + @property + @pulumi.getter(name="aiAgentId") + def ai_agent_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "ai_agent_id") + + @property + @pulumi.getter(name="assistantArn") + def assistant_arn(self) -> pulumi.Output[str]: + return pulumi.get(self, "assistant_arn") + + @property + @pulumi.getter(name="assistantId") + def assistant_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "assistant_id") + + @property + @pulumi.getter + def configuration(self) -> pulumi.Output[Any]: + return pulumi.get(self, "configuration") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output['AiAgentAiAgentType']: + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_aws_native/wisdom/get_ai_agent.py b/sdk/python/pulumi_aws_native/wisdom/get_ai_agent.py new file mode 100644 index 0000000000..529cdefcbd --- /dev/null +++ b/sdk/python/pulumi_aws_native/wisdom/get_ai_agent.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'GetAiAgentResult', + 'AwaitableGetAiAgentResult', + 'get_ai_agent', + 'get_ai_agent_output', +] + +@pulumi.output_type +class GetAiAgentResult: + def __init__(__self__, ai_agent_arn=None, ai_agent_id=None, assistant_arn=None, configuration=None, description=None): + if ai_agent_arn and not isinstance(ai_agent_arn, str): + raise TypeError("Expected argument 'ai_agent_arn' to be a str") + pulumi.set(__self__, "ai_agent_arn", ai_agent_arn) + if ai_agent_id and not isinstance(ai_agent_id, str): + raise TypeError("Expected argument 'ai_agent_id' to be a str") + pulumi.set(__self__, "ai_agent_id", ai_agent_id) + if assistant_arn and not isinstance(assistant_arn, str): + raise TypeError("Expected argument 'assistant_arn' to be a str") + pulumi.set(__self__, "assistant_arn", assistant_arn) + if configuration and not isinstance(configuration, dict): + raise TypeError("Expected argument 'configuration' to be a dict") + pulumi.set(__self__, "configuration", configuration) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter(name="aiAgentArn") + def ai_agent_arn(self) -> Optional[str]: + return pulumi.get(self, "ai_agent_arn") + + @property + @pulumi.getter(name="aiAgentId") + def ai_agent_id(self) -> Optional[str]: + return pulumi.get(self, "ai_agent_id") + + @property + @pulumi.getter(name="assistantArn") + def assistant_arn(self) -> Optional[str]: + return pulumi.get(self, "assistant_arn") + + @property + @pulumi.getter + def configuration(self) -> Optional[Any]: + return pulumi.get(self, "configuration") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + return pulumi.get(self, "description") + + +class AwaitableGetAiAgentResult(GetAiAgentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAiAgentResult( + ai_agent_arn=self.ai_agent_arn, + ai_agent_id=self.ai_agent_id, + assistant_arn=self.assistant_arn, + configuration=self.configuration, + description=self.description) + + +def get_ai_agent(ai_agent_id: Optional[str] = None, + assistant_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAiAgentResult: + """ + Definition of AWS::Wisdom::AIAgent Resource Type + """ + __args__ = dict() + __args__['aiAgentId'] = ai_agent_id + __args__['assistantId'] = assistant_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('aws-native:wisdom:getAiAgent', __args__, opts=opts, typ=GetAiAgentResult).value + + return AwaitableGetAiAgentResult( + ai_agent_arn=pulumi.get(__ret__, 'ai_agent_arn'), + ai_agent_id=pulumi.get(__ret__, 'ai_agent_id'), + assistant_arn=pulumi.get(__ret__, 'assistant_arn'), + configuration=pulumi.get(__ret__, 'configuration'), + description=pulumi.get(__ret__, 'description')) +def get_ai_agent_output(ai_agent_id: Optional[pulumi.Input[str]] = None, + assistant_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAiAgentResult]: + """ + Definition of AWS::Wisdom::AIAgent Resource Type + """ + __args__ = dict() + __args__['aiAgentId'] = ai_agent_id + __args__['assistantId'] = assistant_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wisdom:getAiAgent', __args__, opts=opts, typ=GetAiAgentResult) + return __ret__.apply(lambda __response__: GetAiAgentResult( + ai_agent_arn=pulumi.get(__response__, 'ai_agent_arn'), + ai_agent_id=pulumi.get(__response__, 'ai_agent_id'), + assistant_arn=pulumi.get(__response__, 'assistant_arn'), + configuration=pulumi.get(__response__, 'configuration'), + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/wisdom/outputs.py b/sdk/python/pulumi_aws_native/wisdom/outputs.py index aa35027763..9497b0e587 100644 --- a/sdk/python/pulumi_aws_native/wisdom/outputs.py +++ b/sdk/python/pulumi_aws_native/wisdom/outputs.py @@ -17,6 +17,19 @@ from ._enums import * __all__ = [ + 'AiAgentAiAgentConfiguration0Properties', + 'AiAgentAiAgentConfiguration1Properties', + 'AiAgentAnswerRecommendationAiAgentConfiguration', + 'AiAgentAssociationConfiguration', + 'AiAgentAssociationConfigurationDataProperties', + 'AiAgentKnowledgeBaseAssociationConfigurationData', + 'AiAgentManualSearchAiAgentConfiguration', + 'AiAgentOrCondition0Properties', + 'AiAgentOrCondition1Properties', + 'AiAgentTagCondition', + 'AiAgentTagFilter0Properties', + 'AiAgentTagFilter1Properties', + 'AiAgentTagFilter2Properties', 'AiPromptAiPromptTemplateConfiguration', 'AssistantAssociationAssociationData', 'AssistantServerSideEncryptionConfiguration', @@ -26,6 +39,458 @@ 'KnowledgeBaseSourceConfiguration', ] +@pulumi.output_type +class AiAgentAiAgentConfiguration0Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "manualSearchAiAgentConfiguration": + suggest = "manual_search_ai_agent_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentAiAgentConfiguration0Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentAiAgentConfiguration0Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentAiAgentConfiguration0Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + manual_search_ai_agent_configuration: 'outputs.AiAgentManualSearchAiAgentConfiguration'): + pulumi.set(__self__, "manual_search_ai_agent_configuration", manual_search_ai_agent_configuration) + + @property + @pulumi.getter(name="manualSearchAiAgentConfiguration") + def manual_search_ai_agent_configuration(self) -> 'outputs.AiAgentManualSearchAiAgentConfiguration': + return pulumi.get(self, "manual_search_ai_agent_configuration") + + +@pulumi.output_type +class AiAgentAiAgentConfiguration1Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "answerRecommendationAiAgentConfiguration": + suggest = "answer_recommendation_ai_agent_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentAiAgentConfiguration1Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentAiAgentConfiguration1Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentAiAgentConfiguration1Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + answer_recommendation_ai_agent_configuration: 'outputs.AiAgentAnswerRecommendationAiAgentConfiguration'): + pulumi.set(__self__, "answer_recommendation_ai_agent_configuration", answer_recommendation_ai_agent_configuration) + + @property + @pulumi.getter(name="answerRecommendationAiAgentConfiguration") + def answer_recommendation_ai_agent_configuration(self) -> 'outputs.AiAgentAnswerRecommendationAiAgentConfiguration': + return pulumi.get(self, "answer_recommendation_ai_agent_configuration") + + +@pulumi.output_type +class AiAgentAnswerRecommendationAiAgentConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "answerGenerationAiPromptId": + suggest = "answer_generation_ai_prompt_id" + elif key == "associationConfigurations": + suggest = "association_configurations" + elif key == "intentLabelingGenerationAiPromptId": + suggest = "intent_labeling_generation_ai_prompt_id" + elif key == "queryReformulationAiPromptId": + suggest = "query_reformulation_ai_prompt_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentAnswerRecommendationAiAgentConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentAnswerRecommendationAiAgentConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentAnswerRecommendationAiAgentConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + answer_generation_ai_prompt_id: Optional[str] = None, + association_configurations: Optional[Sequence['outputs.AiAgentAssociationConfiguration']] = None, + intent_labeling_generation_ai_prompt_id: Optional[str] = None, + query_reformulation_ai_prompt_id: Optional[str] = None): + if answer_generation_ai_prompt_id is not None: + pulumi.set(__self__, "answer_generation_ai_prompt_id", answer_generation_ai_prompt_id) + if association_configurations is not None: + pulumi.set(__self__, "association_configurations", association_configurations) + if intent_labeling_generation_ai_prompt_id is not None: + pulumi.set(__self__, "intent_labeling_generation_ai_prompt_id", intent_labeling_generation_ai_prompt_id) + if query_reformulation_ai_prompt_id is not None: + pulumi.set(__self__, "query_reformulation_ai_prompt_id", query_reformulation_ai_prompt_id) + + @property + @pulumi.getter(name="answerGenerationAiPromptId") + def answer_generation_ai_prompt_id(self) -> Optional[str]: + return pulumi.get(self, "answer_generation_ai_prompt_id") + + @property + @pulumi.getter(name="associationConfigurations") + def association_configurations(self) -> Optional[Sequence['outputs.AiAgentAssociationConfiguration']]: + return pulumi.get(self, "association_configurations") + + @property + @pulumi.getter(name="intentLabelingGenerationAiPromptId") + def intent_labeling_generation_ai_prompt_id(self) -> Optional[str]: + return pulumi.get(self, "intent_labeling_generation_ai_prompt_id") + + @property + @pulumi.getter(name="queryReformulationAiPromptId") + def query_reformulation_ai_prompt_id(self) -> Optional[str]: + return pulumi.get(self, "query_reformulation_ai_prompt_id") + + +@pulumi.output_type +class AiAgentAssociationConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "associationConfigurationData": + suggest = "association_configuration_data" + elif key == "associationId": + suggest = "association_id" + elif key == "associationType": + suggest = "association_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentAssociationConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentAssociationConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentAssociationConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + association_configuration_data: Optional['outputs.AiAgentAssociationConfigurationDataProperties'] = None, + association_id: Optional[str] = None, + association_type: Optional['AiAgentAiAgentAssociationConfigurationType'] = None): + if association_configuration_data is not None: + pulumi.set(__self__, "association_configuration_data", association_configuration_data) + if association_id is not None: + pulumi.set(__self__, "association_id", association_id) + if association_type is not None: + pulumi.set(__self__, "association_type", association_type) + + @property + @pulumi.getter(name="associationConfigurationData") + def association_configuration_data(self) -> Optional['outputs.AiAgentAssociationConfigurationDataProperties']: + return pulumi.get(self, "association_configuration_data") + + @property + @pulumi.getter(name="associationId") + def association_id(self) -> Optional[str]: + return pulumi.get(self, "association_id") + + @property + @pulumi.getter(name="associationType") + def association_type(self) -> Optional['AiAgentAiAgentAssociationConfigurationType']: + return pulumi.get(self, "association_type") + + +@pulumi.output_type +class AiAgentAssociationConfigurationDataProperties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "knowledgeBaseAssociationConfigurationData": + suggest = "knowledge_base_association_configuration_data" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentAssociationConfigurationDataProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentAssociationConfigurationDataProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentAssociationConfigurationDataProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + knowledge_base_association_configuration_data: 'outputs.AiAgentKnowledgeBaseAssociationConfigurationData'): + pulumi.set(__self__, "knowledge_base_association_configuration_data", knowledge_base_association_configuration_data) + + @property + @pulumi.getter(name="knowledgeBaseAssociationConfigurationData") + def knowledge_base_association_configuration_data(self) -> 'outputs.AiAgentKnowledgeBaseAssociationConfigurationData': + return pulumi.get(self, "knowledge_base_association_configuration_data") + + +@pulumi.output_type +class AiAgentKnowledgeBaseAssociationConfigurationData(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "contentTagFilter": + suggest = "content_tag_filter" + elif key == "maxResults": + suggest = "max_results" + elif key == "overrideKnowledgeBaseSearchType": + suggest = "override_knowledge_base_search_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentKnowledgeBaseAssociationConfigurationData. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentKnowledgeBaseAssociationConfigurationData.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentKnowledgeBaseAssociationConfigurationData.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + content_tag_filter: Optional[Any] = None, + max_results: Optional[float] = None, + override_knowledge_base_search_type: Optional['AiAgentKnowledgeBaseSearchType'] = None): + if content_tag_filter is not None: + pulumi.set(__self__, "content_tag_filter", content_tag_filter) + if max_results is not None: + pulumi.set(__self__, "max_results", max_results) + if override_knowledge_base_search_type is not None: + pulumi.set(__self__, "override_knowledge_base_search_type", override_knowledge_base_search_type) + + @property + @pulumi.getter(name="contentTagFilter") + def content_tag_filter(self) -> Optional[Any]: + return pulumi.get(self, "content_tag_filter") + + @property + @pulumi.getter(name="maxResults") + def max_results(self) -> Optional[float]: + return pulumi.get(self, "max_results") + + @property + @pulumi.getter(name="overrideKnowledgeBaseSearchType") + def override_knowledge_base_search_type(self) -> Optional['AiAgentKnowledgeBaseSearchType']: + return pulumi.get(self, "override_knowledge_base_search_type") + + +@pulumi.output_type +class AiAgentManualSearchAiAgentConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "answerGenerationAiPromptId": + suggest = "answer_generation_ai_prompt_id" + elif key == "associationConfigurations": + suggest = "association_configurations" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentManualSearchAiAgentConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentManualSearchAiAgentConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentManualSearchAiAgentConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + answer_generation_ai_prompt_id: Optional[str] = None, + association_configurations: Optional[Sequence['outputs.AiAgentAssociationConfiguration']] = None): + if answer_generation_ai_prompt_id is not None: + pulumi.set(__self__, "answer_generation_ai_prompt_id", answer_generation_ai_prompt_id) + if association_configurations is not None: + pulumi.set(__self__, "association_configurations", association_configurations) + + @property + @pulumi.getter(name="answerGenerationAiPromptId") + def answer_generation_ai_prompt_id(self) -> Optional[str]: + return pulumi.get(self, "answer_generation_ai_prompt_id") + + @property + @pulumi.getter(name="associationConfigurations") + def association_configurations(self) -> Optional[Sequence['outputs.AiAgentAssociationConfiguration']]: + return pulumi.get(self, "association_configurations") + + +@pulumi.output_type +class AiAgentOrCondition0Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "andConditions": + suggest = "and_conditions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentOrCondition0Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentOrCondition0Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentOrCondition0Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + and_conditions: Sequence['outputs.AiAgentTagCondition']): + pulumi.set(__self__, "and_conditions", and_conditions) + + @property + @pulumi.getter(name="andConditions") + def and_conditions(self) -> Sequence['outputs.AiAgentTagCondition']: + return pulumi.get(self, "and_conditions") + + +@pulumi.output_type +class AiAgentOrCondition1Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "tagCondition": + suggest = "tag_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentOrCondition1Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentOrCondition1Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentOrCondition1Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + tag_condition: 'outputs.AiAgentTagCondition'): + pulumi.set(__self__, "tag_condition", tag_condition) + + @property + @pulumi.getter(name="tagCondition") + def tag_condition(self) -> 'outputs.AiAgentTagCondition': + return pulumi.get(self, "tag_condition") + + +@pulumi.output_type +class AiAgentTagCondition(dict): + def __init__(__self__, *, + key: str, + value: Optional[str] = None): + pulumi.set(__self__, "key", key) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def value(self) -> Optional[str]: + return pulumi.get(self, "value") + + +@pulumi.output_type +class AiAgentTagFilter0Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "tagCondition": + suggest = "tag_condition" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentTagFilter0Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentTagFilter0Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentTagFilter0Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + tag_condition: 'outputs.AiAgentTagCondition'): + pulumi.set(__self__, "tag_condition", tag_condition) + + @property + @pulumi.getter(name="tagCondition") + def tag_condition(self) -> 'outputs.AiAgentTagCondition': + return pulumi.get(self, "tag_condition") + + +@pulumi.output_type +class AiAgentTagFilter1Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "andConditions": + suggest = "and_conditions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentTagFilter1Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentTagFilter1Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentTagFilter1Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + and_conditions: Sequence['outputs.AiAgentTagCondition']): + pulumi.set(__self__, "and_conditions", and_conditions) + + @property + @pulumi.getter(name="andConditions") + def and_conditions(self) -> Sequence['outputs.AiAgentTagCondition']: + return pulumi.get(self, "and_conditions") + + +@pulumi.output_type +class AiAgentTagFilter2Properties(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "orConditions": + suggest = "or_conditions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AiAgentTagFilter2Properties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AiAgentTagFilter2Properties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AiAgentTagFilter2Properties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + or_conditions: Sequence[Any]): + pulumi.set(__self__, "or_conditions", or_conditions) + + @property + @pulumi.getter(name="orConditions") + def or_conditions(self) -> Sequence[Any]: + return pulumi.get(self, "or_conditions") + + @pulumi.output_type class AiPromptAiPromptTemplateConfiguration(dict): def __init__(__self__):