From c141208fd0703f3e62ea37ae18d27461b3ee3713 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Thu, 9 Jul 2026 17:03:08 -0700 Subject: [PATCH 01/63] feat(aws): wave-1A schema/error patches, Presign module, paginator + ValidationException fixes - sqs: Successful/Failed optional on all three batch results (JSON protocol omits empty lists) - cloudwatch: typed describeAlarmContributors ValidationException - rds: typed createDBInstance cluster-member VpcSecurityGroupIds rejection - ec2: typed UnauthorizedOperation - cloudflare/workers: restore RouteScriptNotFound (10019) on createRoute - paginators (aws + core): empty-string tokens are terminal (infinite first-page loop) + unit tests - ValidationException: optional message/reason/fieldList - new @distilled.cloud/aws/Presign: SigV4 query-string presigning (presignUrl + presignS3Url) + unit tests Found live by the alchemy AWS resource-factory Wave 1A. Co-Authored-By: Claude Fable 5 --- packages/aws/package.json | 5 + packages/aws/patches/cloudwatch.json | 10 + packages/aws/patches/ec2.json | 2977 +++++++++++++---- packages/aws/patches/rds.json | 18 + packages/aws/patches/sqs.json | 23 + packages/aws/src/client/api.ts | 17 +- packages/aws/src/errors.ts | 9 +- packages/aws/src/index.browser.ts | 7 + packages/aws/src/index.ts | 7 + packages/aws/src/presign.ts | 186 + packages/aws/src/rules-engine/partitions.json | 2 +- packages/aws/src/services/cloudwatch.ts | 7 +- packages/aws/src/services/ec2.ts | 2833 +++++++++++++--- packages/aws/src/services/rds.ts | 16 + packages/aws/src/services/sqs.ts | 20 +- .../aws/test/client/paginate-done.test.ts | 43 + packages/aws/test/presign.test.ts | 200 ++ .../aws/test/protocols/aws-json-1.0.test.ts | 35 + .../patches/workers/createRoute.json | 25 +- .../specs/cloudflare/workers.openapi.yml | 2 + packages/cloudflare/src/services/workers.ts | 13 +- packages/core/src/pagination.ts | 16 +- packages/core/test/pagination.test.ts | 124 +- 23 files changed, 5456 insertions(+), 1139 deletions(-) create mode 100644 packages/aws/patches/cloudwatch.json create mode 100644 packages/aws/src/presign.ts create mode 100644 packages/aws/test/client/paginate-done.test.ts create mode 100644 packages/aws/test/presign.test.ts diff --git a/packages/aws/package.json b/packages/aws/package.json index 3fbdcc0b22..2104722401 100644 --- a/packages/aws/package.json +++ b/packages/aws/package.json @@ -48,6 +48,11 @@ "bun": "./src/errors.ts", "default": "./lib/errors.js" }, + "./Presign": { + "types": "./lib/presign.d.ts", + "bun": "./src/presign.ts", + "default": "./lib/presign.js" + }, "./Region": { "types": "./lib/region.d.ts", "bun": "./src/region.ts", diff --git a/packages/aws/patches/cloudwatch.json b/packages/aws/patches/cloudwatch.json new file mode 100644 index 0000000000..d51ea5edaa --- /dev/null +++ b/packages/aws/patches/cloudwatch.json @@ -0,0 +1,10 @@ +{ + "errorCategories": { + "ValidationException": ["BadRequestError"] + }, + "operations": { + "describeAlarmContributors": { + "errors": ["ValidationException"] + } + } +} diff --git a/packages/aws/patches/ec2.json b/packages/aws/patches/ec2.json index d560a8b257..51fa688c67 100644 --- a/packages/aws/patches/ec2.json +++ b/packages/aws/patches/ec2.json @@ -1,7 +1,11 @@ { "errorCategories": { - "RequestLimitExceeded": ["ThrottlingError"], - "IncorrectState": ["ConflictError"] + "RequestLimitExceeded": [ + "ThrottlingError" + ], + "IncorrectState": [ + "ConflictError" + ] }, "operations": { "createVpc": { @@ -10,7 +14,8 @@ "InvalidParameterValue", "MissingParameter", "ParseError", - "VpcLimitExceeded" + "VpcLimitExceeded", + "UnauthorizedOperation" ] }, "deleteVpc": { @@ -20,7 +25,8 @@ "InvalidVpcID.NotFound", "InvalidVpcId.Malformed", "MissingParameter", - "RequestError" + "RequestError", + "UnauthorizedOperation" ] }, "createSubnet": { @@ -30,7 +36,8 @@ "InvalidVpcID.NotFound", "MissingParameter", "ParseError", - "InvalidSubnet.Conflict" + "InvalidSubnet.Conflict", + "UnauthorizedOperation" ] }, "deleteSubnet": { @@ -39,14 +46,16 @@ "DependencyViolation", "InvalidSubnetID.NotFound", "InvalidSubnetId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createInternetGateway": { "errors": [ "RequestLimitExceeded", "InternetGatewayLimitExceeded", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteInternetGateway": { @@ -54,7 +63,8 @@ "RequestLimitExceeded", "DependencyViolation", "InvalidInternetGatewayID.NotFound", - "InvalidInternetGatewayId.Malformed" + "InvalidInternetGatewayId.Malformed", + "UnauthorizedOperation" ] }, "attachInternetGateway": { @@ -63,7 +73,8 @@ "InvalidVpcID.NotFound", "InvalidInternetGatewayID.NotFound", "InvalidInternetGatewayId.Malformed", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "detachInternetGateway": { @@ -73,7 +84,8 @@ "Gateway.NotAttached", "InvalidInternetGatewayID.NotFound", "InvalidInternetGatewayId.Malformed", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "createRouteTable": { @@ -81,7 +93,8 @@ "RequestLimitExceeded", "InvalidVpcID.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteRouteTable": { @@ -89,7 +102,8 @@ "RequestLimitExceeded", "DependencyViolation", "InvalidRouteTableID.NotFound", - "InvalidRouteTableId.Malformed" + "InvalidRouteTableId.Malformed", + "UnauthorizedOperation" ] }, "createRoute": { @@ -103,7 +117,8 @@ "InvalidRouteTableId.Malformed", "InvalidVpcEndpointId.NotFound", "MissingParameter", - "RouteAlreadyExists" + "RouteAlreadyExists", + "UnauthorizedOperation" ] }, "createNatGateway": { @@ -113,7 +128,8 @@ "InvalidSubnet", "InvalidSubnetID.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeVpcs": { @@ -121,28 +137,32 @@ "RequestLimitExceeded", "InvalidVpcID.NotFound", "ParseError", - "RequestError" + "RequestError", + "UnauthorizedOperation" ] }, "describeSubnets": { "errors": [ "RequestLimitExceeded", "InvalidSubnetID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeInternetGateways": { "errors": [ "RequestLimitExceeded", "InvalidInternetGatewayID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeRouteTables": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteSecurityGroup": { @@ -153,7 +173,8 @@ "InvalidGroup.NotFound", "InvalidGroupId.Malformed", "MissingParameter", - "VPCIdNotSpecified" + "VPCIdNotSpecified", + "UnauthorizedOperation" ] }, "createNetworkAcl": { @@ -161,7 +182,8 @@ "RequestLimitExceeded", "InvalidVpcID.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteNetworkAcl": { @@ -172,7 +194,8 @@ "InvalidNetworkAclID.NotFound", "InvalidNetworkAclId.Malformed", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createVpcPeeringConnection": { @@ -181,14 +204,16 @@ "InvalidVpcID.NotFound", "InvalidVpcId.Malformed", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "acceptVpcPeeringConnection": { "errors": [ "RequestLimitExceeded", "InvalidVpcPeeringConnectionID.NotFound", - "InvalidVpcPeeringConnectionId.NotFound" + "InvalidVpcPeeringConnectionId.NotFound", + "UnauthorizedOperation" ] }, "deleteDhcpOptions": { @@ -197,7 +222,8 @@ "DependencyViolation", "InvalidDhcpOptionID.NotFound", "InvalidDhcpOptionsID.NotFound", - "InvalidDhcpOptionsId.Malformed" + "InvalidDhcpOptionsId.Malformed", + "UnauthorizedOperation" ] }, "associateDhcpOptions": { @@ -205,7 +231,8 @@ "RequestLimitExceeded", "InvalidDhcpOptionsId.Malformed", "InvalidVpcID.NotFound", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "associateRouteTable": { @@ -218,7 +245,8 @@ "InvalidPublicIpv4PoolID.NotFound", "InvalidRouteTableID.NotFound", "InvalidSubnetID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateRouteTable": { @@ -226,7 +254,8 @@ "RequestLimitExceeded", "InvalidAssociationID.NotFound", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeNatGateways": { @@ -237,7 +266,8 @@ "InvalidParameter", "NatGatewayMalformed", "NatGatewayNotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "createVpcEndpoint": { @@ -247,14 +277,16 @@ "InvalidServiceName", "InvalidVpcID.NotFound", "InvalidVpcId.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteVpcEndpoints": { "errors": [ "RequestLimitExceeded", "InvalidVpcEndpointId.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "rejectVpcPeeringConnection": { @@ -262,7 +294,8 @@ "RequestLimitExceeded", "InvalidVpcPeeringConnectionID.NotFound", "InvalidVpcPeeringConnectionId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteVpcPeeringConnection": { @@ -270,7 +303,8 @@ "RequestLimitExceeded", "InvalidVpcPeeringConnectionID.NotFound", "InvalidVpcPeeringConnectionId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "associateVpcCidrBlock": { @@ -280,14 +314,16 @@ "InvalidParameterCombination", "InvalidVpcID.NotFound", "InvalidVpcId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "modifySubnetAttribute": { "errors": [ "RequestLimitExceeded", "InvalidSubnetID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateVpcCidrBlock": { @@ -296,7 +332,8 @@ "InvalidVpcCidrBlockAssociationID.NotFound", "InvalidVpcCidrBlockAssociationId.Malformed", "InvalidVpcCidrBlockAssociationIdError.NotFound", - "OperationNotPermitted" + "OperationNotPermitted", + "UnauthorizedOperation" ] }, "authorizeSecurityGroupIngress": { @@ -304,7 +341,8 @@ "RequestLimitExceeded", "InvalidGroup.NotFound", "InvalidGroupId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "revokeSecurityGroupIngress": { @@ -314,7 +352,8 @@ "InvalidGroupId.Malformed", "InvalidPermission.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "createNetworkInterface": { @@ -322,7 +361,8 @@ "RequestLimitExceeded", "InvalidSubnetID.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteNetworkInterface": { @@ -332,7 +372,8 @@ "InvalidNetworkInterfaceID.NotFound", "InvalidNetworkInterfaceId.Malformed", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createEgressOnlyInternetGateway": { @@ -341,7 +382,8 @@ "InvalidVpcID.NotFound", "InvalidVpcId.Malformed", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteEgressOnlyInternetGateway": { @@ -352,24 +394,32 @@ "InvalidGatewayID.NotFound", "MalformedGatewayID.NotFound", "MissingParameter", - "RequestLimitExceeded" + "RequestLimitExceeded", + "UnauthorizedOperation" ] }, "createVpnGateway": { - "errors": ["RequestLimitExceeded", "MissingParameter", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "ParseError", + "UnauthorizedOperation" + ] }, "deleteVpnGateway": { "errors": [ "RequestLimitExceeded", "IncorrectState", - "InvalidVpnGatewayID.NotFound" + "InvalidVpnGatewayID.NotFound", + "UnauthorizedOperation" ] }, "attachVpnGateway": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "InvalidVpnGatewayID.NotFound" + "InvalidVpnGatewayID.NotFound", + "UnauthorizedOperation" ] }, "detachVpnGateway": { @@ -378,7 +428,8 @@ "DependencyViolation", "IncorrectState", "InvalidVpnGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createSecurityGroup": { @@ -389,17 +440,24 @@ "InvalidVpcID.NotFound", "InvalidVpcId.Malformed", "MissingParameter", - "VPCIdNotSpecified" + "VPCIdNotSpecified", + "UnauthorizedOperation" ] }, "createDhcpOptions": { - "errors": ["RequestLimitExceeded", "MissingParameter", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "ParseError", + "UnauthorizedOperation" + ] }, "createNetworkAclEntry": { "errors": [ "RequestLimitExceeded", "InvalidNetworkAclID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteNetworkAclEntry": { @@ -408,14 +466,16 @@ "InvalidNetworkAclEntry.NotFound", "InvalidNetworkAclID.NotFound", "InvalidNetworkAclId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "replaceNetworkAclEntry": { "errors": [ "RequestLimitExceeded", "InvalidNetworkAclID.NotFound", - "InvalidNetworkAclId.Malformed" + "InvalidNetworkAclId.Malformed", + "UnauthorizedOperation" ] }, "createVpnConnection": { @@ -424,46 +484,57 @@ "InvalidCustomerGatewayID.NotFound", "InvalidParameterValue", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteVpnConnection": { "errors": [ "RequestLimitExceeded", "InvalidVpnConnectionID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createCustomerGateway": { - "errors": ["RequestLimitExceeded", "MissingParameter", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "ParseError", + "UnauthorizedOperation" + ] }, "createTransitGatewayVpcAttachment": { "errors": [ "RequestLimitExceeded", "InvalidSubnetID.NotFound", "InvalidTransitGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeVpcAttribute": { "errors": [ "RequestLimitExceeded", "InvalidParameterCombination", - "InvalidVpcID.NotFound" + "InvalidVpcID.NotFound", + "UnauthorizedOperation" ] }, "describeVpnGateways": { "errors": [ "RequestLimitExceeded", "InvalidVpnGatewayID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeCustomerGateways": { "errors": [ "RequestLimitExceeded", "InvalidCustomerGatewayID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "authorizeSecurityGroupEgress": { @@ -471,7 +542,8 @@ "RequestLimitExceeded", "InvalidGroup.NotFound", "InvalidGroupId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "revokeSecurityGroupEgress": { @@ -484,7 +556,8 @@ "InvalidPermission.NotFound", "InvalidSecurityGroupRuleId.Malformed", "MissingParameter", - "UnknownParameter" + "UnknownParameter", + "UnauthorizedOperation" ] }, "describeSecurityGroups": { @@ -493,7 +566,8 @@ "InvalidGroup.NotFound", "InvalidGroupId.Malformed", "ParseError", - "VPCIdNotSpecified" + "VPCIdNotSpecified", + "UnauthorizedOperation" ] }, "describeNetworkAcls": { @@ -501,7 +575,8 @@ "RequestLimitExceeded", "InvalidNetworkAclID.NotFound", "InvalidRouteTableID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "createCarrierGateway": { @@ -510,7 +585,8 @@ "InvalidVpcID.NotFound", "InvalidVpcId.Malformed", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteCarrierGateway": { @@ -518,7 +594,8 @@ "RequestLimitExceeded", "InvalidCarrierGatewayID.Malformed", "InvalidCarrierGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createFlowLogs": { @@ -526,44 +603,62 @@ "RequestLimitExceeded", "InvalidID", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteFlowLogs": { - "errors": ["RequestLimitExceeded", "InvalidFlowLogId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidFlowLogId.NotFound", + "UnauthorizedOperation" + ] }, "createManagedPrefixList": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "ParseError", + "UnauthorizedOperation" + ] }, "describeVpcPeeringConnections": { "errors": [ "RequestLimitExceeded", "InvalidVpcPeeringConnectionID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "modifyVpcPeeringConnectionOptions": { "errors": [ "RequestLimitExceeded", "InvalidVpcPeeringConnectionID.NotFound", - "InvalidVpcPeeringConnectionId.NotFound" + "InvalidVpcPeeringConnectionId.NotFound", + "UnauthorizedOperation" ] }, "describeVpcEndpoints": { "errors": [ "RequestLimitExceeded", "InvalidVpcEndpointId.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "modifyVpcEndpoint": { - "errors": ["RequestLimitExceeded", "InvalidVpcEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpcEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "replaceRoute": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteRoute": { @@ -574,18 +669,24 @@ "InvalidRoute.NotFound", "InvalidRouteTableID.NotFound", "InvalidRouteTableId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeVpcEndpointServices": { - "errors": ["RequestLimitExceeded", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "ParseError", + "UnauthorizedOperation" + ] }, "modifyNetworkInterfaceAttribute": { "errors": [ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", "InvalidNetworkInterfaceId.Malformed", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "describeNetworkInterfaces": { @@ -593,21 +694,24 @@ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", "InvalidNetworkInterfaceId.Malformed", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeManagedPrefixLists": { "errors": [ "RequestLimitExceeded", "InvalidPrefixListID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeTransitGateways": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeCarrierGateways": { @@ -615,60 +719,79 @@ "RequestLimitExceeded", "InvalidCarrierGatewayID.Malformed", "InvalidCarrierGatewayID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeFlowLogs": { - "errors": ["RequestLimitExceeded", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "ParseError", + "UnauthorizedOperation" + ] }, "describeTransitGatewayAttachments": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayAttachmentID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeVpnConnections": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionID.NotFound", + "UnauthorizedOperation" + ] }, "deleteCustomerGateway": { "errors": [ "RequestLimitExceeded", "InvalidCustomerGatewayID.NotFound", "InvalidCustomerGatewayId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "modifyVpcAttribute": { "errors": [ "RequestLimitExceeded", "InvalidParameterCombination", - "InvalidVpcID.NotFound" + "InvalidVpcID.NotFound", + "UnauthorizedOperation" ] }, "replaceRouteTableAssociation": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableAssociationId.Malformed", - "InvalidRouteTableID.NotFound" + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" ] }, "modifyVpcEndpointServiceConfiguration": { "errors": [ "RequestLimitExceeded", "InvalidVpcEndpointServiceId.Malformed", - "InvalidVpcEndpointServiceId.NotFound" + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" ] }, "describeVpcEndpointServiceConfigurations": { - "errors": ["RequestLimitExceeded", "InvalidVpcEndpointServiceId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" + ] }, "describeDhcpOptions": { "errors": [ "RequestLimitExceeded", "InvalidDhcpOptionID.NotFound", "InvalidParameterValue", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeNetworkInterfaceAttribute": { @@ -676,7 +799,8 @@ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", "InvalidNetworkInterfaceId.Malformed", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "attachNetworkInterface": { @@ -684,7 +808,8 @@ "RequestLimitExceeded", "InvalidInstanceID.Malformed", "InvalidInstanceID.NotFound", - "InvalidNetworkInterfaceID.NotFound" + "InvalidNetworkInterfaceID.NotFound", + "UnauthorizedOperation" ] }, "detachNetworkInterface": { @@ -692,7 +817,8 @@ "RequestLimitExceeded", "DependencyViolation", "InvalidAttachmentID.NotFound", - "InvalidNetworkInterfaceAttachmentId.Malformed" + "InvalidNetworkInterfaceAttachmentId.Malformed", + "UnauthorizedOperation" ] }, "assignPrivateIpAddresses": { @@ -700,7 +826,8 @@ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", "InvalidNetworkInterfaceId.Malformed", - "InvalidParameter" + "InvalidParameter", + "UnauthorizedOperation" ] }, "unassignPrivateIpAddresses": { @@ -708,93 +835,118 @@ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", "InvalidNetworkInterfaceId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "assignIpv6Addresses": { "errors": [ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "unassignIpv6Addresses": { "errors": [ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "associateSubnetCidrBlock": { "errors": [ "RequestLimitExceeded", "InvalidSubnetID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateSubnetCidrBlock": { "errors": [ "RequestLimitExceeded", "InvalidSubnetCidrBlockAssociationID.NotFound", - "InvalidSubnetCidrBlockAssociationId.Malformed" + "InvalidSubnetCidrBlockAssociationId.Malformed", + "UnauthorizedOperation" ] }, "getSecurityGroupsForVpc": { - "errors": ["RequestLimitExceeded", "InvalidVpcId.Malformed", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpcId.Malformed", + "ParseError", + "UnauthorizedOperation" + ] }, "modifyVpcTenancy": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "createDefaultSubnet": { "errors": [ "RequestLimitExceeded", "DefaultSubnetAlreadyExistsInAvailabilityZone", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createDefaultVpc": { - "errors": ["RequestLimitExceeded", "DefaultVpcAlreadyExists"] + "errors": [ + "RequestLimitExceeded", + "DefaultVpcAlreadyExists", + "UnauthorizedOperation" + ] }, "describeVpcClassicLink": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "describeVpcClassicLinkDnsSupport": { - "errors": ["RequestLimitExceeded", "InvalidVpcID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpcID.NotFound", + "UnauthorizedOperation" + ] }, "enableVpcClassicLink": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "disableVpcClassicLink": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "InvalidVpcId.Malformed" + "InvalidVpcId.Malformed", + "UnauthorizedOperation" ] }, "enableVpcClassicLinkDnsSupport": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disableVpcClassicLinkDnsSupport": { "errors": [ "RequestLimitExceeded", "InvalidVpcID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteManagedPrefixList": { @@ -802,7 +954,8 @@ "RequestLimitExceeded", "InvalidPrefixListID.NotFound", "InvalidPrefixListId.Malformed", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "releaseAddress": { @@ -816,7 +969,8 @@ "InvalidIPAddress.InUse", "InvalidParameterCombination", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "associateAddress": { @@ -825,61 +979,93 @@ "AuthFailure", "InvalidAllocationID.NotFound", "InvalidInstanceID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateAddress": { "errors": [ "RequestLimitExceeded", "InvalidAssociationID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeAddresses": { - "errors": ["RequestLimitExceeded", "InvalidAllocationID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidAllocationID.NotFound", + "UnauthorizedOperation" + ] }, "describeEgressOnlyInternetGateways": { "errors": [ "RequestLimitExceeded", "InvalidEgressOnlyInternetGatewayId.Malformed", "InvalidEgressOnlyInternetGatewayId.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeAddressesAttribute": { - "errors": ["RequestLimitExceeded", "InvalidAllocationID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidAllocationID.NotFound", + "UnauthorizedOperation" + ] }, "describeSecurityGroupRules": { - "errors": ["RequestLimitExceeded", "InvalidSecurityGroupRuleId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidSecurityGroupRuleId.NotFound", + "UnauthorizedOperation" + ] }, "describeTags": { - "errors": ["RequestLimitExceeded", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "ParseError", + "UnauthorizedOperation" + ] }, "deleteTags": { - "errors": ["RequestLimitExceeded", "InvalidID", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidID", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createTags": { - "errors": ["RequestLimitExceeded", "InvalidID", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidID", + "MissingParameter", + "UnauthorizedOperation" + ] }, "describeInstanceAttribute": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.NotFound", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "modifyInstanceAttribute": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.NotFound", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "describeSnapshots": { "errors": [ "RequestLimitExceeded", "InvalidSnapshot.NotFound", - "InvalidUserID.Malformed" + "InvalidUserID.Malformed", + "UnauthorizedOperation" ] }, "describeVolumes": { @@ -887,7 +1073,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidVolume.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteSnapshot": { @@ -895,14 +1082,16 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidSnapshot.NotFound", - "InvalidSnapshotID.Malformed" + "InvalidSnapshotID.Malformed", + "UnauthorizedOperation" ] }, "deleteVolume": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidVolume.NotFound" + "InvalidVolume.NotFound", + "UnauthorizedOperation" ] }, "runInstances": { @@ -912,7 +1101,8 @@ "InvalidAMIID.NotFound", "InvalidParameterValue", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "attachVolume": { @@ -920,7 +1110,8 @@ "RequestLimitExceeded", "InvalidInstanceID.NotFound", "InvalidParameterValue", - "InvalidVolume.NotFound" + "InvalidVolume.NotFound", + "UnauthorizedOperation" ] }, "terminateInstances": { @@ -928,7 +1119,8 @@ "RequestLimitExceeded", "InvalidInstanceID.Malformed", "InvalidInstanceID.NotFound", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "describeInstances": { @@ -936,7 +1128,8 @@ "RequestLimitExceeded", "InvalidInstanceID.Malformed", "InvalidInstanceID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "detachVolume": { @@ -945,7 +1138,8 @@ "DependencyViolation", "IncorrectState", "InvalidParameterValue", - "InvalidVolume.NotFound" + "InvalidVolume.NotFound", + "UnauthorizedOperation" ] }, "createSnapshot": { @@ -953,7 +1147,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidVolume.NotFound", - "InvalidVolumeID.Malformed" + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" ] }, "startInstances": { @@ -961,7 +1156,8 @@ "RequestLimitExceeded", "InvalidInstanceID.Malformed", "InvalidInstanceID.NotFound", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "stopInstances": { @@ -969,7 +1165,8 @@ "RequestLimitExceeded", "InvalidInstanceID.Malformed", "InvalidInstanceID.NotFound", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "rebootInstances": { @@ -977,7 +1174,8 @@ "RequestLimitExceeded", "InvalidInstanceID.Malformed", "InvalidInstanceID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "modifyVolume": { @@ -985,14 +1183,16 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidVolume.NotFound", - "InvalidVolumeID.Malformed" + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" ] }, "describeImages": { "errors": [ "RequestLimitExceeded", "InvalidAMIID.Malformed", - "InvalidAMIID.NotFound" + "InvalidAMIID.NotFound", + "UnauthorizedOperation" ] }, "deregisterImage": { @@ -1000,14 +1200,16 @@ "RequestLimitExceeded", "InvalidAMIID.Malformed", "InvalidAMIID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeKeyPairs": { "errors": [ "RequestLimitExceeded", "InvalidKeyPair.NotFound", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "copySnapshot": { @@ -1015,7 +1217,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidRegion", - "InvalidSnapshot.NotFound" + "InvalidSnapshot.NotFound", + "UnauthorizedOperation" ] }, "describeSnapshotAttribute": { @@ -1023,7 +1226,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidSnapshot.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "modifyImageAttribute": { @@ -1031,17 +1235,23 @@ "RequestLimitExceeded", "InvalidAMIID.Malformed", "InvalidAMIID.NotFound", - "InvalidParameterCombination" + "InvalidParameterCombination", + "UnauthorizedOperation" ] }, "createLaunchTemplate": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteLaunchTemplate": { "errors": [ "RequestLimitExceeded", "InvalidLaunchTemplateName.NotFoundException", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeLaunchTemplates": { @@ -1050,42 +1260,48 @@ "InvalidLaunchTemplateId.Malformed", "ParseError", "InvalidLaunchTemplateId.NotFound", - "InvalidLaunchTemplateName.NotFoundException" + "InvalidLaunchTemplateName.NotFoundException", + "UnauthorizedOperation" ] }, "createTransitGateway": { "errors": [ "RequestLimitExceeded", "ParseError", - "TransitGatewayLimitExceeded" + "TransitGatewayLimitExceeded", + "UnauthorizedOperation" ] }, "describeInstanceStatus": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.Malformed", - "InvalidInstanceID.NotFound" + "InvalidInstanceID.NotFound", + "UnauthorizedOperation" ] }, "getConsoleOutput": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.Malformed", - "InvalidInstanceID.NotFound" + "InvalidInstanceID.NotFound", + "UnauthorizedOperation" ] }, "getPasswordData": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.Malformed", - "InvalidInstanceID.NotFound" + "InvalidInstanceID.NotFound", + "UnauthorizedOperation" ] }, "createImage": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.NotFound", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "copyImage": { @@ -1094,29 +1310,42 @@ "InvalidAMIID.Malformed", "InvalidAMIID.NotFound", "InvalidRegion", - "InvalidRequest" + "InvalidRequest", + "UnauthorizedOperation" ] }, "describeSpotInstanceRequests": { "errors": [ "RequestLimitExceeded", "InvalidSpotInstanceRequestID.Malformed", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeSpotFleetRequests": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "ParseError", + "UnauthorizedOperation" + ] }, "getManagedPrefixListEntries": { "errors": [ "RequestLimitExceeded", "InvalidPrefixListID.NotFound", "InvalidPrefixListId.Malformed", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "describeAvailabilityZones": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "ParseError", + "UnauthorizedOperation" + ] }, "deleteTransitGateway": { "errors": [ @@ -1125,7 +1354,8 @@ "InvalidTransitGatewayID.Malformed", "InvalidTransitGatewayID.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "createTransitGatewayRouteTable": { @@ -1134,7 +1364,8 @@ "IncorrectState", "InvalidTransitGatewayID.NotFound", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteTransitGatewayRouteTable": { @@ -1144,24 +1375,31 @@ "InvalidRouteTableID.NotFound", "InvalidRouteTableId.Malformed", "MissingParameter", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "modifySnapshotAttribute": { "errors": [ "RequestLimitExceeded", "InvalidParameterCombination", - "InvalidSnapshot.NotFound" + "InvalidSnapshot.NotFound", + "UnauthorizedOperation" ] }, "createKeyPair": { - "errors": ["RequestLimitExceeded", "InvalidKeyPair.Duplicate"] + "errors": [ + "RequestLimitExceeded", + "InvalidKeyPair.Duplicate", + "UnauthorizedOperation" + ] }, "describeTransitGatewayRouteTables": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "ParseError" + "ParseError", + "UnauthorizedOperation" ] }, "deleteNatGateway": { @@ -1172,18 +1410,24 @@ "InvalidParameter", "MissingParameter", "NatGatewayMalformed", - "NatGatewayNotFound" + "NatGatewayNotFound", + "UnauthorizedOperation" ] }, "deleteClientVpnEndpoint": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "deleteNetworkInterfacePermission": { "errors": [ "RequestLimitExceeded", "InvalidPermissionID.Malformed", "InvalidPermissionID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createIpam": { @@ -1191,7 +1435,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "ParseError", - "ResourceLimitExceeded" + "ResourceLimitExceeded", + "UnauthorizedOperation" ] }, "deleteIpam": { @@ -1199,14 +1444,16 @@ "RequestLimitExceeded", "DependencyViolation", "InvalidIpamId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTransitGatewayVpcAttachment": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayAttachmentID.Malformed", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "createTransitGatewayMulticastDomain": { @@ -1215,7 +1462,8 @@ "IncorrectState", "InvalidTransitGatewayID.Malformed", "InvalidTransitGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createLocalGatewayRouteTable": { @@ -1223,7 +1471,8 @@ "RequestLimitExceeded", "InvalidLocalGatewayID.Malformed", "InvalidLocalGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createSubnetCidrReservation": { @@ -1231,7 +1480,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidSubnetID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteSubnetCidrReservation": { @@ -1239,17 +1489,23 @@ "RequestLimitExceeded", "InvalidSubnetCidrReservationID.Malformed", "InvalidSubnetCidrReservationID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTrafficMirrorFilter": { - "errors": ["RequestLimitExceeded", "ParseError"] + "errors": [ + "RequestLimitExceeded", + "ParseError", + "UnauthorizedOperation" + ] }, "deleteTrafficMirrorFilter": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidTrafficMirrorFilterId.NotFound" + "InvalidTrafficMirrorFilterId.NotFound", + "UnauthorizedOperation" ] }, "deleteTrafficMirrorTarget": { @@ -1257,7 +1513,8 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidTrafficMirrorTargetId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTrafficMirrorSession": { @@ -1265,39 +1522,48 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidTrafficMirrorSessionId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createNetworkInsightsPath": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteNetworkInsightsPath": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteNetworkInsightsAccessScope": { "errors": [ "RequestLimitExceeded", "InvalidNetworkInsightsAccessScopeId.NotFound", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "deletePlacementGroup": { - "errors": ["RequestLimitExceeded", "InvalidPlacementGroup.Unknown"] + "errors": [ + "RequestLimitExceeded", + "InvalidPlacementGroup.Unknown", + "UnauthorizedOperation" + ] }, "createCoipPool": { "errors": [ "RequestLimitExceeded", "InvalidLocalGatewayRouteTableID.Malformed", "InvalidLocalGatewayRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteCoipPool": { @@ -1305,23 +1571,30 @@ "RequestLimitExceeded", "InvalidIpv4PoolCoipId.Malformed", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createClientVpnEndpoint": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createVerifiedAccessInstance": { "errors": [ "RequestLimitExceeded", "ParseError", - "VerifiedAccessInstanceLimitExceeded" + "VerifiedAccessInstanceLimitExceeded", + "UnauthorizedOperation" ] }, "deleteVerifiedAccessInstance": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "createVerifiedAccessGroup": { @@ -1329,14 +1602,16 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidVerifiedAccessInstanceId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteVerifiedAccessGroup": { "errors": [ "RequestLimitExceeded", "InvalidVerifiedAccessGroupId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteVerifiedAccessEndpoint": { @@ -1344,23 +1619,30 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidVerifiedAccessEndpointId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createVerifiedAccessTrustProvider": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteVerifiedAccessTrustProvider": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessTrustProviderId.NotFound" + "InvalidVerifiedAccessTrustProviderId.NotFound", + "UnauthorizedOperation" ] }, "createIpamPool": { "errors": [ "RequestLimitExceeded", "InvalidIpamScopeId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteIpamPool": { @@ -1368,24 +1650,31 @@ "RequestLimitExceeded", "IncorrectState", "InvalidIpamPoolId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createIpamResourceDiscovery": { - "errors": ["RequestLimitExceeded", "ResourceLimitExceeded"] + "errors": [ + "RequestLimitExceeded", + "ResourceLimitExceeded", + "UnauthorizedOperation" + ] }, "deleteIpamResourceDiscovery": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryId.Malformed", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "createIpamScope": { "errors": [ "RequestLimitExceeded", "InvalidIpamId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteIpamScope": { @@ -1394,14 +1683,16 @@ "DependencyViolation", "IncorrectState", "InvalidIpamScopeId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createIpamPolicy": { "errors": [ "RequestLimitExceeded", "InvalidIpamId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteIpamPolicy": { @@ -1409,17 +1700,23 @@ "RequestLimitExceeded", "InvalidIpamPolicyId.Malformed", "InvalidIpamPolicyId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createRouteServer": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteRouteServer": { "errors": [ "RequestLimitExceeded", "IncorrectState", - "InvalidRouteServerId.NotFound" + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" ] }, "createInstanceConnectEndpoint": { @@ -1427,7 +1724,8 @@ "RequestLimitExceeded", "InvalidGroup.NotFound", "InvalidSubnetID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteInstanceConnectEndpoint": { @@ -1436,28 +1734,32 @@ "InvalidInstanceConnectEndpointId.Malformed", "InvalidInstanceConnectEndpointId.NotFound", "InvalidState", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createVpcBlockPublicAccessExclusion": { "errors": [ "RequestLimitExceeded", "InvalidVpcId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteVpcBlockPublicAccessExclusion": { "errors": [ "RequestLimitExceeded", "MissingParameter", - "VpcBlockPublicAccessExclusionId.Malformed" + "VpcBlockPublicAccessExclusionId.Malformed", + "UnauthorizedOperation" ] }, "createVpcEncryptionControl": { "errors": [ "RequestLimitExceeded", "InvalidVpcId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteVpcEncryptionControl": { @@ -1465,7 +1767,8 @@ "RequestLimitExceeded", "InvalidVpcEncryptionControlId.Malformed", "InvalidVpcEncryptionControlId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "replaceNetworkAclAssociation": { @@ -1473,21 +1776,24 @@ "RequestLimitExceeded", "DryRunOperation", "InvalidAssociationID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "acceptVpcEndpointConnections": { "errors": [ "RequestLimitExceeded", "InvalidParameter", - "InvalidVpcEndpointServiceId.NotFound" + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" ] }, "rejectVpcEndpointConnections": { "errors": [ "RequestLimitExceeded", "InvalidParameter", - "InvalidVpcEndpointServiceId.NotFound" + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" ] }, "modifyManagedPrefixList": { @@ -1495,127 +1801,188 @@ "RequestLimitExceeded", "InvalidParameterCombination", "InvalidPrefixListID.NotFound", - "InvalidPrefixListId.Malformed" + "InvalidPrefixListId.Malformed", + "UnauthorizedOperation" ] }, "modifySecurityGroupRules": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "allocateAddress": { - "errors": ["RequestLimitExceeded", "AddressLimitExceeded"] + "errors": [ + "RequestLimitExceeded", + "AddressLimitExceeded", + "UnauthorizedOperation" + ] }, "deleteKeyPair": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createVolume": { "errors": [ "RequestLimitExceeded", "InvalidZone.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createPlacementGroup": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describePlacementGroups": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidPlacementGroup.Unknown" + "InvalidPlacementGroup.Unknown", + "UnauthorizedOperation" ] }, "releaseHosts": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "allocateHosts": { "errors": [ "RequestLimitExceeded", "InvalidHostConfiguration", - "InvalidRequest" + "InvalidRequest", + "UnauthorizedOperation" ] }, "describeHosts": { - "errors": ["RequestLimitExceeded", "InvalidHostID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidHostID.Malformed", + "UnauthorizedOperation" + ] }, "cancelSpotFleetRequests": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "cancelSpotInstanceRequests": { "errors": [ "RequestLimitExceeded", "InvalidParameterCombination", - "InvalidSpotInstanceRequestID.Malformed" + "InvalidSpotInstanceRequestID.Malformed", + "UnauthorizedOperation" ] }, "requestSpotInstances": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createSpotDatafeedSubscription": { - "errors": ["RequestLimitExceeded", "InaccessibleStorageLocation"] + "errors": [ + "RequestLimitExceeded", + "InaccessibleStorageLocation", + "UnauthorizedOperation" + ] }, "describeSpotDatafeedSubscription": { - "errors": ["RequestLimitExceeded", "InvalidSpotDatafeed.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidSpotDatafeed.NotFound", + "UnauthorizedOperation" + ] }, "bundleInstance": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "cancelBundleTask": { "errors": [ "RequestLimitExceeded", "InvalidBundleID.NotFound", - "InvalidInstanceID.Malformed" + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" ] }, "describeBundleTasks": { "errors": [ "RequestLimitExceeded", "InvalidBundleID.NotFound", - "InvalidInstanceID.Malformed" + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" ] }, "getConsoleScreenshot": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.Malformed", - "InvalidInstanceID.NotFound" + "InvalidInstanceID.NotFound", + "UnauthorizedOperation" ] }, "reportInstanceStatus": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "monitorInstances": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "unmonitorInstances": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "confirmProductInstance": { - "errors": ["RequestLimitExceeded", "AuthFailure"] + "errors": [ + "RequestLimitExceeded", + "AuthFailure", + "UnauthorizedOperation" + ] }, "createNetworkInterfacePermission": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyVolumeAttribute": { "errors": [ "RequestLimitExceeded", "InvalidVolume.NotFound", - "InvalidVolumeID.Malformed" + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" ] }, "describeVolumeAttribute": { @@ -1623,7 +1990,8 @@ "RequestLimitExceeded", "InvalidParameterCombination", "InvalidParameterValue", - "InvalidVolume.NotFound" + "InvalidVolume.NotFound", + "UnauthorizedOperation" ] }, "resetSnapshotAttribute": { @@ -1631,7 +1999,8 @@ "RequestLimitExceeded", "InvalidSnapshot.NotFound", "InvalidSnapshotID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "resetImageAttribute": { @@ -1639,39 +2008,48 @@ "RequestLimitExceeded", "InvalidAMIID.Malformed", "InvalidAMIID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeImageAttribute": { "errors": [ "RequestLimitExceeded", "InvalidAMIID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeRegions": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "createTransitGatewayPeeringAttachment": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", "InvalidTransitGatewayID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "rejectTransitGatewayPeeringAttachment": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayAttachmentID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "rejectTransitGatewayVpcAttachment": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayAttachmentID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "getTransitGatewayMulticastDomainAssociations": { @@ -1679,87 +2057,110 @@ "RequestLimitExceeded", "InvalidTransitGatewayMulticastDomainId.Malformed", "InvalidTransitGatewayMulticastDomainId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeLaunchTemplateVersions": { "errors": [ "RequestLimitExceeded", "InvalidLaunchTemplateId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeClientVpnConnections": { "errors": [ "RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "provisionIpamPoolCidr": { "errors": [ "RequestLimitExceeded", "InvalidIpamPoolId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deprovisionIpamPoolCidr": { "errors": [ "RequestLimitExceeded", "InvalidIpamPoolId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createCapacityReservation": { - "errors": ["RequestLimitExceeded", "Unsupported"] + "errors": [ + "RequestLimitExceeded", + "Unsupported", + "UnauthorizedOperation" + ] }, "associateCapacityReservationBillingOwner": { "errors": [ "RequestLimitExceeded", "InvalidCapacityReservationId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "cancelCapacityReservation": { "errors": [ "RequestLimitExceeded", "InvalidCapacityReservationId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateCapacityReservationBillingOwner": { "errors": [ "RequestLimitExceeded", "InvalidCapacityReservationId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "associateClientVpnTargetNetwork": { "errors": [ "RequestLimitExceeded", "InvalidSubnetID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateClientVpnTargetNetwork": { "errors": [ "RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "provisionIpamByoasn": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "disassociateIpamByoasn": { - "errors": ["RequestLimitExceeded", "InvalidCidr.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidCidr.NotFound", + "UnauthorizedOperation" + ] }, "associateNatGatewayAddress": { "errors": [ "RequestLimitExceeded", "MissingParameter", "NatGatewayMalformed", - "NatGatewayNotFound" + "NatGatewayNotFound", + "UnauthorizedOperation" ] }, "disassociateNatGatewayAddress": { @@ -1767,28 +2168,32 @@ "RequestLimitExceeded", "MissingParameter", "NatGatewayMalformed", - "NatGatewayNotFound" + "NatGatewayNotFound", + "UnauthorizedOperation" ] }, "associateSecurityGroupVpc": { "errors": [ "RequestLimitExceeded", "InvalidGroupId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateSecurityGroupVpc": { "errors": [ "RequestLimitExceeded", "InvalidGroupId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateTransitGatewayMulticastDomain": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayMulticastDomainId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTransitGatewayPolicyTable": { @@ -1796,7 +2201,8 @@ "RequestLimitExceeded", "IncorrectState", "InvalidTransitGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateTransitGatewayPolicyTable": { @@ -1804,21 +2210,24 @@ "RequestLimitExceeded", "InvalidTransitGatewayPolicyTableId.Malformed", "InvalidTransitGatewayPolicyTableId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateTransitGatewayRouteTable": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "attachClassicLinkVpc": { "errors": [ "RequestLimitExceeded", "InvalidInstanceID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "detachClassicLinkVpc": { @@ -1827,7 +2236,8 @@ "DependencyViolation", "InvalidInstanceID.Malformed", "InvalidVpcID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createCoipCidr": { @@ -1835,7 +2245,8 @@ "RequestLimitExceeded", "InvalidPoolID.Malformed", "InvalidPoolID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteCoipCidr": { @@ -1843,38 +2254,54 @@ "RequestLimitExceeded", "InvalidCidrBlock.Malformed", "InvalidIpv4PoolCoipId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteLocalGatewayRouteTable": { "errors": [ "RequestLimitExceeded", "InvalidLocalGatewayRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "registerImage": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "createImageUsageReport": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteImageUsageReport": { "errors": [ "RequestLimitExceeded", "InvalidImageUsageReportId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createIpamPrefixListResolver": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteIpamPrefixListResolver": { "errors": [ "RequestLimitExceeded", "InvalidIpamPrefixListResolverId.Malformed", "InvalidIpamPrefixListResolverId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createIpamPrefixListResolverTarget": { @@ -1882,39 +2309,48 @@ "RequestLimitExceeded", "InvalidIpamPrefixListResolverId.Malformed", "InvalidIpamPrefixListResolverId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteIpamPrefixListResolverTarget": { "errors": [ "RequestLimitExceeded", "InvalidIpamPrefixListResolverTargetId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createLocalGatewayRoute": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteLocalGatewayRoute": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation": { "errors": [ "RequestLimitExceeded", "InvalidLocalGatewayRouteTableVirtualInterfaceGroupAssociationID.Malformed", "InvalidLocalGatewayRouteTableVirtualInterfaceGroupAssociationID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createLocalGatewayVirtualInterfaceGroup": { "errors": [ "RequestLimitExceeded", "InvalidLocalGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createLocalGatewayRouteTableVirtualInterfaceGroupAssociation": { @@ -1922,7 +2358,8 @@ "RequestLimitExceeded", "InvalidLocalGatewayRouteTableID.NotFound", "InvalidLocalGatewayVirtualInterfaceGroupID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteLocalGatewayVirtualInterfaceGroup": { @@ -1930,7 +2367,8 @@ "RequestLimitExceeded", "InvalidLocalGatewayVirtualInterfaceGroupID.Malformed", "InvalidLocalGatewayVirtualInterfaceGroupID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createLocalGatewayRouteTableVpcAssociation": { @@ -1939,7 +2377,8 @@ "InvalidLocalGatewayRouteTableID.Malformed", "InvalidLocalGatewayRouteTableID.NotFound", "InvalidVpcID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteLocalGatewayRouteTableVpcAssociation": { @@ -1947,7 +2386,8 @@ "RequestLimitExceeded", "InvalidLocalGatewayRouteTableVpcAssociationID.Malformed", "InvalidLocalGatewayRouteTableVpcAssociationID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createLocalGatewayVirtualInterface": { @@ -1955,7 +2395,8 @@ "RequestLimitExceeded", "InvalidLocalGatewayVirtualInterfaceGroupID.Malformed", "InvalidLocalGatewayVirtualInterfaceGroupID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteLocalGatewayVirtualInterface": { @@ -1963,7 +2404,8 @@ "RequestLimitExceeded", "InvalidLocalGatewayVirtualInterfaceID.Malformed", "InvalidLocalGatewayVirtualInterfaceID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createRouteServerEndpoint": { @@ -1972,7 +2414,8 @@ "InvalidRouteServerId.NotAssociated", "InvalidRouteServerId.NotFound", "InvalidSubnetID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateRouteServer": { @@ -1980,36 +2423,48 @@ "RequestLimitExceeded", "InvalidRouteServerId.NotFound", "InvalidVpcID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteRouteServerEndpoint": { "errors": [ "RequestLimitExceeded", "InvalidRouteServerEndpointId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createRouteServerPeer": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteRouteServerPeer": { "errors": [ "RequestLimitExceeded", "InvalidRouteServerPeerId.Malformed", "InvalidRouteServerPeerId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTrafficMirrorFilterRule": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteTrafficMirrorFilterRule": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", "InvalidTrafficMirrorFilterRuleId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTrafficMirrorSession": { @@ -2017,18 +2472,24 @@ "RequestLimitExceeded", "InvalidNetworkInterfaceID.NotFound", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTrafficMirrorTarget": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "createTransitGatewayMeteringPolicy": { "errors": [ "RequestLimitExceeded", "IncorrectState", "InvalidTransitGatewayID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTransitGatewayMeteringPolicy": { @@ -2036,42 +2497,55 @@ "RequestLimitExceeded", "InvalidTransitGatewayMeteringPolicyId.NotFound", "InvalidTransitGatewayMeteringPolicyIdMalformedException", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTransitGatewayMeteringPolicyEntry": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteTransitGatewayMeteringPolicyEntry": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayMeteringPolicyId.NotFound", "InvalidTransitGatewayMeteringPolicyIdMalformedException", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTransitGatewayPrefixListReference": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteTransitGatewayPrefixListReference": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTransitGatewayRoute": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTransitGatewayRoute": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createTransitGatewayRouteTableAnnouncement": { @@ -2079,62 +2553,79 @@ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", "InvalidTransitGatewayAttachmentID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTransitGatewayRouteTableAnnouncement": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayRouteTableAnnouncementId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createVerifiedAccessEndpoint": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createVpnConnectionRoute": { - "errors": ["RequestLimitExceeded", "InvalidParameter", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deleteVpnConnectionRoute": { "errors": [ "RequestLimitExceeded", "InvalidRoute.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "startNetworkInsightsAccessScopeAnalysis": { "errors": [ "RequestLimitExceeded", "IdempotentParameterMismatch", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "deleteNetworkInsightsAccessScopeAnalysis": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "startNetworkInsightsAnalysis": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteNetworkInsightsAnalysis": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "provisionPublicIpv4PoolCidr": { "errors": [ "RequestLimitExceeded", "InvalidIpamPoolId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deprovisionPublicIpv4PoolCidr": { @@ -2142,106 +2633,132 @@ "RequestLimitExceeded", "InvalidPublicIpv4Pool.NotFound", "InvalidPublicIpv4PoolID.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deregisterTransitGatewayMulticastGroupMembers": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "registerTransitGatewayMulticastGroupMembers": { "errors": [ "RequestLimitExceeded", "InvalidNetworkInterfaceId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deregisterTransitGatewayMulticastGroupSources": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "registerTransitGatewayMulticastGroupSources": { "errors": [ "RequestLimitExceeded", "InvalidNetworkInterfaceId.Malformed", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeByoipCidrs": { - "errors": ["RequestLimitExceeded", "MissingParameter"] - }, + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] + }, "getIpamPoolCidrs": { "errors": [ "RequestLimitExceeded", "InvalidIpamPoolId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeClientVpnTargetNetworks": { "errors": [ "RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "getTransitGatewayPrefixListReferences": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "searchTransitGatewayRoutes": { "errors": [ "RequestLimitExceeded", "InvalidRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "searchLocalGatewayRoutes": { "errors": [ "RequestLimitExceeded", "InvalidLocalGatewayRouteTableID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeClientVpnRoutes": { "errors": [ "RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "getSubnetCidrReservations": { "errors": [ "RequestLimitExceeded", "InvalidSubnetID.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "describeVpcBlockPublicAccessExclusions": { "errors": [ "RequestLimitExceeded", "MissingParameter", - "VpcBlockPublicAccessExclusionId.Malformed" + "VpcBlockPublicAccessExclusionId.Malformed", + "UnauthorizedOperation" ] }, "getIpamPoolAllocations": { "errors": [ "RequestLimitExceeded", "InvalidIpamPoolId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTransitGatewayPeeringAttachment": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "deprovisionIpamByoasn": { "errors": [ "RequestLimitExceeded", "InvalidIpamId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteTransitGatewayPolicyTable": { @@ -2249,14 +2766,16 @@ "RequestLimitExceeded", "InvalidTransitGatewayPolicyTableId.Malformed", "InvalidTransitGatewayPolicyTableId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "createIpamExternalResourceVerificationToken": { "errors": [ "RequestLimitExceeded", "InvalidIpamId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "deleteIpamExternalResourceVerificationToken": { @@ -2264,396 +2783,679 @@ "RequestLimitExceeded", "InvalidIpamExternalResourceVerificationTokenId.Malformed", "InvalidIpamExternalResourceVerificationTokenId.NotFound", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "cancelConversion": { - "errors": ["RequestLimitExceeded", "InvalidAction"] + "errors": [ + "RequestLimitExceeded", + "InvalidAction", + "UnauthorizedOperation" + ] }, "cancelDeclarativePoliciesReport": { "errors": [ "RequestLimitExceeded", - "InvalidDeclarativePoliciesReportId.Malformed" + "InvalidDeclarativePoliciesReportId.Malformed", + "UnauthorizedOperation" ] }, "cancelExportTask": { - "errors": ["RequestLimitExceeded", "InvalidID"] + "errors": [ + "RequestLimitExceeded", + "InvalidID", + "UnauthorizedOperation" + ] }, "cancelImageLaunchPermission": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "cancelImportTask": { - "errors": ["RequestLimitExceeded", "InvalidConversionTaskId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidConversionTaskId.Malformed", + "UnauthorizedOperation" + ] }, "cancelReservedInstancesListing": { - "errors": ["RequestLimitExceeded", "InvalidInput"] + "errors": [ + "RequestLimitExceeded", + "InvalidInput", + "UnauthorizedOperation" + ] }, "deleteCapacityManagerDataExport": { "errors": [ "RequestLimitExceeded", "InvalidCapacityManagerDataExportId.Malformed", - "InvalidCapacityManagerDataExportId.NotFound" + "InvalidCapacityManagerDataExportId.NotFound", + "UnauthorizedOperation" ] }, "deleteClientVpnRoute": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "deleteFpgaImage": { - "errors": ["RequestLimitExceeded", "InvalidFpgaImageID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFpgaImageID.Malformed", + "UnauthorizedOperation" + ] }, "deleteInstanceEventWindow": { "errors": [ "RequestLimitExceeded", "InvalidInstanceEventWindowIDNotFound", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "deleteLaunchTemplateVersions": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "deletePublicIpv4Pool": { "errors": [ "RequestLimitExceeded", "InvalidPublicIpv4Pool.NotFound", - "InvalidPublicIpv4PoolID.Malformed" + "InvalidPublicIpv4PoolID.Malformed", + "UnauthorizedOperation" ] }, "deleteTransitGatewayConnect": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "deleteTransitGatewayConnectPeer": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayConnectPeerID.Malformed", - "InvalidTransitGatewayConnectPeerID.NotFound" + "InvalidTransitGatewayConnectPeerID.NotFound", + "UnauthorizedOperation" ] }, "deleteTransitGatewayMulticastDomain": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayMulticastDomainId.Malformed", - "InvalidTransitGatewayMulticastDomainId.NotFound" + "InvalidTransitGatewayMulticastDomainId.NotFound", + "UnauthorizedOperation" ] }, "deleteVpnConcentrator": { - "errors": ["RequestLimitExceeded", "InvalidVpnConcentratorID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConcentratorID.Malformed", + "UnauthorizedOperation" + ] }, "deprovisionByoipCidr": { - "errors": ["RequestLimitExceeded", "RequestLimitExceeded"] + "errors": [ + "RequestLimitExceeded", + "RequestLimitExceeded", + "UnauthorizedOperation" + ] }, "deregisterInstanceEventNotificationAttributes": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "rejectCapacityReservationBillingOwnership": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "rejectTransitGatewayMulticastDomainAssociations": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "releaseIpamPoolAllocation": { - "errors": ["RequestLimitExceeded", "InvalidIpamPoolId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamPoolId.NotFound", + "UnauthorizedOperation" + ] }, "terminateClientVpnConnections": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "withdrawByoipCidr": { - "errors": ["RequestLimitExceeded", "RequestLimitExceeded"] + "errors": [ + "RequestLimitExceeded", + "RequestLimitExceeded", + "UnauthorizedOperation" + ] }, "allocateIpamPoolCidr": { - "errors": ["RequestLimitExceeded", "InvalidIpamPoolId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamPoolId.NotFound", + "UnauthorizedOperation" + ] }, "associateEnclaveCertificateIamRole": { "errors": [ "RequestLimitExceeded", "InvalidCertificateArn.Malformed", - "InvalidRoleArn.Malformed" + "InvalidRoleArn.Malformed", + "UnauthorizedOperation" ] }, "associateIamInstanceProfile": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "associateIpamResourceDiscovery": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryId.Malformed", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "associateRouteServer": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "associateTransitGatewayPolicyTable": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayPolicyTableId.Malformed", - "InvalidTransitGatewayPolicyTableId.NotFound" + "InvalidTransitGatewayPolicyTableId.NotFound", + "UnauthorizedOperation" ] }, "associateTransitGatewayRouteTable": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "associateTrunkInterface": { - "errors": ["RequestLimitExceeded", "OperationNotPermitted"] + "errors": [ + "RequestLimitExceeded", + "OperationNotPermitted", + "UnauthorizedOperation" + ] }, "attachVerifiedAccessTrustProvider": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "copyFpgaImage": { - "errors": ["RequestLimitExceeded", "InvalidFpgaImageID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFpgaImageID.Malformed", + "UnauthorizedOperation" + ] }, "copyVolumes": { - "errors": ["RequestLimitExceeded", "InvalidVolumeID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" + ] }, "createCapacityManagerDataExport": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createCapacityReservationBySplitting": { "errors": [ "RequestLimitExceeded", "InvalidCapacityReservationId.Malformed", - "InvalidCapacityReservationId.NotFound" + "InvalidCapacityReservationId.NotFound", + "UnauthorizedOperation" ] }, "createClientVpnRoute": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "createDelegateMacVolumeOwnershipTask": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createInstanceExportTask": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createInterruptibleCapacityReservationAllocation": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.NotFound" + "InvalidCapacityReservationId.NotFound", + "UnauthorizedOperation" ] }, "createReplaceRootVolumeTask": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "createReservedInstancesListing": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createStoreImageTask": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "createTransitGatewayConnect": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createTransitGatewayConnectPeer": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createVpcEndpointConnectionNotification": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "importKeyPair": { - "errors": ["RequestLimitExceeded", "InvalidKeyPair.Duplicate"] + "errors": [ + "RequestLimitExceeded", + "InvalidKeyPair.Duplicate", + "UnauthorizedOperation" + ] }, "purchaseCapacityBlock": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "purchaseCapacityBlockExtension": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.NotFound" + "InvalidCapacityReservationId.NotFound", + "UnauthorizedOperation" ] }, "runScheduledInstances": { - "errors": ["RequestLimitExceeded", "InvalidScheduledInstance"] + "errors": [ + "RequestLimitExceeded", + "InvalidScheduledInstance", + "UnauthorizedOperation" + ] }, "startDeclarativePoliciesReport": { - "errors": ["RequestLimitExceeded", "DeclarativePoliciesAccessDenied"] + "errors": [ + "RequestLimitExceeded", + "DeclarativePoliciesAccessDenied", + "UnauthorizedOperation" + ] }, "startVpcEndpointServicePrivateDnsVerification": { "errors": [ "RequestLimitExceeded", "InvalidVpcEndpointServiceId.Malformed", - "InvalidVpcEndpointServiceId.NotFound" + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" ] }, "acceptAddressTransfer": { "errors": [ "RequestLimitExceeded", "InvalidAddress.Malformed", - "InvalidAddress.NotFound" + "InvalidAddress.NotFound", + "UnauthorizedOperation" ] }, "acceptCapacityReservationBillingOwnership": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "acceptTransitGatewayPeeringAttachment": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "acceptTransitGatewayVpcAttachment": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "assignPrivateNatGatewayAddress": { - "errors": ["RequestLimitExceeded", "NatGatewayNotFound"] + "errors": [ + "RequestLimitExceeded", + "NatGatewayNotFound", + "UnauthorizedOperation" + ] }, "describeCapacityBlockExtensionOfferings": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.NotFound" + "InvalidCapacityReservationId.NotFound", + "UnauthorizedOperation" ] }, "describeFleetHistory": { - "errors": ["RequestLimitExceeded", "InvalidFleetId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFleetId.Malformed", + "UnauthorizedOperation" + ] }, "describeFleetInstances": { - "errors": ["RequestLimitExceeded", "InvalidFleetId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFleetId.Malformed", + "UnauthorizedOperation" + ] }, "describeFpgaImageAttribute": { "errors": [ "RequestLimitExceeded", "InvalidFpgaImageID.Malformed", - "InvalidFpgaImageID.NotFound" + "InvalidFpgaImageID.NotFound", + "UnauthorizedOperation" ] }, "describeIdentityIdFormat": { - "errors": ["RequestLimitExceeded", "InvalidTargetArn.Unknown"] - }, - "describeStaleSecurityGroups": { - "errors": ["RequestLimitExceeded", "InvalidVpcID.NotFound"] - }, - "describeVpcEndpointServicePermissions": { "errors": [ "RequestLimitExceeded", - "InvalidVpcEndpointServiceId.Malformed", - "InvalidVpcEndpointServiceId.NotFound" + "InvalidTargetArn.Unknown", + "UnauthorizedOperation" + ] + }, + "describeStaleSecurityGroups": { + "errors": [ + "RequestLimitExceeded", + "InvalidVpcID.NotFound", + "UnauthorizedOperation" + ] + }, + "describeVpcEndpointServicePermissions": { + "errors": [ + "RequestLimitExceeded", + "InvalidVpcEndpointServiceId.Malformed", + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" ] }, "detachVerifiedAccessTrustProvider": { "errors": [ "RequestLimitExceeded", "DependencyViolation", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "disableAddressTransfer": { - "errors": ["RequestLimitExceeded", "InvalidElasticIpID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidElasticIpID.NotFound", + "UnauthorizedOperation" + ] }, "disableFastLaunch": { - "errors": ["RequestLimitExceeded", "InvalidRequest"] + "errors": [ + "RequestLimitExceeded", + "InvalidRequest", + "UnauthorizedOperation" + ] }, "disableImage": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "disableImageDeprecation": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "disableImageDeregistrationProtection": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "disableIpamPolicy": { "errors": [ "RequestLimitExceeded", "InvalidIpamPolicyId.Malformed", - "InvalidIpamPolicyId.NotFound" + "InvalidIpamPolicyId.NotFound", + "UnauthorizedOperation" ] }, "disableRouteServerPropagation": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "disableTransitGatewayRouteTablePropagation": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "disableVgwRoutePropagation": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "disassociateEnclaveCertificateIamRole": { "errors": [ "RequestLimitExceeded", "InvalidCertificateArn.Malformed", - "InvalidRoleArn.Malformed" + "InvalidRoleArn.Malformed", + "UnauthorizedOperation" ] }, "disassociateIamInstanceProfile": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "disassociateInstanceEventWindow": { "errors": [ "RequestLimitExceeded", "DependencyViolation", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "disassociateIpamResourceDiscovery": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryAssociationId.Malformed", - "InvalidIpamResourceDiscoveryAssociationId.NotFound" + "InvalidIpamResourceDiscoveryAssociationId.NotFound", + "UnauthorizedOperation" ] }, "disassociateTrunkInterface": { - "errors": ["RequestLimitExceeded", "OperationNotPermitted"] + "errors": [ + "RequestLimitExceeded", + "OperationNotPermitted", + "UnauthorizedOperation" + ] }, "enableAddressTransfer": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "enableFastLaunch": { - "errors": ["RequestLimitExceeded", "InvalidRequest"] + "errors": [ + "RequestLimitExceeded", + "InvalidRequest", + "UnauthorizedOperation" + ] }, "enableImage": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "enableImageBlockPublicAccess": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "enableImageDeprecation": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "enableImageDeregistrationProtection": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "enableIpamPolicy": { "errors": [ "RequestLimitExceeded", "InvalidIpamPolicyId.Malformed", - "InvalidIpamPolicyId.NotFound" + "InvalidIpamPolicyId.NotFound", + "UnauthorizedOperation" ] }, "enableRouteServerPropagation": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "enableTransitGatewayRouteTablePropagation": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "enableVgwRoutePropagation": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "exportImage": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "exportTransitGatewayRoutes": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "exportVerifiedAccessInstanceClientConfiguration": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "getActiveVpnTunnelStatus": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionID.NotFound", + "UnauthorizedOperation" + ] }, "getAssociatedEnclaveCertificateIamRoles": { "errors": [ @@ -2663,1022 +3465,1817 @@ ] }, "getAssociatedIpv6PoolCidrs": { - "errors": ["RequestLimitExceeded", "InvalidIpv6PoolID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpv6PoolID.Malformed", + "UnauthorizedOperation" + ] }, "getCapacityReservationUsage": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "getCoipPoolUsage": { - "errors": ["RequestLimitExceeded", "InvalidPoolID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidPoolID.Malformed", + "UnauthorizedOperation" + ] }, "getDeclarativePoliciesReportSummary": { "errors": [ "RequestLimitExceeded", - "InvalidDeclarativePoliciesReportId.Malformed" + "InvalidDeclarativePoliciesReportId.Malformed", + "UnauthorizedOperation" ] }, "getGroupsForCapacityReservation": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "getImageAncestry": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "getInstanceTpmEkPub": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getInstanceUefiData": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "getIpamAddressHistory": { - "errors": ["RequestLimitExceeded", "InvalidIpamScopeId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamScopeId.NotFound", + "UnauthorizedOperation" + ] }, "getIpamDiscoveredAccounts": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryId.Malformed", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "getIpamDiscoveredPublicAddresses": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryId.Malformed", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "getIpamDiscoveredResourceCidrs": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryId.Malformed", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "getIpamPolicyAllocationRules": { "errors": [ "RequestLimitExceeded", "InvalidIpamPolicyId.Malformed", - "InvalidIpamPolicyId.NotFound" + "InvalidIpamPolicyId.NotFound", + "UnauthorizedOperation" ] }, "getIpamPolicyOrganizationTargets": { "errors": [ "RequestLimitExceeded", "InvalidIpamPolicyId.Malformed", - "InvalidIpamPolicyId.NotFound" + "InvalidIpamPolicyId.NotFound", + "UnauthorizedOperation" ] }, "getIpamPrefixListResolverRules": { "errors": [ "RequestLimitExceeded", "InvalidIpamPrefixListResolverId.Malformed", - "InvalidIpamPrefixListResolverId.NotFound" + "InvalidIpamPrefixListResolverId.NotFound", + "UnauthorizedOperation" ] }, "getIpamPrefixListResolverVersionEntries": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getIpamPrefixListResolverVersions": { "errors": [ "RequestLimitExceeded", "InvalidIpamPrefixListResolverId.Malformed", - "InvalidIpamPrefixListResolverId.NotFound" + "InvalidIpamPrefixListResolverId.NotFound", + "UnauthorizedOperation" ] }, "getIpamResourceCidrs": { "errors": [ "RequestLimitExceeded", "InvalidIpamPoolId.NotFound", - "InvalidIpamScopeId.NotFound" + "InvalidIpamScopeId.NotFound", + "UnauthorizedOperation" ] }, "getLaunchTemplateData": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "getManagedPrefixListAssociations": { "errors": [ "RequestLimitExceeded", "InvalidPrefixListID.NotFound", - "InvalidPrefixListId.Malformed" + "InvalidPrefixListId.Malformed", + "UnauthorizedOperation" ] }, "getNetworkInsightsAccessScopeAnalysisFindings": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "getNetworkInsightsAccessScopeContent": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "getRouteServerAssociations": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "getRouteServerPropagations": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "getRouteServerRoutingDatabase": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "getTransitGatewayAttachmentPropagations": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "getTransitGatewayMeteringPolicyEntries": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayMeteringPolicyId.NotFound", - "InvalidTransitGatewayMeteringPolicyIdMalformedException" + "InvalidTransitGatewayMeteringPolicyIdMalformedException", + "UnauthorizedOperation" ] }, "getTransitGatewayPolicyTableAssociations": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayPolicyTableId.Malformed", - "InvalidTransitGatewayPolicyTableId.NotFound" + "InvalidTransitGatewayPolicyTableId.NotFound", + "UnauthorizedOperation" ] }, "getTransitGatewayPolicyTableEntries": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayPolicyTableId.Malformed", - "InvalidTransitGatewayPolicyTableId.NotFound" + "InvalidTransitGatewayPolicyTableId.NotFound", + "UnauthorizedOperation" ] }, "getTransitGatewayRouteTableAssociations": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "getTransitGatewayRouteTablePropagations": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "getVerifiedAccessEndpointPolicy": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidVerifiedAccessEndpointId.NotFound" + "InvalidVerifiedAccessEndpointId.NotFound", + "UnauthorizedOperation" ] }, "getVerifiedAccessEndpointTargets": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessEndpointId.NotFound" + "InvalidVerifiedAccessEndpointId.NotFound", + "UnauthorizedOperation" ] }, "getVerifiedAccessGroupPolicy": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessGroupId.NotFound" + "InvalidVerifiedAccessGroupId.NotFound", + "UnauthorizedOperation" ] }, "getVpcResourcesBlockingEncryptionEnforcement": { - "errors": ["RequestLimitExceeded", "InvalidVpcId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpcId.Malformed", + "UnauthorizedOperation" + ] }, "getVpnConnectionDeviceSampleConfiguration": { "errors": [ "RequestLimitExceeded", - "InvalidVpnConnectionDeviceTypeId.NotFound" + "InvalidVpnConnectionDeviceTypeId.NotFound", + "UnauthorizedOperation" ] }, "getVpnTunnelReplacementStatus": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionId"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionId", + "UnauthorizedOperation" + ] }, "lockSnapshot": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyAddressAttribute": { "errors": [ "RequestLimitExceeded", "InvalidAllocationID.NotFound", - "InvalidElasticIpID.NotFound" + "InvalidElasticIpID.NotFound", + "UnauthorizedOperation" ] }, "modifyAvailabilityZoneGroup": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyCapacityReservation": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "modifyCapacityReservationFleet": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationFleetId.Malformed" + "InvalidCapacityReservationFleetId.Malformed", + "UnauthorizedOperation" ] }, "modifyFleet": { - "errors": ["RequestLimitExceeded", "InvalidFleetId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFleetId.Malformed", + "UnauthorizedOperation" + ] }, "modifyFpgaImageAttribute": { "errors": [ "RequestLimitExceeded", "InvalidFpgaImageID.Malformed", - "InvalidFpgaImageID.NotFound" + "InvalidFpgaImageID.NotFound", + "UnauthorizedOperation" ] }, "modifyInstanceCapacityReservationAttributes": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "modifyInstanceConnectEndpoint": { "errors": [ "RequestLimitExceeded", "InvalidInstanceConnectEndpointId.Malformed", - "InvalidInstanceConnectEndpointId.NotFound" + "InvalidInstanceConnectEndpointId.NotFound", + "UnauthorizedOperation" ] }, "modifyInstanceCpuOptions": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "modifyInstanceEventStartTime": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyInstanceEventWindow": { "errors": [ "RequestLimitExceeded", "InvalidInstanceEventWindowIDNotFound", - "InvalidInstanceEventWindowId.Malformed" + "InvalidInstanceEventWindowId.Malformed", + "UnauthorizedOperation" ] }, "modifyInstanceMaintenanceOptions": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "modifyInstanceMetadataOptions": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "modifyInstanceNetworkPerformance": { - "errors": ["RequestLimitExceeded", "InvalidAction"] + "errors": [ + "RequestLimitExceeded", + "InvalidAction", + "UnauthorizedOperation" + ] }, "modifyInstancePlacement": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "modifyIpam": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "modifyIpamPolicyAllocationRules": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyIpamPool": { - "errors": ["RequestLimitExceeded", "InvalidIpamPoolId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamPoolId.NotFound", + "UnauthorizedOperation" + ] }, "modifyIpamPrefixListResolver": { "errors": [ "RequestLimitExceeded", "InvalidIpamPrefixListResolverId.Malformed", - "InvalidIpamPrefixListResolverId.NotFound" + "InvalidIpamPrefixListResolverId.NotFound", + "UnauthorizedOperation" ] }, "modifyIpamPrefixListResolverTarget": { "errors": [ "RequestLimitExceeded", - "InvalidIpamPrefixListResolverTargetId.Malformed" + "InvalidIpamPrefixListResolverTargetId.Malformed", + "UnauthorizedOperation" ] }, "modifyIpamResourceCidr": { "errors": [ "RequestLimitExceeded", "InvalidIpamScopeId.Malformed", - "InvalidParameterValue" + "InvalidParameterValue", + "UnauthorizedOperation" ] }, "modifyIpamResourceDiscovery": { "errors": [ "RequestLimitExceeded", "InvalidIpamResourceDiscoveryId.Malformed", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "modifyIpamScope": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "modifyLocalGatewayRoute": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyPrivateDnsNameOptions": { - "errors": ["RequestLimitExceeded", "UnknownResource"] + "errors": [ + "RequestLimitExceeded", + "UnknownResource", + "UnauthorizedOperation" + ] }, "modifyPublicIpDnsNameOptions": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyRouteServer": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "modifySnapshotTier": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "modifyTrafficMirrorFilterNetworkServices": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "modifyTrafficMirrorFilterRule": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidTrafficMirrorFilterRuleId.NotFound" + "InvalidTrafficMirrorFilterRuleId.NotFound", + "UnauthorizedOperation" ] }, "modifyTrafficMirrorSession": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "modifyTransitGateway": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyTransitGatewayMeteringPolicy": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayMeteringPolicyIdMalformedException", - "MissingParameter" + "MissingParameter", + "UnauthorizedOperation" ] }, "modifyTransitGatewayPrefixListReference": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyTransitGatewayVpcAttachment": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "modifyVerifiedAccessEndpoint": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidVerifiedAccessEndpointId.NotFound" + "InvalidVerifiedAccessEndpointId.NotFound", + "UnauthorizedOperation" ] }, "modifyVerifiedAccessEndpointPolicy": { "errors": [ "RequestLimitExceeded", "InvalidParameterValue", - "InvalidVerifiedAccessEndpointId.NotFound" + "InvalidVerifiedAccessEndpointId.NotFound", + "UnauthorizedOperation" ] }, "modifyVerifiedAccessGroup": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessGroupId.NotFound" + "InvalidVerifiedAccessGroupId.NotFound", + "UnauthorizedOperation" ] }, "modifyVerifiedAccessGroupPolicy": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessGroupId.NotFound" + "InvalidVerifiedAccessGroupId.NotFound", + "UnauthorizedOperation" ] }, "modifyVerifiedAccessInstance": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "modifyVerifiedAccessInstanceLoggingConfiguration": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyVerifiedAccessTrustProvider": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessTrustProviderId.NotFound" + "InvalidVerifiedAccessTrustProviderId.NotFound", + "UnauthorizedOperation" ] }, "modifyVpcEncryptionControl": { "errors": [ "RequestLimitExceeded", "InvalidVpcEncryptionControlId.Malformed", - "InvalidVpcEncryptionControlId.NotFound" + "InvalidVpcEncryptionControlId.NotFound", + "UnauthorizedOperation" ] }, "modifyVpcEndpointConnectionNotification": { "errors": [ "RequestLimitExceeded", "InvalidConnectionNotification", - "InvalidParameter" + "InvalidParameter", + "UnauthorizedOperation" ] }, "modifyVpcEndpointServicePayerResponsibility": { - "errors": ["RequestLimitExceeded", "UnsupportedOperation"] + "errors": [ + "RequestLimitExceeded", + "UnsupportedOperation", + "UnauthorizedOperation" + ] }, "modifyVpcEndpointServicePermissions": { "errors": [ "RequestLimitExceeded", "InvalidVpcEndpointServiceId.Malformed", - "InvalidVpcEndpointServiceId.NotFound" + "InvalidVpcEndpointServiceId.NotFound", + "UnauthorizedOperation" ] }, "modifyVpnConnection": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionId"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionId", + "UnauthorizedOperation" + ] }, "modifyVpnConnectionOptions": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionID.NotFound", + "UnauthorizedOperation" + ] }, "modifyVpnTunnelCertificate": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "modifyVpnTunnelOptions": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionId"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionId", + "UnauthorizedOperation" + ] }, "moveByoipCidrToIpam": { - "errors": ["RequestLimitExceeded", "InvalidIpamPoolId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamPoolId.NotFound", + "UnauthorizedOperation" + ] }, "moveCapacityReservationInstances": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "replaceTransitGatewayRoute": { - "errors": ["RequestLimitExceeded", "InvalidRouteTableID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteTableID.NotFound", + "UnauthorizedOperation" + ] }, "replaceVpnTunnel": { - "errors": ["RequestLimitExceeded", "InvalidVpnConnectionId"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConnectionId", + "UnauthorizedOperation" + ] }, "resetAddressAttribute": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "resetFpgaImageAttribute": { - "errors": ["RequestLimitExceeded", "InvalidFpgaImageID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFpgaImageID.Malformed", + "UnauthorizedOperation" + ] }, "resetInstanceAttribute": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "resetNetworkInterfaceAttribute": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "restoreImageFromRecycleBin": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "restoreManagedPrefixListVersion": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "restoreSnapshotFromRecycleBin": { - "errors": ["RequestLimitExceeded", "InvalidSnapshotID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidSnapshotID.Malformed", + "UnauthorizedOperation" + ] }, "restoreSnapshotTier": { - "errors": ["RequestLimitExceeded", "InvalidSnapshotID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidSnapshotID.Malformed", + "UnauthorizedOperation" + ] }, "restoreVolumeFromRecycleBin": { - "errors": ["RequestLimitExceeded", "InvalidVolumeID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" + ] }, "searchTransitGatewayMulticastGroups": { "errors": [ "RequestLimitExceeded", "InvalidTransitGatewayMulticastDomainId.Malformed", - "InvalidTransitGatewayMulticastDomainId.NotFound" + "InvalidTransitGatewayMulticastDomainId.NotFound", + "UnauthorizedOperation" ] }, "sendDiagnosticInterrupt": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "unlockSnapshot": { - "errors": ["RequestLimitExceeded", "InvalidSnapshotID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidSnapshotID.Malformed", + "UnauthorizedOperation" + ] }, "updateInterruptibleCapacityReservationAllocation": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.NotFound" + "InvalidCapacityReservationId.NotFound", + "UnauthorizedOperation" ] }, "acceptReservedInstancesExchangeQuote": { - "errors": ["RequestLimitExceeded", "InvalidReservedInstancesID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidReservedInstancesID.NotFound", + "UnauthorizedOperation" + ] }, "applySecurityGroupsToClientVpnTargetNetwork": { - "errors": ["RequestLimitExceeded", "InvalidVpcId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpcId.Malformed", + "UnauthorizedOperation" + ] }, "associateTransitGatewayMulticastDomain": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayMulticastDomainId.NotFound" + "InvalidTransitGatewayMulticastDomainId.NotFound", + "UnauthorizedOperation" ] }, "cancelCapacityReservationFleets": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationFleetId.Malformed" + "InvalidCapacityReservationFleetId.Malformed", + "UnauthorizedOperation" ] }, "deleteFleets": { - "errors": ["RequestLimitExceeded", "InvalidFleetId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFleetId.Malformed", + "UnauthorizedOperation" + ] }, "deleteQueuedReservedInstances": { - "errors": ["RequestLimitExceeded", "InvalidReservedInstancesID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidReservedInstancesID.NotFound", + "UnauthorizedOperation" + ] }, "describeCapacityBlockExtensionHistory": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "describeCapacityBlockStatus": { - "errors": ["RequestLimitExceeded", "InvalidCapacityBlockId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidCapacityBlockId.Malformed", + "UnauthorizedOperation" + ] }, "describeCapacityBlocks": { - "errors": ["RequestLimitExceeded", "InvalidCapacityBlockId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidCapacityBlockId.Malformed", + "UnauthorizedOperation" + ] }, "describeCapacityManagerDataExports": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityManagerDataExportId.NotFound" + "InvalidCapacityManagerDataExportId.NotFound", + "UnauthorizedOperation" ] }, "describeCapacityReservationBillingRequests": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "describeCapacityReservationFleets": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationFleetId.Malformed" + "InvalidCapacityReservationFleetId.Malformed", + "UnauthorizedOperation" ] }, "describeCapacityReservations": { "errors": [ "RequestLimitExceeded", - "InvalidCapacityReservationId.Malformed" + "InvalidCapacityReservationId.Malformed", + "UnauthorizedOperation" ] }, "describeClassicLinkInstances": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "describeClientVpnEndpoints": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "describeCoipPools": { - "errors": ["RequestLimitExceeded", "InvalidPoolID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidPoolID.Malformed", + "UnauthorizedOperation" + ] }, "describeDeclarativePoliciesReports": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "describeElasticGpus": { - "errors": ["RequestLimitExceeded", "UnsupportedOperation"] + "errors": [ + "RequestLimitExceeded", + "UnsupportedOperation", + "UnauthorizedOperation" + ] }, "describeExportImageTasks": { - "errors": ["RequestLimitExceeded", "InvalidExportTaskID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidExportTaskID.Malformed", + "UnauthorizedOperation" + ] }, "describeExportTasks": { - "errors": ["RequestLimitExceeded", "InvalidExportTaskID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidExportTaskID.Malformed", + "UnauthorizedOperation" + ] }, "describeFastLaunchImages": { - "errors": ["RequestLimitExceeded", "InvalidRequest"] + "errors": [ + "RequestLimitExceeded", + "InvalidRequest", + "UnauthorizedOperation" + ] }, "describeFleets": { - "errors": ["RequestLimitExceeded", "InvalidFleetId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFleetId.Malformed", + "UnauthorizedOperation" + ] }, "describeFpgaImages": { - "errors": ["RequestLimitExceeded", "InvalidFpgaImageID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidFpgaImageID.Malformed", + "UnauthorizedOperation" + ] }, "describeHostReservationOfferings": { "errors": [ "RequestLimitExceeded", - "InvalidHostReservationOfferingId.Malformed" + "InvalidHostReservationOfferingId.Malformed", + "UnauthorizedOperation" ] }, "describeIamInstanceProfileAssociations": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeImageReferences": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.Malformed", + "UnauthorizedOperation" + ] }, "describeImageUsageReportEntries": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeImageUsageReports": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeImportImageTasks": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "describeImportSnapshotTasks": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "describeInstanceConnectEndpoints": { "errors": [ "RequestLimitExceeded", - "InvalidInstanceConnectEndpointId.NotFound" + "InvalidInstanceConnectEndpointId.NotFound", + "UnauthorizedOperation" ] }, "describeInstanceCreditSpecifications": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "describeInstanceEventWindows": { - "errors": ["RequestLimitExceeded", "InvalidInstanceEventWindowIDNotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceEventWindowIDNotFound", + "UnauthorizedOperation" + ] }, "describeInstanceImageMetadata": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "describeInstanceSqlHaHistoryStates": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.NotFound", + "UnauthorizedOperation" + ] }, "describeInstanceSqlHaStates": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.NotFound", + "UnauthorizedOperation" + ] }, "describeIpamExternalResourceVerificationTokens": { "errors": [ "RequestLimitExceeded", - "InvalidIpamExternalResourceVerificationTokenId.NotFound" + "InvalidIpamExternalResourceVerificationTokenId.NotFound", + "UnauthorizedOperation" ] }, "describeIpamPolicies": { - "errors": ["RequestLimitExceeded", "InvalidIpamPolicyId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamPolicyId.NotFound", + "UnauthorizedOperation" + ] }, "describeIpamPools": { - "errors": ["RequestLimitExceeded", "InvalidIpamPoolId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamPoolId.NotFound", + "UnauthorizedOperation" + ] }, "describeIpamPrefixListResolverTargets": { "errors": [ "RequestLimitExceeded", - "InvalidIpamPrefixListResolverTargetId.Malformed" + "InvalidIpamPrefixListResolverTargetId.Malformed", + "UnauthorizedOperation" ] }, "describeIpamPrefixListResolvers": { "errors": [ "RequestLimitExceeded", - "InvalidIpamPrefixListResolverId.NotFound" + "InvalidIpamPrefixListResolverId.NotFound", + "UnauthorizedOperation" ] }, "describeIpamResourceDiscoveries": { "errors": [ "RequestLimitExceeded", - "InvalidIpamResourceDiscoveryId.NotFound" + "InvalidIpamResourceDiscoveryId.NotFound", + "UnauthorizedOperation" ] }, "describeIpamResourceDiscoveryAssociations": { "errors": [ "RequestLimitExceeded", - "InvalidIpamResourceDiscoveryAssociationId.NotFound" + "InvalidIpamResourceDiscoveryAssociationId.NotFound", + "UnauthorizedOperation" ] }, "describeIpamScopes": { - "errors": ["RequestLimitExceeded", "InvalidIpamScopeId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamScopeId.NotFound", + "UnauthorizedOperation" + ] }, "describeIpams": { - "errors": ["RequestLimitExceeded", "InvalidIpamId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpamId.NotFound", + "UnauthorizedOperation" + ] }, "describeIpv6Pools": { - "errors": ["RequestLimitExceeded", "InvalidIpv6PoolID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidIpv6PoolID.NotFound", + "UnauthorizedOperation" + ] }, "describeLockedSnapshots": { - "errors": ["RequestLimitExceeded", "InvalidRequest"] + "errors": [ + "RequestLimitExceeded", + "InvalidRequest", + "UnauthorizedOperation" + ] }, "describeMacHosts": { - "errors": ["RequestLimitExceeded", "InvalidHostID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidHostID.Malformed", + "UnauthorizedOperation" + ] }, "describeMacModificationTasks": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "describeNetworkInsightsAccessScopeAnalyses": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeNetworkInsightsAccessScopes": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeNetworkInsightsAnalyses": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeNetworkInsightsPaths": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeNetworkInterfacePermissions": { - "errors": ["RequestLimitExceeded", "InvalidPermissionID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidPermissionID.NotFound", + "UnauthorizedOperation" + ] }, "describeOutpostLags": { - "errors": ["RequestLimitExceeded", "InvalidOutpostLagID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidOutpostLagID.Malformed", + "UnauthorizedOperation" + ] }, "describePrefixLists": { - "errors": ["RequestLimitExceeded", "InvalidPrefixListId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidPrefixListId.NotFound", + "UnauthorizedOperation" + ] }, "describePublicIpv4Pools": { - "errors": ["RequestLimitExceeded", "InvalidPublicIpv4PoolID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidPublicIpv4PoolID.NotFound", + "UnauthorizedOperation" + ] }, "describeReplaceRootVolumeTasks": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeReservedInstances": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeReservedInstancesModifications": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeReservedInstancesOfferings": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeRouteServerEndpoints": { "errors": [ "RequestLimitExceeded", - "InvalidRouteServerEndpointId.NotFound" + "InvalidRouteServerEndpointId.NotFound", + "UnauthorizedOperation" ] }, "describeRouteServerPeers": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerPeerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerPeerId.NotFound", + "UnauthorizedOperation" + ] }, "describeRouteServers": { - "errors": ["RequestLimitExceeded", "InvalidRouteServerId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidRouteServerId.NotFound", + "UnauthorizedOperation" + ] }, "describeServiceLinkVirtualInterfaces": { "errors": [ "RequestLimitExceeded", - "InvalidServiceLinkVirtualInterfaceID.Malformed" + "InvalidServiceLinkVirtualInterfaceID.Malformed", + "UnauthorizedOperation" ] }, "describeTrafficMirrorFilters": { "errors": [ "RequestLimitExceeded", - "InvalidTrafficMirrorFilterId.NotFound" + "InvalidTrafficMirrorFilterId.NotFound", + "UnauthorizedOperation" ] }, "describeTrafficMirrorSessions": { "errors": [ "RequestLimitExceeded", - "InvalidTrafficMirrorSessionId.NotFound" + "InvalidTrafficMirrorSessionId.NotFound", + "UnauthorizedOperation" ] }, "describeTrafficMirrorTargets": { "errors": [ "RequestLimitExceeded", - "InvalidTrafficMirrorTargetId.NotFound" + "InvalidTrafficMirrorTargetId.NotFound", + "UnauthorizedOperation" ] }, "describeTransitGatewayConnectPeers": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayConnectPeerID.NotFound" + "InvalidTransitGatewayConnectPeerID.NotFound", + "UnauthorizedOperation" ] }, "describeTransitGatewayConnects": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "describeTransitGatewayMeteringPolicies": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayMeteringPolicyId.NotFound" - ] + "InvalidTransitGatewayMeteringPolicyId.NotFound", + "UnauthorizedOperation" + ] }, "describeTransitGatewayMulticastDomains": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayMulticastDomainId.NotFound" + "InvalidTransitGatewayMulticastDomainId.NotFound", + "UnauthorizedOperation" ] }, "describeTransitGatewayPeeringAttachments": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "describeTransitGatewayPolicyTables": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayPolicyTableId.NotFound" + "InvalidTransitGatewayPolicyTableId.NotFound", + "UnauthorizedOperation" ] }, "describeTransitGatewayRouteTableAnnouncements": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayRouteTableAnnouncementId.Malformed" + "InvalidTransitGatewayRouteTableAnnouncementId.Malformed", + "UnauthorizedOperation" ] }, "describeTransitGatewayVpcAttachments": { "errors": [ "RequestLimitExceeded", - "InvalidTransitGatewayAttachmentID.NotFound" + "InvalidTransitGatewayAttachmentID.NotFound", + "UnauthorizedOperation" ] }, "describeTrunkInterfaceAssociations": { - "errors": ["RequestLimitExceeded", "OperationNotPermitted"] + "errors": [ + "RequestLimitExceeded", + "OperationNotPermitted", + "UnauthorizedOperation" + ] }, "describeVerifiedAccessEndpoints": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "describeVerifiedAccessGroups": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessGroupId.NotFound" + "InvalidVerifiedAccessGroupId.NotFound", + "UnauthorizedOperation" ] }, "describeVerifiedAccessInstanceLoggingConfigurations": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "describeVerifiedAccessInstances": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessInstanceId.NotFound" + "InvalidVerifiedAccessInstanceId.NotFound", + "UnauthorizedOperation" ] }, "describeVerifiedAccessTrustProviders": { "errors": [ "RequestLimitExceeded", - "InvalidVerifiedAccessTrustProviderId.NotFound" + "InvalidVerifiedAccessTrustProviderId.NotFound", + "UnauthorizedOperation" ] }, "describeVolumeStatus": { - "errors": ["RequestLimitExceeded", "InvalidVolumeID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" + ] }, "describeVolumesModifications": { - "errors": ["RequestLimitExceeded", "InvalidVolumeID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" + ] }, "describeVpcEncryptionControls": { - "errors": ["RequestLimitExceeded", "InvalidParameterCombination"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterCombination", + "UnauthorizedOperation" + ] }, "describeVpcEndpointConnectionNotifications": { - "errors": ["RequestLimitExceeded", "InvalidConnectionNotification"] + "errors": [ + "RequestLimitExceeded", + "InvalidConnectionNotification", + "UnauthorizedOperation" + ] }, "describeVpnConcentrators": { - "errors": ["RequestLimitExceeded", "InvalidVpnConcentratorId.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVpnConcentratorId.Malformed", + "UnauthorizedOperation" + ] }, "disableFastSnapshotRestores": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "disableInstanceSqlHaStandbyDetections": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "enableFastSnapshotRestores": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "enableInstanceSqlHaStandbyDetections": { - "errors": ["RequestLimitExceeded", "InvalidInstanceID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidInstanceID.Malformed", + "UnauthorizedOperation" + ] }, "getReservedInstancesExchangeQuote": { - "errors": ["RequestLimitExceeded", "InvalidReservedInstancesID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidReservedInstancesID.NotFound", + "UnauthorizedOperation" + ] }, "listImagesInRecycleBin": { - "errors": ["RequestLimitExceeded", "InvalidAMIID.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidAMIID.NotFound", + "UnauthorizedOperation" + ] }, "listSnapshotsInRecycleBin": { - "errors": ["RequestLimitExceeded", "InvalidSnapshotID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidSnapshotID.Malformed", + "UnauthorizedOperation" + ] }, "listVolumesInRecycleBin": { - "errors": ["RequestLimitExceeded", "InvalidVolumeID.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidVolumeID.Malformed", + "UnauthorizedOperation" + ] }, "modifyReservedInstances": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "cancelConversionTask": { - "errors": ["RequestLimitExceeded", "InvalidAction"] + "errors": [ + "RequestLimitExceeded", + "InvalidAction", + "UnauthorizedOperation" + ] }, "describeCapacityBlockOfferings": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeClientVpnAuthorizationRules": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "describeMovingAddresses": { - "errors": ["RequestLimitExceeded", "UnsupportedOperation"] + "errors": [ + "RequestLimitExceeded", + "UnsupportedOperation", + "UnauthorizedOperation" + ] }, "associateInstanceEventWindow": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "associateIpamByoasn": { - "errors": ["RequestLimitExceeded", "InvalidCidr.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidCidr.NotFound", + "UnauthorizedOperation" + ] }, "authorizeClientVpnIngress": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createCapacityReservationFleet": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createFleet": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createFpgaImage": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "createInstanceEventWindow": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "createRestoreImageTask": { - "errors": ["RequestLimitExceeded", "InvalidRequest"] + "errors": [ + "RequestLimitExceeded", + "InvalidRequest", + "UnauthorizedOperation" + ] }, "createSnapshots": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "acceptTransitGatewayMulticastDomainAssociations": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "advertiseByoipCidr": { - "errors": ["RequestLimitExceeded", "RequestLimitExceeded"] + "errors": [ + "RequestLimitExceeded", + "RequestLimitExceeded", + "UnauthorizedOperation" + ] }, "disableAwsNetworkPerformanceMetricSubscription": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "disableCapacityManager": { - "errors": ["RequestLimitExceeded", "CapacityManager.Disabled"] + "errors": [ + "RequestLimitExceeded", + "CapacityManager.Disabled", + "UnauthorizedOperation" + ] }, "disableIpamOrganizationAdminAccount": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "enableAwsNetworkPerformanceMetricSubscription": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "enableIpamOrganizationAdminAccount": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "enableSnapshotBlockPublicAccess": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyClientVpnEndpoint": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "modifyDefaultCreditSpecification": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyEbsDefaultKmsKeyId": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "modifyInstanceMetadataDefaults": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "modifyInstanceNetworkPerformanceOptions": { - "errors": ["RequestLimitExceeded", "InvalidAction"] + "errors": [ + "RequestLimitExceeded", + "InvalidAction", + "UnauthorizedOperation" + ] }, "modifyLaunchTemplate": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "exportClientVpnClientCertificateRevocationList": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "exportClientVpnClientConfiguration": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "requestSpotFleet": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "createVpcEndpointServiceConfiguration": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "createVpnConcentrator": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "describeSpotFleetInstances": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "describeSpotFleetRequestHistory": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getAwsNetworkPerformanceData": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getCapacityManagerMetricData": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getCapacityManagerMetricDimensions": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getDefaultCreditSpecification": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "getInstanceTypesFromInstanceRequirements": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "importClientVpnClientCertificateRevocationList": { - "errors": ["RequestLimitExceeded", "InvalidClientVpnEndpointId.NotFound"] + "errors": [ + "RequestLimitExceeded", + "InvalidClientVpnEndpointId.NotFound", + "UnauthorizedOperation" + ] }, "importImage": { - "errors": ["RequestLimitExceeded", "MissingRequiredParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingRequiredParameter", + "UnauthorizedOperation" + ] }, "importInstance": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "importSnapshot": { - "errors": ["RequestLimitExceeded", "InvalidParameter"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameter", + "UnauthorizedOperation" + ] }, "modifySpotFleetRequest": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "moveAddressToVpc": { - "errors": ["RequestLimitExceeded", "UnsupportedOperation"] + "errors": [ + "RequestLimitExceeded", + "UnsupportedOperation", + "UnauthorizedOperation" + ] }, "provisionByoipCidr": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "purchaseReservedInstancesOffering": { - "errors": ["RequestLimitExceeded", "InvalidParameterValue"] + "errors": [ + "RequestLimitExceeded", + "InvalidParameterValue", + "UnauthorizedOperation" + ] }, "purchaseScheduledInstances": { - "errors": ["RequestLimitExceeded", "InvalidPurchaseToken.Malformed"] + "errors": [ + "RequestLimitExceeded", + "InvalidPurchaseToken.Malformed", + "UnauthorizedOperation" + ] }, "registerInstanceEventNotificationAttributes": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "restoreAddressToClassic": { - "errors": ["RequestLimitExceeded", "UnsupportedOperation"] + "errors": [ + "RequestLimitExceeded", + "UnsupportedOperation", + "UnauthorizedOperation" + ] }, "revokeClientVpnIngress": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "updateCapacityManagerOrganizationsAccess": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "updateSecurityGroupRuleDescriptionsEgress": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] }, "updateSecurityGroupRuleDescriptionsIngress": { - "errors": ["RequestLimitExceeded", "MissingParameter"] + "errors": [ + "RequestLimitExceeded", + "MissingParameter", + "UnauthorizedOperation" + ] } }, "enums": { @@ -3716,13 +5313,21 @@ ] }, "RIProductDescription": { - "add": ["Red Hat Enterprise Linux", "SUSE Linux", "Ubuntu Pro Linux"] + "add": [ + "Red Hat Enterprise Linux", + "SUSE Linux", + "Ubuntu Pro Linux" + ] }, "HypervisorType": { - "add": ["nitro"] + "add": [ + "nitro" + ] }, "VirtualizationType": { - "add": ["nested-virtualization"] + "add": [ + "nested-virtualization" + ] }, "State": { "replace": [ diff --git a/packages/aws/patches/rds.json b/packages/aws/patches/rds.json index 8398f12aed..c482e39da1 100644 --- a/packages/aws/patches/rds.json +++ b/packages/aws/patches/rds.json @@ -1,5 +1,23 @@ { + "operations": { + "createDBInstance": { + "errors": ["InvalidParameterCombination", "InvalidParameterValue"] + }, + "modifyDBInstance": { + "errors": ["InvalidParameterCombination", "InvalidParameterValue"] + } + }, + "errors": { + "InvalidParameterCombination": { + "message": { "type": "string" } + }, + "InvalidParameterValue": { + "message": { "type": "string" } + } + }, "errorCategories": { + "InvalidParameterCombination": ["BadRequestError"], + "InvalidParameterValue": ["BadRequestError"], "InvalidDBInstanceState": ["ConflictError", "RetryableError"], "InvalidDBClusterStateFault": ["ConflictError", "RetryableError"], "DBInstanceAlreadyExists": ["ConflictError", "AlreadyExistsError"], diff --git a/packages/aws/patches/sqs.json b/packages/aws/patches/sqs.json index c4407eb56c..ae5e6556c9 100644 --- a/packages/aws/patches/sqs.json +++ b/packages/aws/patches/sqs.json @@ -57,6 +57,29 @@ "structures": { "SendMessageBatchResult": { "members": { + "Successful": { + "optional": true + }, + "Failed": { + "optional": true + } + } + }, + "DeleteMessageBatchResult": { + "members": { + "Successful": { + "optional": true + }, + "Failed": { + "optional": true + } + } + }, + "ChangeMessageVisibilityBatchResult": { + "members": { + "Successful": { + "optional": true + }, "Failed": { "optional": true } diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 3e044abe22..428a9f80fd 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -338,6 +338,21 @@ export const make = >( return Object.assign(outerFn, Proto); }; +/** + * Whether a continuation token returned by a paginated operation means + * "no more pages". + * + * AWS marks the terminal page by omitting the output token, returning it + * as `null`, or — for several services (e.g. SSM, CloudWatch Logs) — as an + * empty string. Treating `""` as a live token re-requests the first page + * with `NextToken: ""` forever (or fails with a ValidationException). + * This matches the official aws-sdk-js-v3 paginators, which stop on any + * falsy token (`hasNext = !!token`); object tokens like DynamoDB's + * `LastEvaluatedKey` are always truthy and unaffected. + */ +export const isTerminalPageToken = (token: unknown): boolean => + token === undefined || token === null || token === ""; + export const makePaginated = >( initOperation: () => Op, ): any => { @@ -371,7 +386,7 @@ export const makePaginated = >( // Return the full page and next state const nextState: State = { token: nextToken, - done: nextToken === undefined || nextToken === null, + done: isTerminalPageToken(nextToken), }; return [response, nextState] as const; }); diff --git a/packages/aws/src/errors.ts b/packages/aws/src/errors.ts index 38ba3536a9..ba0bcfdcf1 100644 --- a/packages/aws/src/errors.ts +++ b/packages/aws/src/errors.ts @@ -84,7 +84,14 @@ export class ValidationError extends S.TaggedErrorClass()( export class ValidationException extends S.TaggedErrorClass()( "ValidationException", - {}, + { + /** The human-readable validation failure reason from the service. */ + message: S.optional(S.String), + /** Machine-readable reason code (e.g. "FIELD_VALIDATION_FAILED"). */ + reason: S.optional(S.String), + /** Per-field validation failures, when the service reports them. */ + fieldList: S.optional(S.Any), + }, ).pipe(Category.withBadRequestError) {} export class OperationAborted extends S.TaggedErrorClass()( diff --git a/packages/aws/src/index.browser.ts b/packages/aws/src/index.browser.ts index c22a04e396..7e87d27104 100644 --- a/packages/aws/src/index.browser.ts +++ b/packages/aws/src/index.browser.ts @@ -26,6 +26,13 @@ export * as Endpoint from "./endpoint.ts"; */ export * as Errors from "./errors.ts"; +/** + * SigV4 query-string presigning for AWS URLs (e.g. S3 presigned URLs). + * + * @since 0.0.0 + */ +export * as Presign from "./presign.ts"; + /** * AWS Region configuration. * diff --git a/packages/aws/src/index.ts b/packages/aws/src/index.ts index cf6cff92b6..53e40fffcb 100644 --- a/packages/aws/src/index.ts +++ b/packages/aws/src/index.ts @@ -26,6 +26,13 @@ export * as Endpoint from "./endpoint.ts"; */ export * as Errors from "./errors.ts"; +/** + * SigV4 query-string presigning for AWS URLs (e.g. S3 presigned URLs). + * + * @since 0.0.0 + */ +export * as Presign from "./presign.ts"; + /** * AWS Region configuration. * diff --git a/packages/aws/src/presign.ts b/packages/aws/src/presign.ts new file mode 100644 index 0000000000..4ddfdd9e3c --- /dev/null +++ b/packages/aws/src/presign.ts @@ -0,0 +1,186 @@ +import { AwsV4Signer } from "aws4fetch"; +import * as Effect from "effect/Effect"; +import * as Option from "effect/Option"; +import * as Redacted from "effect/Redacted"; + +import * as Credentials from "./credentials.browser.ts"; +import * as Endpoint from "./endpoint.ts"; +import * as Region from "./region.ts"; + +/** + * Options for {@link presignUrl}. + */ +export interface PresignUrlOptions { + /** + * HTTP method the presigned URL authorizes. + * @default "GET" + */ + readonly method?: string; + /** + * Full URL to presign (scheme + host + path + any query parameters that + * should be part of the signature). + */ + readonly url: string; + /** + * SigV4 signing service name (e.g. `s3`, `execute-api`, `lambda`). + */ + readonly service: string; + /** + * SigV4 signing region. Defaults to the {@link Region.Region} service. + */ + readonly region?: string; + /** + * Number of seconds the URL remains valid. + * @default 900 + */ + readonly expiresIn?: number; + /** + * Headers to sign into the URL (`X-Amz-SignedHeaders`). The consumer of + * the presigned URL must send these headers verbatim or the signature + * fails to validate. + */ + readonly headers?: Record; + /** + * Fixed signing datetime in `YYYYMMDDTHHMMSSZ` format. Defaults to now. + * Signing is deterministic for a fixed datetime + credentials, which + * makes this useful for tests. + */ + readonly datetime?: string; +} + +/** + * SigV4 query-string presigning for an arbitrary AWS URL. + * + * Pure client-side computation — no AWS API call is made. Credentials are + * resolved from the {@link Credentials.Credentials} service (the presigned + * URL inherits that identity's IAM permissions) and the signing region + * defaults to the {@link Region.Region} service. + */ +export const presignUrl: ( + options: PresignUrlOptions, +) => Effect.Effect< + string, + Credentials.CredentialsError, + Credentials.Credentials | Region.Region +> = Effect.fnUntraced(function* (options: PresignUrlOptions) { + const credentials = yield* yield* Credentials.Credentials; + const region = options.region ?? (yield* yield* Region.Region); + + const url = new URL(options.url); + url.searchParams.set("X-Amz-Expires", String(options.expiresIn ?? 900)); + + const signer = new AwsV4Signer({ + method: options.method ?? "GET", + url: url.toString(), + headers: options.headers, + accessKeyId: Redacted.value(credentials.accessKeyId), + secretAccessKey: Redacted.value(credentials.secretAccessKey), + sessionToken: credentials.sessionToken + ? Redacted.value(credentials.sessionToken) + : undefined, + service: options.service, + region, + signQuery: true, + datetime: options.datetime, + // aws4fetch excludes `content-type` (among others) from the signature by + // default (UNSIGNABLE_HEADERS). Callers passing headers here explicitly + // want them pinned into the signature — e.g. the AWS SDK's getSignedUrl + // signs `content-type` when a ContentType is given, which is what pins an + // uploader to the declared type — so opt back in. + allHeaders: options.headers !== undefined, + }); + const signed = yield* Effect.promise(() => signer.sign()); + return signed.url.toString(); +}); + +/** + * Options for {@link presignS3Url}. + */ +export interface PresignS3UrlOptions { + /** + * HTTP method the presigned URL authorizes. + * @default "GET" + */ + readonly method?: "GET" | "PUT" | "HEAD" | "DELETE"; + /** + * Name of the bucket the object lives in. + */ + readonly bucket: string; + /** + * Key of the object. + */ + readonly key: string; + /** + * Region the bucket lives in (used for both the endpoint and the SigV4 + * credential scope). Defaults to the {@link Region.Region} service. + */ + readonly region?: string; + /** + * Number of seconds the URL remains valid. + * @default 900 + */ + readonly expiresIn?: number; + /** + * `Content-Type` header to sign into the URL. The consumer (e.g. a PUT + * uploader) must send exactly this `Content-Type` or S3 rejects the + * request with a signature mismatch. + */ + readonly contentType?: string; + /** + * `response-content-type` override for GET URLs — S3 responds with this + * `Content-Type` regardless of the stored object's metadata. + */ + readonly responseContentType?: string; + /** + * Fixed signing datetime in `YYYYMMDDTHHMMSSZ` format. Defaults to now. + */ + readonly datetime?: string; +} + +/** + * SigV4 query-string presigning for S3 objects. + * + * Produces a virtual-hosted-style URL + * (`https://{bucket}.s3.{region}.amazonaws.com/{key}`), or a path-style URL + * under the custom {@link Endpoint.Endpoint} when one is provided (e.g. + * LocalStack or S3-compatible stores). + * + * Pure client-side computation — no AWS API call is made. The URL inherits + * the IAM permissions of the identity resolved from the + * {@link Credentials.Credentials} service. + */ +export const presignS3Url: ( + options: PresignS3UrlOptions, +) => Effect.Effect< + string, + Credentials.CredentialsError, + Credentials.Credentials | Region.Region +> = Effect.fnUntraced(function* (options: PresignS3UrlOptions) { + const region = options.region ?? (yield* yield* Region.Region); + const customEndpoint = yield* yield* Effect.serviceOption( + Endpoint.Endpoint, + ).pipe(Effect.map(Option.getOrElse(() => Effect.undefined))); + + const encodedKey = options.key.split("/").map(encodeURIComponent).join("/"); + const url = new URL( + customEndpoint + ? `${customEndpoint.replace(/\/+$/, "")}/${options.bucket}/${encodedKey}` + : `https://${options.bucket}.s3.${region}.amazonaws.com/${encodedKey}`, + ); + if (options.responseContentType !== undefined) { + url.searchParams.set("response-content-type", options.responseContentType); + } + + return yield* presignUrl({ + method: options.method ?? "GET", + url: url.toString(), + service: "s3", + region, + expiresIn: options.expiresIn, + headers: + options.contentType !== undefined + ? { "content-type": options.contentType } + : undefined, + datetime: options.datetime, + }); +}); diff --git a/packages/aws/src/rules-engine/partitions.json b/packages/aws/src/rules-engine/partitions.json index 258fa8eb4e..8ea34e28a0 100644 --- a/packages/aws/src/rules-engine/partitions.json +++ b/packages/aws/src/rules-engine/partitions.json @@ -165,4 +165,4 @@ } } ] -} +} \ No newline at end of file diff --git a/packages/aws/src/services/cloudwatch.ts b/packages/aws/src/services/cloudwatch.ts index a785180807..f8a24965b1 100644 --- a/packages/aws/src/services/cloudwatch.ts +++ b/packages/aws/src/services/cloudwatch.ts @@ -3242,6 +3242,10 @@ export class InvalidNextToken extends S.TaggedErrorClass()( { message: S.optional(S.String) }, T.AwsQueryError({ code: "InvalidNextToken", httpResponseCode: 400 }), ).pipe(C.withBadRequestError) {} +export class ValidationException extends S.TaggedErrorClass()( + "ValidationException", + {}, +).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { Message: S.optional(S.String) }, @@ -3531,6 +3535,7 @@ export const deleteMetricStream: API.OperationMethod< export type DescribeAlarmContributorsError = | InvalidNextToken | ResourceNotFoundException + | ValidationException | CommonErrors; /** * Returns the information of the current alarm contributors that are in @@ -3545,7 +3550,7 @@ export const describeAlarmContributors: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeAlarmContributorsInput, output: DescribeAlarmContributorsOutput, - errors: [InvalidNextToken, ResourceNotFoundException], + errors: [InvalidNextToken, ResourceNotFoundException, ValidationException], operationName: "DescribeAlarmContributors", })); export type DescribeAlarmHistoryError = InvalidNextToken | CommonErrors; diff --git a/packages/aws/src/services/ec2.ts b/packages/aws/src/services/ec2.ts index a169a1bbc6..b71fbab74a 100644 --- a/packages/aws/src/services/ec2.ts +++ b/packages/aws/src/services/ec2.ts @@ -74455,6 +74455,10 @@ export class InvalidAddressNotFound extends S.TaggedErrorClass()( + "UnauthorizedOperation", + {}, +).pipe(C.withAuthError) {} export class InvalidCapacityReservationIdMalformed extends S.TaggedErrorClass()( "InvalidCapacityReservationId.Malformed", {}, @@ -75299,10 +75303,6 @@ export class InvalidVpcCidrBlockAssociationIdErrorNotFound extends S.TaggedError "InvalidVpcCidrBlockAssociationIdError.NotFound", {}, ) {} -export class UnauthorizedOperation extends S.TaggedErrorClass()( - "UnauthorizedOperation", - {}, -).pipe(C.withAuthError) {} export class InvalidIpv6PoolIDMalformed extends S.TaggedErrorClass()( "InvalidIpv6PoolID.Malformed", {}, @@ -75373,6 +75373,7 @@ export type AcceptAddressTransferError = | RequestLimitExceeded | InvalidAddressMalformed | InvalidAddressNotFound + | UnauthorizedOperation | CommonErrors; /** * Accepts an Elastic IP address transfer. For more information, see Accept a transferred Elastic IP address in the *Amazon VPC User Guide*. @@ -75389,12 +75390,14 @@ export const acceptAddressTransfer: API.OperationMethod< RequestLimitExceeded, InvalidAddressMalformed, InvalidAddressNotFound, + UnauthorizedOperation, ], operationName: "AcceptAddressTransfer", })); export type AcceptCapacityReservationBillingOwnershipError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Accepts a request to assign billing of the available capacity of a shared Capacity @@ -75409,12 +75412,17 @@ export const acceptCapacityReservationBillingOwnership: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AcceptCapacityReservationBillingOwnershipRequest, output: AcceptCapacityReservationBillingOwnershipResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "AcceptCapacityReservationBillingOwnership", })); export type AcceptReservedInstancesExchangeQuoteError = | RequestLimitExceeded | InvalidReservedInstancesIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call. @@ -75427,7 +75435,11 @@ export const acceptReservedInstancesExchangeQuote: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AcceptReservedInstancesExchangeQuoteRequest, output: AcceptReservedInstancesExchangeQuoteResult, - errors: [RequestLimitExceeded, InvalidReservedInstancesIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidReservedInstancesIDNotFound, + UnauthorizedOperation, + ], operationName: "AcceptReservedInstancesExchangeQuote", })); export type AcceptTransitGatewayClientVpnAttachmentError = CommonErrors; @@ -75448,6 +75460,7 @@ export const acceptTransitGatewayClientVpnAttachment: API.OperationMethod< export type AcceptTransitGatewayMulticastDomainAssociationsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Accepts a request to associate subnets with a transit gateway multicast domain. @@ -75460,12 +75473,13 @@ export const acceptTransitGatewayMulticastDomainAssociations: API.OperationMetho > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AcceptTransitGatewayMulticastDomainAssociationsRequest, output: AcceptTransitGatewayMulticastDomainAssociationsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "AcceptTransitGatewayMulticastDomainAssociations", })); export type AcceptTransitGatewayPeeringAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Accepts a transit gateway peering attachment request. The peering attachment must be @@ -75479,12 +75493,17 @@ export const acceptTransitGatewayPeeringAttachment: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AcceptTransitGatewayPeeringAttachmentRequest, output: AcceptTransitGatewayPeeringAttachmentResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "AcceptTransitGatewayPeeringAttachment", })); export type AcceptTransitGatewayVpcAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Accepts a request to attach a VPC to a transit gateway. @@ -75501,13 +75520,18 @@ export const acceptTransitGatewayVpcAttachment: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AcceptTransitGatewayVpcAttachmentRequest, output: AcceptTransitGatewayVpcAttachmentResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "AcceptTransitGatewayVpcAttachment", })); export type AcceptVpcEndpointConnectionsError = | RequestLimitExceeded | InvalidParameter | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Accepts connection requests to your VPC endpoint service. @@ -75524,6 +75548,7 @@ export const acceptVpcEndpointConnections: API.OperationMethod< RequestLimitExceeded, InvalidParameter, InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, ], operationName: "AcceptVpcEndpointConnections", })); @@ -75531,6 +75556,7 @@ export type AcceptVpcPeeringConnectionError = | RequestLimitExceeded | InvalidVpcPeeringConnectionIDNotFound | InvalidVpcPeeringConnectionIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Accept a VPC peering connection request. To accept a request, the VPC peering connection must @@ -75553,10 +75579,14 @@ export const acceptVpcPeeringConnection: API.OperationMethod< RequestLimitExceeded, InvalidVpcPeeringConnectionIDNotFound, InvalidVpcPeeringConnectionIdNotFound, + UnauthorizedOperation, ], operationName: "AcceptVpcPeeringConnection", })); -export type AdvertiseByoipCidrError = RequestLimitExceeded | CommonErrors; +export type AdvertiseByoipCidrError = + | RequestLimitExceeded + | UnauthorizedOperation + | CommonErrors; /** * Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon Web Services resources through * bring your own IP addresses (BYOIP). @@ -75580,12 +75610,13 @@ export const advertiseByoipCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AdvertiseByoipCidrRequest, output: AdvertiseByoipCidrResult, - errors: [RequestLimitExceeded], + errors: [RequestLimitExceeded, UnauthorizedOperation], operationName: "AdvertiseByoipCidr", })); export type AllocateAddressError = | RequestLimitExceeded | AddressLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * Allocates an Elastic IP address to your Amazon Web Services account. After you allocate the Elastic IP address you can associate @@ -75622,13 +75653,14 @@ export const allocateAddress: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AllocateAddressRequest, output: AllocateAddressResult, - errors: [RequestLimitExceeded, AddressLimitExceeded], + errors: [RequestLimitExceeded, AddressLimitExceeded, UnauthorizedOperation], operationName: "AllocateAddress", })); export type AllocateHostsError = | RequestLimitExceeded | InvalidHostConfiguration | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * Allocates a Dedicated Host to your account. At a minimum, specify the supported @@ -75643,12 +75675,18 @@ export const allocateHosts: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AllocateHostsRequest, output: AllocateHostsResult, - errors: [RequestLimitExceeded, InvalidHostConfiguration, InvalidRequest], + errors: [ + RequestLimitExceeded, + InvalidHostConfiguration, + InvalidRequest, + UnauthorizedOperation, + ], operationName: "AllocateHosts", })); export type AllocateIpamPoolCidrError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Allocate a CIDR from an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. @@ -75665,12 +75703,17 @@ export const allocateIpamPoolCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AllocateIpamPoolCidrRequest, output: AllocateIpamPoolCidrResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + UnauthorizedOperation, + ], operationName: "AllocateIpamPoolCidr", })); export type ApplySecurityGroupsToClientVpnTargetNetworkError = | RequestLimitExceeded | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing @@ -75684,13 +75727,14 @@ export const applySecurityGroupsToClientVpnTargetNetwork: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ApplySecurityGroupsToClientVpnTargetNetworkRequest, output: ApplySecurityGroupsToClientVpnTargetNetworkResult, - errors: [RequestLimitExceeded, InvalidVpcIdMalformed], + errors: [RequestLimitExceeded, InvalidVpcIdMalformed, UnauthorizedOperation], operationName: "ApplySecurityGroupsToClientVpnTargetNetwork", })); export type AssignIpv6AddressesError = | RequestLimitExceeded | InvalidNetworkInterfaceIDNotFound | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Assigns the specified IPv6 addresses to the specified network interface. You can @@ -75718,6 +75762,7 @@ export const assignIpv6Addresses: API.OperationMethod< RequestLimitExceeded, InvalidNetworkInterfaceIDNotFound, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "AssignIpv6Addresses", })); @@ -75726,6 +75771,7 @@ export type AssignPrivateIpAddressesError = | InvalidNetworkInterfaceIDNotFound | InvalidNetworkInterfaceIdMalformed | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Assigns the specified secondary private IP addresses to the specified network @@ -75766,12 +75812,14 @@ export const assignPrivateIpAddresses: API.OperationMethod< InvalidNetworkInterfaceIDNotFound, InvalidNetworkInterfaceIdMalformed, InvalidParameter, + UnauthorizedOperation, ], operationName: "AssignPrivateIpAddresses", })); export type AssignPrivateNatGatewayAddressError = | RequestLimitExceeded | NatGatewayNotFound + | UnauthorizedOperation | CommonErrors; /** * Assigns private IPv4 addresses to a private NAT gateway. For more information, see @@ -75785,7 +75833,7 @@ export const assignPrivateNatGatewayAddress: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssignPrivateNatGatewayAddressRequest, output: AssignPrivateNatGatewayAddressResult, - errors: [RequestLimitExceeded, NatGatewayNotFound], + errors: [RequestLimitExceeded, NatGatewayNotFound, UnauthorizedOperation], operationName: "AssignPrivateNatGatewayAddress", })); export type AssociateAddressError = @@ -75794,6 +75842,7 @@ export type AssociateAddressError = | InvalidAllocationIDNotFound | InvalidInstanceIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates an Elastic IP address, or carrier IP address (for instances that are in @@ -75831,6 +75880,7 @@ export const associateAddress: API.OperationMethod< InvalidAllocationIDNotFound, InvalidInstanceIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "AssociateAddress", })); @@ -75838,6 +75888,7 @@ export type AssociateCapacityReservationBillingOwnerError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Initiates a request to assign billing of the unused capacity of a shared Capacity @@ -75857,6 +75908,7 @@ export const associateCapacityReservationBillingOwner: API.OperationMethod< RequestLimitExceeded, InvalidCapacityReservationIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "AssociateCapacityReservationBillingOwner", })); @@ -75864,6 +75916,7 @@ export type AssociateClientVpnTargetNetworkError = | RequestLimitExceeded | InvalidSubnetIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates a target network with a Client VPN endpoint. A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy. @@ -75878,7 +75931,12 @@ export const associateClientVpnTargetNetwork: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateClientVpnTargetNetworkRequest, output: AssociateClientVpnTargetNetworkResult, - errors: [RequestLimitExceeded, InvalidSubnetIDMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidSubnetIDMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "AssociateClientVpnTargetNetwork", })); export type AssociateDhcpOptionsError = @@ -75886,6 +75944,7 @@ export type AssociateDhcpOptionsError = | InvalidDhcpOptionsIdMalformed | InvalidVpcIDNotFound | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC. @@ -75908,6 +75967,7 @@ export const associateDhcpOptions: API.OperationMethod< InvalidDhcpOptionsIdMalformed, InvalidVpcIDNotFound, InvalidVpcIdMalformed, + UnauthorizedOperation, ], operationName: "AssociateDhcpOptions", })); @@ -75915,6 +75975,7 @@ export type AssociateEnclaveCertificateIamRoleError = | RequestLimitExceeded | InvalidCertificateArnMalformed | InvalidRoleArnMalformed + | UnauthorizedOperation | CommonErrors; /** * Associates an Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate. @@ -75945,12 +76006,14 @@ export const associateEnclaveCertificateIamRole: API.OperationMethod< RequestLimitExceeded, InvalidCertificateArnMalformed, InvalidRoleArnMalformed, + UnauthorizedOperation, ], operationName: "AssociateEnclaveCertificateIamRole", })); export type AssociateIamInstanceProfileError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates an IAM instance profile with a running or stopped instance. You cannot @@ -75964,12 +76027,13 @@ export const associateIamInstanceProfile: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateIamInstanceProfileRequest, output: AssociateIamInstanceProfileResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "AssociateIamInstanceProfile", })); export type AssociateInstanceEventWindowError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates one or more targets with an event window. Only one type of target (instance @@ -75986,12 +76050,13 @@ export const associateInstanceEventWindow: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateInstanceEventWindowRequest, output: AssociateInstanceEventWindowResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "AssociateInstanceEventWindow", })); export type AssociateIpamByoasnError = | RequestLimitExceeded | InvalidCidrNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates your Autonomous System Number (ASN) with a BYOIP CIDR that you own in the same Amazon Web Services Region. @@ -76008,13 +76073,14 @@ export const associateIpamByoasn: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateIpamByoasnRequest, output: AssociateIpamByoasnResult, - errors: [RequestLimitExceeded, InvalidCidrNotFound], + errors: [RequestLimitExceeded, InvalidCidrNotFound, UnauthorizedOperation], operationName: "AssociateIpamByoasn", })); export type AssociateIpamResourceDiscoveryError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdMalformed | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -76031,6 +76097,7 @@ export const associateIpamResourceDiscovery: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryIdMalformed, InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, ], operationName: "AssociateIpamResourceDiscovery", })); @@ -76039,6 +76106,7 @@ export type AssociateNatGatewayAddressError = | MissingParameter | NatGatewayMalformed | NatGatewayNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, @@ -76066,12 +76134,14 @@ export const associateNatGatewayAddress: API.OperationMethod< MissingParameter, NatGatewayMalformed, NatGatewayNotFound, + UnauthorizedOperation, ], operationName: "AssociateNatGatewayAddress", })); export type AssociateRouteServerError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates a route server with a VPC to enable dynamic route updates. @@ -76088,7 +76158,11 @@ export const associateRouteServer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateRouteServerRequest, output: AssociateRouteServerResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "AssociateRouteServer", })); export type AssociateRouteTableError = @@ -76101,6 +76175,7 @@ export type AssociateRouteTableError = | InvalidRouteTableIDNotFound | InvalidSubnetIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates a subnet in your VPC or an internet gateway or virtual private gateway @@ -76130,6 +76205,7 @@ export const associateRouteTable: API.OperationMethod< InvalidRouteTableIDNotFound, InvalidSubnetIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "AssociateRouteTable", })); @@ -76137,6 +76213,7 @@ export type AssociateSecurityGroupVpcError = | RequestLimitExceeded | InvalidGroupIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates a security group with another VPC in the same Region. This enables you to use the same security group with network interfaces and instances in the specified VPC. @@ -76159,13 +76236,19 @@ export const associateSecurityGroupVpc: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateSecurityGroupVpcRequest, output: AssociateSecurityGroupVpcResult, - errors: [RequestLimitExceeded, InvalidGroupIdMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidGroupIdMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "AssociateSecurityGroupVpc", })); export type AssociateSubnetCidrBlockError = | RequestLimitExceeded | InvalidSubnetIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR @@ -76179,12 +76262,18 @@ export const associateSubnetCidrBlock: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateSubnetCidrBlockRequest, output: AssociateSubnetCidrBlockResult, - errors: [RequestLimitExceeded, InvalidSubnetIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidSubnetIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "AssociateSubnetCidrBlock", })); export type AssociateTransitGatewayMulticastDomainError = | RequestLimitExceeded | InvalidTransitGatewayMulticastDomainIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain. @@ -76203,6 +76292,7 @@ export const associateTransitGatewayMulticastDomain: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidTransitGatewayMulticastDomainIdNotFound, + UnauthorizedOperation, ], operationName: "AssociateTransitGatewayMulticastDomain", })); @@ -76210,6 +76300,7 @@ export type AssociateTransitGatewayPolicyTableError = | RequestLimitExceeded | InvalidTransitGatewayPolicyTableIdMalformed | InvalidTransitGatewayPolicyTableIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates the specified transit gateway attachment with a transit gateway policy table. @@ -76226,12 +76317,14 @@ export const associateTransitGatewayPolicyTable: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayPolicyTableIdMalformed, InvalidTransitGatewayPolicyTableIdNotFound, + UnauthorizedOperation, ], operationName: "AssociateTransitGatewayPolicyTable", })); export type AssociateTransitGatewayRouteTableError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Associates the specified attachment with the specified transit gateway route table. You can @@ -76245,12 +76338,17 @@ export const associateTransitGatewayRouteTable: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateTransitGatewayRouteTableRequest, output: AssociateTransitGatewayRouteTableResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "AssociateTransitGatewayRouteTable", })); export type AssociateTrunkInterfaceError = | RequestLimitExceeded | OperationNotPermitted + | UnauthorizedOperation | CommonErrors; /** * Associates a branch network interface with a trunk network interface. @@ -76268,7 +76366,7 @@ export const associateTrunkInterface: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AssociateTrunkInterfaceRequest, output: AssociateTrunkInterfaceResult, - errors: [RequestLimitExceeded, OperationNotPermitted], + errors: [RequestLimitExceeded, OperationNotPermitted, UnauthorizedOperation], operationName: "AssociateTrunkInterface", })); export type AssociateVpcCidrBlockError = @@ -76278,6 +76376,7 @@ export type AssociateVpcCidrBlockError = | InvalidVpcIDNotFound | InvalidVpcIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, @@ -76306,6 +76405,7 @@ export const associateVpcCidrBlock: API.OperationMethod< InvalidVpcIDNotFound, InvalidVpcIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "AssociateVpcCidrBlock", })); @@ -76313,6 +76413,7 @@ export type AttachClassicLinkVpcError = | RequestLimitExceeded | InvalidInstanceIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -76335,7 +76436,12 @@ export const attachClassicLinkVpc: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AttachClassicLinkVpcRequest, output: AttachClassicLinkVpcResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "AttachClassicLinkVpc", })); export type AttachImageWatermarkError = CommonErrors; @@ -76365,6 +76471,7 @@ export type AttachInternetGatewayError = | InvalidInternetGatewayIDNotFound | InvalidInternetGatewayIdMalformed | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity @@ -76385,6 +76492,7 @@ export const attachInternetGateway: API.OperationMethod< InvalidInternetGatewayIDNotFound, InvalidInternetGatewayIdMalformed, InvalidVpcIdMalformed, + UnauthorizedOperation, ], operationName: "AttachInternetGateway", })); @@ -76393,6 +76501,7 @@ export type AttachNetworkInterfaceError = | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound | InvalidNetworkInterfaceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Attaches a network interface to an instance. @@ -76410,12 +76519,14 @@ export const attachNetworkInterface: API.OperationMethod< InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, InvalidNetworkInterfaceIDNotFound, + UnauthorizedOperation, ], operationName: "AttachNetworkInterface", })); export type AttachVerifiedAccessTrustProviderError = | RequestLimitExceeded | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Attaches the specified Amazon Web Services Verified Access trust provider to the specified Amazon Web Services Verified Access instance. @@ -76428,7 +76539,11 @@ export const attachVerifiedAccessTrustProvider: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AttachVerifiedAccessTrustProviderRequest, output: AttachVerifiedAccessTrustProviderResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessInstanceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, + ], operationName: "AttachVerifiedAccessTrustProvider", })); export type AttachVolumeError = @@ -76436,6 +76551,7 @@ export type AttachVolumeError = | InvalidInstanceIDNotFound | InvalidParameterValue | InvalidVolumeNotFound + | UnauthorizedOperation | CommonErrors; /** * Attaches an Amazon EBS volume to a `running` or `stopped` @@ -76479,6 +76595,7 @@ export const attachVolume: API.OperationMethod< InvalidInstanceIDNotFound, InvalidParameterValue, InvalidVolumeNotFound, + UnauthorizedOperation, ], operationName: "AttachVolume", })); @@ -76486,6 +76603,7 @@ export type AttachVpnGatewayError = | RequestLimitExceeded | InvalidVpcIDNotFound | InvalidVpnGatewayIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Attaches an available virtual private gateway to a VPC. You can attach one virtual private @@ -76506,12 +76624,14 @@ export const attachVpnGateway: API.OperationMethod< RequestLimitExceeded, InvalidVpcIDNotFound, InvalidVpnGatewayIDNotFound, + UnauthorizedOperation, ], operationName: "AttachVpnGateway", })); export type AuthorizeClientVpnIngressError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Adds an ingress authorization rule to a Client VPN endpoint. Ingress authorization rules act as @@ -76526,7 +76646,7 @@ export const authorizeClientVpnIngress: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: AuthorizeClientVpnIngressRequest, output: AuthorizeClientVpnIngressResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "AuthorizeClientVpnIngress", })); export type AuthorizeSecurityGroupEgressError = @@ -76534,6 +76654,7 @@ export type AuthorizeSecurityGroupEgressError = | InvalidGroupNotFound | InvalidGroupIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Adds the specified outbound (egress) rules to a security group. @@ -76568,6 +76689,7 @@ export const authorizeSecurityGroupEgress: API.OperationMethod< InvalidGroupNotFound, InvalidGroupIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "AuthorizeSecurityGroupEgress", })); @@ -76576,6 +76698,7 @@ export type AuthorizeSecurityGroupIngressError = | InvalidGroupNotFound | InvalidGroupIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Adds the specified inbound (ingress) rules to a security group. @@ -76610,12 +76733,14 @@ export const authorizeSecurityGroupIngress: API.OperationMethod< InvalidGroupNotFound, InvalidGroupIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "AuthorizeSecurityGroupIngress", })); export type BundleInstanceError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Bundles an Amazon instance store-backed Windows instance. @@ -76636,13 +76761,14 @@ export const bundleInstance: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: BundleInstanceRequest, output: BundleInstanceResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "BundleInstance", })); export type CancelBundleTaskError = | RequestLimitExceeded | InvalidBundleIDNotFound | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Cancels a bundling operation for an instance store-backed Windows instance. @@ -76659,6 +76785,7 @@ export const cancelBundleTask: API.OperationMethod< RequestLimitExceeded, InvalidBundleIDNotFound, InvalidInstanceIDMalformed, + UnauthorizedOperation, ], operationName: "CancelBundleTask", })); @@ -76666,6 +76793,7 @@ export type CancelCapacityReservationError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Cancels the specified Capacity Reservation, releases the reserved capacity, and @@ -76710,12 +76838,14 @@ export const cancelCapacityReservation: API.OperationMethod< RequestLimitExceeded, InvalidCapacityReservationIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "CancelCapacityReservation", })); export type CancelCapacityReservationFleetsError = | RequestLimitExceeded | InvalidCapacityReservationFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity @@ -76738,12 +76868,17 @@ export const cancelCapacityReservationFleets: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelCapacityReservationFleetsRequest, output: CancelCapacityReservationFleetsResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "CancelCapacityReservationFleets", })); export type CancelConversionTaskError = | RequestLimitExceeded | InvalidAction + | UnauthorizedOperation | CommonErrors; /** * Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all @@ -76758,12 +76893,13 @@ export const cancelConversionTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelConversionRequest, output: CancelConversionTaskResponse, - errors: [RequestLimitExceeded, InvalidAction], + errors: [RequestLimitExceeded, InvalidAction, UnauthorizedOperation], operationName: "CancelConversionTask", })); export type CancelDeclarativePoliciesReportError = | RequestLimitExceeded | InvalidDeclarativePoliciesReportIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Cancels the generation of an account status report. @@ -76783,12 +76919,17 @@ export const cancelDeclarativePoliciesReport: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelDeclarativePoliciesReportRequest, output: CancelDeclarativePoliciesReportResult, - errors: [RequestLimitExceeded, InvalidDeclarativePoliciesReportIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidDeclarativePoliciesReportIdMalformed, + UnauthorizedOperation, + ], operationName: "CancelDeclarativePoliciesReport", })); export type CancelExportTaskError = | RequestLimitExceeded | InvalidID + | UnauthorizedOperation | CommonErrors; /** * Cancels an active export task. The request removes all artifacts of the export, including any partially-created @@ -76803,12 +76944,13 @@ export const cancelExportTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelExportTaskRequest, output: CancelExportTaskResponse, - errors: [RequestLimitExceeded, InvalidID], + errors: [RequestLimitExceeded, InvalidID, UnauthorizedOperation], operationName: "CancelExportTask", })); export type CancelImageLaunchPermissionError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Removes your Amazon Web Services account from the launch permissions for the specified AMI. @@ -76823,12 +76965,13 @@ export const cancelImageLaunchPermission: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelImageLaunchPermissionRequest, output: CancelImageLaunchPermissionResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "CancelImageLaunchPermission", })); export type CancelImportTaskError = | RequestLimitExceeded | InvalidConversionTaskIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Cancels an in-process import virtual machine or import snapshot task. @@ -76841,12 +76984,17 @@ export const cancelImportTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelImportTaskRequest, output: CancelImportTaskResult, - errors: [RequestLimitExceeded, InvalidConversionTaskIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidConversionTaskIdMalformed, + UnauthorizedOperation, + ], operationName: "CancelImportTask", })); export type CancelReservedInstancesListingError = | RequestLimitExceeded | InvalidInput + | UnauthorizedOperation | CommonErrors; /** * Cancels the specified Reserved Instance listing in the Reserved Instance @@ -76863,13 +77011,14 @@ export const cancelReservedInstancesListing: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelReservedInstancesListingRequest, output: CancelReservedInstancesListingResult, - errors: [RequestLimitExceeded, InvalidInput], + errors: [RequestLimitExceeded, InvalidInput, UnauthorizedOperation], operationName: "CancelReservedInstancesListing", })); export type CancelSpotFleetRequestsError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Cancels the specified Spot Fleet requests. @@ -76906,13 +77055,19 @@ export const cancelSpotFleetRequests: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelSpotFleetRequestsRequest, output: CancelSpotFleetRequestsResponse, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CancelSpotFleetRequests", })); export type CancelSpotInstanceRequestsError = | RequestLimitExceeded | InvalidParameterCombination | InvalidSpotInstanceRequestIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Cancels one or more Spot Instance requests. @@ -76932,12 +77087,14 @@ export const cancelSpotInstanceRequests: API.OperationMethod< RequestLimitExceeded, InvalidParameterCombination, InvalidSpotInstanceRequestIDMalformed, + UnauthorizedOperation, ], operationName: "CancelSpotInstanceRequests", })); export type ConfirmProductInstanceError = | RequestLimitExceeded | AuthFailure + | UnauthorizedOperation | CommonErrors; /** * Determines whether a product code is associated with an instance. This action can only @@ -76952,12 +77109,13 @@ export const confirmProductInstance: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ConfirmProductInstanceRequest, output: ConfirmProductInstanceResult, - errors: [RequestLimitExceeded, AuthFailure], + errors: [RequestLimitExceeded, AuthFailure, UnauthorizedOperation], operationName: "ConfirmProductInstance", })); export type CopyFpgaImageError = | RequestLimitExceeded | InvalidFpgaImageIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Copies the specified Amazon FPGA Image (AFI) to the current Region. @@ -76970,7 +77128,11 @@ export const copyFpgaImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CopyFpgaImageRequest, output: CopyFpgaImageResult, - errors: [RequestLimitExceeded, InvalidFpgaImageIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidFpgaImageIDMalformed, + UnauthorizedOperation, + ], operationName: "CopyFpgaImage", })); export type CopyImageError = @@ -76979,6 +77141,7 @@ export type CopyImageError = | InvalidAMIIDNotFound | InvalidRegion | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * Initiates an AMI copy operation. You must specify the source AMI ID and both the source @@ -77058,6 +77221,7 @@ export const copyImage: API.OperationMethod< InvalidAMIIDNotFound, InvalidRegion, InvalidRequest, + UnauthorizedOperation, ], operationName: "CopyImage", })); @@ -77066,6 +77230,7 @@ export type CopySnapshotError = | InvalidParameterValue | InvalidRegion | InvalidSnapshotNotFound + | UnauthorizedOperation | CommonErrors; /** * Creates an exact copy of an Amazon EBS snapshot. @@ -77111,12 +77276,14 @@ export const copySnapshot: API.OperationMethod< InvalidParameterValue, InvalidRegion, InvalidSnapshotNotFound, + UnauthorizedOperation, ], operationName: "CopySnapshot", })); export type CopyVolumesError = | RequestLimitExceeded | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Creates a crash-consistent, point-in-time copy of an existing Amazon EBS volume within the same @@ -77131,12 +77298,17 @@ export const copyVolumes: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CopyVolumesRequest, output: CopyVolumesResult, - errors: [RequestLimitExceeded, InvalidVolumeIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidVolumeIDMalformed, + UnauthorizedOperation, + ], operationName: "CopyVolumes", })); export type CreateCapacityManagerDataExportError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a new data export configuration for EC2 Capacity Manager. This allows you to automatically export capacity usage data to an S3 bucket on a scheduled basis. @@ -77150,12 +77322,13 @@ export const createCapacityManagerDataExport: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateCapacityManagerDataExportRequest, output: CreateCapacityManagerDataExportResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateCapacityManagerDataExport", })); export type CreateCapacityReservationError = | RequestLimitExceeded | Unsupported + | UnauthorizedOperation | CommonErrors; /** * Creates a new Capacity Reservation with the specified attributes. Capacity @@ -77191,13 +77364,14 @@ export const createCapacityReservation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateCapacityReservationRequest, output: CreateCapacityReservationResult, - errors: [RequestLimitExceeded, Unsupported], + errors: [RequestLimitExceeded, Unsupported, UnauthorizedOperation], operationName: "CreateCapacityReservation", })); export type CreateCapacityReservationBySplittingError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed | InvalidCapacityReservationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Create a new Capacity Reservation by splitting the capacity of the source Capacity @@ -77217,6 +77391,7 @@ export const createCapacityReservationBySplitting: API.OperationMethod< RequestLimitExceeded, InvalidCapacityReservationIdMalformed, InvalidCapacityReservationIdNotFound, + UnauthorizedOperation, ], operationName: "CreateCapacityReservationBySplitting", })); @@ -77241,6 +77416,7 @@ export const createCapacityReservationCancellationQuote: API.OperationMethod< export type CreateCapacityReservationFleetError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Capacity Reservation Fleet. For more information, see Create a @@ -77255,7 +77431,7 @@ export const createCapacityReservationFleet: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateCapacityReservationFleetRequest, output: CreateCapacityReservationFleetResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateCapacityReservationFleet", })); export type CreateCarrierGatewayError = @@ -77264,6 +77440,7 @@ export type CreateCarrierGatewayError = | InvalidVpcIdMalformed | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a carrier gateway. For more information about carrier gateways, see Carrier gateways in the *Amazon Web Services Wavelength Developer Guide*. @@ -77282,12 +77459,14 @@ export const createCarrierGateway: API.OperationMethod< InvalidVpcIdMalformed, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateCarrierGateway", })); export type CreateClientVpnEndpointError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and configure to @@ -77302,12 +77481,13 @@ export const createClientVpnEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateClientVpnEndpointRequest, output: CreateClientVpnEndpointResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateClientVpnEndpoint", })); export type CreateClientVpnRouteError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the @@ -77321,7 +77501,11 @@ export const createClientVpnRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateClientVpnRouteRequest, output: CreateClientVpnRouteResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "CreateClientVpnRoute", })); export type CreateCoipCidrError = @@ -77329,6 +77513,7 @@ export type CreateCoipCidrError = | InvalidPoolIDMalformed | InvalidPoolIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a range of customer-owned IP addresses. @@ -77346,6 +77531,7 @@ export const createCoipCidr: API.OperationMethod< InvalidPoolIDMalformed, InvalidPoolIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateCoipCidr", })); @@ -77354,6 +77540,7 @@ export type CreateCoipPoolError = | InvalidLocalGatewayRouteTableIDMalformed | InvalidLocalGatewayRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a pool of customer-owned IP (CoIP) addresses. @@ -77371,6 +77558,7 @@ export const createCoipPool: API.OperationMethod< InvalidLocalGatewayRouteTableIDMalformed, InvalidLocalGatewayRouteTableIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateCoipPool", })); @@ -77378,6 +77566,7 @@ export type CreateCustomerGatewayError = | RequestLimitExceeded | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Provides information to Amazon Web Services about your customer gateway device. The @@ -77405,13 +77594,19 @@ export const createCustomerGateway: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateCustomerGatewayRequest, output: CreateCustomerGatewayResult, - errors: [RequestLimitExceeded, MissingParameter, ParseError], + errors: [ + RequestLimitExceeded, + MissingParameter, + ParseError, + UnauthorizedOperation, + ], operationName: "CreateCustomerGateway", })); export type CreateDefaultSubnetError = | RequestLimitExceeded | DefaultSubnetAlreadyExistsInAvailabilityZone | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a default subnet with a size `/20` IPv4 CIDR block in the @@ -77431,12 +77626,14 @@ export const createDefaultSubnet: API.OperationMethod< RequestLimitExceeded, DefaultSubnetAlreadyExistsInAvailabilityZone, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateDefaultSubnet", })); export type CreateDefaultVpcError = | RequestLimitExceeded | DefaultVpcAlreadyExists + | UnauthorizedOperation | CommonErrors; /** * Creates a default VPC with a size `/16` IPv4 CIDR block and a default subnet @@ -77456,12 +77653,17 @@ export const createDefaultVpc: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateDefaultVpcRequest, output: CreateDefaultVpcResult, - errors: [RequestLimitExceeded, DefaultVpcAlreadyExists], + errors: [ + RequestLimitExceeded, + DefaultVpcAlreadyExists, + UnauthorizedOperation, + ], operationName: "CreateDefaultVpc", })); export type CreateDelegateMacVolumeOwnershipTaskError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delegates ownership of the Amazon EBS root volume for an Apple silicon @@ -77475,13 +77677,14 @@ export const createDelegateMacVolumeOwnershipTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateDelegateMacVolumeOwnershipTaskRequest, output: CreateDelegateMacVolumeOwnershipTaskResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateDelegateMacVolumeOwnershipTask", })); export type CreateDhcpOptionsError = | RequestLimitExceeded | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a custom set of DHCP options. After you create a DHCP option set, you associate @@ -77531,7 +77734,12 @@ export const createDhcpOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateDhcpOptionsRequest, output: CreateDhcpOptionsResult, - errors: [RequestLimitExceeded, MissingParameter, ParseError], + errors: [ + RequestLimitExceeded, + MissingParameter, + ParseError, + UnauthorizedOperation, + ], operationName: "CreateDhcpOptions", })); export type CreateEgressOnlyInternetGatewayError = @@ -77540,6 +77748,7 @@ export type CreateEgressOnlyInternetGatewayError = | InvalidVpcIdMalformed | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * [IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only @@ -77561,12 +77770,14 @@ export const createEgressOnlyInternetGateway: API.OperationMethod< InvalidVpcIdMalformed, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateEgressOnlyInternetGateway", })); export type CreateFleetError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an EC2 Fleet that contains the configuration information for On-Demand Instances and Spot Instances. @@ -77585,7 +77796,7 @@ export const createFleet: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateFleetRequest, output: CreateFleetResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateFleet", })); export type CreateFlowLogsError = @@ -77593,6 +77804,7 @@ export type CreateFlowLogsError = | InvalidID | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates one or more flow logs to capture information about IP traffic for a specific network interface, @@ -77624,12 +77836,14 @@ export const createFlowLogs: API.OperationMethod< InvalidID, InvalidParameterValue, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateFlowLogs", })); export type CreateFpgaImageError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP). @@ -77649,13 +77863,14 @@ export const createFpgaImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateFpgaImageRequest, output: CreateFpgaImageResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "CreateFpgaImage", })); export type CreateImageError = | RequestLimitExceeded | InvalidInstanceIDNotFound | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or @@ -77690,12 +77905,14 @@ export const createImage: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDNotFound, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "CreateImage", })); export type CreateImageUsageReportError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a report that shows how your image is used across other Amazon Web Services accounts. The report @@ -77713,7 +77930,7 @@ export const createImageUsageReport: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateImageUsageReportRequest, output: CreateImageUsageReportResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateImageUsageReport", })); export type CreateInstanceConnectEndpointError = @@ -77721,6 +77938,7 @@ export type CreateInstanceConnectEndpointError = | InvalidGroupNotFound | InvalidSubnetIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an EC2 Instance Connect Endpoint. @@ -77743,12 +77961,14 @@ export const createInstanceConnectEndpoint: API.OperationMethod< InvalidGroupNotFound, InvalidSubnetIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateInstanceConnectEndpoint", })); export type CreateInstanceEventWindowError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Creates an event window in which scheduled events for the associated Amazon EC2 instances can @@ -77783,12 +78003,13 @@ export const createInstanceEventWindow: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateInstanceEventWindowRequest, output: CreateInstanceEventWindowResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "CreateInstanceEventWindow", })); export type CreateInstanceExportTaskError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Exports a running or stopped instance to an Amazon S3 bucket. @@ -77805,13 +78026,14 @@ export const createInstanceExportTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateInstanceExportTaskRequest, output: CreateInstanceExportTaskResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateInstanceExportTask", })); export type CreateInternetGatewayError = | RequestLimitExceeded | InternetGatewayLimitExceeded | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates an internet gateway for use with a VPC. After creating the internet gateway, @@ -77828,12 +78050,18 @@ export const createInternetGateway: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateInternetGatewayRequest, output: CreateInternetGatewayResult, - errors: [RequestLimitExceeded, InternetGatewayLimitExceeded, ParseError], + errors: [ + RequestLimitExceeded, + InternetGatewayLimitExceeded, + ParseError, + UnauthorizedOperation, + ], operationName: "CreateInternetGateway", })); export type CreateInterruptibleCapacityReservationAllocationError = | RequestLimitExceeded | InvalidCapacityReservationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Creates an interruptible Capacity Reservation by specifying the number of unused instances you want to allocate from your source reservation. This helps you make unused capacity available for other workloads within your account while maintaining control to reclaim it. @@ -77846,14 +78074,19 @@ export const createInterruptibleCapacityReservationAllocation: API.OperationMeth > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateInterruptibleCapacityReservationAllocationRequest, output: CreateInterruptibleCapacityReservationAllocationResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdNotFound], - operationName: "CreateInterruptibleCapacityReservationAllocation", -})); -export type CreateIpamError = + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdNotFound, + UnauthorizedOperation, + ], + operationName: "CreateInterruptibleCapacityReservationAllocation", +})); +export type CreateIpamError = | RequestLimitExceeded | InvalidParameterValue | ParseError | ResourceLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * Create an IPAM. Amazon VPC IP Address Manager (IPAM) is a VPC feature that you can use @@ -77876,6 +78109,7 @@ export const createIpam: API.OperationMethod< InvalidParameterValue, ParseError, ResourceLimitExceeded, + UnauthorizedOperation, ], operationName: "CreateIpam", })); @@ -77883,6 +78117,7 @@ export type CreateIpamExternalResourceVerificationTokenError = | RequestLimitExceeded | InvalidIpamIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Create a verification token. @@ -77897,13 +78132,19 @@ export const createIpamExternalResourceVerificationToken: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateIpamExternalResourceVerificationTokenRequest, output: CreateIpamExternalResourceVerificationTokenResult, - errors: [RequestLimitExceeded, InvalidIpamIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateIpamExternalResourceVerificationToken", })); export type CreateIpamPolicyError = | RequestLimitExceeded | InvalidIpamIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an IPAM policy. @@ -77920,13 +78161,19 @@ export const createIpamPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateIpamPolicyRequest, output: CreateIpamPolicyResult, - errors: [RequestLimitExceeded, InvalidIpamIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateIpamPolicy", })); export type CreateIpamPoolError = | RequestLimitExceeded | InvalidIpamScopeIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your IP addresses according to your routing and security needs. For example, if you have separate routing and security needs for development and production applications, you can create a pool for each. @@ -77941,12 +78188,18 @@ export const createIpamPool: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateIpamPoolRequest, output: CreateIpamPoolResult, - errors: [RequestLimitExceeded, InvalidIpamScopeIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamScopeIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateIpamPool", })); export type CreateIpamPrefixListResolverError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an IPAM prefix list resolver. @@ -77963,7 +78216,7 @@ export const createIpamPrefixListResolver: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateIpamPrefixListResolverRequest, output: CreateIpamPrefixListResolverResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateIpamPrefixListResolver", })); export type CreateIpamPrefixListResolverTargetError = @@ -77971,6 +78224,7 @@ export type CreateIpamPrefixListResolverTargetError = | InvalidIpamPrefixListResolverIdMalformed | InvalidIpamPrefixListResolverIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an IPAM prefix list resolver target. @@ -77992,12 +78246,14 @@ export const createIpamPrefixListResolverTarget: API.OperationMethod< InvalidIpamPrefixListResolverIdMalformed, InvalidIpamPrefixListResolverIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateIpamPrefixListResolverTarget", })); export type CreateIpamResourceDiscoveryError = | RequestLimitExceeded | ResourceLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * Creates an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -78010,13 +78266,14 @@ export const createIpamResourceDiscovery: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateIpamResourceDiscoveryRequest, output: CreateIpamResourceDiscoveryResult, - errors: [RequestLimitExceeded, ResourceLimitExceeded], + errors: [RequestLimitExceeded, ResourceLimitExceeded, UnauthorizedOperation], operationName: "CreateIpamResourceDiscovery", })); export type CreateIpamScopeError = | RequestLimitExceeded | InvalidIpamIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict. @@ -78031,12 +78288,18 @@ export const createIpamScope: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateIpamScopeRequest, output: CreateIpamScopeResult, - errors: [RequestLimitExceeded, InvalidIpamIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateIpamScope", })); export type CreateKeyPairError = | RequestLimitExceeded | InvalidKeyPairDuplicate + | UnauthorizedOperation | CommonErrors; /** * Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the @@ -78062,12 +78325,17 @@ export const createKeyPair: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateKeyPairRequest, output: KeyPair, - errors: [RequestLimitExceeded, InvalidKeyPairDuplicate], + errors: [ + RequestLimitExceeded, + InvalidKeyPairDuplicate, + UnauthorizedOperation, + ], operationName: "CreateKeyPair", })); export type CreateLaunchTemplateError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a launch template. @@ -78091,7 +78359,7 @@ export const createLaunchTemplate: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateLaunchTemplateRequest, output: CreateLaunchTemplateResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateLaunchTemplate", })); export type CreateLaunchTemplateVersionError = CommonErrors; @@ -78126,6 +78394,7 @@ export type CreateLocalGatewayRouteError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a static route for the specified local gateway route table. You must specify one of the @@ -78143,7 +78412,12 @@ export const createLocalGatewayRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateLocalGatewayRouteRequest, output: CreateLocalGatewayRouteResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateLocalGatewayRoute", })); export type CreateLocalGatewayRouteTableError = @@ -78151,6 +78425,7 @@ export type CreateLocalGatewayRouteTableError = | InvalidLocalGatewayIDMalformed | InvalidLocalGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a local gateway route table. @@ -78168,6 +78443,7 @@ export const createLocalGatewayRouteTable: API.OperationMethod< InvalidLocalGatewayIDMalformed, InvalidLocalGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateLocalGatewayRouteTable", })); @@ -78176,6 +78452,7 @@ export type CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError = | InvalidLocalGatewayRouteTableIDNotFound | InvalidLocalGatewayVirtualInterfaceGroupIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a local gateway route table virtual interface group association. @@ -78193,6 +78470,7 @@ export const createLocalGatewayRouteTableVirtualInterfaceGroupAssociation: API.O InvalidLocalGatewayRouteTableIDNotFound, InvalidLocalGatewayVirtualInterfaceGroupIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation", })); @@ -78202,6 +78480,7 @@ export type CreateLocalGatewayRouteTableVpcAssociationError = | InvalidLocalGatewayRouteTableIDNotFound | InvalidVpcIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Associates the specified VPC with the specified local gateway route table. @@ -78220,6 +78499,7 @@ export const createLocalGatewayRouteTableVpcAssociation: API.OperationMethod< InvalidLocalGatewayRouteTableIDNotFound, InvalidVpcIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateLocalGatewayRouteTableVpcAssociation", })); @@ -78228,6 +78508,7 @@ export type CreateLocalGatewayVirtualInterfaceError = | InvalidLocalGatewayVirtualInterfaceGroupIDMalformed | InvalidLocalGatewayVirtualInterfaceGroupIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Create a virtual interface for a local gateway. @@ -78245,6 +78526,7 @@ export const createLocalGatewayVirtualInterface: API.OperationMethod< InvalidLocalGatewayVirtualInterfaceGroupIDMalformed, InvalidLocalGatewayVirtualInterfaceGroupIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateLocalGatewayVirtualInterface", })); @@ -78252,6 +78534,7 @@ export type CreateLocalGatewayVirtualInterfaceGroupError = | RequestLimitExceeded | InvalidLocalGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Create a local gateway virtual interface group. @@ -78268,6 +78551,7 @@ export const createLocalGatewayVirtualInterfaceGroup: API.OperationMethod< RequestLimitExceeded, InvalidLocalGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateLocalGatewayVirtualInterfaceGroup", })); @@ -78324,6 +78608,7 @@ export type CreateManagedPrefixListError = | RequestLimitExceeded | InvalidParameterValue | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a managed prefix list. You can specify entries for the prefix list. @@ -78337,7 +78622,12 @@ export const createManagedPrefixList: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateManagedPrefixListRequest, output: CreateManagedPrefixListResult, - errors: [RequestLimitExceeded, InvalidParameterValue, ParseError], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + ParseError, + UnauthorizedOperation, + ], operationName: "CreateManagedPrefixList", })); export type CreateNatGatewayError = @@ -78347,6 +78637,7 @@ export type CreateNatGatewayError = | InvalidSubnetIDNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a NAT gateway in the specified subnet. This action creates a network interface @@ -78386,6 +78677,7 @@ export const createNatGateway: API.OperationMethod< InvalidSubnetIDNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateNatGateway", })); @@ -78394,6 +78686,7 @@ export type CreateNetworkAclError = | InvalidVpcIDNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC. @@ -78414,6 +78707,7 @@ export const createNetworkAcl: API.OperationMethod< InvalidVpcIDNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateNetworkAcl", })); @@ -78421,6 +78715,7 @@ export type CreateNetworkAclEntryError = | RequestLimitExceeded | InvalidNetworkAclIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules @@ -78444,7 +78739,12 @@ export const createNetworkAclEntry: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateNetworkAclEntryRequest, output: CreateNetworkAclEntryResponse, - errors: [RequestLimitExceeded, InvalidNetworkAclIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidNetworkAclIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateNetworkAclEntry", })); export type CreateNetworkInsightsAccessScopeError = CommonErrors; @@ -78470,6 +78770,7 @@ export type CreateNetworkInsightsPathError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a path to analyze for reachability. @@ -78486,7 +78787,12 @@ export const createNetworkInsightsPath: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateNetworkInsightsPathRequest, output: CreateNetworkInsightsPathResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateNetworkInsightsPath", })); export type CreateNetworkInterfaceError = @@ -78494,6 +78800,7 @@ export type CreateNetworkInterfaceError = | InvalidSubnetIDNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a network interface in the specified subnet. @@ -78517,12 +78824,14 @@ export const createNetworkInterface: API.OperationMethod< InvalidSubnetIDNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateNetworkInterface", })); export type CreateNetworkInterfacePermissionError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Grants an Amazon Web Services-authorized account permission to attach the specified @@ -78539,13 +78848,14 @@ export const createNetworkInterfacePermission: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateNetworkInterfacePermissionRequest, output: CreateNetworkInterfacePermissionResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateNetworkInterfacePermission", })); export type CreatePlacementGroupError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a placement group in which to launch instances. The strategy of the placement @@ -78571,7 +78881,12 @@ export const createPlacementGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreatePlacementGroupRequest, output: CreatePlacementGroupResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreatePlacementGroup", })); export type CreatePublicIpv4PoolError = CommonErrors; @@ -78592,6 +78907,7 @@ export const createPublicIpv4Pool: API.OperationMethod< export type CreateReplaceRootVolumeTaskError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Replaces the EBS-backed root volume for a `running` instance with a new @@ -78609,12 +78925,17 @@ export const createReplaceRootVolumeTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateReplaceRootVolumeTaskRequest, output: CreateReplaceRootVolumeTaskResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "CreateReplaceRootVolumeTask", })); export type CreateReservedInstancesListingError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved @@ -78647,12 +78968,13 @@ export const createReservedInstancesListing: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateReservedInstancesListingRequest, output: CreateReservedInstancesListingResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateReservedInstancesListing", })); export type CreateRestoreImageTaskError = | RequestLimitExceeded | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * Starts a task that restores an AMI from an Amazon S3 object that was previously created by @@ -78672,7 +78994,7 @@ export const createRestoreImageTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateRestoreImageTaskRequest, output: CreateRestoreImageTaskResult, - errors: [RequestLimitExceeded, InvalidRequest], + errors: [RequestLimitExceeded, InvalidRequest, UnauthorizedOperation], operationName: "CreateRestoreImageTask", })); export type CreateRouteError = @@ -78686,6 +79008,7 @@ export type CreateRouteError = | InvalidVpcEndpointIdNotFound | MissingParameter | RouteAlreadyExists + | UnauthorizedOperation | CommonErrors; /** * Creates a route in a route table within a VPC. @@ -78727,12 +79050,14 @@ export const createRoute: API.OperationMethod< InvalidVpcEndpointIdNotFound, MissingParameter, RouteAlreadyExists, + UnauthorizedOperation, ], operationName: "CreateRoute", })); export type CreateRouteServerError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a new route server to manage dynamic routing in a VPC. @@ -78760,7 +79085,7 @@ export const createRouteServer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateRouteServerRequest, output: CreateRouteServerResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateRouteServer", })); export type CreateRouteServerEndpointError = @@ -78769,6 +79094,7 @@ export type CreateRouteServerEndpointError = | InvalidRouteServerIdNotFound | InvalidSubnetIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a new endpoint for a route server in a specified subnet. @@ -78791,12 +79117,14 @@ export const createRouteServerEndpoint: API.OperationMethod< InvalidRouteServerIdNotFound, InvalidSubnetIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateRouteServerEndpoint", })); export type CreateRouteServerPeerError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a new BGP peer for a specified route server endpoint. @@ -78819,7 +79147,7 @@ export const createRouteServerPeer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateRouteServerPeerRequest, output: CreateRouteServerPeerResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateRouteServerPeer", })); export type CreateRouteTableError = @@ -78827,6 +79155,7 @@ export type CreateRouteTableError = | InvalidVpcIDNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet. @@ -78847,6 +79176,7 @@ export const createRouteTable: API.OperationMethod< InvalidVpcIDNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateRouteTable", })); @@ -78894,6 +79224,7 @@ export type CreateSecurityGroupError = | InvalidVpcIdMalformed | MissingParameter | VPCIdNotSpecified + | UnauthorizedOperation | CommonErrors; /** * Creates a security group. @@ -78937,6 +79268,7 @@ export const createSecurityGroup: API.OperationMethod< InvalidVpcIdMalformed, MissingParameter, VPCIdNotSpecified, + UnauthorizedOperation, ], operationName: "CreateSecurityGroup", })); @@ -78945,6 +79277,7 @@ export type CreateSnapshotError = | InvalidParameterValue | InvalidVolumeNotFound | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for @@ -78995,12 +79328,14 @@ export const createSnapshot: API.OperationMethod< InvalidParameterValue, InvalidVolumeNotFound, InvalidVolumeIDMalformed, + UnauthorizedOperation, ], operationName: "CreateSnapshot", })); export type CreateSnapshotsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance. @@ -79028,12 +79363,13 @@ export const createSnapshots: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateSnapshotsRequest, output: CreateSnapshotsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateSnapshots", })); export type CreateSpotDatafeedSubscriptionError = | RequestLimitExceeded | InaccessibleStorageLocation + | UnauthorizedOperation | CommonErrors; /** * Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. @@ -79049,12 +79385,17 @@ export const createSpotDatafeedSubscription: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateSpotDatafeedSubscriptionRequest, output: CreateSpotDatafeedSubscriptionResult, - errors: [RequestLimitExceeded, InaccessibleStorageLocation], + errors: [ + RequestLimitExceeded, + InaccessibleStorageLocation, + UnauthorizedOperation, + ], operationName: "CreateSpotDatafeedSubscription", })); export type CreateStoreImageTaskError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Stores an AMI as a single object in an Amazon S3 bucket. @@ -79073,7 +79414,7 @@ export const createStoreImageTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateStoreImageTaskRequest, output: CreateStoreImageTaskResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "CreateStoreImageTask", })); export type CreateSubnetError = @@ -79083,6 +79424,7 @@ export type CreateSubnetError = | MissingParameter | ParseError | InvalidSubnetConflict + | UnauthorizedOperation | CommonErrors; /** * Creates a subnet in the specified VPC. For an IPv4 only subnet, specify an IPv4 CIDR block. @@ -79124,6 +79466,7 @@ export const createSubnet: API.OperationMethod< MissingParameter, ParseError, InvalidSubnetConflict, + UnauthorizedOperation, ], operationName: "CreateSubnet", })); @@ -79132,6 +79475,7 @@ export type CreateSubnetCidrReservationError = | InvalidParameterValue | InvalidSubnetIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a subnet CIDR reservation. For more information, see Subnet CIDR reservations @@ -79151,6 +79495,7 @@ export const createSubnetCidrReservation: API.OperationMethod< InvalidParameterValue, InvalidSubnetIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateSubnetCidrReservation", })); @@ -79158,6 +79503,7 @@ export type CreateTagsError = | RequestLimitExceeded | InvalidID | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Adds or overwrites only the specified tags for the specified Amazon EC2 resource or @@ -79179,12 +79525,18 @@ export const createTags: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTagsRequest, output: CreateTagsResponse, - errors: [RequestLimitExceeded, InvalidID, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidID, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateTags", })); export type CreateTrafficMirrorFilterError = | RequestLimitExceeded | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a Traffic Mirror filter. @@ -79203,12 +79555,13 @@ export const createTrafficMirrorFilter: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTrafficMirrorFilterRequest, output: CreateTrafficMirrorFilterResult, - errors: [RequestLimitExceeded, ParseError], + errors: [RequestLimitExceeded, ParseError, UnauthorizedOperation], operationName: "CreateTrafficMirrorFilter", })); export type CreateTrafficMirrorFilterRuleError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Traffic Mirror filter rule. @@ -79225,7 +79578,7 @@ export const createTrafficMirrorFilterRule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTrafficMirrorFilterRuleRequest, output: CreateTrafficMirrorFilterRuleResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateTrafficMirrorFilterRule", })); export type CreateTrafficMirrorSessionError = @@ -79233,6 +79586,7 @@ export type CreateTrafficMirrorSessionError = | InvalidNetworkInterfaceIDNotFound | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Traffic Mirror session. @@ -79259,12 +79613,14 @@ export const createTrafficMirrorSession: API.OperationMethod< InvalidNetworkInterfaceIDNotFound, InvalidParameterValue, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTrafficMirrorSession", })); export type CreateTrafficMirrorTargetError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Creates a target for your Traffic Mirror session. @@ -79285,13 +79641,18 @@ export const createTrafficMirrorTarget: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTrafficMirrorTargetRequest, output: CreateTrafficMirrorTargetResult, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "CreateTrafficMirrorTarget", })); export type CreateTransitGatewayError = | RequestLimitExceeded | ParseError | TransitGatewayLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * Creates a transit gateway. @@ -79320,12 +79681,18 @@ export const createTransitGateway: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTransitGatewayRequest, output: CreateTransitGatewayResult, - errors: [RequestLimitExceeded, ParseError, TransitGatewayLimitExceeded], + errors: [ + RequestLimitExceeded, + ParseError, + TransitGatewayLimitExceeded, + UnauthorizedOperation, + ], operationName: "CreateTransitGateway", })); export type CreateTransitGatewayConnectError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance. @@ -79340,12 +79707,13 @@ export const createTransitGatewayConnect: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTransitGatewayConnectRequest, output: CreateTransitGatewayConnectResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateTransitGatewayConnect", })); export type CreateTransitGatewayConnectPeerError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Connect peer for a specified transit gateway Connect attachment between a @@ -79364,7 +79732,7 @@ export const createTransitGatewayConnectPeer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTransitGatewayConnectPeerRequest, output: CreateTransitGatewayConnectPeerResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateTransitGatewayConnectPeer", })); export type CreateTransitGatewayMeteringPolicyError = @@ -79372,6 +79740,7 @@ export type CreateTransitGatewayMeteringPolicyError = | IncorrectState | InvalidTransitGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a metering policy for a transit gateway to track and measure network traffic. @@ -79389,12 +79758,14 @@ export const createTransitGatewayMeteringPolicy: API.OperationMethod< IncorrectState, InvalidTransitGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayMeteringPolicy", })); export type CreateTransitGatewayMeteringPolicyEntryError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an entry in a transit gateway metering policy to define traffic measurement rules. @@ -79407,7 +79778,7 @@ export const createTransitGatewayMeteringPolicyEntry: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTransitGatewayMeteringPolicyEntryRequest, output: CreateTransitGatewayMeteringPolicyEntryResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateTransitGatewayMeteringPolicyEntry", })); export type CreateTransitGatewayMulticastDomainError = @@ -79416,6 +79787,7 @@ export type CreateTransitGatewayMulticastDomainError = | InvalidTransitGatewayIDMalformed | InvalidTransitGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a multicast domain using the specified transit gateway. @@ -79436,6 +79808,7 @@ export const createTransitGatewayMulticastDomain: API.OperationMethod< InvalidTransitGatewayIDMalformed, InvalidTransitGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayMulticastDomain", })); @@ -79444,6 +79817,7 @@ export type CreateTransitGatewayPeeringAttachmentError = | InvalidParameterValue | InvalidTransitGatewayIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Requests a transit gateway peering attachment between the specified transit gateway @@ -79466,6 +79840,7 @@ export const createTransitGatewayPeeringAttachment: API.OperationMethod< InvalidParameterValue, InvalidTransitGatewayIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayPeeringAttachment", })); @@ -79474,6 +79849,7 @@ export type CreateTransitGatewayPolicyTableError = | IncorrectState | InvalidTransitGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a transit gateway policy table. @@ -79491,12 +79867,14 @@ export const createTransitGatewayPolicyTable: API.OperationMethod< IncorrectState, InvalidTransitGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayPolicyTable", })); export type CreateTransitGatewayPrefixListReferenceError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a reference (route) to a prefix list in a specified transit gateway route table. @@ -79509,13 +79887,14 @@ export const createTransitGatewayPrefixListReference: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTransitGatewayPrefixListReferenceRequest, output: CreateTransitGatewayPrefixListReferenceResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateTransitGatewayPrefixListReference", })); export type CreateTransitGatewayRouteError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a static route for the specified transit gateway route table. @@ -79528,7 +79907,12 @@ export const createTransitGatewayRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateTransitGatewayRouteRequest, output: CreateTransitGatewayRouteResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateTransitGatewayRoute", })); export type CreateTransitGatewayRouteTableError = @@ -79537,6 +79921,7 @@ export type CreateTransitGatewayRouteTableError = | InvalidTransitGatewayIDNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a route table for the specified transit gateway. @@ -79555,6 +79940,7 @@ export const createTransitGatewayRouteTable: API.OperationMethod< InvalidTransitGatewayIDNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayRouteTable", })); @@ -79563,6 +79949,7 @@ export type CreateTransitGatewayRouteTableAnnouncementError = | InvalidRouteTableIDNotFound | InvalidTransitGatewayAttachmentIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Advertises a new transit gateway route table. @@ -79580,6 +79967,7 @@ export const createTransitGatewayRouteTableAnnouncement: API.OperationMethod< InvalidRouteTableIDNotFound, InvalidTransitGatewayAttachmentIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayRouteTableAnnouncement", })); @@ -79588,6 +79976,7 @@ export type CreateTransitGatewayVpcAttachmentError = | InvalidSubnetIDNotFound | InvalidTransitGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Attaches the specified VPC to the specified transit gateway. @@ -79610,12 +79999,14 @@ export const createTransitGatewayVpcAttachment: API.OperationMethod< InvalidSubnetIDNotFound, InvalidTransitGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateTransitGatewayVpcAttachment", })); export type CreateVerifiedAccessEndpointError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * An Amazon Web Services Verified Access endpoint is where you define your application along with an optional endpoint-level access policy. @@ -79628,7 +80019,7 @@ export const createVerifiedAccessEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVerifiedAccessEndpointRequest, output: CreateVerifiedAccessEndpointResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateVerifiedAccessEndpoint", })); export type CreateVerifiedAccessGroupError = @@ -79636,6 +80027,7 @@ export type CreateVerifiedAccessGroupError = | InvalidParameterValue | InvalidVerifiedAccessInstanceIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * An Amazon Web Services Verified Access group is a collection of Amazon Web Services Verified Access endpoints who's associated applications have @@ -79656,6 +80048,7 @@ export const createVerifiedAccessGroup: API.OperationMethod< InvalidParameterValue, InvalidVerifiedAccessInstanceIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "CreateVerifiedAccessGroup", })); @@ -79663,6 +80056,7 @@ export type CreateVerifiedAccessInstanceError = | RequestLimitExceeded | ParseError | VerifiedAccessInstanceLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * An Amazon Web Services Verified Access instance is a regional entity that evaluates application requests and grants @@ -79680,12 +80074,14 @@ export const createVerifiedAccessInstance: API.OperationMethod< RequestLimitExceeded, ParseError, VerifiedAccessInstanceLimitExceeded, + UnauthorizedOperation, ], operationName: "CreateVerifiedAccessInstance", })); export type CreateVerifiedAccessTrustProviderError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * A trust provider is a third-party entity that creates, maintains, and manages identity @@ -79701,13 +80097,14 @@ export const createVerifiedAccessTrustProvider: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVerifiedAccessTrustProviderRequest, output: CreateVerifiedAccessTrustProviderResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateVerifiedAccessTrustProvider", })); export type CreateVolumeError = | RequestLimitExceeded | InvalidZoneNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates an EBS volume that can be attached to an instance in the same Availability Zone. @@ -79734,7 +80131,12 @@ export const createVolume: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVolumeRequest, output: Volume, - errors: [RequestLimitExceeded, InvalidZoneNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidZoneNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateVolume", })); export type CreateVpcError = @@ -79743,6 +80145,7 @@ export type CreateVpcError = | MissingParameter | ParseError | VpcLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * Creates a VPC with the specified CIDR blocks. @@ -79776,6 +80179,7 @@ export const createVpc: API.OperationMethod< MissingParameter, ParseError, VpcLimitExceeded, + UnauthorizedOperation, ], operationName: "CreateVpc", })); @@ -79783,6 +80187,7 @@ export type CreateVpcBlockPublicAccessExclusionError = | RequestLimitExceeded | InvalidVpcIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Create a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see Block public access to VPCs and subnets in the *Amazon VPC User Guide*. @@ -79795,13 +80200,19 @@ export const createVpcBlockPublicAccessExclusion: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpcBlockPublicAccessExclusionRequest, output: CreateVpcBlockPublicAccessExclusionResult, - errors: [RequestLimitExceeded, InvalidVpcIdMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidVpcIdMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateVpcBlockPublicAccessExclusion", })); export type CreateVpcEncryptionControlError = | RequestLimitExceeded | InvalidVpcIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a VPC Encryption Control configuration for a specified VPC. VPC Encryption Control enables you to enforce encryption for all data in transit within and between VPCs to meet compliance requirements for standards like HIPAA, FedRAMP, and PCI DSS. @@ -79816,7 +80227,12 @@ export const createVpcEncryptionControl: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpcEncryptionControlRequest, output: CreateVpcEncryptionControlResult, - errors: [RequestLimitExceeded, InvalidVpcIdMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidVpcIdMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateVpcEncryptionControl", })); export type CreateVpcEndpointError = @@ -79826,6 +80242,7 @@ export type CreateVpcEndpointError = | InvalidVpcIDNotFound | InvalidVpcIdNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a VPC endpoint. A VPC endpoint provides a private connection between the @@ -79848,12 +80265,14 @@ export const createVpcEndpoint: API.OperationMethod< InvalidVpcIDNotFound, InvalidVpcIdNotFound, ParseError, + UnauthorizedOperation, ], operationName: "CreateVpcEndpoint", })); export type CreateVpcEndpointConnectionNotificationError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a connection notification for a specified VPC endpoint or VPC endpoint @@ -79871,12 +80290,13 @@ export const createVpcEndpointConnectionNotification: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpcEndpointConnectionNotificationRequest, output: CreateVpcEndpointConnectionNotificationResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "CreateVpcEndpointConnectionNotification", })); export type CreateVpcEndpointServiceConfigurationError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a VPC endpoint service to which service consumers (Amazon Web Services accounts, @@ -79904,7 +80324,7 @@ export const createVpcEndpointServiceConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpcEndpointServiceConfigurationRequest, output: CreateVpcEndpointServiceConfigurationResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "CreateVpcEndpointServiceConfiguration", })); export type CreateVpcPeeringConnectionError = @@ -79913,6 +80333,7 @@ export type CreateVpcPeeringConnectionError = | InvalidVpcIdMalformed | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Requests a VPC peering connection between two VPCs: a requester VPC that you own and @@ -79944,12 +80365,14 @@ export const createVpcPeeringConnection: API.OperationMethod< InvalidVpcIdMalformed, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateVpcPeeringConnection", })); export type CreateVpnConcentratorError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a VPN concentrator that aggregates multiple VPN connections to a transit gateway. @@ -79962,7 +80385,7 @@ export const createVpnConcentrator: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpnConcentratorRequest, output: CreateVpnConcentratorResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "CreateVpnConcentrator", })); export type CreateVpnConnectionError = @@ -79971,6 +80394,7 @@ export type CreateVpnConnectionError = | InvalidParameterValue | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a VPN connection between an existing virtual private gateway or transit @@ -80008,6 +80432,7 @@ export const createVpnConnection: API.OperationMethod< InvalidParameterValue, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "CreateVpnConnection", })); @@ -80015,6 +80440,7 @@ export type CreateVpnConnectionRouteError = | RequestLimitExceeded | InvalidParameter | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a static route associated with a VPN connection between an existing virtual @@ -80032,13 +80458,19 @@ export const createVpnConnectionRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpnConnectionRouteRequest, output: CreateVpnConnectionRouteResponse, - errors: [RequestLimitExceeded, InvalidParameter, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameter, + MissingParameter, + UnauthorizedOperation, + ], operationName: "CreateVpnConnectionRoute", })); export type CreateVpnGatewayError = | RequestLimitExceeded | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Creates a virtual private gateway. A virtual private gateway is the endpoint on the @@ -80056,13 +80488,19 @@ export const createVpnGateway: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVpnGatewayRequest, output: CreateVpnGatewayResult, - errors: [RequestLimitExceeded, MissingParameter, ParseError], + errors: [ + RequestLimitExceeded, + MissingParameter, + ParseError, + UnauthorizedOperation, + ], operationName: "CreateVpnGateway", })); export type DeleteCapacityManagerDataExportError = | RequestLimitExceeded | InvalidCapacityManagerDataExportIdMalformed | InvalidCapacityManagerDataExportIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes an existing Capacity Manager data export configuration. This stops future scheduled exports but does not delete previously exported files from S3. @@ -80079,6 +80517,7 @@ export const deleteCapacityManagerDataExport: API.OperationMethod< RequestLimitExceeded, InvalidCapacityManagerDataExportIdMalformed, InvalidCapacityManagerDataExportIdNotFound, + UnauthorizedOperation, ], operationName: "DeleteCapacityManagerDataExport", })); @@ -80087,6 +80526,7 @@ export type DeleteCarrierGatewayError = | InvalidCarrierGatewayIDMalformed | InvalidCarrierGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a carrier gateway. @@ -80108,12 +80548,14 @@ export const deleteCarrierGateway: API.OperationMethod< InvalidCarrierGatewayIDMalformed, InvalidCarrierGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteCarrierGateway", })); export type DeleteClientVpnEndpointError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Client VPN endpoint. You must disassociate all target networks before you @@ -80127,12 +80569,17 @@ export const deleteClientVpnEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteClientVpnEndpointRequest, output: DeleteClientVpnEndpointResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "DeleteClientVpnEndpoint", })); export type DeleteClientVpnRouteError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using @@ -80148,7 +80595,11 @@ export const deleteClientVpnRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteClientVpnRouteRequest, output: DeleteClientVpnRouteResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "DeleteClientVpnRoute", })); export type DeleteCoipCidrError = @@ -80156,6 +80607,7 @@ export type DeleteCoipCidrError = | InvalidCidrBlockMalformed | InvalidIpv4PoolCoipIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a range of customer-owned IP addresses. @@ -80173,6 +80625,7 @@ export const deleteCoipCidr: API.OperationMethod< InvalidCidrBlockMalformed, InvalidIpv4PoolCoipIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteCoipCidr", })); @@ -80181,6 +80634,7 @@ export type DeleteCoipPoolError = | InvalidIpv4PoolCoipIdMalformed | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a pool of customer-owned IP (CoIP) addresses. @@ -80198,6 +80652,7 @@ export const deleteCoipPool: API.OperationMethod< InvalidIpv4PoolCoipIdMalformed, InvalidParameterValue, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteCoipPool", })); @@ -80206,6 +80661,7 @@ export type DeleteCustomerGatewayError = | InvalidCustomerGatewayIDNotFound | InvalidCustomerGatewayIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified customer gateway. You must delete the VPN connection before you @@ -80224,6 +80680,7 @@ export const deleteCustomerGateway: API.OperationMethod< InvalidCustomerGatewayIDNotFound, InvalidCustomerGatewayIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteCustomerGateway", })); @@ -80233,6 +80690,7 @@ export type DeleteDhcpOptionsError = | InvalidDhcpOptionIDNotFound | InvalidDhcpOptionsIDNotFound | InvalidDhcpOptionsIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC. @@ -80251,6 +80709,7 @@ export const deleteDhcpOptions: API.OperationMethod< InvalidDhcpOptionIDNotFound, InvalidDhcpOptionsIDNotFound, InvalidDhcpOptionsIdMalformed, + UnauthorizedOperation, ], operationName: "DeleteDhcpOptions", })); @@ -80262,6 +80721,7 @@ export type DeleteEgressOnlyInternetGatewayError = | MalformedGatewayIDNotFound | MissingParameter | RequestLimitExceeded + | UnauthorizedOperation | CommonErrors; /** * Deletes an egress-only internet gateway. @@ -80282,12 +80742,14 @@ export const deleteEgressOnlyInternetGateway: API.OperationMethod< MalformedGatewayIDNotFound, MissingParameter, RequestLimitExceeded, + UnauthorizedOperation, ], operationName: "DeleteEgressOnlyInternetGateway", })); export type DeleteFleetsError = | RequestLimitExceeded | InvalidFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified EC2 Fleet request. @@ -80342,12 +80804,17 @@ export const deleteFleets: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteFleetsRequest, output: DeleteFleetsResult, - errors: [RequestLimitExceeded, InvalidFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "DeleteFleets", })); export type DeleteFlowLogsError = | RequestLimitExceeded | InvalidFlowLogIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes one or more flow logs. @@ -80360,12 +80827,17 @@ export const deleteFlowLogs: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteFlowLogsRequest, output: DeleteFlowLogsResult, - errors: [RequestLimitExceeded, InvalidFlowLogIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidFlowLogIdNotFound, + UnauthorizedOperation, + ], operationName: "DeleteFlowLogs", })); export type DeleteFpgaImageError = | RequestLimitExceeded | InvalidFpgaImageIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Amazon FPGA Image (AFI). @@ -80378,13 +80850,18 @@ export const deleteFpgaImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteFpgaImageRequest, output: DeleteFpgaImageResult, - errors: [RequestLimitExceeded, InvalidFpgaImageIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidFpgaImageIDMalformed, + UnauthorizedOperation, + ], operationName: "DeleteFpgaImage", })); export type DeleteImageUsageReportError = | RequestLimitExceeded | InvalidImageUsageReportIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified image usage report. @@ -80404,6 +80881,7 @@ export const deleteImageUsageReport: API.OperationMethod< RequestLimitExceeded, InvalidImageUsageReportIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteImageUsageReport", })); @@ -80413,6 +80891,7 @@ export type DeleteInstanceConnectEndpointError = | InvalidInstanceConnectEndpointIdNotFound | InvalidState | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified EC2 Instance Connect Endpoint. @@ -80431,6 +80910,7 @@ export const deleteInstanceConnectEndpoint: API.OperationMethod< InvalidInstanceConnectEndpointIdNotFound, InvalidState, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteInstanceConnectEndpoint", })); @@ -80438,6 +80918,7 @@ export type DeleteInstanceEventWindowError = | RequestLimitExceeded | InvalidInstanceEventWindowIDNotFound | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified event window. @@ -80457,6 +80938,7 @@ export const deleteInstanceEventWindow: API.OperationMethod< RequestLimitExceeded, InvalidInstanceEventWindowIDNotFound, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "DeleteInstanceEventWindow", })); @@ -80465,6 +80947,7 @@ export type DeleteInternetGatewayError = | DependencyViolation | InvalidInternetGatewayIDNotFound | InvalidInternetGatewayIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified internet gateway. You must detach the internet gateway from the @@ -80483,6 +80966,7 @@ export const deleteInternetGateway: API.OperationMethod< DependencyViolation, InvalidInternetGatewayIDNotFound, InvalidInternetGatewayIdMalformed, + UnauthorizedOperation, ], operationName: "DeleteInternetGateway", })); @@ -80491,6 +80975,7 @@ export type DeleteIpamError = | DependencyViolation | InvalidIpamIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete an IPAM. Deleting an IPAM removes all monitored data associated with the IPAM including the historical data for CIDRs. @@ -80510,6 +80995,7 @@ export const deleteIpam: API.OperationMethod< DependencyViolation, InvalidIpamIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpam", })); @@ -80518,6 +81004,7 @@ export type DeleteIpamExternalResourceVerificationTokenError = | InvalidIpamExternalResourceVerificationTokenIdMalformed | InvalidIpamExternalResourceVerificationTokenIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete a verification token. @@ -80537,6 +81024,7 @@ export const deleteIpamExternalResourceVerificationToken: API.OperationMethod< InvalidIpamExternalResourceVerificationTokenIdMalformed, InvalidIpamExternalResourceVerificationTokenIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpamExternalResourceVerificationToken", })); @@ -80545,6 +81033,7 @@ export type DeleteIpamPolicyError = | InvalidIpamPolicyIdMalformed | InvalidIpamPolicyIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes an IPAM policy. @@ -80564,6 +81053,7 @@ export const deleteIpamPolicy: API.OperationMethod< InvalidIpamPolicyIdMalformed, InvalidIpamPolicyIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpamPolicy", })); @@ -80572,6 +81062,7 @@ export type DeleteIpamPoolError = | IncorrectState | InvalidIpamPoolIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete an IPAM pool. @@ -80595,6 +81086,7 @@ export const deleteIpamPool: API.OperationMethod< IncorrectState, InvalidIpamPoolIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpamPool", })); @@ -80603,6 +81095,7 @@ export type DeleteIpamPrefixListResolverError = | InvalidIpamPrefixListResolverIdMalformed | InvalidIpamPrefixListResolverIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes an IPAM prefix list resolver. Before deleting a resolver, you must first delete all resolver targets associated with it. @@ -80620,6 +81113,7 @@ export const deleteIpamPrefixListResolver: API.OperationMethod< InvalidIpamPrefixListResolverIdMalformed, InvalidIpamPrefixListResolverIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpamPrefixListResolver", })); @@ -80627,6 +81121,7 @@ export type DeleteIpamPrefixListResolverTargetError = | RequestLimitExceeded | InvalidIpamPrefixListResolverTargetIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes an IPAM prefix list resolver target. This removes the association between the resolver and the managed prefix list, stopping automatic CIDR synchronization. @@ -80645,6 +81140,7 @@ export const deleteIpamPrefixListResolverTarget: API.OperationMethod< RequestLimitExceeded, InvalidIpamPrefixListResolverTargetIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpamPrefixListResolverTarget", })); @@ -80652,6 +81148,7 @@ export type DeleteIpamResourceDiscoveryError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdMalformed | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -80668,6 +81165,7 @@ export const deleteIpamResourceDiscovery: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryIdMalformed, InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, ], operationName: "DeleteIpamResourceDiscovery", })); @@ -80677,6 +81175,7 @@ export type DeleteIpamScopeError = | IncorrectState | InvalidIpamScopeIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete the scope for an IPAM. You cannot delete the default scopes. @@ -80697,12 +81196,14 @@ export const deleteIpamScope: API.OperationMethod< IncorrectState, InvalidIpamScopeIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteIpamScope", })); export type DeleteKeyPairError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified key pair, by removing the public key from Amazon EC2. @@ -80715,13 +81216,14 @@ export const deleteKeyPair: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteKeyPairRequest, output: DeleteKeyPairResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DeleteKeyPair", })); export type DeleteLaunchTemplateError = | RequestLimitExceeded | InvalidLaunchTemplateNameNotFoundException | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a launch template. Deleting a launch template deletes all of its @@ -80739,12 +81241,14 @@ export const deleteLaunchTemplate: API.OperationMethod< RequestLimitExceeded, InvalidLaunchTemplateNameNotFoundException, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteLaunchTemplate", })); export type DeleteLaunchTemplateVersionsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes one or more versions of a launch template. @@ -80768,12 +81272,13 @@ export const deleteLaunchTemplateVersions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteLaunchTemplateVersionsRequest, output: DeleteLaunchTemplateVersionsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DeleteLaunchTemplateVersions", })); export type DeleteLocalGatewayRouteError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified route from the specified local gateway route table. @@ -80786,13 +81291,14 @@ export const deleteLocalGatewayRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteLocalGatewayRouteRequest, output: DeleteLocalGatewayRouteResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DeleteLocalGatewayRoute", })); export type DeleteLocalGatewayRouteTableError = | RequestLimitExceeded | InvalidLocalGatewayRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a local gateway route table. @@ -80809,6 +81315,7 @@ export const deleteLocalGatewayRouteTable: API.OperationMethod< RequestLimitExceeded, InvalidLocalGatewayRouteTableIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteLocalGatewayRouteTable", })); @@ -80817,6 +81324,7 @@ export type DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError = | InvalidLocalGatewayRouteTableVirtualInterfaceGroupAssociationIDMalformed | InvalidLocalGatewayRouteTableVirtualInterfaceGroupAssociationIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a local gateway route table virtual interface group association. @@ -80834,6 +81342,7 @@ export const deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation: API.O InvalidLocalGatewayRouteTableVirtualInterfaceGroupAssociationIDMalformed, InvalidLocalGatewayRouteTableVirtualInterfaceGroupAssociationIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation", })); @@ -80842,6 +81351,7 @@ export type DeleteLocalGatewayRouteTableVpcAssociationError = | InvalidLocalGatewayRouteTableVpcAssociationIDMalformed | InvalidLocalGatewayRouteTableVpcAssociationIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified association between a VPC and local gateway route table. @@ -80859,6 +81369,7 @@ export const deleteLocalGatewayRouteTableVpcAssociation: API.OperationMethod< InvalidLocalGatewayRouteTableVpcAssociationIDMalformed, InvalidLocalGatewayRouteTableVpcAssociationIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteLocalGatewayRouteTableVpcAssociation", })); @@ -80867,6 +81378,7 @@ export type DeleteLocalGatewayVirtualInterfaceError = | InvalidLocalGatewayVirtualInterfaceIDMalformed | InvalidLocalGatewayVirtualInterfaceIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified local gateway virtual interface. @@ -80884,6 +81396,7 @@ export const deleteLocalGatewayVirtualInterface: API.OperationMethod< InvalidLocalGatewayVirtualInterfaceIDMalformed, InvalidLocalGatewayVirtualInterfaceIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteLocalGatewayVirtualInterface", })); @@ -80892,6 +81405,7 @@ export type DeleteLocalGatewayVirtualInterfaceGroupError = | InvalidLocalGatewayVirtualInterfaceGroupIDMalformed | InvalidLocalGatewayVirtualInterfaceGroupIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete the specified local gateway interface group. @@ -80909,6 +81423,7 @@ export const deleteLocalGatewayVirtualInterfaceGroup: API.OperationMethod< InvalidLocalGatewayVirtualInterfaceGroupIDMalformed, InvalidLocalGatewayVirtualInterfaceGroupIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteLocalGatewayVirtualInterfaceGroup", })); @@ -80917,6 +81432,7 @@ export type DeleteManagedPrefixListError = | InvalidPrefixListIDNotFound | InvalidPrefixListIdMalformed | ParseError + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources. @@ -80934,6 +81450,7 @@ export const deleteManagedPrefixList: API.OperationMethod< InvalidPrefixListIDNotFound, InvalidPrefixListIdMalformed, ParseError, + UnauthorizedOperation, ], operationName: "DeleteManagedPrefixList", })); @@ -80945,6 +81462,7 @@ export type DeleteNatGatewayError = | MissingParameter | NatGatewayMalformed | NatGatewayNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its Elastic IP address, @@ -80967,6 +81485,7 @@ export const deleteNatGateway: API.OperationMethod< MissingParameter, NatGatewayMalformed, NatGatewayNotFound, + UnauthorizedOperation, ], operationName: "DeleteNatGateway", })); @@ -80978,6 +81497,7 @@ export type DeleteNetworkAclError = | InvalidNetworkAclIdMalformed | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL. @@ -80998,6 +81518,7 @@ export const deleteNetworkAcl: API.OperationMethod< InvalidNetworkAclIdMalformed, InvalidParameterValue, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteNetworkAcl", })); @@ -81007,6 +81528,7 @@ export type DeleteNetworkAclEntryError = | InvalidNetworkAclIDNotFound | InvalidNetworkAclIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified ingress or egress entry (rule) from the specified network ACL. @@ -81025,6 +81547,7 @@ export const deleteNetworkAclEntry: API.OperationMethod< InvalidNetworkAclIDNotFound, InvalidNetworkAclIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteNetworkAclEntry", })); @@ -81032,6 +81555,7 @@ export type DeleteNetworkInsightsAccessScopeError = | RequestLimitExceeded | InvalidNetworkInsightsAccessScopeIdNotFound | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Network Access Scope. @@ -81048,6 +81572,7 @@ export const deleteNetworkInsightsAccessScope: API.OperationMethod< RequestLimitExceeded, InvalidNetworkInsightsAccessScopeIdNotFound, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "DeleteNetworkInsightsAccessScope", })); @@ -81055,6 +81580,7 @@ export type DeleteNetworkInsightsAccessScopeAnalysisError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Network Access Scope analysis. @@ -81067,13 +81593,19 @@ export const deleteNetworkInsightsAccessScopeAnalysis: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteNetworkInsightsAccessScopeAnalysisRequest, output: DeleteNetworkInsightsAccessScopeAnalysisResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteNetworkInsightsAccessScopeAnalysis", })); export type DeleteNetworkInsightsAnalysisError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified network insights analysis. @@ -81086,13 +81618,19 @@ export const deleteNetworkInsightsAnalysis: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteNetworkInsightsAnalysisRequest, output: DeleteNetworkInsightsAnalysisResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteNetworkInsightsAnalysis", })); export type DeleteNetworkInsightsPathError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified path. @@ -81105,7 +81643,12 @@ export const deleteNetworkInsightsPath: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteNetworkInsightsPathRequest, output: DeleteNetworkInsightsPathResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteNetworkInsightsPath", })); export type DeleteNetworkInterfaceError = @@ -81115,6 +81658,7 @@ export type DeleteNetworkInterfaceError = | InvalidNetworkInterfaceIdMalformed | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified network interface. You must detach the network interface before @@ -81135,6 +81679,7 @@ export const deleteNetworkInterface: API.OperationMethod< InvalidNetworkInterfaceIdMalformed, InvalidParameterValue, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteNetworkInterface", })); @@ -81143,6 +81688,7 @@ export type DeleteNetworkInterfacePermissionError = | InvalidPermissionIDMalformed | InvalidPermissionIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a permission for a network interface. By default, you cannot delete the @@ -81163,12 +81709,14 @@ export const deleteNetworkInterfacePermission: API.OperationMethod< InvalidPermissionIDMalformed, InvalidPermissionIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteNetworkInterfacePermission", })); export type DeletePlacementGroupError = | RequestLimitExceeded | InvalidPlacementGroupUnknown + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified placement group. You must terminate all instances in the @@ -81185,13 +81733,18 @@ export const deletePlacementGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeletePlacementGroupRequest, output: DeletePlacementGroupResponse, - errors: [RequestLimitExceeded, InvalidPlacementGroupUnknown], + errors: [ + RequestLimitExceeded, + InvalidPlacementGroupUnknown, + UnauthorizedOperation, + ], operationName: "DeletePlacementGroup", })); export type DeletePublicIpv4PoolError = | RequestLimitExceeded | InvalidPublicIpv4PoolNotFound | InvalidPublicIpv4PoolIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only. @@ -81208,12 +81761,14 @@ export const deletePublicIpv4Pool: API.OperationMethod< RequestLimitExceeded, InvalidPublicIpv4PoolNotFound, InvalidPublicIpv4PoolIDMalformed, + UnauthorizedOperation, ], operationName: "DeletePublicIpv4Pool", })); export type DeleteQueuedReservedInstancesError = | RequestLimitExceeded | InvalidReservedInstancesIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the queued purchases for the specified Reserved Instances. @@ -81226,7 +81781,11 @@ export const deleteQueuedReservedInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteQueuedReservedInstancesRequest, output: DeleteQueuedReservedInstancesResult, - errors: [RequestLimitExceeded, InvalidReservedInstancesIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidReservedInstancesIDNotFound, + UnauthorizedOperation, + ], operationName: "DeleteQueuedReservedInstances", })); export type DeleteRouteError = @@ -81237,6 +81796,7 @@ export type DeleteRouteError = | InvalidRouteTableIDNotFound | InvalidRouteTableIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified route from the specified route table. @@ -81257,6 +81817,7 @@ export const deleteRoute: API.OperationMethod< InvalidRouteTableIDNotFound, InvalidRouteTableIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteRoute", })); @@ -81264,6 +81825,7 @@ export type DeleteRouteServerError = | RequestLimitExceeded | IncorrectState | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified route server. @@ -81291,13 +81853,19 @@ export const deleteRouteServer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteRouteServerRequest, output: DeleteRouteServerResult, - errors: [RequestLimitExceeded, IncorrectState, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + IncorrectState, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "DeleteRouteServer", })); export type DeleteRouteServerEndpointError = | RequestLimitExceeded | InvalidRouteServerEndpointIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified route server endpoint. @@ -81316,6 +81884,7 @@ export const deleteRouteServerEndpoint: API.OperationMethod< RequestLimitExceeded, InvalidRouteServerEndpointIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteRouteServerEndpoint", })); @@ -81324,6 +81893,7 @@ export type DeleteRouteServerPeerError = | InvalidRouteServerPeerIdMalformed | InvalidRouteServerPeerIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified BGP peer from a route server. @@ -81349,6 +81919,7 @@ export const deleteRouteServerPeer: API.OperationMethod< InvalidRouteServerPeerIdMalformed, InvalidRouteServerPeerIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteRouteServerPeer", })); @@ -81357,6 +81928,7 @@ export type DeleteRouteTableError = | DependencyViolation | InvalidRouteTableIDNotFound | InvalidRouteTableIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table. @@ -81374,6 +81946,7 @@ export const deleteRouteTable: API.OperationMethod< DependencyViolation, InvalidRouteTableIDNotFound, InvalidRouteTableIdMalformed, + UnauthorizedOperation, ], operationName: "DeleteRouteTable", })); @@ -81415,6 +81988,7 @@ export type DeleteSecurityGroupError = | InvalidGroupIdMalformed | MissingParameter | VPCIdNotSpecified + | UnauthorizedOperation | CommonErrors; /** * Deletes a security group. @@ -81439,6 +82013,7 @@ export const deleteSecurityGroup: API.OperationMethod< InvalidGroupIdMalformed, MissingParameter, VPCIdNotSpecified, + UnauthorizedOperation, ], operationName: "DeleteSecurityGroup", })); @@ -81447,6 +82022,7 @@ export type DeleteSnapshotError = | InvalidParameterValue | InvalidSnapshotNotFound | InvalidSnapshotIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified snapshot. @@ -81476,6 +82052,7 @@ export const deleteSnapshot: API.OperationMethod< InvalidParameterValue, InvalidSnapshotNotFound, InvalidSnapshotIDMalformed, + UnauthorizedOperation, ], operationName: "DeleteSnapshot", })); @@ -81500,6 +82077,7 @@ export type DeleteSubnetError = | InvalidSubnetIDNotFound | InvalidSubnetIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet. @@ -81518,6 +82096,7 @@ export const deleteSubnet: API.OperationMethod< InvalidSubnetIDNotFound, InvalidSubnetIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteSubnet", })); @@ -81526,6 +82105,7 @@ export type DeleteSubnetCidrReservationError = | InvalidSubnetCidrReservationIDMalformed | InvalidSubnetCidrReservationIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a subnet CIDR reservation. @@ -81543,6 +82123,7 @@ export const deleteSubnetCidrReservation: API.OperationMethod< InvalidSubnetCidrReservationIDMalformed, InvalidSubnetCidrReservationIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteSubnetCidrReservation", })); @@ -81550,6 +82131,7 @@ export type DeleteTagsError = | RequestLimitExceeded | InvalidID | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified set of tags from the specified set of resources. @@ -81567,13 +82149,19 @@ export const deleteTags: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTagsRequest, output: DeleteTagsResponse, - errors: [RequestLimitExceeded, InvalidID, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidID, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteTags", })); export type DeleteTrafficMirrorFilterError = | RequestLimitExceeded | InvalidParameterValue | InvalidTrafficMirrorFilterIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Traffic Mirror filter. @@ -81592,6 +82180,7 @@ export const deleteTrafficMirrorFilter: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidTrafficMirrorFilterIdNotFound, + UnauthorizedOperation, ], operationName: "DeleteTrafficMirrorFilter", })); @@ -81600,6 +82189,7 @@ export type DeleteTrafficMirrorFilterRuleError = | InvalidParameterValue | InvalidTrafficMirrorFilterRuleIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Traffic Mirror rule. @@ -81617,6 +82207,7 @@ export const deleteTrafficMirrorFilterRule: API.OperationMethod< InvalidParameterValue, InvalidTrafficMirrorFilterRuleIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTrafficMirrorFilterRule", })); @@ -81625,6 +82216,7 @@ export type DeleteTrafficMirrorSessionError = | InvalidParameterValue | InvalidTrafficMirrorSessionIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Traffic Mirror session. @@ -81642,6 +82234,7 @@ export const deleteTrafficMirrorSession: API.OperationMethod< InvalidParameterValue, InvalidTrafficMirrorSessionIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTrafficMirrorSession", })); @@ -81650,6 +82243,7 @@ export type DeleteTrafficMirrorTargetError = | InvalidParameterValue | InvalidTrafficMirrorTargetIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Traffic Mirror target. @@ -81669,6 +82263,7 @@ export const deleteTrafficMirrorTarget: API.OperationMethod< InvalidParameterValue, InvalidTrafficMirrorTargetIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTrafficMirrorTarget", })); @@ -81679,6 +82274,7 @@ export type DeleteTransitGatewayError = | InvalidTransitGatewayIDNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified transit gateway. @@ -81698,6 +82294,7 @@ export const deleteTransitGateway: API.OperationMethod< InvalidTransitGatewayIDNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "DeleteTransitGateway", })); @@ -81719,6 +82316,7 @@ export const deleteTransitGatewayClientVpnAttachment: API.OperationMethod< export type DeleteTransitGatewayConnectError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Connect attachment. You must first delete any Connect peers for @@ -81732,13 +82330,18 @@ export const deleteTransitGatewayConnect: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTransitGatewayConnectRequest, output: DeleteTransitGatewayConnectResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "DeleteTransitGatewayConnect", })); export type DeleteTransitGatewayConnectPeerError = | RequestLimitExceeded | InvalidTransitGatewayConnectPeerIDMalformed | InvalidTransitGatewayConnectPeerIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified Connect peer. @@ -81755,6 +82358,7 @@ export const deleteTransitGatewayConnectPeer: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayConnectPeerIDMalformed, InvalidTransitGatewayConnectPeerIDNotFound, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayConnectPeer", })); @@ -81763,6 +82367,7 @@ export type DeleteTransitGatewayMeteringPolicyError = | InvalidTransitGatewayMeteringPolicyIdNotFound | InvalidTransitGatewayMeteringPolicyIdMalformedException | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a transit gateway metering policy. @@ -81780,6 +82385,7 @@ export const deleteTransitGatewayMeteringPolicy: API.OperationMethod< InvalidTransitGatewayMeteringPolicyIdNotFound, InvalidTransitGatewayMeteringPolicyIdMalformedException, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayMeteringPolicy", })); @@ -81788,6 +82394,7 @@ export type DeleteTransitGatewayMeteringPolicyEntryError = | InvalidTransitGatewayMeteringPolicyIdNotFound | InvalidTransitGatewayMeteringPolicyIdMalformedException | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes an entry from a transit gateway metering policy. @@ -81805,6 +82412,7 @@ export const deleteTransitGatewayMeteringPolicyEntry: API.OperationMethod< InvalidTransitGatewayMeteringPolicyIdNotFound, InvalidTransitGatewayMeteringPolicyIdMalformedException, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayMeteringPolicyEntry", })); @@ -81812,6 +82420,7 @@ export type DeleteTransitGatewayMulticastDomainError = | RequestLimitExceeded | InvalidTransitGatewayMulticastDomainIdMalformed | InvalidTransitGatewayMulticastDomainIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified transit gateway multicast domain. @@ -81828,12 +82437,14 @@ export const deleteTransitGatewayMulticastDomain: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayMulticastDomainIdMalformed, InvalidTransitGatewayMulticastDomainIdNotFound, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayMulticastDomain", })); export type DeleteTransitGatewayPeeringAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes a transit gateway peering attachment. @@ -81846,7 +82457,11 @@ export const deleteTransitGatewayPeeringAttachment: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTransitGatewayPeeringAttachmentRequest, output: DeleteTransitGatewayPeeringAttachmentResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "DeleteTransitGatewayPeeringAttachment", })); export type DeleteTransitGatewayPolicyTableError = @@ -81854,6 +82469,7 @@ export type DeleteTransitGatewayPolicyTableError = | InvalidTransitGatewayPolicyTableIdMalformed | InvalidTransitGatewayPolicyTableIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified transit gateway policy table. @@ -81871,6 +82487,7 @@ export const deleteTransitGatewayPolicyTable: API.OperationMethod< InvalidTransitGatewayPolicyTableIdMalformed, InvalidTransitGatewayPolicyTableIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayPolicyTable", })); @@ -81878,6 +82495,7 @@ export type DeleteTransitGatewayPrefixListReferenceError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a reference (route) to a prefix list in a specified transit gateway route table. @@ -81890,13 +82508,19 @@ export const deleteTransitGatewayPrefixListReference: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTransitGatewayPrefixListReferenceRequest, output: DeleteTransitGatewayPrefixListReferenceResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteTransitGatewayPrefixListReference", })); export type DeleteTransitGatewayRouteError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified route from the specified transit gateway route table. @@ -81909,7 +82533,12 @@ export const deleteTransitGatewayRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTransitGatewayRouteRequest, output: DeleteTransitGatewayRouteResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteTransitGatewayRoute", })); export type DeleteTransitGatewayRouteTableError = @@ -81919,6 +82548,7 @@ export type DeleteTransitGatewayRouteTableError = | InvalidRouteTableIdMalformed | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified transit gateway route table. If there are any route tables associated with @@ -81939,6 +82569,7 @@ export const deleteTransitGatewayRouteTable: API.OperationMethod< InvalidRouteTableIdMalformed, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayRouteTable", })); @@ -81946,6 +82577,7 @@ export type DeleteTransitGatewayRouteTableAnnouncementError = | RequestLimitExceeded | InvalidTransitGatewayRouteTableAnnouncementIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Advertises to the transit gateway that a transit gateway route table is deleted. @@ -81962,6 +82594,7 @@ export const deleteTransitGatewayRouteTableAnnouncement: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayRouteTableAnnouncementIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayRouteTableAnnouncement", })); @@ -81969,6 +82602,7 @@ export type DeleteTransitGatewayVpcAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDMalformed | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified VPC attachment. @@ -81985,6 +82619,7 @@ export const deleteTransitGatewayVpcAttachment: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayAttachmentIDMalformed, InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, ], operationName: "DeleteTransitGatewayVpcAttachment", })); @@ -81993,6 +82628,7 @@ export type DeleteVerifiedAccessEndpointError = | InvalidParameterValue | InvalidVerifiedAccessEndpointIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete an Amazon Web Services Verified Access endpoint. @@ -82010,6 +82646,7 @@ export const deleteVerifiedAccessEndpoint: API.OperationMethod< InvalidParameterValue, InvalidVerifiedAccessEndpointIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteVerifiedAccessEndpoint", })); @@ -82017,6 +82654,7 @@ export type DeleteVerifiedAccessGroupError = | RequestLimitExceeded | InvalidVerifiedAccessGroupIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Delete an Amazon Web Services Verified Access group. @@ -82033,12 +82671,14 @@ export const deleteVerifiedAccessGroup: API.OperationMethod< RequestLimitExceeded, InvalidVerifiedAccessGroupIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteVerifiedAccessGroup", })); export type DeleteVerifiedAccessInstanceError = | RequestLimitExceeded | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Delete an Amazon Web Services Verified Access instance. @@ -82051,12 +82691,17 @@ export const deleteVerifiedAccessInstance: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVerifiedAccessInstanceRequest, output: DeleteVerifiedAccessInstanceResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessInstanceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, + ], operationName: "DeleteVerifiedAccessInstance", })); export type DeleteVerifiedAccessTrustProviderError = | RequestLimitExceeded | InvalidVerifiedAccessTrustProviderIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Delete an Amazon Web Services Verified Access trust provider. @@ -82069,13 +82714,18 @@ export const deleteVerifiedAccessTrustProvider: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVerifiedAccessTrustProviderRequest, output: DeleteVerifiedAccessTrustProviderResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessTrustProviderIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessTrustProviderIdNotFound, + UnauthorizedOperation, + ], operationName: "DeleteVerifiedAccessTrustProvider", })); export type DeleteVolumeError = | RequestLimitExceeded | InvalidParameterValue | InvalidVolumeNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified EBS volume. The volume must be in the `available` state @@ -82094,7 +82744,12 @@ export const deleteVolume: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVolumeRequest, output: DeleteVolumeResponse, - errors: [RequestLimitExceeded, InvalidParameterValue, InvalidVolumeNotFound], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + InvalidVolumeNotFound, + UnauthorizedOperation, + ], operationName: "DeleteVolume", })); export type DeleteVpcError = @@ -82104,6 +82759,7 @@ export type DeleteVpcError = | InvalidVpcIdMalformed | MissingParameter | RequestError + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified VPC. You must detach or delete all gateways and resources that are associated @@ -82130,6 +82786,7 @@ export const deleteVpc: API.OperationMethod< InvalidVpcIdMalformed, MissingParameter, RequestError, + UnauthorizedOperation, ], operationName: "DeleteVpc", })); @@ -82137,6 +82794,7 @@ export type DeleteVpcBlockPublicAccessExclusionError = | RequestLimitExceeded | MissingParameter | VpcBlockPublicAccessExclusionIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Delete a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see Block public access to VPCs and subnets in the *Amazon VPC User Guide*. @@ -82153,6 +82811,7 @@ export const deleteVpcBlockPublicAccessExclusion: API.OperationMethod< RequestLimitExceeded, MissingParameter, VpcBlockPublicAccessExclusionIdMalformed, + UnauthorizedOperation, ], operationName: "DeleteVpcBlockPublicAccessExclusion", })); @@ -82161,6 +82820,7 @@ export type DeleteVpcEncryptionControlError = | InvalidVpcEncryptionControlIdMalformed | InvalidVpcEncryptionControlIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a VPC Encryption Control configuration. This removes the encryption policy enforcement from the specified VPC. @@ -82180,6 +82840,7 @@ export const deleteVpcEncryptionControl: API.OperationMethod< InvalidVpcEncryptionControlIdMalformed, InvalidVpcEncryptionControlIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteVpcEncryptionControl", })); @@ -82202,6 +82863,7 @@ export type DeleteVpcEndpointsError = | RequestLimitExceeded | InvalidVpcEndpointIdNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified VPC endpoints. @@ -82221,7 +82883,12 @@ export const deleteVpcEndpoints: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVpcEndpointsRequest, output: DeleteVpcEndpointsResult, - errors: [RequestLimitExceeded, InvalidVpcEndpointIdNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidVpcEndpointIdNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DeleteVpcEndpoints", })); export type DeleteVpcEndpointServiceConfigurationsError = CommonErrors; @@ -82247,6 +82914,7 @@ export type DeleteVpcPeeringConnectionError = | InvalidVpcPeeringConnectionIDNotFound | InvalidVpcPeeringConnectionIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes a VPC peering connection. Either the owner of the requester VPC or the owner @@ -82268,12 +82936,14 @@ export const deleteVpcPeeringConnection: API.OperationMethod< InvalidVpcPeeringConnectionIDNotFound, InvalidVpcPeeringConnectionIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteVpcPeeringConnection", })); export type DeleteVpnConcentratorError = | RequestLimitExceeded | InvalidVpnConcentratorIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified VPN concentrator. @@ -82286,13 +82956,18 @@ export const deleteVpnConcentrator: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVpnConcentratorRequest, output: DeleteVpnConcentratorResult, - errors: [RequestLimitExceeded, InvalidVpnConcentratorIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidVpnConcentratorIDMalformed, + UnauthorizedOperation, + ], operationName: "DeleteVpnConcentrator", })); export type DeleteVpnConnectionError = | RequestLimitExceeded | InvalidVpnConnectionIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified VPN connection. @@ -82321,6 +82996,7 @@ export const deleteVpnConnection: API.OperationMethod< RequestLimitExceeded, InvalidVpnConnectionIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeleteVpnConnection", })); @@ -82328,6 +83004,7 @@ export type DeleteVpnConnectionRouteError = | RequestLimitExceeded | InvalidRouteMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified static route associated with a VPN connection between an @@ -82343,13 +83020,19 @@ export const deleteVpnConnectionRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVpnConnectionRouteRequest, output: DeleteVpnConnectionRouteResponse, - errors: [RequestLimitExceeded, InvalidRouteMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeleteVpnConnectionRoute", })); export type DeleteVpnGatewayError = | RequestLimitExceeded | IncorrectState | InvalidVpnGatewayIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Deletes the specified virtual private gateway. You must first detach the virtual @@ -82365,10 +83048,18 @@ export const deleteVpnGateway: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVpnGatewayRequest, output: DeleteVpnGatewayResponse, - errors: [RequestLimitExceeded, IncorrectState, InvalidVpnGatewayIDNotFound], + errors: [ + RequestLimitExceeded, + IncorrectState, + InvalidVpnGatewayIDNotFound, + UnauthorizedOperation, + ], operationName: "DeleteVpnGateway", })); -export type DeprovisionByoipCidrError = RequestLimitExceeded | CommonErrors; +export type DeprovisionByoipCidrError = + | RequestLimitExceeded + | UnauthorizedOperation + | CommonErrors; /** * Releases the specified address range that you provisioned for use with your Amazon Web Services resources * through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. @@ -82384,13 +83075,14 @@ export const deprovisionByoipCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeprovisionByoipCidrRequest, output: DeprovisionByoipCidrResult, - errors: [RequestLimitExceeded], + errors: [RequestLimitExceeded, UnauthorizedOperation], operationName: "DeprovisionByoipCidr", })); export type DeprovisionIpamByoasnError = | RequestLimitExceeded | InvalidIpamIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deprovisions your Autonomous System Number (ASN) from your Amazon Web Services account. This action can only be called after any BYOIP CIDR associations are removed from your Amazon Web Services account with DisassociateIpamByoasn. @@ -82404,13 +83096,19 @@ export const deprovisionIpamByoasn: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeprovisionIpamByoasnRequest, output: DeprovisionIpamByoasnResult, - errors: [RequestLimitExceeded, InvalidIpamIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeprovisionIpamByoasn", })); export type DeprovisionIpamPoolCidrError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deprovision a CIDR provisioned from an IPAM pool. If you deprovision a CIDR from a pool that has a source pool, the CIDR is recycled back into the source pool. For more information, see Deprovision pool CIDRs in the *Amazon VPC IPAM User Guide*. @@ -82423,7 +83121,12 @@ export const deprovisionIpamPoolCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeprovisionIpamPoolCidrRequest, output: DeprovisionIpamPoolCidrResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DeprovisionIpamPoolCidr", })); export type DeprovisionPublicIpv4PoolCidrError = @@ -82431,6 +83134,7 @@ export type DeprovisionPublicIpv4PoolCidrError = | InvalidPublicIpv4PoolNotFound | InvalidPublicIpv4PoolIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deprovision a CIDR from a public IPv4 pool. @@ -82448,6 +83152,7 @@ export const deprovisionPublicIpv4PoolCidr: API.OperationMethod< InvalidPublicIpv4PoolNotFound, InvalidPublicIpv4PoolIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DeprovisionPublicIpv4PoolCidr", })); @@ -82456,6 +83161,7 @@ export type DeregisterImageError = | InvalidAMIIDMalformed | InvalidAMIIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deregisters the specified AMI. A deregistered AMI can't be used to launch new @@ -82499,12 +83205,14 @@ export const deregisterImage: API.OperationMethod< InvalidAMIIDMalformed, InvalidAMIIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DeregisterImage", })); export type DeregisterInstanceEventNotificationAttributesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deregisters tag keys to prevent tags that have the specified tag keys from being @@ -82518,12 +83226,13 @@ export const deregisterInstanceEventNotificationAttributes: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeregisterInstanceEventNotificationAttributesRequest, output: DeregisterInstanceEventNotificationAttributesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DeregisterInstanceEventNotificationAttributes", })); export type DeregisterTransitGatewayMulticastGroupMembersError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deregisters the specified members (network interfaces) from the transit gateway multicast group. @@ -82536,12 +83245,13 @@ export const deregisterTransitGatewayMulticastGroupMembers: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeregisterTransitGatewayMulticastGroupMembersRequest, output: DeregisterTransitGatewayMulticastGroupMembersResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DeregisterTransitGatewayMulticastGroupMembers", })); export type DeregisterTransitGatewayMulticastGroupSourcesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Deregisters the specified sources (network interfaces) from the transit gateway multicast group. @@ -82554,7 +83264,7 @@ export const deregisterTransitGatewayMulticastGroupSources: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeregisterTransitGatewayMulticastGroupSourcesRequest, output: DeregisterTransitGatewayMulticastGroupSourcesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DeregisterTransitGatewayMulticastGroupSources", })); export type DescribeAccountAttributesError = CommonErrors; @@ -82595,6 +83305,7 @@ export const describeAccountAttributes: API.OperationMethod< export type DescribeAddressesError = | RequestLimitExceeded | InvalidAllocationIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Elastic IP addresses or all of your Elastic IP addresses. @@ -82607,12 +83318,17 @@ export const describeAddresses: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeAddressesRequest, output: DescribeAddressesResult, - errors: [RequestLimitExceeded, InvalidAllocationIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidAllocationIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeAddresses", })); export type DescribeAddressesAttributeError = | RequestLimitExceeded | InvalidAllocationIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications. @@ -82640,7 +83356,11 @@ export const describeAddressesAttribute: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeAddressesAttributeRequest, output: DescribeAddressesAttributeResult, - errors: [RequestLimitExceeded, InvalidAllocationIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidAllocationIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeAddressesAttribute", pagination: { inputToken: "NextToken", @@ -82732,6 +83452,7 @@ export type DescribeAvailabilityZonesError = | RequestLimitExceeded | InvalidParameterValue | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to @@ -82753,7 +83474,12 @@ export const describeAvailabilityZones: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeAvailabilityZonesRequest, output: DescribeAvailabilityZonesResult, - errors: [RequestLimitExceeded, InvalidParameterValue, ParseError], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeAvailabilityZones", })); export type DescribeAwsNetworkPerformanceMetricSubscriptionsError = @@ -82797,6 +83523,7 @@ export type DescribeBundleTasksError = | RequestLimitExceeded | InvalidBundleIDNotFound | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified bundle tasks or all of your bundle tasks. @@ -82821,12 +83548,14 @@ export const describeBundleTasks: API.OperationMethod< RequestLimitExceeded, InvalidBundleIDNotFound, InvalidInstanceIDMalformed, + UnauthorizedOperation, ], operationName: "DescribeBundleTasks", })); export type DescribeByoipCidrsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the IP address ranges that were provisioned for use with Amazon Web Services resources @@ -82855,7 +83584,7 @@ export const describeByoipCidrs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeByoipCidrsRequest, output: DescribeByoipCidrsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DescribeByoipCidrs", pagination: { inputToken: "NextToken", @@ -82867,6 +83596,7 @@ export const describeByoipCidrs: API.OperationMethod< export type DescribeCapacityBlockExtensionHistoryError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the events for the specified Capacity Block extension during the specified @@ -82895,7 +83625,11 @@ export const describeCapacityBlockExtensionHistory: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityBlockExtensionHistoryRequest, output: DescribeCapacityBlockExtensionHistoryResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeCapacityBlockExtensionHistory", pagination: { inputToken: "NextToken", @@ -82907,6 +83641,7 @@ export const describeCapacityBlockExtensionHistory: API.OperationMethod< export type DescribeCapacityBlockExtensionOfferingsError = | RequestLimitExceeded | InvalidCapacityReservationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes Capacity Block extension offerings available for purchase in the Amazon Web Services @@ -82935,7 +83670,11 @@ export const describeCapacityBlockExtensionOfferings: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityBlockExtensionOfferingsRequest, output: DescribeCapacityBlockExtensionOfferingsResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeCapacityBlockExtensionOfferings", pagination: { inputToken: "NextToken", @@ -82947,6 +83686,7 @@ export const describeCapacityBlockExtensionOfferings: API.OperationMethod< export type DescribeCapacityBlockOfferingsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you can @@ -82978,7 +83718,7 @@ export const describeCapacityBlockOfferings: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityBlockOfferingsRequest, output: DescribeCapacityBlockOfferingsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeCapacityBlockOfferings", pagination: { inputToken: "NextToken", @@ -82990,6 +83730,7 @@ export const describeCapacityBlockOfferings: API.OperationMethod< export type DescribeCapacityBlocksError = | RequestLimitExceeded | InvalidCapacityBlockIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes details about Capacity Blocks in the Amazon Web Services Region that you're currently using. @@ -83017,7 +83758,11 @@ export const describeCapacityBlocks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityBlocksRequest, output: DescribeCapacityBlocksResult, - errors: [RequestLimitExceeded, InvalidCapacityBlockIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityBlockIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeCapacityBlocks", pagination: { inputToken: "NextToken", @@ -83029,6 +83774,7 @@ export const describeCapacityBlocks: API.OperationMethod< export type DescribeCapacityBlockStatusError = | RequestLimitExceeded | InvalidCapacityBlockIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the availability of capacity for the specified Capacity blocks, or all of your Capacity Blocks. @@ -83056,7 +83802,11 @@ export const describeCapacityBlockStatus: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityBlockStatusRequest, output: DescribeCapacityBlockStatusResult, - errors: [RequestLimitExceeded, InvalidCapacityBlockIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityBlockIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeCapacityBlockStatus", pagination: { inputToken: "NextToken", @@ -83068,6 +83818,7 @@ export const describeCapacityBlockStatus: API.OperationMethod< export type DescribeCapacityManagerDataExportsError = | RequestLimitExceeded | InvalidCapacityManagerDataExportIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Capacity Manager data export configurations. Returns information about export settings, delivery status, and recent export activity. @@ -83095,7 +83846,11 @@ export const describeCapacityManagerDataExports: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityManagerDataExportsRequest, output: DescribeCapacityManagerDataExportsResult, - errors: [RequestLimitExceeded, InvalidCapacityManagerDataExportIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidCapacityManagerDataExportIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeCapacityManagerDataExports", pagination: { inputToken: "NextToken", @@ -83107,6 +83862,7 @@ export const describeCapacityManagerDataExports: API.OperationMethod< export type DescribeCapacityReservationBillingRequestsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes a request to assign the billing of the unused capacity of a Capacity @@ -83136,7 +83892,7 @@ export const describeCapacityReservationBillingRequests: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityReservationBillingRequestsRequest, output: DescribeCapacityReservationBillingRequestsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DescribeCapacityReservationBillingRequests", pagination: { inputToken: "NextToken", @@ -83165,6 +83921,7 @@ export const describeCapacityReservationCancellationQuotes: API.OperationMethod< export type DescribeCapacityReservationFleetsError = | RequestLimitExceeded | InvalidCapacityReservationFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Capacity Reservation Fleets. @@ -83192,7 +83949,11 @@ export const describeCapacityReservationFleets: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityReservationFleetsRequest, output: DescribeCapacityReservationFleetsResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeCapacityReservationFleets", pagination: { inputToken: "NextToken", @@ -83204,6 +83965,7 @@ export const describeCapacityReservationFleets: API.OperationMethod< export type DescribeCapacityReservationsError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your Capacity Reservations. The results describe only the @@ -83233,7 +83995,11 @@ export const describeCapacityReservations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCapacityReservationsRequest, output: DescribeCapacityReservationsResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeCapacityReservations", pagination: { inputToken: "NextToken", @@ -83283,6 +84049,7 @@ export type DescribeCarrierGatewaysError = | InvalidCarrierGatewayIDMalformed | InvalidCarrierGatewayIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your carrier gateways. @@ -83315,6 +84082,7 @@ export const describeCarrierGateways: API.OperationMethod< InvalidCarrierGatewayIDMalformed, InvalidCarrierGatewayIDNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeCarrierGateways", pagination: { @@ -83327,6 +84095,7 @@ export const describeCarrierGateways: API.OperationMethod< export type DescribeClassicLinkInstancesError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -83358,7 +84127,11 @@ export const describeClassicLinkInstances: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeClassicLinkInstancesRequest, output: DescribeClassicLinkInstancesResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeClassicLinkInstances", pagination: { inputToken: "NextToken", @@ -83370,6 +84143,7 @@ export const describeClassicLinkInstances: API.OperationMethod< export type DescribeClientVpnAuthorizationRulesError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the authorization rules for a specified Client VPN endpoint. @@ -83397,7 +84171,11 @@ export const describeClientVpnAuthorizationRules: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeClientVpnAuthorizationRulesRequest, output: DescribeClientVpnAuthorizationRulesResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeClientVpnAuthorizationRules", pagination: { inputToken: "NextToken", @@ -83410,6 +84188,7 @@ export type DescribeClientVpnConnectionsError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes active client connections and connections that have been terminated within the last 60 @@ -83442,6 +84221,7 @@ export const describeClientVpnConnections: API.OperationMethod< RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DescribeClientVpnConnections", pagination: { @@ -83454,6 +84234,7 @@ export const describeClientVpnConnections: API.OperationMethod< export type DescribeClientVpnEndpointsError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Client VPN endpoints in the account. @@ -83481,7 +84262,11 @@ export const describeClientVpnEndpoints: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeClientVpnEndpointsRequest, output: DescribeClientVpnEndpointsResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeClientVpnEndpoints", pagination: { inputToken: "NextToken", @@ -83494,6 +84279,7 @@ export type DescribeClientVpnRoutesError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the routes for the specified Client VPN endpoint. @@ -83525,6 +84311,7 @@ export const describeClientVpnRoutes: API.OperationMethod< RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DescribeClientVpnRoutes", pagination: { @@ -83538,6 +84325,7 @@ export type DescribeClientVpnTargetNetworksError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the target networks associated with the specified Client VPN endpoint. @@ -83569,6 +84357,7 @@ export const describeClientVpnTargetNetworks: API.OperationMethod< RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DescribeClientVpnTargetNetworks", pagination: { @@ -83581,6 +84370,7 @@ export const describeClientVpnTargetNetworks: API.OperationMethod< export type DescribeCoipPoolsError = | RequestLimitExceeded | InvalidPoolIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified customer-owned address pools or all of your customer-owned address pools. @@ -83608,7 +84398,7 @@ export const describeCoipPools: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeCoipPoolsRequest, output: DescribeCoipPoolsResult, - errors: [RequestLimitExceeded, InvalidPoolIDMalformed], + errors: [RequestLimitExceeded, InvalidPoolIDMalformed, UnauthorizedOperation], operationName: "DescribeCoipPools", pagination: { inputToken: "NextToken", @@ -83639,6 +84429,7 @@ export type DescribeCustomerGatewaysError = | RequestLimitExceeded | InvalidCustomerGatewayIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your VPN customer gateways. @@ -83654,12 +84445,18 @@ export const describeCustomerGateways: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeCustomerGatewaysRequest, output: DescribeCustomerGatewaysResult, - errors: [RequestLimitExceeded, InvalidCustomerGatewayIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidCustomerGatewayIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeCustomerGateways", })); export type DescribeDeclarativePoliciesReportsError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the metadata of an account status report, including the status of the @@ -83683,7 +84480,7 @@ export const describeDeclarativePoliciesReports: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeDeclarativePoliciesReportsRequest, output: DescribeDeclarativePoliciesReportsResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "DescribeDeclarativePoliciesReports", })); export type DescribeDhcpOptionsError = @@ -83691,6 +84488,7 @@ export type DescribeDhcpOptionsError = | InvalidDhcpOptionIDNotFound | InvalidParameterValue | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your DHCP option sets. The default is to describe all your DHCP option sets. @@ -83728,6 +84526,7 @@ export const describeDhcpOptions: API.OperationMethod< InvalidDhcpOptionIDNotFound, InvalidParameterValue, ParseError, + UnauthorizedOperation, ], operationName: "DescribeDhcpOptions", pagination: { @@ -83742,6 +84541,7 @@ export type DescribeEgressOnlyInternetGatewaysError = | InvalidEgressOnlyInternetGatewayIdMalformed | InvalidEgressOnlyInternetGatewayIdNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your egress-only internet gateways. The default is to describe all your egress-only internet gateways. @@ -83776,6 +84576,7 @@ export const describeEgressOnlyInternetGateways: API.OperationMethod< InvalidEgressOnlyInternetGatewayIdMalformed, InvalidEgressOnlyInternetGatewayIdNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeEgressOnlyInternetGateways", pagination: { @@ -83788,6 +84589,7 @@ export const describeEgressOnlyInternetGateways: API.OperationMethod< export type DescribeElasticGpusError = | RequestLimitExceeded | UnsupportedOperation + | UnauthorizedOperation | CommonErrors; /** * Amazon Elastic Graphics reached end of life on January 8, 2024. @@ -83802,12 +84604,13 @@ export const describeElasticGpus: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeElasticGpusRequest, output: DescribeElasticGpusResult, - errors: [RequestLimitExceeded, UnsupportedOperation], + errors: [RequestLimitExceeded, UnsupportedOperation, UnauthorizedOperation], operationName: "DescribeElasticGpus", })); export type DescribeExportImageTasksError = | RequestLimitExceeded | InvalidExportTaskIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified export image tasks or all of your export image tasks. @@ -83835,7 +84638,11 @@ export const describeExportImageTasks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeExportImageTasksRequest, output: DescribeExportImageTasksResult, - errors: [RequestLimitExceeded, InvalidExportTaskIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidExportTaskIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeExportImageTasks", pagination: { inputToken: "NextToken", @@ -83847,6 +84654,7 @@ export const describeExportImageTasks: API.OperationMethod< export type DescribeExportTasksError = | RequestLimitExceeded | InvalidExportTaskIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified export instance tasks or all of your export instance tasks. @@ -83859,12 +84667,17 @@ export const describeExportTasks: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeExportTasksRequest, output: DescribeExportTasksResult, - errors: [RequestLimitExceeded, InvalidExportTaskIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidExportTaskIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeExportTasks", })); export type DescribeFastLaunchImagesError = | RequestLimitExceeded | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * Describe details for Windows AMIs that are configured for Windows fast launch. @@ -83892,7 +84705,7 @@ export const describeFastLaunchImages: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeFastLaunchImagesRequest, output: DescribeFastLaunchImagesResult, - errors: [RequestLimitExceeded, InvalidRequest], + errors: [RequestLimitExceeded, InvalidRequest, UnauthorizedOperation], operationName: "DescribeFastLaunchImages", pagination: { inputToken: "NextToken", @@ -83940,6 +84753,7 @@ export const describeFastSnapshotRestores: API.OperationMethod< export type DescribeFleetHistoryError = | RequestLimitExceeded | InvalidFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the events for the specified EC2 Fleet during the specified time. @@ -83959,12 +84773,17 @@ export const describeFleetHistory: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeFleetHistoryRequest, output: DescribeFleetHistoryResult, - errors: [RequestLimitExceeded, InvalidFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeFleetHistory", })); export type DescribeFleetInstancesError = | RequestLimitExceeded | InvalidFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the running instances for the specified EC2 Fleet. @@ -83984,12 +84803,17 @@ export const describeFleetInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeFleetInstancesRequest, output: DescribeFleetInstancesResult, - errors: [RequestLimitExceeded, InvalidFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeFleetInstances", })); export type DescribeFleetsError = | RequestLimitExceeded | InvalidFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified EC2 Fleet or all of your EC2 Fleets. @@ -84023,7 +84847,11 @@ export const describeFleets: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeFleetsRequest, output: DescribeFleetsResult, - errors: [RequestLimitExceeded, InvalidFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeFleets", pagination: { inputToken: "NextToken", @@ -84035,6 +84863,7 @@ export const describeFleets: API.OperationMethod< export type DescribeFlowLogsError = | RequestLimitExceeded | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more flow logs. @@ -84065,7 +84894,7 @@ export const describeFlowLogs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeFlowLogsRequest, output: DescribeFlowLogsResult, - errors: [RequestLimitExceeded, ParseError], + errors: [RequestLimitExceeded, ParseError, UnauthorizedOperation], operationName: "DescribeFlowLogs", pagination: { inputToken: "NextToken", @@ -84078,6 +84907,7 @@ export type DescribeFpgaImageAttributeError = | RequestLimitExceeded | InvalidFpgaImageIDMalformed | InvalidFpgaImageIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified attribute of the specified Amazon FPGA Image (AFI). @@ -84094,12 +84924,14 @@ export const describeFpgaImageAttribute: API.OperationMethod< RequestLimitExceeded, InvalidFpgaImageIDMalformed, InvalidFpgaImageIDNotFound, + UnauthorizedOperation, ], operationName: "DescribeFpgaImageAttribute", })); export type DescribeFpgaImagesError = | RequestLimitExceeded | InvalidFpgaImageIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, @@ -84129,7 +84961,11 @@ export const describeFpgaImages: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeFpgaImagesRequest, output: DescribeFpgaImagesResult, - errors: [RequestLimitExceeded, InvalidFpgaImageIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidFpgaImageIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeFpgaImages", pagination: { inputToken: "NextToken", @@ -84141,6 +84977,7 @@ export const describeFpgaImages: API.OperationMethod< export type DescribeHostReservationOfferingsError = | RequestLimitExceeded | InvalidHostReservationOfferingIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the Dedicated Host reservations that are available to purchase. @@ -84175,7 +85012,11 @@ export const describeHostReservationOfferings: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeHostReservationOfferingsRequest, output: DescribeHostReservationOfferingsResult, - errors: [RequestLimitExceeded, InvalidHostReservationOfferingIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidHostReservationOfferingIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeHostReservationOfferings", pagination: { inputToken: "NextToken", @@ -84224,6 +85065,7 @@ export const describeHostReservations: API.OperationMethod< export type DescribeHostsError = | RequestLimitExceeded | InvalidHostIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Dedicated Hosts or all your Dedicated Hosts. @@ -84255,7 +85097,7 @@ export const describeHosts: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeHostsRequest, output: DescribeHostsResult, - errors: [RequestLimitExceeded, InvalidHostIDMalformed], + errors: [RequestLimitExceeded, InvalidHostIDMalformed, UnauthorizedOperation], operationName: "DescribeHosts", pagination: { inputToken: "NextToken", @@ -84267,6 +85109,7 @@ export const describeHosts: API.OperationMethod< export type DescribeIamInstanceProfileAssociationsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes your IAM instance profile associations. @@ -84294,7 +85137,7 @@ export const describeIamInstanceProfileAssociations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIamInstanceProfileAssociationsRequest, output: DescribeIamInstanceProfileAssociationsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeIamInstanceProfileAssociations", pagination: { inputToken: "NextToken", @@ -84306,6 +85149,7 @@ export const describeIamInstanceProfileAssociations: API.OperationMethod< export type DescribeIdentityIdFormatError = | RequestLimitExceeded | InvalidTargetArnUnknown + | UnauthorizedOperation | CommonErrors; /** * Describes the ID format settings for resources for the specified IAM user, IAM role, or root @@ -84338,7 +85182,11 @@ export const describeIdentityIdFormat: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeIdentityIdFormatRequest, output: DescribeIdentityIdFormatResult, - errors: [RequestLimitExceeded, InvalidTargetArnUnknown], + errors: [ + RequestLimitExceeded, + InvalidTargetArnUnknown, + UnauthorizedOperation, + ], operationName: "DescribeIdentityIdFormat", })); export type DescribeIdFormatError = CommonErrors; @@ -84381,6 +85229,7 @@ export type DescribeImageAttributeError = | RequestLimitExceeded | InvalidAMIIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the specified attribute of the specified AMI. You can specify only one attribute @@ -84397,12 +85246,18 @@ export const describeImageAttribute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeImageAttributeRequest, output: ImageAttribute, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidAMIIDMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DescribeImageAttribute", })); export type DescribeImageReferencesError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes your Amazon Web Services resources that are referencing the specified images. @@ -84433,7 +85288,7 @@ export const describeImageReferences: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeImageReferencesRequest, output: DescribeImageReferencesResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "DescribeImageReferences", pagination: { inputToken: "NextToken", @@ -84446,6 +85301,7 @@ export type DescribeImagesError = | RequestLimitExceeded | InvalidAMIIDMalformed | InvalidAMIIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the @@ -84501,7 +85357,12 @@ export const describeImages: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeImagesRequest, output: DescribeImagesResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed, InvalidAMIIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidAMIIDMalformed, + InvalidAMIIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeImages", pagination: { inputToken: "NextToken", @@ -84513,6 +85374,7 @@ export const describeImages: API.OperationMethod< export type DescribeImageUsageReportEntriesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the entries in image usage reports, showing how your images are used across @@ -84544,7 +85406,7 @@ export const describeImageUsageReportEntries: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeImageUsageReportEntriesRequest, output: DescribeImageUsageReportEntriesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeImageUsageReportEntries", pagination: { inputToken: "NextToken", @@ -84556,6 +85418,7 @@ export const describeImageUsageReportEntries: API.OperationMethod< export type DescribeImageUsageReportsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the configuration and status of image usage reports, filtered by report IDs or @@ -84587,7 +85450,7 @@ export const describeImageUsageReports: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeImageUsageReportsRequest, output: DescribeImageUsageReportsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeImageUsageReports", pagination: { inputToken: "NextToken", @@ -84599,6 +85462,7 @@ export const describeImageUsageReports: API.OperationMethod< export type DescribeImportImageTasksError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Displays details about an import virtual machine or import snapshot tasks that are already created. @@ -84626,7 +85490,7 @@ export const describeImportImageTasks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeImportImageTasksRequest, output: DescribeImportImageTasksResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "DescribeImportImageTasks", pagination: { inputToken: "NextToken", @@ -84638,6 +85502,7 @@ export const describeImportImageTasks: API.OperationMethod< export type DescribeImportSnapshotTasksError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Describes your import snapshot tasks. @@ -84665,7 +85530,7 @@ export const describeImportSnapshotTasks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeImportSnapshotTasksRequest, output: DescribeImportSnapshotTasksResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "DescribeImportSnapshotTasks", pagination: { inputToken: "NextToken", @@ -84678,6 +85543,7 @@ export type DescribeInstanceAttributeError = | RequestLimitExceeded | InvalidInstanceIDNotFound | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the specified attribute of the specified instance. You can specify only one @@ -84696,12 +85562,14 @@ export const describeInstanceAttribute: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDNotFound, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "DescribeInstanceAttribute", })); export type DescribeInstanceConnectEndpointsError = | RequestLimitExceeded | InvalidInstanceConnectEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified EC2 Instance Connect Endpoints or all EC2 Instance Connect Endpoints. @@ -84729,7 +85597,11 @@ export const describeInstanceConnectEndpoints: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeInstanceConnectEndpointsRequest, output: DescribeInstanceConnectEndpointsResult, - errors: [RequestLimitExceeded, InvalidInstanceConnectEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidInstanceConnectEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeInstanceConnectEndpoints", pagination: { inputToken: "NextToken", @@ -84741,6 +85613,7 @@ export const describeInstanceConnectEndpoints: API.OperationMethod< export type DescribeInstanceCreditSpecificationsError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the credit option for CPU usage of the specified burstable performance @@ -84792,7 +85665,11 @@ export const describeInstanceCreditSpecifications: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeInstanceCreditSpecificationsRequest, output: DescribeInstanceCreditSpecificationsResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeInstanceCreditSpecifications", pagination: { inputToken: "NextToken", @@ -84820,6 +85697,7 @@ export const describeInstanceEventNotificationAttributes: API.OperationMethod< export type DescribeInstanceEventWindowsError = | RequestLimitExceeded | InvalidInstanceEventWindowIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified event windows or all event windows. @@ -84857,7 +85735,11 @@ export const describeInstanceEventWindows: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeInstanceEventWindowsRequest, output: DescribeInstanceEventWindowsResult, - errors: [RequestLimitExceeded, InvalidInstanceEventWindowIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidInstanceEventWindowIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeInstanceEventWindows", pagination: { inputToken: "NextToken", @@ -84869,6 +85751,7 @@ export const describeInstanceEventWindows: API.OperationMethod< export type DescribeInstanceImageMetadataError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the AMI that was used to launch an instance, even if the AMI is deprecated, @@ -84918,7 +85801,11 @@ export const describeInstanceImageMetadata: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeInstanceImageMetadataRequest, output: DescribeInstanceImageMetadataResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeInstanceImageMetadata", pagination: { inputToken: "NextToken", @@ -84932,6 +85819,7 @@ export type DescribeInstancesError = | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes the specified instances or all instances. @@ -85000,6 +85888,7 @@ export const describeInstances: API.OperationMethod< InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeInstances", pagination: { @@ -85012,6 +85901,7 @@ export const describeInstances: API.OperationMethod< export type DescribeInstanceSqlHaHistoryStatesError = | RequestLimitExceeded | InvalidInstanceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the historical SQL Server High Availability states for Amazon EC2 @@ -85025,12 +85915,17 @@ export const describeInstanceSqlHaHistoryStates: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeInstanceSqlHaHistoryStatesRequest, output: DescribeInstanceSqlHaHistoryStatesResult, - errors: [RequestLimitExceeded, InvalidInstanceIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeInstanceSqlHaHistoryStates", })); export type DescribeInstanceSqlHaStatesError = | RequestLimitExceeded | InvalidInstanceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the SQL Server High Availability states for Amazon EC2 instances that are @@ -85044,13 +85939,18 @@ export const describeInstanceSqlHaStates: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeInstanceSqlHaStatesRequest, output: DescribeInstanceSqlHaStatesResult, - errors: [RequestLimitExceeded, InvalidInstanceIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeInstanceSqlHaStates", })); export type DescribeInstanceStatusError = | RequestLimitExceeded | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the status of the specified instances or all of your instances. By default, @@ -85114,6 +86014,7 @@ export const describeInstanceStatus: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, + UnauthorizedOperation, ], operationName: "DescribeInstanceStatus", pagination: { @@ -85260,6 +86161,7 @@ export type DescribeInternetGatewaysError = | RequestLimitExceeded | InvalidInternetGatewayIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your internet gateways. The default is to describe all your internet gateways. @@ -85289,7 +86191,12 @@ export const describeInternetGateways: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeInternetGatewaysRequest, output: DescribeInternetGatewaysResult, - errors: [RequestLimitExceeded, InvalidInternetGatewayIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidInternetGatewayIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeInternetGateways", pagination: { inputToken: "NextToken", @@ -85316,6 +86223,7 @@ export const describeIpamByoasn: API.OperationMethod< export type DescribeIpamExternalResourceVerificationTokensError = | RequestLimitExceeded | InvalidIpamExternalResourceVerificationTokenIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describe verification tokens. @@ -85333,12 +86241,14 @@ export const describeIpamExternalResourceVerificationTokens: API.OperationMethod errors: [ RequestLimitExceeded, InvalidIpamExternalResourceVerificationTokenIdNotFound, + UnauthorizedOperation, ], operationName: "DescribeIpamExternalResourceVerificationTokens", })); export type DescribeIpamPoliciesError = | RequestLimitExceeded | InvalidIpamPolicyIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more IPAM policies. @@ -85353,7 +86263,11 @@ export const describeIpamPolicies: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeIpamPoliciesRequest, output: DescribeIpamPoliciesResult, - errors: [RequestLimitExceeded, InvalidIpamPolicyIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPolicyIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeIpamPolicies", })); export type DescribeIpamPoolAllocationsError = CommonErrors; @@ -85399,6 +86313,7 @@ export const describeIpamPoolAllocations: API.OperationMethod< export type DescribeIpamPoolsError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Get information about your IPAM pools. @@ -85426,7 +86341,11 @@ export const describeIpamPools: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIpamPoolsRequest, output: DescribeIpamPoolsResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeIpamPools", pagination: { inputToken: "NextToken", @@ -85438,6 +86357,7 @@ export const describeIpamPools: API.OperationMethod< export type DescribeIpamPrefixListResolversError = | RequestLimitExceeded | InvalidIpamPrefixListResolverIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more IPAM prefix list resolvers. Use this operation to view the configuration, status, and properties of your resolvers. @@ -85465,7 +86385,11 @@ export const describeIpamPrefixListResolvers: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIpamPrefixListResolversRequest, output: DescribeIpamPrefixListResolversResult, - errors: [RequestLimitExceeded, InvalidIpamPrefixListResolverIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPrefixListResolverIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeIpamPrefixListResolvers", pagination: { inputToken: "NextToken", @@ -85477,6 +86401,7 @@ export const describeIpamPrefixListResolvers: API.OperationMethod< export type DescribeIpamPrefixListResolverTargetsError = | RequestLimitExceeded | InvalidIpamPrefixListResolverTargetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes one or more IPAM prefix list resolver Targets. Use this operation to view the configuration and status of resolver targets. @@ -85507,6 +86432,7 @@ export const describeIpamPrefixListResolverTargets: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidIpamPrefixListResolverTargetIdMalformed, + UnauthorizedOperation, ], operationName: "DescribeIpamPrefixListResolverTargets", pagination: { @@ -85519,6 +86445,7 @@ export const describeIpamPrefixListResolverTargets: API.OperationMethod< export type DescribeIpamResourceDiscoveriesError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -85546,7 +86473,11 @@ export const describeIpamResourceDiscoveries: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIpamResourceDiscoveriesRequest, output: DescribeIpamResourceDiscoveriesResult, - errors: [RequestLimitExceeded, InvalidIpamResourceDiscoveryIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeIpamResourceDiscoveries", pagination: { inputToken: "NextToken", @@ -85558,6 +86489,7 @@ export const describeIpamResourceDiscoveries: API.OperationMethod< export type DescribeIpamResourceDiscoveryAssociationsError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryAssociationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes resource discovery association with an Amazon VPC IPAM. An associated resource discovery is a resource discovery that has been associated with an IPAM.. @@ -85588,6 +86520,7 @@ export const describeIpamResourceDiscoveryAssociations: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidIpamResourceDiscoveryAssociationIdNotFound, + UnauthorizedOperation, ], operationName: "DescribeIpamResourceDiscoveryAssociations", pagination: { @@ -85600,6 +86533,7 @@ export const describeIpamResourceDiscoveryAssociations: API.OperationMethod< export type DescribeIpamsError = | RequestLimitExceeded | InvalidIpamIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Get information about your IPAM pools. @@ -85629,7 +86563,7 @@ export const describeIpams: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIpamsRequest, output: DescribeIpamsResult, - errors: [RequestLimitExceeded, InvalidIpamIdNotFound], + errors: [RequestLimitExceeded, InvalidIpamIdNotFound, UnauthorizedOperation], operationName: "DescribeIpams", pagination: { inputToken: "NextToken", @@ -85641,6 +86575,7 @@ export const describeIpams: API.OperationMethod< export type DescribeIpamScopesError = | RequestLimitExceeded | InvalidIpamScopeIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Get information about your IPAM scopes. @@ -85668,7 +86603,11 @@ export const describeIpamScopes: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIpamScopesRequest, output: DescribeIpamScopesResult, - errors: [RequestLimitExceeded, InvalidIpamScopeIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamScopeIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeIpamScopes", pagination: { inputToken: "NextToken", @@ -85680,6 +86619,7 @@ export const describeIpamScopes: API.OperationMethod< export type DescribeIpv6PoolsError = | RequestLimitExceeded | InvalidIpv6PoolIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes your IPv6 address pools. @@ -85707,7 +86647,11 @@ export const describeIpv6Pools: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeIpv6PoolsRequest, output: DescribeIpv6PoolsResult, - errors: [RequestLimitExceeded, InvalidIpv6PoolIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpv6PoolIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeIpv6Pools", pagination: { inputToken: "NextToken", @@ -85720,6 +86664,7 @@ export type DescribeKeyPairsError = | RequestLimitExceeded | InvalidKeyPairNotFound | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the specified key pairs or all of your key pairs. @@ -85735,7 +86680,12 @@ export const describeKeyPairs: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeKeyPairsRequest, output: DescribeKeyPairsResult, - errors: [RequestLimitExceeded, InvalidKeyPairNotFound, InvalidParameterValue], + errors: [ + RequestLimitExceeded, + InvalidKeyPairNotFound, + InvalidParameterValue, + UnauthorizedOperation, + ], operationName: "DescribeKeyPairs", })); export type DescribeLaunchTemplatesError = @@ -85744,6 +86694,7 @@ export type DescribeLaunchTemplatesError = | ParseError | InvalidLaunchTemplateIdNotFound | InvalidLaunchTemplateNameNotFoundException + | UnauthorizedOperation | CommonErrors; /** * Describes one or more launch templates. @@ -85777,6 +86728,7 @@ export const describeLaunchTemplates: API.OperationMethod< ParseError, InvalidLaunchTemplateIdNotFound, InvalidLaunchTemplateNameNotFoundException, + UnauthorizedOperation, ], operationName: "DescribeLaunchTemplates", pagination: { @@ -85790,6 +86742,7 @@ export type DescribeLaunchTemplateVersionsError = | RequestLimitExceeded | InvalidLaunchTemplateIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes one or more versions of a specified launch template. You can describe all @@ -85824,6 +86777,7 @@ export const describeLaunchTemplateVersions: API.OperationMethod< RequestLimitExceeded, InvalidLaunchTemplateIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DescribeLaunchTemplateVersions", pagination: { @@ -86056,6 +87010,7 @@ export const describeLocalGatewayVirtualInterfaces: API.OperationMethod< export type DescribeLockedSnapshotsError = | RequestLimitExceeded | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * Describes the lock status for a snapshot. @@ -86068,12 +87023,13 @@ export const describeLockedSnapshots: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeLockedSnapshotsRequest, output: DescribeLockedSnapshotsResult, - errors: [RequestLimitExceeded, InvalidRequest], + errors: [RequestLimitExceeded, InvalidRequest, UnauthorizedOperation], operationName: "DescribeLockedSnapshots", })); export type DescribeMacHostsError = | RequestLimitExceeded | InvalidHostIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts. @@ -86101,7 +87057,7 @@ export const describeMacHosts: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeMacHostsRequest, output: DescribeMacHostsResult, - errors: [RequestLimitExceeded, InvalidHostIDMalformed], + errors: [RequestLimitExceeded, InvalidHostIDMalformed, UnauthorizedOperation], operationName: "DescribeMacHosts", pagination: { inputToken: "NextToken", @@ -86113,6 +87069,7 @@ export const describeMacHosts: API.OperationMethod< export type DescribeMacModificationTasksError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Describes a System Integrity Protection (SIP) modification task or volume ownership delegation @@ -86142,7 +87099,7 @@ export const describeMacModificationTasks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeMacModificationTasksRequest, output: DescribeMacModificationTasksResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "DescribeMacModificationTasks", pagination: { inputToken: "NextToken", @@ -86155,6 +87112,7 @@ export type DescribeManagedPrefixListsError = | RequestLimitExceeded | InvalidPrefixListIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your managed prefix lists and any Amazon Web Services-managed prefix lists. @@ -86182,7 +87140,12 @@ export const describeManagedPrefixLists: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeManagedPrefixListsRequest, output: DescribeManagedPrefixListsResult, - errors: [RequestLimitExceeded, InvalidPrefixListIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidPrefixListIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeManagedPrefixLists", pagination: { inputToken: "NextToken", @@ -86194,6 +87157,7 @@ export const describeManagedPrefixLists: API.OperationMethod< export type DescribeMovingAddressesError = | RequestLimitExceeded | UnsupportedOperation + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -86224,7 +87188,7 @@ export const describeMovingAddresses: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeMovingAddressesRequest, output: DescribeMovingAddressesResult, - errors: [RequestLimitExceeded, UnsupportedOperation], + errors: [RequestLimitExceeded, UnsupportedOperation, UnauthorizedOperation], operationName: "DescribeMovingAddresses", pagination: { inputToken: "NextToken", @@ -86241,6 +87205,7 @@ export type DescribeNatGatewaysError = | NatGatewayMalformed | NatGatewayNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your NAT gateways. The default is to describe all your NAT gateways. @@ -86278,6 +87243,7 @@ export const describeNatGateways: API.OperationMethod< NatGatewayMalformed, NatGatewayNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeNatGateways", pagination: { @@ -86292,6 +87258,7 @@ export type DescribeNetworkAclsError = | InvalidNetworkAclIDNotFound | InvalidRouteTableIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your network ACLs. The default is to describe all your network ACLs. @@ -86329,6 +87296,7 @@ export const describeNetworkAcls: API.OperationMethod< InvalidNetworkAclIDNotFound, InvalidRouteTableIDNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeNetworkAcls", pagination: { @@ -86341,6 +87309,7 @@ export const describeNetworkAcls: API.OperationMethod< export type DescribeNetworkInsightsAccessScopeAnalysesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Network Access Scope analyses. @@ -86368,7 +87337,7 @@ export const describeNetworkInsightsAccessScopeAnalyses: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeNetworkInsightsAccessScopeAnalysesRequest, output: DescribeNetworkInsightsAccessScopeAnalysesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeNetworkInsightsAccessScopeAnalyses", pagination: { inputToken: "NextToken", @@ -86380,6 +87349,7 @@ export const describeNetworkInsightsAccessScopeAnalyses: API.OperationMethod< export type DescribeNetworkInsightsAccessScopesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Network Access Scopes. @@ -86407,7 +87377,7 @@ export const describeNetworkInsightsAccessScopes: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeNetworkInsightsAccessScopesRequest, output: DescribeNetworkInsightsAccessScopesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeNetworkInsightsAccessScopes", pagination: { inputToken: "NextToken", @@ -86419,6 +87389,7 @@ export const describeNetworkInsightsAccessScopes: API.OperationMethod< export type DescribeNetworkInsightsAnalysesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your network insights analyses. @@ -86446,7 +87417,7 @@ export const describeNetworkInsightsAnalyses: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeNetworkInsightsAnalysesRequest, output: DescribeNetworkInsightsAnalysesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeNetworkInsightsAnalyses", pagination: { inputToken: "NextToken", @@ -86458,6 +87429,7 @@ export const describeNetworkInsightsAnalyses: API.OperationMethod< export type DescribeNetworkInsightsPathsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your paths. @@ -86485,7 +87457,7 @@ export const describeNetworkInsightsPaths: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeNetworkInsightsPathsRequest, output: DescribeNetworkInsightsPathsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeNetworkInsightsPaths", pagination: { inputToken: "NextToken", @@ -86499,6 +87471,7 @@ export type DescribeNetworkInterfaceAttributeError = | InvalidNetworkInterfaceIDNotFound | InvalidNetworkInterfaceIdMalformed | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Describes a network interface attribute. You can specify only one attribute at a @@ -86517,12 +87490,14 @@ export const describeNetworkInterfaceAttribute: API.OperationMethod< InvalidNetworkInterfaceIDNotFound, InvalidNetworkInterfaceIdMalformed, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "DescribeNetworkInterfaceAttribute", })); export type DescribeNetworkInterfacePermissionsError = | RequestLimitExceeded | InvalidPermissionIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the permissions for your network interfaces. @@ -86550,7 +87525,11 @@ export const describeNetworkInterfacePermissions: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeNetworkInterfacePermissionsRequest, output: DescribeNetworkInterfacePermissionsResult, - errors: [RequestLimitExceeded, InvalidPermissionIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidPermissionIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeNetworkInterfacePermissions", pagination: { inputToken: "NextToken", @@ -86564,6 +87543,7 @@ export type DescribeNetworkInterfacesError = | InvalidNetworkInterfaceIDNotFound | InvalidNetworkInterfaceIdMalformed | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes the specified network interfaces or all your network interfaces. @@ -86605,6 +87585,7 @@ export const describeNetworkInterfaces: API.OperationMethod< InvalidNetworkInterfaceIDNotFound, InvalidNetworkInterfaceIdMalformed, ParseError, + UnauthorizedOperation, ], operationName: "DescribeNetworkInterfaces", pagination: { @@ -86617,6 +87598,7 @@ export const describeNetworkInterfaces: API.OperationMethod< export type DescribeOutpostLagsError = | RequestLimitExceeded | InvalidOutpostLagIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the Outposts link aggregation groups (LAGs). @@ -86631,13 +87613,18 @@ export const describeOutpostLags: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeOutpostLagsRequest, output: DescribeOutpostLagsResult, - errors: [RequestLimitExceeded, InvalidOutpostLagIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidOutpostLagIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeOutpostLags", })); export type DescribePlacementGroupsError = | RequestLimitExceeded | InvalidParameterValue | InvalidPlacementGroupUnknown + | UnauthorizedOperation | CommonErrors; /** * Describes the specified placement groups or all of your placement groups. @@ -86663,12 +87650,14 @@ export const describePlacementGroups: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidPlacementGroupUnknown, + UnauthorizedOperation, ], operationName: "DescribePlacementGroups", })); export type DescribePrefixListsError = | RequestLimitExceeded | InvalidPrefixListIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes available Amazon Web Services services in a prefix list format, which includes the prefix list @@ -86697,7 +87686,11 @@ export const describePrefixLists: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribePrefixListsRequest, output: DescribePrefixListsResult, - errors: [RequestLimitExceeded, InvalidPrefixListIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidPrefixListIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribePrefixLists", pagination: { inputToken: "NextToken", @@ -86764,6 +87757,7 @@ export const describePrincipalIdFormat: API.OperationMethod< export type DescribePublicIpv4PoolsError = | RequestLimitExceeded | InvalidPublicIpv4PoolIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified IPv4 address pools. @@ -86791,7 +87785,11 @@ export const describePublicIpv4Pools: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribePublicIpv4PoolsRequest, output: DescribePublicIpv4PoolsResult, - errors: [RequestLimitExceeded, InvalidPublicIpv4PoolIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidPublicIpv4PoolIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribePublicIpv4Pools", pagination: { inputToken: "NextToken", @@ -86803,6 +87801,7 @@ export const describePublicIpv4Pools: API.OperationMethod< export type DescribeRegionsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the Regions that are enabled for your account, or all Regions. @@ -86823,12 +87822,13 @@ export const describeRegions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeRegionsRequest, output: DescribeRegionsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeRegions", })); export type DescribeReplaceRootVolumeTasksError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes a root volume replacement task. For more information, see @@ -86857,7 +87857,7 @@ export const describeReplaceRootVolumeTasks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeReplaceRootVolumeTasksRequest, output: DescribeReplaceRootVolumeTasksResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeReplaceRootVolumeTasks", pagination: { inputToken: "NextToken", @@ -86869,6 +87869,7 @@ export const describeReplaceRootVolumeTasks: API.OperationMethod< export type DescribeReservedInstancesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of the Reserved Instances that you purchased. @@ -86887,7 +87888,7 @@ export const describeReservedInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeReservedInstancesRequest, output: DescribeReservedInstancesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeReservedInstances", })); export type DescribeReservedInstancesListingsError = CommonErrors; @@ -86930,6 +87931,7 @@ export const describeReservedInstancesListings: API.OperationMethod< export type DescribeReservedInstancesModificationsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the modifications made to your Reserved Instances. If no parameter is specified, @@ -86966,7 +87968,7 @@ export const describeReservedInstancesModifications: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeReservedInstancesModificationsRequest, output: DescribeReservedInstancesModificationsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeReservedInstancesModifications", pagination: { inputToken: "NextToken", @@ -86977,6 +87979,7 @@ export const describeReservedInstancesModifications: API.OperationMethod< export type DescribeReservedInstancesOfferingsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes Reserved Instance offerings that are available for purchase. With Reserved @@ -87017,7 +88020,7 @@ export const describeReservedInstancesOfferings: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeReservedInstancesOfferingsRequest, output: DescribeReservedInstancesOfferingsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeReservedInstancesOfferings", pagination: { inputToken: "NextToken", @@ -87029,6 +88032,7 @@ export const describeReservedInstancesOfferings: API.OperationMethod< export type DescribeRouteServerEndpointsError = | RequestLimitExceeded | InvalidRouteServerEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more route server endpoints. @@ -87060,7 +88064,11 @@ export const describeRouteServerEndpoints: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeRouteServerEndpointsRequest, output: DescribeRouteServerEndpointsResult, - errors: [RequestLimitExceeded, InvalidRouteServerEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeRouteServerEndpoints", pagination: { inputToken: "NextToken", @@ -87072,6 +88080,7 @@ export const describeRouteServerEndpoints: API.OperationMethod< export type DescribeRouteServerPeersError = | RequestLimitExceeded | InvalidRouteServerPeerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more route server peers. @@ -87109,7 +88118,11 @@ export const describeRouteServerPeers: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeRouteServerPeersRequest, output: DescribeRouteServerPeersResult, - errors: [RequestLimitExceeded, InvalidRouteServerPeerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerPeerIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeRouteServerPeers", pagination: { inputToken: "NextToken", @@ -87121,6 +88134,7 @@ export const describeRouteServerPeers: API.OperationMethod< export type DescribeRouteServersError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more route servers. @@ -87163,7 +88177,11 @@ export const describeRouteServers: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeRouteServersRequest, output: DescribeRouteServersResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeRouteServers", pagination: { inputToken: "NextToken", @@ -87176,6 +88194,7 @@ export type DescribeRouteTablesError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your route tables. The default is to describe all your route tables. @@ -87210,7 +88229,12 @@ export const describeRouteTables: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeRouteTablesRequest, output: DescribeRouteTablesResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeRouteTables", pagination: { inputToken: "NextToken", @@ -87422,6 +88446,7 @@ export const describeSecurityGroupReferences: API.OperationMethod< export type DescribeSecurityGroupRulesError = | RequestLimitExceeded | InvalidSecurityGroupRuleIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your security group rules. @@ -87449,7 +88474,11 @@ export const describeSecurityGroupRules: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeSecurityGroupRulesRequest, output: DescribeSecurityGroupRulesResult, - errors: [RequestLimitExceeded, InvalidSecurityGroupRuleIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidSecurityGroupRuleIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeSecurityGroupRules", pagination: { inputToken: "NextToken", @@ -87464,6 +88493,7 @@ export type DescribeSecurityGroupsError = | InvalidGroupIdMalformed | ParseError | VPCIdNotSpecified + | UnauthorizedOperation | CommonErrors; /** * Describes the specified security groups or all of your security groups. @@ -87497,6 +88527,7 @@ export const describeSecurityGroups: API.OperationMethod< InvalidGroupIdMalformed, ParseError, VPCIdNotSpecified, + UnauthorizedOperation, ], operationName: "DescribeSecurityGroups", pagination: { @@ -87545,6 +88576,7 @@ export const describeSecurityGroupVpcAssociations: API.OperationMethod< export type DescribeServiceLinkVirtualInterfacesError = | RequestLimitExceeded | InvalidServiceLinkVirtualInterfaceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the Outpost service link virtual interfaces. @@ -87557,7 +88589,11 @@ export const describeServiceLinkVirtualInterfaces: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeServiceLinkVirtualInterfacesRequest, output: DescribeServiceLinkVirtualInterfacesResult, - errors: [RequestLimitExceeded, InvalidServiceLinkVirtualInterfaceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidServiceLinkVirtualInterfaceIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeServiceLinkVirtualInterfaces", })); export type DescribeSnapshotAttributeError = @@ -87565,6 +88601,7 @@ export type DescribeSnapshotAttributeError = | InvalidParameterValue | InvalidSnapshotNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the specified attribute of the specified snapshot. You can specify only one @@ -87585,6 +88622,7 @@ export const describeSnapshotAttribute: API.OperationMethod< InvalidParameterValue, InvalidSnapshotNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DescribeSnapshotAttribute", })); @@ -87592,6 +88630,7 @@ export type DescribeSnapshotsError = | RequestLimitExceeded | InvalidSnapshotNotFound | InvalidUserIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the specified EBS snapshots available to you or all of the EBS snapshots @@ -87667,6 +88706,7 @@ export const describeSnapshots: API.OperationMethod< RequestLimitExceeded, InvalidSnapshotNotFound, InvalidUserIDMalformed, + UnauthorizedOperation, ], operationName: "DescribeSnapshots", pagination: { @@ -87715,6 +88755,7 @@ export const describeSnapshotTierStatus: API.OperationMethod< export type DescribeSpotDatafeedSubscriptionError = | RequestLimitExceeded | InvalidSpotDatafeedNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the data feed for Spot Instances. For more information, see Spot @@ -87728,12 +88769,17 @@ export const describeSpotDatafeedSubscription: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSpotDatafeedSubscriptionRequest, output: DescribeSpotDatafeedSubscriptionResult, - errors: [RequestLimitExceeded, InvalidSpotDatafeedNotFound], + errors: [ + RequestLimitExceeded, + InvalidSpotDatafeedNotFound, + UnauthorizedOperation, + ], operationName: "DescribeSpotDatafeedSubscription", })); export type DescribeSpotFleetInstancesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Describes the running instances for the specified Spot Fleet. @@ -87746,12 +88792,13 @@ export const describeSpotFleetInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSpotFleetInstancesRequest, output: DescribeSpotFleetInstancesResponse, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DescribeSpotFleetInstances", })); export type DescribeSpotFleetRequestHistoryError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the events for the specified Spot Fleet request during the specified @@ -87772,13 +88819,14 @@ export const describeSpotFleetRequestHistory: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSpotFleetRequestHistoryRequest, output: DescribeSpotFleetRequestHistoryResponse, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DescribeSpotFleetRequestHistory", })); export type DescribeSpotFleetRequestsError = | RequestLimitExceeded | InvalidParameterValue | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your Spot Fleet requests. @@ -87809,7 +88857,12 @@ export const describeSpotFleetRequests: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeSpotFleetRequestsRequest, output: DescribeSpotFleetRequestsResponse, - errors: [RequestLimitExceeded, InvalidParameterValue, ParseError], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeSpotFleetRequests", pagination: { inputToken: "NextToken", @@ -87822,6 +88875,7 @@ export type DescribeSpotInstanceRequestsError = | RequestLimitExceeded | InvalidSpotInstanceRequestIDMalformed | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Spot Instance requests. @@ -87871,6 +88925,7 @@ export const describeSpotInstanceRequests: API.OperationMethod< RequestLimitExceeded, InvalidSpotInstanceRequestIDMalformed, ParseError, + UnauthorizedOperation, ], operationName: "DescribeSpotInstanceRequests", pagination: { @@ -87924,6 +88979,7 @@ export const describeSpotPriceHistory: API.OperationMethod< export type DescribeStaleSecurityGroupsError = | RequestLimitExceeded | InvalidVpcIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the stale security group rules for security groups referenced across a VPC @@ -87958,7 +89014,7 @@ export const describeStaleSecurityGroups: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeStaleSecurityGroupsRequest, output: DescribeStaleSecurityGroupsResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound], + errors: [RequestLimitExceeded, InvalidVpcIDNotFound, UnauthorizedOperation], operationName: "DescribeStaleSecurityGroups", pagination: { inputToken: "NextToken", @@ -88022,6 +89078,7 @@ export type DescribeSubnetsError = | RequestLimitExceeded | InvalidSubnetIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your subnets. The default is to describe all your subnets. @@ -88054,7 +89111,12 @@ export const describeSubnets: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeSubnetsRequest, output: DescribeSubnetsResult, - errors: [RequestLimitExceeded, InvalidSubnetIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidSubnetIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeSubnets", pagination: { inputToken: "NextToken", @@ -88066,6 +89128,7 @@ export const describeSubnets: API.OperationMethod< export type DescribeTagsError = | RequestLimitExceeded | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes the specified tags for your EC2 resources. @@ -88103,7 +89166,7 @@ export const describeTags: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTagsRequest, output: DescribeTagsResult, - errors: [RequestLimitExceeded, ParseError], + errors: [RequestLimitExceeded, ParseError, UnauthorizedOperation], operationName: "DescribeTags", pagination: { inputToken: "NextToken", @@ -88130,6 +89193,7 @@ export const describeTrafficMirrorFilterRules: API.OperationMethod< export type DescribeTrafficMirrorFiltersError = | RequestLimitExceeded | InvalidTrafficMirrorFilterIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Traffic Mirror filters. @@ -88157,7 +89221,11 @@ export const describeTrafficMirrorFilters: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTrafficMirrorFiltersRequest, output: DescribeTrafficMirrorFiltersResult, - errors: [RequestLimitExceeded, InvalidTrafficMirrorFilterIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidTrafficMirrorFilterIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTrafficMirrorFilters", pagination: { inputToken: "NextToken", @@ -88169,6 +89237,7 @@ export const describeTrafficMirrorFilters: API.OperationMethod< export type DescribeTrafficMirrorSessionsError = | RequestLimitExceeded | InvalidTrafficMirrorSessionIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results. @@ -88196,7 +89265,11 @@ export const describeTrafficMirrorSessions: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTrafficMirrorSessionsRequest, output: DescribeTrafficMirrorSessionsResult, - errors: [RequestLimitExceeded, InvalidTrafficMirrorSessionIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidTrafficMirrorSessionIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTrafficMirrorSessions", pagination: { inputToken: "NextToken", @@ -88208,6 +89281,7 @@ export const describeTrafficMirrorSessions: API.OperationMethod< export type DescribeTrafficMirrorTargetsError = | RequestLimitExceeded | InvalidTrafficMirrorTargetIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Information about one or more Traffic Mirror targets. @@ -88235,7 +89309,11 @@ export const describeTrafficMirrorTargets: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTrafficMirrorTargetsRequest, output: DescribeTrafficMirrorTargetsResult, - errors: [RequestLimitExceeded, InvalidTrafficMirrorTargetIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidTrafficMirrorTargetIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTrafficMirrorTargets", pagination: { inputToken: "NextToken", @@ -88248,6 +89326,7 @@ export type DescribeTransitGatewayAttachmentsError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more attachments between resources and transit gateways. By default, all attachments are described. @@ -88280,6 +89359,7 @@ export const describeTransitGatewayAttachments: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeTransitGatewayAttachments", pagination: { @@ -88292,6 +89372,7 @@ export const describeTransitGatewayAttachments: API.OperationMethod< export type DescribeTransitGatewayConnectPeersError = | RequestLimitExceeded | InvalidTransitGatewayConnectPeerIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Connect peers. @@ -88319,7 +89400,11 @@ export const describeTransitGatewayConnectPeers: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewayConnectPeersRequest, output: DescribeTransitGatewayConnectPeersResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayConnectPeerIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayConnectPeerIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayConnectPeers", pagination: { inputToken: "NextToken", @@ -88331,6 +89416,7 @@ export const describeTransitGatewayConnectPeers: API.OperationMethod< export type DescribeTransitGatewayConnectsError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more Connect attachments. @@ -88358,7 +89444,11 @@ export const describeTransitGatewayConnects: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewayConnectsRequest, output: DescribeTransitGatewayConnectsResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayConnects", pagination: { inputToken: "NextToken", @@ -88370,6 +89460,7 @@ export const describeTransitGatewayConnects: API.OperationMethod< export type DescribeTransitGatewayMeteringPoliciesError = | RequestLimitExceeded | InvalidTransitGatewayMeteringPolicyIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more transit gateway metering policies. @@ -88382,12 +89473,17 @@ export const describeTransitGatewayMeteringPolicies: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeTransitGatewayMeteringPoliciesRequest, output: DescribeTransitGatewayMeteringPoliciesResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayMeteringPolicyIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayMeteringPolicyIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayMeteringPolicies", })); export type DescribeTransitGatewayMulticastDomainsError = | RequestLimitExceeded | InvalidTransitGatewayMulticastDomainIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more transit gateway multicast domains. @@ -88418,6 +89514,7 @@ export const describeTransitGatewayMulticastDomains: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidTransitGatewayMulticastDomainIdNotFound, + UnauthorizedOperation, ], operationName: "DescribeTransitGatewayMulticastDomains", pagination: { @@ -88430,6 +89527,7 @@ export const describeTransitGatewayMulticastDomains: API.OperationMethod< export type DescribeTransitGatewayPeeringAttachmentsError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes your transit gateway peering attachments. @@ -88457,7 +89555,11 @@ export const describeTransitGatewayPeeringAttachments: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewayPeeringAttachmentsRequest, output: DescribeTransitGatewayPeeringAttachmentsResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayPeeringAttachments", pagination: { inputToken: "NextToken", @@ -88469,6 +89571,7 @@ export const describeTransitGatewayPeeringAttachments: API.OperationMethod< export type DescribeTransitGatewayPolicyTablesError = | RequestLimitExceeded | InvalidTransitGatewayPolicyTableIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more transit gateway route policy tables. @@ -88496,7 +89599,11 @@ export const describeTransitGatewayPolicyTables: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewayPolicyTablesRequest, output: DescribeTransitGatewayPolicyTablesResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayPolicyTableIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayPolicyTableIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayPolicyTables", pagination: { inputToken: "NextToken", @@ -88508,6 +89615,7 @@ export const describeTransitGatewayPolicyTables: API.OperationMethod< export type DescribeTransitGatewayRouteTableAnnouncementsError = | RequestLimitExceeded | InvalidTransitGatewayRouteTableAnnouncementIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes one or more transit gateway route table advertisements. @@ -88538,6 +89646,7 @@ export const describeTransitGatewayRouteTableAnnouncements: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidTransitGatewayRouteTableAnnouncementIdMalformed, + UnauthorizedOperation, ], operationName: "DescribeTransitGatewayRouteTableAnnouncements", pagination: { @@ -88551,6 +89660,7 @@ export type DescribeTransitGatewayRouteTablesError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more transit gateway route tables. By default, all transit gateway route tables are described. @@ -88579,7 +89689,12 @@ export const describeTransitGatewayRouteTables: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewayRouteTablesRequest, output: DescribeTransitGatewayRouteTablesResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayRouteTables", pagination: { inputToken: "NextToken", @@ -88592,6 +89707,7 @@ export type DescribeTransitGatewaysError = | RequestLimitExceeded | InvalidTransitGatewayIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more transit gateways. By default, all transit gateways are described. Alternatively, you can @@ -88620,7 +89736,12 @@ export const describeTransitGateways: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewaysRequest, output: DescribeTransitGatewaysResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeTransitGateways", pagination: { inputToken: "NextToken", @@ -88632,6 +89753,7 @@ export const describeTransitGateways: API.OperationMethod< export type DescribeTransitGatewayVpcAttachmentsError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more VPC attachments. By default, all VPC attachments are described. @@ -88660,7 +89782,11 @@ export const describeTransitGatewayVpcAttachments: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTransitGatewayVpcAttachmentsRequest, output: DescribeTransitGatewayVpcAttachmentsResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeTransitGatewayVpcAttachments", pagination: { inputToken: "NextToken", @@ -88672,6 +89798,7 @@ export const describeTransitGatewayVpcAttachments: API.OperationMethod< export type DescribeTrunkInterfaceAssociationsError = | RequestLimitExceeded | OperationNotPermitted + | UnauthorizedOperation | CommonErrors; /** * Describes one or more network interface trunk associations. @@ -88699,7 +89826,7 @@ export const describeTrunkInterfaceAssociations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeTrunkInterfaceAssociationsRequest, output: DescribeTrunkInterfaceAssociationsResult, - errors: [RequestLimitExceeded, OperationNotPermitted], + errors: [RequestLimitExceeded, OperationNotPermitted, UnauthorizedOperation], operationName: "DescribeTrunkInterfaceAssociations", pagination: { inputToken: "NextToken", @@ -88711,6 +89838,7 @@ export const describeTrunkInterfaceAssociations: API.OperationMethod< export type DescribeVerifiedAccessEndpointsError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Amazon Web Services Verified Access endpoints. @@ -88738,7 +89866,11 @@ export const describeVerifiedAccessEndpoints: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVerifiedAccessEndpointsRequest, output: DescribeVerifiedAccessEndpointsResult, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "DescribeVerifiedAccessEndpoints", pagination: { inputToken: "NextToken", @@ -88750,6 +89882,7 @@ export const describeVerifiedAccessEndpoints: API.OperationMethod< export type DescribeVerifiedAccessGroupsError = | RequestLimitExceeded | InvalidVerifiedAccessGroupIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Verified Access groups. @@ -88777,7 +89910,11 @@ export const describeVerifiedAccessGroups: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVerifiedAccessGroupsRequest, output: DescribeVerifiedAccessGroupsResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessGroupIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessGroupIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeVerifiedAccessGroups", pagination: { inputToken: "NextToken", @@ -88789,6 +89926,7 @@ export const describeVerifiedAccessGroups: API.OperationMethod< export type DescribeVerifiedAccessInstanceLoggingConfigurationsError = | RequestLimitExceeded | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Amazon Web Services Verified Access instances. @@ -88816,7 +89954,11 @@ export const describeVerifiedAccessInstanceLoggingConfigurations: API.OperationM } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVerifiedAccessInstanceLoggingConfigurationsRequest, output: DescribeVerifiedAccessInstanceLoggingConfigurationsResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessInstanceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeVerifiedAccessInstanceLoggingConfigurations", pagination: { inputToken: "NextToken", @@ -88828,6 +89970,7 @@ export const describeVerifiedAccessInstanceLoggingConfigurations: API.OperationM export type DescribeVerifiedAccessInstancesError = | RequestLimitExceeded | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Amazon Web Services Verified Access instances. @@ -88855,7 +89998,11 @@ export const describeVerifiedAccessInstances: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVerifiedAccessInstancesRequest, output: DescribeVerifiedAccessInstancesResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessInstanceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeVerifiedAccessInstances", pagination: { inputToken: "NextToken", @@ -88867,6 +90014,7 @@ export const describeVerifiedAccessInstances: API.OperationMethod< export type DescribeVerifiedAccessTrustProvidersError = | RequestLimitExceeded | InvalidVerifiedAccessTrustProviderIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified Amazon Web Services Verified Access trust providers. @@ -88894,7 +90042,11 @@ export const describeVerifiedAccessTrustProviders: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVerifiedAccessTrustProvidersRequest, output: DescribeVerifiedAccessTrustProvidersResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessTrustProviderIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessTrustProviderIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeVerifiedAccessTrustProviders", pagination: { inputToken: "NextToken", @@ -88908,6 +90060,7 @@ export type DescribeVolumeAttributeError = | InvalidParameterCombination | InvalidParameterValue | InvalidVolumeNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified attribute of the specified volume. You can specify only one @@ -88928,6 +90081,7 @@ export const describeVolumeAttribute: API.OperationMethod< InvalidParameterCombination, InvalidParameterValue, InvalidVolumeNotFound, + UnauthorizedOperation, ], operationName: "DescribeVolumeAttribute", })); @@ -88936,6 +90090,7 @@ export type DescribeVolumesError = | InvalidParameterValue | InvalidVolumeNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes the specified EBS volumes or all of your EBS volumes. @@ -88980,6 +90135,7 @@ export const describeVolumes: API.OperationMethod< InvalidParameterValue, InvalidVolumeNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeVolumes", pagination: { @@ -88992,6 +90148,7 @@ export const describeVolumes: API.OperationMethod< export type DescribeVolumesModificationsError = | RequestLimitExceeded | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the most recent volume modification request for the specified EBS volumes. @@ -89022,7 +90179,11 @@ export const describeVolumesModifications: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVolumesModificationsRequest, output: DescribeVolumesModificationsResult, - errors: [RequestLimitExceeded, InvalidVolumeIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidVolumeIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeVolumesModifications", pagination: { inputToken: "NextToken", @@ -89034,6 +90195,7 @@ export const describeVolumesModifications: API.OperationMethod< export type DescribeVolumeStatusError = | RequestLimitExceeded | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the status of the specified volumes. Volume status provides the result of the @@ -89100,7 +90262,11 @@ export const describeVolumeStatus: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVolumeStatusRequest, output: DescribeVolumeStatusResult, - errors: [RequestLimitExceeded, InvalidVolumeIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidVolumeIDMalformed, + UnauthorizedOperation, + ], operationName: "DescribeVolumeStatus", pagination: { inputToken: "NextToken", @@ -89113,6 +90279,7 @@ export type DescribeVpcAttributeError = | RequestLimitExceeded | InvalidParameterCombination | InvalidVpcIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the specified attribute of the specified VPC. You can specify only one attribute at a time. @@ -89129,6 +90296,7 @@ export const describeVpcAttribute: API.OperationMethod< RequestLimitExceeded, InvalidParameterCombination, InvalidVpcIDNotFound, + UnauthorizedOperation, ], operationName: "DescribeVpcAttribute", })); @@ -89136,6 +90304,7 @@ export type DescribeVpcBlockPublicAccessExclusionsError = | RequestLimitExceeded | MissingParameter | VpcBlockPublicAccessExclusionIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describe VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on. To learn more about VPC BPA, see Block public access to VPCs and subnets in the *Amazon VPC User Guide*. @@ -89152,6 +90321,7 @@ export const describeVpcBlockPublicAccessExclusions: API.OperationMethod< RequestLimitExceeded, MissingParameter, VpcBlockPublicAccessExclusionIdMalformed, + UnauthorizedOperation, ], operationName: "DescribeVpcBlockPublicAccessExclusions", })); @@ -89174,6 +90344,7 @@ export type DescribeVpcClassicLinkError = | RequestLimitExceeded | InvalidVpcIDNotFound | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -89188,12 +90359,18 @@ export const describeVpcClassicLink: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVpcClassicLinkRequest, output: DescribeVpcClassicLinkResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound, InvalidVpcIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidVpcIDNotFound, + InvalidVpcIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeVpcClassicLink", })); export type DescribeVpcClassicLinkDnsSupportError = | RequestLimitExceeded | InvalidVpcIDNotFound + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -89227,7 +90404,7 @@ export const describeVpcClassicLinkDnsSupport: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVpcClassicLinkDnsSupportRequest, output: DescribeVpcClassicLinkDnsSupportResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound], + errors: [RequestLimitExceeded, InvalidVpcIDNotFound, UnauthorizedOperation], operationName: "DescribeVpcClassicLinkDnsSupport", pagination: { inputToken: "NextToken", @@ -89239,6 +90416,7 @@ export const describeVpcClassicLinkDnsSupport: API.OperationMethod< export type DescribeVpcEncryptionControlsError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Describes one or more VPC Encryption Control configurations. VPC Encryption Control enables you to enforce encryption for all data in transit within and between VPCs to meet compliance requirements You can filter the results to return information about specific encryption controls or VPCs. @@ -89253,7 +90431,11 @@ export const describeVpcEncryptionControls: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVpcEncryptionControlsRequest, output: DescribeVpcEncryptionControlsResult, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "DescribeVpcEncryptionControls", })); export type DescribeVpcEndpointAssociationsError = CommonErrors; @@ -89275,6 +90457,7 @@ export const describeVpcEndpointAssociations: API.OperationMethod< export type DescribeVpcEndpointConnectionNotificationsError = | RequestLimitExceeded | InvalidConnectionNotification + | UnauthorizedOperation | CommonErrors; /** * Describes the connection notifications for VPC endpoints and VPC endpoint @@ -89303,7 +90486,11 @@ export const describeVpcEndpointConnectionNotifications: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVpcEndpointConnectionNotificationsRequest, output: DescribeVpcEndpointConnectionNotificationsResult, - errors: [RequestLimitExceeded, InvalidConnectionNotification], + errors: [ + RequestLimitExceeded, + InvalidConnectionNotification, + UnauthorizedOperation, + ], operationName: "DescribeVpcEndpointConnectionNotifications", pagination: { inputToken: "NextToken", @@ -89353,6 +90540,7 @@ export type DescribeVpcEndpointsError = | RequestLimitExceeded | InvalidVpcEndpointIdNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your VPC endpoints. The default is to describe all your VPC endpoints. @@ -89382,7 +90570,12 @@ export const describeVpcEndpoints: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVpcEndpointsRequest, output: DescribeVpcEndpointsResult, - errors: [RequestLimitExceeded, InvalidVpcEndpointIdNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidVpcEndpointIdNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeVpcEndpoints", pagination: { inputToken: "NextToken", @@ -89394,6 +90587,7 @@ export const describeVpcEndpoints: API.OperationMethod< export type DescribeVpcEndpointServiceConfigurationsError = | RequestLimitExceeded | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the VPC endpoint service configurations in your account (your services). @@ -89421,7 +90615,11 @@ export const describeVpcEndpointServiceConfigurations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVpcEndpointServiceConfigurationsRequest, output: DescribeVpcEndpointServiceConfigurationsResult, - errors: [RequestLimitExceeded, InvalidVpcEndpointServiceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, + ], operationName: "DescribeVpcEndpointServiceConfigurations", pagination: { inputToken: "NextToken", @@ -89434,6 +90632,7 @@ export type DescribeVpcEndpointServicePermissionsError = | RequestLimitExceeded | InvalidVpcEndpointServiceIdMalformed | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes the principals (service consumers) that are permitted to discover your VPC @@ -89466,6 +90665,7 @@ export const describeVpcEndpointServicePermissions: API.OperationMethod< RequestLimitExceeded, InvalidVpcEndpointServiceIdMalformed, InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, ], operationName: "DescribeVpcEndpointServicePermissions", pagination: { @@ -89478,6 +90678,7 @@ export const describeVpcEndpointServicePermissions: API.OperationMethod< export type DescribeVpcEndpointServicesError = | RequestLimitExceeded | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes available services to which you can create a VPC endpoint. @@ -89498,13 +90699,14 @@ export const describeVpcEndpointServices: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVpcEndpointServicesRequest, output: DescribeVpcEndpointServicesResult, - errors: [RequestLimitExceeded, ParseError], + errors: [RequestLimitExceeded, ParseError, UnauthorizedOperation], operationName: "DescribeVpcEndpointServices", })); export type DescribeVpcPeeringConnectionsError = | RequestLimitExceeded | InvalidVpcPeeringConnectionIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes your VPC peering connections. The default is to describe all your VPC peering connections. @@ -89538,6 +90740,7 @@ export const describeVpcPeeringConnections: API.OperationMethod< RequestLimitExceeded, InvalidVpcPeeringConnectionIDNotFound, ParseError, + UnauthorizedOperation, ], operationName: "DescribeVpcPeeringConnections", pagination: { @@ -89552,6 +90755,7 @@ export type DescribeVpcsError = | InvalidVpcIDNotFound | ParseError | RequestError + | UnauthorizedOperation | CommonErrors; /** * Describes your VPCs. The default is to describe all your VPCs. @@ -89586,6 +90790,7 @@ export const describeVpcs: API.OperationMethod< InvalidVpcIDNotFound, ParseError, RequestError, + UnauthorizedOperation, ], operationName: "DescribeVpcs", pagination: { @@ -89598,6 +90803,7 @@ export const describeVpcs: API.OperationMethod< export type DescribeVpnConcentratorsError = | RequestLimitExceeded | InvalidVpnConcentratorIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your VPN concentrators. @@ -89625,7 +90831,11 @@ export const describeVpnConcentrators: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeVpnConcentratorsRequest, output: DescribeVpnConcentratorsResult, - errors: [RequestLimitExceeded, InvalidVpnConcentratorIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidVpnConcentratorIdMalformed, + UnauthorizedOperation, + ], operationName: "DescribeVpnConcentrators", pagination: { inputToken: "NextToken", @@ -89637,6 +90847,7 @@ export const describeVpnConcentrators: API.OperationMethod< export type DescribeVpnConnectionsError = | RequestLimitExceeded | InvalidVpnConnectionIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your VPN connections. @@ -89652,13 +90863,18 @@ export const describeVpnConnections: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVpnConnectionsRequest, output: DescribeVpnConnectionsResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidVpnConnectionIDNotFound, + UnauthorizedOperation, + ], operationName: "DescribeVpnConnections", })); export type DescribeVpnGatewaysError = | RequestLimitExceeded | InvalidVpnGatewayIDNotFound | ParseError + | UnauthorizedOperation | CommonErrors; /** * Describes one or more of your virtual private gateways. @@ -89674,7 +90890,12 @@ export const describeVpnGateways: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVpnGatewaysRequest, output: DescribeVpnGatewaysResult, - errors: [RequestLimitExceeded, InvalidVpnGatewayIDNotFound, ParseError], + errors: [ + RequestLimitExceeded, + InvalidVpnGatewayIDNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeVpnGateways", })); export type DetachClassicLinkVpcError = @@ -89683,6 +90904,7 @@ export type DetachClassicLinkVpcError = | InvalidInstanceIDMalformed | InvalidVpcIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -89705,6 +90927,7 @@ export const detachClassicLinkVpc: API.OperationMethod< InvalidInstanceIDMalformed, InvalidVpcIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DetachClassicLinkVpc", })); @@ -89736,6 +90959,7 @@ export type DetachInternetGatewayError = | InvalidInternetGatewayIDNotFound | InvalidInternetGatewayIdMalformed | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Detaches an internet gateway from a VPC, disabling connectivity between the internet @@ -89757,6 +90981,7 @@ export const detachInternetGateway: API.OperationMethod< InvalidInternetGatewayIDNotFound, InvalidInternetGatewayIdMalformed, InvalidVpcIdMalformed, + UnauthorizedOperation, ], operationName: "DetachInternetGateway", })); @@ -89765,6 +90990,7 @@ export type DetachNetworkInterfaceError = | DependencyViolation | InvalidAttachmentIDNotFound | InvalidNetworkInterfaceAttachmentIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Detaches a network interface from an instance. @@ -89782,6 +91008,7 @@ export const detachNetworkInterface: API.OperationMethod< DependencyViolation, InvalidAttachmentIDNotFound, InvalidNetworkInterfaceAttachmentIdMalformed, + UnauthorizedOperation, ], operationName: "DetachNetworkInterface", })); @@ -89789,6 +91016,7 @@ export type DetachVerifiedAccessTrustProviderError = | RequestLimitExceeded | DependencyViolation | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Detaches the specified Amazon Web Services Verified Access trust provider from the specified Amazon Web Services Verified Access instance. @@ -89805,6 +91033,7 @@ export const detachVerifiedAccessTrustProvider: API.OperationMethod< RequestLimitExceeded, DependencyViolation, InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, ], operationName: "DetachVerifiedAccessTrustProvider", })); @@ -89814,6 +91043,7 @@ export type DetachVolumeError = | IncorrectState | InvalidParameterValue | InvalidVolumeNotFound + | UnauthorizedOperation | CommonErrors; /** * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the @@ -89848,6 +91078,7 @@ export const detachVolume: API.OperationMethod< IncorrectState, InvalidParameterValue, InvalidVolumeNotFound, + UnauthorizedOperation, ], operationName: "DetachVolume", })); @@ -89857,6 +91088,7 @@ export type DetachVpnGatewayError = | IncorrectState | InvalidVpnGatewayIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Detaches a virtual private gateway from a VPC. You do this if you're planning to turn @@ -89881,12 +91113,14 @@ export const detachVpnGateway: API.OperationMethod< IncorrectState, InvalidVpnGatewayIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DetachVpnGateway", })); export type DisableAddressTransferError = | RequestLimitExceeded | InvalidElasticIpIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Disables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the *Amazon VPC User Guide*. @@ -89899,7 +91133,11 @@ export const disableAddressTransfer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableAddressTransferRequest, output: DisableAddressTransferResult, - errors: [RequestLimitExceeded, InvalidElasticIpIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidElasticIpIDNotFound, + UnauthorizedOperation, + ], operationName: "DisableAddressTransfer", })); export type DisableAllowedImagesSettingsError = CommonErrors; @@ -89931,6 +91169,7 @@ export const disableAllowedImagesSettings: API.OperationMethod< export type DisableAwsNetworkPerformanceMetricSubscriptionError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disables Infrastructure Performance metric subscriptions. @@ -89943,12 +91182,13 @@ export const disableAwsNetworkPerformanceMetricSubscription: API.OperationMethod > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableAwsNetworkPerformanceMetricSubscriptionRequest, output: DisableAwsNetworkPerformanceMetricSubscriptionResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DisableAwsNetworkPerformanceMetricSubscription", })); export type DisableCapacityManagerError = | RequestLimitExceeded | CapacityManagerDisabled + | UnauthorizedOperation | CommonErrors; /** * Disables EC2 Capacity Manager for your account. This stops data ingestion and removes access to capacity analytics and optimization recommendations. @@ -89962,7 +91202,11 @@ export const disableCapacityManager: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableCapacityManagerRequest, output: DisableCapacityManagerResult, - errors: [RequestLimitExceeded, CapacityManagerDisabled], + errors: [ + RequestLimitExceeded, + CapacityManagerDisabled, + UnauthorizedOperation, + ], operationName: "DisableCapacityManager", })); export type DisableEbsEncryptionByDefaultError = CommonErrors; @@ -89992,6 +91236,7 @@ export const disableEbsEncryptionByDefault: API.OperationMethod< export type DisableFastLaunchError = | RequestLimitExceeded | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned @@ -90010,12 +91255,13 @@ export const disableFastLaunch: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableFastLaunchRequest, output: DisableFastLaunchResult, - errors: [RequestLimitExceeded, InvalidRequest], + errors: [RequestLimitExceeded, InvalidRequest, UnauthorizedOperation], operationName: "DisableFastLaunch", })); export type DisableFastSnapshotRestoresError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disables fast snapshot restores for the specified snapshots in the specified Availability Zones. @@ -90028,12 +91274,13 @@ export const disableFastSnapshotRestores: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableFastSnapshotRestoresRequest, output: DisableFastSnapshotRestoresResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DisableFastSnapshotRestores", })); export type DisableImageError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Sets the AMI state to `disabled` and removes all launch permissions from the @@ -90061,7 +91308,7 @@ export const disableImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableImageRequest, output: DisableImageResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "DisableImage", })); export type DisableImageBlockPublicAccessError = CommonErrors; @@ -90088,6 +91335,7 @@ export const disableImageBlockPublicAccess: API.OperationMethod< export type DisableImageDeprecationError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Cancels the deprecation of the specified AMI. @@ -90103,12 +91351,13 @@ export const disableImageDeprecation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableImageDeprecationRequest, output: DisableImageDeprecationResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "DisableImageDeprecation", })); export type DisableImageDeregistrationProtectionError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Disables deregistration protection for an AMI. When deregistration protection is disabled, @@ -90129,12 +91378,13 @@ export const disableImageDeregistrationProtection: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableImageDeregistrationProtectionRequest, output: DisableImageDeregistrationProtectionResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "DisableImageDeregistrationProtection", })); export type DisableInstanceSqlHaStandbyDetectionsError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Disable Amazon EC2 instances running in an SQL Server High Availability cluster from SQL Server High Availability @@ -90150,12 +91400,17 @@ export const disableInstanceSqlHaStandbyDetections: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableInstanceSqlHaStandbyDetectionsRequest, output: DisableInstanceSqlHaStandbyDetectionsResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "DisableInstanceSqlHaStandbyDetections", })); export type DisableIpamOrganizationAdminAccountError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Disable the IPAM account. For more information, see Enable integration with Organizations in the *Amazon VPC IPAM User Guide*. @@ -90168,13 +91423,14 @@ export const disableIpamOrganizationAdminAccount: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableIpamOrganizationAdminAccountRequest, output: DisableIpamOrganizationAdminAccountResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DisableIpamOrganizationAdminAccount", })); export type DisableIpamPolicyError = | RequestLimitExceeded | InvalidIpamPolicyIdMalformed | InvalidIpamPolicyIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Disables an IPAM policy. @@ -90193,12 +91449,14 @@ export const disableIpamPolicy: API.OperationMethod< RequestLimitExceeded, InvalidIpamPolicyIdMalformed, InvalidIpamPolicyIdNotFound, + UnauthorizedOperation, ], operationName: "DisableIpamPolicy", })); export type DisableRouteServerPropagationError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Disables route propagation from a route server to a specified route table. @@ -90228,7 +91486,11 @@ export const disableRouteServerPropagation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableRouteServerPropagationRequest, output: DisableRouteServerPropagationResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "DisableRouteServerPropagation", })); export type DisableSerialConsoleAccessError = CommonErrors; @@ -90281,6 +91543,7 @@ export const disableSnapshotBlockPublicAccess: API.OperationMethod< export type DisableTransitGatewayRouteTablePropagationError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disables the specified resource attachment from propagating routes to the specified @@ -90294,12 +91557,13 @@ export const disableTransitGatewayRouteTablePropagation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableTransitGatewayRouteTablePropagationRequest, output: DisableTransitGatewayRouteTablePropagationResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "DisableTransitGatewayRouteTablePropagation", })); export type DisableVgwRoutePropagationError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Disables a virtual private gateway (VGW) from propagating routes to a specified route @@ -90313,13 +91577,18 @@ export const disableVgwRoutePropagation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableVgwRoutePropagationRequest, output: DisableVgwRoutePropagationResponse, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "DisableVgwRoutePropagation", })); export type DisableVpcClassicLinkError = | RequestLimitExceeded | InvalidVpcIDNotFound | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -90335,13 +91604,19 @@ export const disableVpcClassicLink: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableVpcClassicLinkRequest, output: DisableVpcClassicLinkResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound, InvalidVpcIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidVpcIDNotFound, + InvalidVpcIdMalformed, + UnauthorizedOperation, + ], operationName: "DisableVpcClassicLink", })); export type DisableVpcClassicLinkDnsSupportError = | RequestLimitExceeded | InvalidVpcIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -90360,13 +91635,19 @@ export const disableVpcClassicLinkDnsSupport: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisableVpcClassicLinkDnsSupportRequest, output: DisableVpcClassicLinkDnsSupportResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidVpcIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DisableVpcClassicLinkDnsSupport", })); export type DisassociateAddressError = | RequestLimitExceeded | InvalidAssociationIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates an Elastic IP address from the instance or network interface it's associated with. @@ -90393,6 +91674,7 @@ export const disassociateAddress: API.OperationMethod< RequestLimitExceeded, InvalidAssociationIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateAddress", })); @@ -90400,6 +91682,7 @@ export type DisassociateCapacityReservationBillingOwnerError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Cancels a pending request to assign billing of the unused capacity of a Capacity @@ -90419,6 +91702,7 @@ export const disassociateCapacityReservationBillingOwner: API.OperationMethod< RequestLimitExceeded, InvalidCapacityReservationIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateCapacityReservationBillingOwner", })); @@ -90426,6 +91710,7 @@ export type DisassociateClientVpnTargetNetworkError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates a target network from the specified Client VPN endpoint. When you disassociate the @@ -90451,6 +91736,7 @@ export const disassociateClientVpnTargetNetwork: API.OperationMethod< RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateClientVpnTargetNetwork", })); @@ -90458,6 +91744,7 @@ export type DisassociateEnclaveCertificateIamRoleError = | RequestLimitExceeded | InvalidCertificateArnMalformed | InvalidRoleArnMalformed + | UnauthorizedOperation | CommonErrors; /** * Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating an IAM role @@ -90478,12 +91765,14 @@ export const disassociateEnclaveCertificateIamRole: API.OperationMethod< RequestLimitExceeded, InvalidCertificateArnMalformed, InvalidRoleArnMalformed, + UnauthorizedOperation, ], operationName: "DisassociateEnclaveCertificateIamRole", })); export type DisassociateIamInstanceProfileError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Disassociates an IAM instance profile from a running or stopped instance. @@ -90499,13 +91788,14 @@ export const disassociateIamInstanceProfile: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisassociateIamInstanceProfileRequest, output: DisassociateIamInstanceProfileResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "DisassociateIamInstanceProfile", })); export type DisassociateInstanceEventWindowError = | RequestLimitExceeded | DependencyViolation | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates one or more targets from an event window. @@ -90521,12 +91811,18 @@ export const disassociateInstanceEventWindow: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisassociateInstanceEventWindowRequest, output: DisassociateInstanceEventWindowResult, - errors: [RequestLimitExceeded, DependencyViolation, MissingParameter], + errors: [ + RequestLimitExceeded, + DependencyViolation, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DisassociateInstanceEventWindow", })); export type DisassociateIpamByoasnError = | RequestLimitExceeded | InvalidCidrNotFound + | UnauthorizedOperation | CommonErrors; /** * Remove the association between your Autonomous System Number (ASN) and your BYOIP CIDR. You may want to use this action to disassociate an ASN from a CIDR or if you want to swap ASNs. @@ -90540,13 +91836,14 @@ export const disassociateIpamByoasn: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisassociateIpamByoasnRequest, output: DisassociateIpamByoasnResult, - errors: [RequestLimitExceeded, InvalidCidrNotFound], + errors: [RequestLimitExceeded, InvalidCidrNotFound, UnauthorizedOperation], operationName: "DisassociateIpamByoasn", })); export type DisassociateIpamResourceDiscoveryError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryAssociationIdMalformed | InvalidIpamResourceDiscoveryAssociationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -90563,6 +91860,7 @@ export const disassociateIpamResourceDiscovery: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryAssociationIdMalformed, InvalidIpamResourceDiscoveryAssociationIdNotFound, + UnauthorizedOperation, ], operationName: "DisassociateIpamResourceDiscovery", })); @@ -90571,6 +91869,7 @@ export type DisassociateNatGatewayAddressError = | MissingParameter | NatGatewayMalformed | NatGatewayNotFound + | UnauthorizedOperation | CommonErrors; /** * Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. @@ -90597,6 +91896,7 @@ export const disassociateNatGatewayAddress: API.OperationMethod< MissingParameter, NatGatewayMalformed, NatGatewayNotFound, + UnauthorizedOperation, ], operationName: "DisassociateNatGatewayAddress", })); @@ -90605,6 +91905,7 @@ export type DisassociateRouteServerError = | InvalidRouteServerIdNotFound | InvalidVpcIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates a route server from a VPC. @@ -90626,6 +91927,7 @@ export const disassociateRouteServer: API.OperationMethod< InvalidRouteServerIdNotFound, InvalidVpcIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateRouteServer", })); @@ -90634,6 +91936,7 @@ export type DisassociateRouteTableError = | InvalidAssociationIDNotFound | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates a subnet or gateway from a route table. @@ -90656,6 +91959,7 @@ export const disassociateRouteTable: API.OperationMethod< InvalidAssociationIDNotFound, InvalidRouteTableIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateRouteTable", })); @@ -90663,6 +91967,7 @@ export type DisassociateSecurityGroupVpcError = | RequestLimitExceeded | InvalidGroupIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates a security group from a VPC. You cannot disassociate the security group if any Elastic network interfaces in the associated VPC are still associated with the security group. @@ -90677,13 +91982,19 @@ export const disassociateSecurityGroupVpc: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisassociateSecurityGroupVpcRequest, output: DisassociateSecurityGroupVpcResult, - errors: [RequestLimitExceeded, InvalidGroupIdMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidGroupIdMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DisassociateSecurityGroupVpc", })); export type DisassociateSubnetCidrBlockError = | RequestLimitExceeded | InvalidSubnetCidrBlockAssociationIDNotFound | InvalidSubnetCidrBlockAssociationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it. @@ -90700,6 +92011,7 @@ export const disassociateSubnetCidrBlock: API.OperationMethod< RequestLimitExceeded, InvalidSubnetCidrBlockAssociationIDNotFound, InvalidSubnetCidrBlockAssociationIdMalformed, + UnauthorizedOperation, ], operationName: "DisassociateSubnetCidrBlock", })); @@ -90707,6 +92019,7 @@ export type DisassociateTransitGatewayMulticastDomainError = | RequestLimitExceeded | InvalidTransitGatewayMulticastDomainIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates the specified subnets from the transit gateway multicast domain. @@ -90723,6 +92036,7 @@ export const disassociateTransitGatewayMulticastDomain: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayMulticastDomainIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateTransitGatewayMulticastDomain", })); @@ -90731,6 +92045,7 @@ export type DisassociateTransitGatewayPolicyTableError = | InvalidTransitGatewayPolicyTableIdMalformed | InvalidTransitGatewayPolicyTableIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Removes the association between an an attachment and a policy table. @@ -90748,6 +92063,7 @@ export const disassociateTransitGatewayPolicyTable: API.OperationMethod< InvalidTransitGatewayPolicyTableIdMalformed, InvalidTransitGatewayPolicyTableIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "DisassociateTransitGatewayPolicyTable", })); @@ -90755,6 +92071,7 @@ export type DisassociateTransitGatewayRouteTableError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disassociates a resource attachment from a transit gateway route table. @@ -90767,12 +92084,18 @@ export const disassociateTransitGatewayRouteTable: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisassociateTransitGatewayRouteTableRequest, output: DisassociateTransitGatewayRouteTableResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "DisassociateTransitGatewayRouteTable", })); export type DisassociateTrunkInterfaceError = | RequestLimitExceeded | OperationNotPermitted + | UnauthorizedOperation | CommonErrors; /** * Removes an association between a branch network interface with a trunk network interface. @@ -90785,7 +92108,7 @@ export const disassociateTrunkInterface: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DisassociateTrunkInterfaceRequest, output: DisassociateTrunkInterfaceResult, - errors: [RequestLimitExceeded, OperationNotPermitted], + errors: [RequestLimitExceeded, OperationNotPermitted, UnauthorizedOperation], operationName: "DisassociateTrunkInterface", })); export type DisassociateVpcCidrBlockError = @@ -90794,6 +92117,7 @@ export type DisassociateVpcCidrBlockError = | InvalidVpcCidrBlockAssociationIdMalformed | InvalidVpcCidrBlockAssociationIdErrorNotFound | OperationNotPermitted + | UnauthorizedOperation | CommonErrors; /** * Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must @@ -90818,12 +92142,14 @@ export const disassociateVpcCidrBlock: API.OperationMethod< InvalidVpcCidrBlockAssociationIdMalformed, InvalidVpcCidrBlockAssociationIdErrorNotFound, OperationNotPermitted, + UnauthorizedOperation, ], operationName: "DisassociateVpcCidrBlock", })); export type EnableAddressTransferError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Enables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the *Amazon VPC User Guide*. @@ -90836,7 +92162,7 @@ export const enableAddressTransfer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableAddressTransferRequest, output: EnableAddressTransferResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "EnableAddressTransfer", })); export type EnableAllowedImagesSettingsError = CommonErrors; @@ -90880,6 +92206,7 @@ export const enableAllowedImagesSettings: API.OperationMethod< export type EnableAwsNetworkPerformanceMetricSubscriptionError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Enables Infrastructure Performance subscriptions. @@ -90892,7 +92219,7 @@ export const enableAwsNetworkPerformanceMetricSubscription: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableAwsNetworkPerformanceMetricSubscriptionRequest, output: EnableAwsNetworkPerformanceMetricSubscriptionResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "EnableAwsNetworkPerformanceMetricSubscription", })); export type EnableCapacityManagerError = CommonErrors; @@ -90941,6 +92268,7 @@ export const enableEbsEncryptionByDefault: API.OperationMethod< export type EnableFastLaunchError = | RequestLimitExceeded | InvalidRequest + | UnauthorizedOperation | CommonErrors; /** * When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using @@ -90961,12 +92289,13 @@ export const enableFastLaunch: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableFastLaunchRequest, output: EnableFastLaunchResult, - errors: [RequestLimitExceeded, InvalidRequest], + errors: [RequestLimitExceeded, InvalidRequest, UnauthorizedOperation], operationName: "EnableFastLaunch", })); export type EnableFastSnapshotRestoresError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Enables fast snapshot restores for the specified snapshots in the specified Availability Zones. @@ -90984,12 +92313,13 @@ export const enableFastSnapshotRestores: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableFastSnapshotRestoresRequest, output: EnableFastSnapshotRestoresResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "EnableFastSnapshotRestores", })); export type EnableImageError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Re-enables a disabled AMI. The re-enabled AMI is marked as `available` and can @@ -91011,12 +92341,13 @@ export const enableImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableImageRequest, output: EnableImageResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "EnableImage", })); export type EnableImageBlockPublicAccessError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Enables *block public access for AMIs* at the account level in the @@ -91039,12 +92370,13 @@ export const enableImageBlockPublicAccess: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableImageBlockPublicAccessRequest, output: EnableImageBlockPublicAccessResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "EnableImageBlockPublicAccess", })); export type EnableImageDeprecationError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Enables deprecation of the specified AMI at the specified date and time. @@ -91060,12 +92392,13 @@ export const enableImageDeprecation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableImageDeprecationRequest, output: EnableImageDeprecationResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "EnableImageDeprecation", })); export type EnableImageDeregistrationProtectionError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Enables deregistration protection for an AMI. When deregistration protection is enabled, @@ -91084,12 +92417,13 @@ export const enableImageDeregistrationProtection: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableImageDeregistrationProtectionRequest, output: EnableImageDeregistrationProtectionResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "EnableImageDeregistrationProtection", })); export type EnableInstanceSqlHaStandbyDetectionsError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Enable Amazon EC2 instances running in an SQL Server High Availability cluster for SQL Server High Availability @@ -91112,12 +92446,17 @@ export const enableInstanceSqlHaStandbyDetections: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableInstanceSqlHaStandbyDetectionsRequest, output: EnableInstanceSqlHaStandbyDetectionsResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "EnableInstanceSqlHaStandbyDetections", })); export type EnableIpamOrganizationAdminAccountError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Enable an Organizations member account as the IPAM admin account. You cannot select the Organizations management account as the IPAM admin account. For more information, see Enable integration with Organizations in the *Amazon VPC IPAM User Guide*. @@ -91130,13 +92469,14 @@ export const enableIpamOrganizationAdminAccount: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableIpamOrganizationAdminAccountRequest, output: EnableIpamOrganizationAdminAccountResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "EnableIpamOrganizationAdminAccount", })); export type EnableIpamPolicyError = | RequestLimitExceeded | InvalidIpamPolicyIdMalformed | InvalidIpamPolicyIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Enables an IPAM policy. @@ -91157,6 +92497,7 @@ export const enableIpamPolicy: API.OperationMethod< RequestLimitExceeded, InvalidIpamPolicyIdMalformed, InvalidIpamPolicyIdNotFound, + UnauthorizedOperation, ], operationName: "EnableIpamPolicy", })); @@ -91183,6 +92524,7 @@ export const enableReachabilityAnalyzerOrganizationSharing: API.OperationMethod< export type EnableRouteServerPropagationError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Defines which route tables the route server can update with routes. @@ -91199,7 +92541,11 @@ export const enableRouteServerPropagation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableRouteServerPropagationRequest, output: EnableRouteServerPropagationResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "EnableRouteServerPropagation", })); export type EnableSerialConsoleAccessError = CommonErrors; @@ -91222,6 +92568,7 @@ export const enableSerialConsoleAccess: API.OperationMethod< export type EnableSnapshotBlockPublicAccessError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Enables or modifies the *block public access for snapshots* @@ -91251,12 +92598,13 @@ export const enableSnapshotBlockPublicAccess: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableSnapshotBlockPublicAccessRequest, output: EnableSnapshotBlockPublicAccessResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "EnableSnapshotBlockPublicAccess", })); export type EnableTransitGatewayRouteTablePropagationError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Enables the specified attachment to propagate routes to the specified @@ -91270,12 +92618,13 @@ export const enableTransitGatewayRouteTablePropagation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableTransitGatewayRouteTablePropagationRequest, output: EnableTransitGatewayRouteTablePropagationResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "EnableTransitGatewayRouteTablePropagation", })); export type EnableVgwRoutePropagationError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Enables a virtual private gateway (VGW) to propagate routes to the specified route @@ -91289,7 +92638,11 @@ export const enableVgwRoutePropagation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableVgwRoutePropagationRequest, output: EnableVgwRoutePropagationResponse, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "EnableVgwRoutePropagation", })); export type EnableVolumeIOError = CommonErrors; @@ -91312,6 +92665,7 @@ export type EnableVpcClassicLinkError = | RequestLimitExceeded | InvalidVpcIDNotFound | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -91331,13 +92685,19 @@ export const enableVpcClassicLink: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableVpcClassicLinkRequest, output: EnableVpcClassicLinkResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound, InvalidVpcIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidVpcIDNotFound, + InvalidVpcIdMalformed, + UnauthorizedOperation, + ], operationName: "EnableVpcClassicLink", })); export type EnableVpcClassicLinkDnsSupportError = | RequestLimitExceeded | InvalidVpcIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -91358,12 +92718,18 @@ export const enableVpcClassicLinkDnsSupport: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: EnableVpcClassicLinkDnsSupportRequest, output: EnableVpcClassicLinkDnsSupportResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidVpcIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "EnableVpcClassicLinkDnsSupport", })); export type ExportClientVpnClientCertificateRevocationListError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Downloads the client certificate revocation list for the specified Client VPN endpoint. @@ -91376,12 +92742,17 @@ export const exportClientVpnClientCertificateRevocationList: API.OperationMethod > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ExportClientVpnClientCertificateRevocationListRequest, output: ExportClientVpnClientCertificateRevocationListResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "ExportClientVpnClientCertificateRevocationList", })); export type ExportClientVpnClientConfigurationError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint. The Client VPN endpoint configuration @@ -91396,12 +92767,17 @@ export const exportClientVpnClientConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ExportClientVpnClientConfigurationRequest, output: ExportClientVpnClientConfigurationResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "ExportClientVpnClientConfiguration", })); export type ExportImageError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting a VM @@ -91416,12 +92792,13 @@ export const exportImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ExportImageRequest, output: ExportImageResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ExportImage", })); export type ExportTransitGatewayRoutesError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Exports routes from the specified transit gateway route table to the specified S3 bucket. @@ -91439,12 +92816,17 @@ export const exportTransitGatewayRoutes: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ExportTransitGatewayRoutesRequest, output: ExportTransitGatewayRoutesResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "ExportTransitGatewayRoutes", })); export type ExportVerifiedAccessInstanceClientConfigurationError = | RequestLimitExceeded | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Exports the client configuration for a Verified Access instance. @@ -91457,12 +92839,17 @@ export const exportVerifiedAccessInstanceClientConfiguration: API.OperationMetho > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ExportVerifiedAccessInstanceClientConfigurationRequest, output: ExportVerifiedAccessInstanceClientConfigurationResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessInstanceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, + ], operationName: "ExportVerifiedAccessInstanceClientConfiguration", })); export type GetActiveVpnTunnelStatusError = | RequestLimitExceeded | InvalidVpnConnectionIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Returns the currently negotiated security parameters for an active VPN tunnel, including IKE version, DH groups, encryption algorithms, and integrity algorithms. @@ -91475,7 +92862,11 @@ export const getActiveVpnTunnelStatus: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetActiveVpnTunnelStatusRequest, output: GetActiveVpnTunnelStatusResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidVpnConnectionIDNotFound, + UnauthorizedOperation, + ], operationName: "GetActiveVpnTunnelStatus", })); export type GetAllowedImagesSettingsError = CommonErrors; @@ -91531,6 +92922,7 @@ export const getAssociatedEnclaveCertificateIamRoles: API.OperationMethod< export type GetAssociatedIpv6PoolCidrsError = | RequestLimitExceeded | InvalidIpv6PoolIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Gets information about the IPv6 CIDR block associations for a specified IPv6 address pool. @@ -91558,7 +92950,11 @@ export const getAssociatedIpv6PoolCidrs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetAssociatedIpv6PoolCidrsRequest, output: GetAssociatedIpv6PoolCidrsResult, - errors: [RequestLimitExceeded, InvalidIpv6PoolIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidIpv6PoolIDMalformed, + UnauthorizedOperation, + ], operationName: "GetAssociatedIpv6PoolCidrs", pagination: { inputToken: "NextToken", @@ -91570,6 +92966,7 @@ export const getAssociatedIpv6PoolCidrs: API.OperationMethod< export type GetAwsNetworkPerformanceDataError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Gets network performance data. @@ -91597,7 +92994,7 @@ export const getAwsNetworkPerformanceData: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetAwsNetworkPerformanceDataRequest, output: GetAwsNetworkPerformanceDataResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetAwsNetworkPerformanceData", pagination: { inputToken: "NextToken", @@ -91624,6 +93021,7 @@ export const getCapacityManagerAttributes: API.OperationMethod< export type GetCapacityManagerMetricDataError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Retrieves capacity usage metrics for your EC2 resources. Returns time-series data for metrics like unused capacity, utilization rates, and costs @@ -91652,7 +93050,7 @@ export const getCapacityManagerMetricData: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetCapacityManagerMetricDataRequest, output: GetCapacityManagerMetricDataResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetCapacityManagerMetricData", pagination: { inputToken: "NextToken", @@ -91664,6 +93062,7 @@ export const getCapacityManagerMetricData: API.OperationMethod< export type GetCapacityManagerMetricDimensionsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Retrieves the available dimension values for capacity metrics within a specified time range. This is useful for discovering what accounts, @@ -91692,7 +93091,7 @@ export const getCapacityManagerMetricDimensions: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetCapacityManagerMetricDimensionsRequest, output: GetCapacityManagerMetricDimensionsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetCapacityManagerMetricDimensions", pagination: { inputToken: "NextToken", @@ -91740,6 +93139,7 @@ export const getCapacityManagerMonitoredTagKeys: API.OperationMethod< export type GetCapacityReservationUsageError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Gets usage information about a Capacity Reservation. If the Capacity Reservation is @@ -91754,12 +93154,17 @@ export const getCapacityReservationUsage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetCapacityReservationUsageRequest, output: GetCapacityReservationUsageResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "GetCapacityReservationUsage", })); export type GetCoipPoolUsageError = | RequestLimitExceeded | InvalidPoolIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Describes the allocations from the specified customer-owned address pool. @@ -91772,13 +93177,14 @@ export const getCoipPoolUsage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetCoipPoolUsageRequest, output: GetCoipPoolUsageResult, - errors: [RequestLimitExceeded, InvalidPoolIDMalformed], + errors: [RequestLimitExceeded, InvalidPoolIDMalformed, UnauthorizedOperation], operationName: "GetCoipPoolUsage", })); export type GetConsoleOutputError = | RequestLimitExceeded | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets the console output for the specified instance. For Linux instances, the instance @@ -91801,6 +93207,7 @@ export const getConsoleOutput: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, + UnauthorizedOperation, ], operationName: "GetConsoleOutput", })); @@ -91808,6 +93215,7 @@ export type GetConsoleScreenshotError = | RequestLimitExceeded | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Retrieve a JPG-format screenshot of a running instance to help with @@ -91829,12 +93237,14 @@ export const getConsoleScreenshot: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, + UnauthorizedOperation, ], operationName: "GetConsoleScreenshot", })); export type GetDeclarativePoliciesReportSummaryError = | RequestLimitExceeded | InvalidDeclarativePoliciesReportIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Retrieves a summary of the account status report. @@ -91857,12 +93267,17 @@ export const getDeclarativePoliciesReportSummary: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetDeclarativePoliciesReportSummaryRequest, output: GetDeclarativePoliciesReportSummaryResult, - errors: [RequestLimitExceeded, InvalidDeclarativePoliciesReportIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidDeclarativePoliciesReportIdMalformed, + UnauthorizedOperation, + ], operationName: "GetDeclarativePoliciesReportSummary", })); export type GetDefaultCreditSpecificationError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Describes the default credit option for CPU usage of a burstable performance instance @@ -91879,7 +93294,7 @@ export const getDefaultCreditSpecification: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetDefaultCreditSpecificationRequest, output: GetDefaultCreditSpecificationResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetDefaultCreditSpecification", })); export type GetEbsDefaultKmsKeyIdError = CommonErrors; @@ -91968,6 +93383,7 @@ export const getFlowLogsIntegrationTemplate: API.OperationMethod< export type GetGroupsForCapacityReservationError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Lists the resource groups to which a Capacity Reservation has been added. @@ -91995,7 +93411,11 @@ export const getGroupsForCapacityReservation: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetGroupsForCapacityReservationRequest, output: GetGroupsForCapacityReservationResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "GetGroupsForCapacityReservation", pagination: { inputToken: "NextToken", @@ -92027,6 +93447,7 @@ export const getHostReservationPurchasePreview: API.OperationMethod< export type GetImageAncestryError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Retrieves the ancestry chain of the specified AMI, tracing its lineage back to the root @@ -92041,7 +93462,7 @@ export const getImageAncestry: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetImageAncestryRequest, output: GetImageAncestryResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "GetImageAncestry", })); export type GetImageBlockPublicAccessStateError = CommonErrors; @@ -92086,6 +93507,7 @@ export const getInstanceMetadataDefaults: API.OperationMethod< export type GetInstanceTpmEkPubError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Gets the public endorsement key associated with the Nitro Trusted @@ -92099,12 +93521,13 @@ export const getInstanceTpmEkPub: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetInstanceTpmEkPubRequest, output: GetInstanceTpmEkPubResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetInstanceTpmEkPub", })); export type GetInstanceTypesFromInstanceRequirementsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Returns a list of instance types with the specified instance attributes. You can @@ -92143,7 +93566,7 @@ export const getInstanceTypesFromInstanceRequirements: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetInstanceTypesFromInstanceRequirementsRequest, output: GetInstanceTypesFromInstanceRequirementsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetInstanceTypesFromInstanceRequirements", pagination: { inputToken: "NextToken", @@ -92155,6 +93578,7 @@ export const getInstanceTypesFromInstanceRequirements: API.OperationMethod< export type GetInstanceUefiDataError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * A binary representation of the UEFI variable store. Only non-volatile variables are @@ -92179,12 +93603,17 @@ export const getInstanceUefiData: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetInstanceUefiDataRequest, output: GetInstanceUefiDataResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "GetInstanceUefiData", })); export type GetIpamAddressHistoryError = | RequestLimitExceeded | InvalidIpamScopeIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Retrieve historical information about a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the *Amazon VPC IPAM User Guide*. @@ -92212,7 +93641,11 @@ export const getIpamAddressHistory: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetIpamAddressHistoryRequest, output: GetIpamAddressHistoryResult, - errors: [RequestLimitExceeded, InvalidIpamScopeIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamScopeIdNotFound, + UnauthorizedOperation, + ], operationName: "GetIpamAddressHistory", pagination: { inputToken: "NextToken", @@ -92225,6 +93658,7 @@ export type GetIpamDiscoveredAccountsError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdMalformed | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization. @@ -92256,6 +93690,7 @@ export const getIpamDiscoveredAccounts: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryIdMalformed, InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamDiscoveredAccounts", pagination: { @@ -92269,6 +93704,7 @@ export type GetIpamDiscoveredPublicAddressesError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdMalformed | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets the public IP addresses that have been discovered by IPAM. @@ -92285,6 +93721,7 @@ export const getIpamDiscoveredPublicAddresses: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryIdMalformed, InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamDiscoveredPublicAddresses", })); @@ -92292,6 +93729,7 @@ export type GetIpamDiscoveredResourceCidrsError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdMalformed | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. @@ -92323,6 +93761,7 @@ export const getIpamDiscoveredResourceCidrs: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryIdMalformed, InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamDiscoveredResourceCidrs", pagination: { @@ -92336,6 +93775,7 @@ export type GetIpamPolicyAllocationRulesError = | RequestLimitExceeded | InvalidIpamPolicyIdMalformed | InvalidIpamPolicyIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets the allocation rules for an IPAM policy. @@ -92356,6 +93796,7 @@ export const getIpamPolicyAllocationRules: API.OperationMethod< RequestLimitExceeded, InvalidIpamPolicyIdMalformed, InvalidIpamPolicyIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamPolicyAllocationRules", })); @@ -92363,6 +93804,7 @@ export type GetIpamPolicyOrganizationTargetsError = | RequestLimitExceeded | InvalidIpamPolicyIdMalformed | InvalidIpamPolicyIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets the Amazon Web Services Organizations targets for an IPAM policy. @@ -92383,6 +93825,7 @@ export const getIpamPolicyOrganizationTargets: API.OperationMethod< RequestLimitExceeded, InvalidIpamPolicyIdMalformed, InvalidIpamPolicyIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamPolicyOrganizationTargets", })); @@ -92390,6 +93833,7 @@ export type GetIpamPoolAllocationsError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Get a list of all the CIDR allocations in an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. @@ -92419,7 +93863,12 @@ export const getIpamPoolAllocations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetIpamPoolAllocationsRequest, output: GetIpamPoolAllocationsResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "GetIpamPoolAllocations", pagination: { inputToken: "NextToken", @@ -92432,6 +93881,7 @@ export type GetIpamPoolCidrsError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Get the CIDRs provisioned to an IPAM pool. @@ -92459,7 +93909,12 @@ export const getIpamPoolCidrs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetIpamPoolCidrsRequest, output: GetIpamPoolCidrsResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "GetIpamPoolCidrs", pagination: { inputToken: "NextToken", @@ -92472,6 +93927,7 @@ export type GetIpamPrefixListResolverRulesError = | RequestLimitExceeded | InvalidIpamPrefixListResolverIdMalformed | InvalidIpamPrefixListResolverIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Retrieves the CIDR selection rules for an IPAM prefix list resolver. Use this operation to view the business logic that determines which CIDRs are selected for synchronization with prefix lists. @@ -92503,6 +93959,7 @@ export const getIpamPrefixListResolverRules: API.OperationMethod< RequestLimitExceeded, InvalidIpamPrefixListResolverIdMalformed, InvalidIpamPrefixListResolverIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamPrefixListResolverRules", pagination: { @@ -92515,6 +93972,7 @@ export const getIpamPrefixListResolverRules: API.OperationMethod< export type GetIpamPrefixListResolverVersionEntriesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Retrieves the CIDR entries for a specific version of an IPAM prefix list resolver. This shows the actual CIDRs that were selected and synchronized at a particular point in time. @@ -92542,7 +94000,7 @@ export const getIpamPrefixListResolverVersionEntries: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetIpamPrefixListResolverVersionEntriesRequest, output: GetIpamPrefixListResolverVersionEntriesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "GetIpamPrefixListResolverVersionEntries", pagination: { inputToken: "NextToken", @@ -92555,6 +94013,7 @@ export type GetIpamPrefixListResolverVersionsError = | RequestLimitExceeded | InvalidIpamPrefixListResolverIdMalformed | InvalidIpamPrefixListResolverIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Retrieves version information for an IPAM prefix list resolver. @@ -92613,6 +94072,7 @@ export const getIpamPrefixListResolverVersions: API.OperationMethod< RequestLimitExceeded, InvalidIpamPrefixListResolverIdMalformed, InvalidIpamPrefixListResolverIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamPrefixListResolverVersions", pagination: { @@ -92626,6 +94086,7 @@ export type GetIpamResourceCidrsError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound | InvalidIpamScopeIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -92657,6 +94118,7 @@ export const getIpamResourceCidrs: API.OperationMethod< RequestLimitExceeded, InvalidIpamPoolIdNotFound, InvalidIpamScopeIdNotFound, + UnauthorizedOperation, ], operationName: "GetIpamResourceCidrs", pagination: { @@ -92669,6 +94131,7 @@ export const getIpamResourceCidrs: API.OperationMethod< export type GetLaunchTemplateDataError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Retrieves the configuration data of the specified instance. You can use this data to @@ -92689,13 +94152,18 @@ export const getLaunchTemplateData: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetLaunchTemplateDataRequest, output: GetLaunchTemplateDataResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "GetLaunchTemplateData", })); export type GetManagedPrefixListAssociationsError = | RequestLimitExceeded | InvalidPrefixListIDNotFound | InvalidPrefixListIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Gets information about the resources that are associated with the specified managed prefix list. @@ -92727,6 +94195,7 @@ export const getManagedPrefixListAssociations: API.OperationMethod< RequestLimitExceeded, InvalidPrefixListIDNotFound, InvalidPrefixListIdMalformed, + UnauthorizedOperation, ], operationName: "GetManagedPrefixListAssociations", pagination: { @@ -92741,6 +94210,7 @@ export type GetManagedPrefixListEntriesError = | InvalidPrefixListIDNotFound | InvalidPrefixListIdMalformed | ParseError + | UnauthorizedOperation | CommonErrors; /** * Gets information about the entries for a specified managed prefix list. @@ -92773,6 +94243,7 @@ export const getManagedPrefixListEntries: API.OperationMethod< InvalidPrefixListIDNotFound, InvalidPrefixListIdMalformed, ParseError, + UnauthorizedOperation, ], operationName: "GetManagedPrefixListEntries", pagination: { @@ -92801,6 +94272,7 @@ export const getManagedResourceVisibility: API.OperationMethod< export type GetNetworkInsightsAccessScopeAnalysisFindingsError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Gets the findings for the specified Network Access Scope analysis. @@ -92828,7 +94300,7 @@ export const getNetworkInsightsAccessScopeAnalysisFindings: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetNetworkInsightsAccessScopeAnalysisFindingsRequest, output: GetNetworkInsightsAccessScopeAnalysisFindingsResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "GetNetworkInsightsAccessScopeAnalysisFindings", pagination: { inputToken: "NextToken", @@ -92840,6 +94312,7 @@ export const getNetworkInsightsAccessScopeAnalysisFindings: API.OperationMethod< export type GetNetworkInsightsAccessScopeContentError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Gets the content for the specified Network Access Scope. @@ -92852,13 +94325,14 @@ export const getNetworkInsightsAccessScopeContent: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetNetworkInsightsAccessScopeContentRequest, output: GetNetworkInsightsAccessScopeContentResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "GetNetworkInsightsAccessScopeContent", })); export type GetPasswordDataError = | RequestLimitExceeded | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Retrieves the encrypted administrator password for a running Windows instance. @@ -92891,12 +94365,14 @@ export const getPasswordData: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, + UnauthorizedOperation, ], operationName: "GetPasswordData", })); export type GetReservedInstancesExchangeQuoteError = | RequestLimitExceeded | InvalidReservedInstancesIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Returns a quote and exchange information for exchanging one or more specified Convertible @@ -92911,12 +94387,17 @@ export const getReservedInstancesExchangeQuote: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetReservedInstancesExchangeQuoteRequest, output: GetReservedInstancesExchangeQuoteResult, - errors: [RequestLimitExceeded, InvalidReservedInstancesIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidReservedInstancesIDNotFound, + UnauthorizedOperation, + ], operationName: "GetReservedInstancesExchangeQuote", })); export type GetRouteServerAssociationsError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets information about the associations for the specified route server. @@ -92933,12 +94414,17 @@ export const getRouteServerAssociations: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetRouteServerAssociationsRequest, output: GetRouteServerAssociationsResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "GetRouteServerAssociations", })); export type GetRouteServerPropagationsError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets information about the route propagations for the specified route server. @@ -92966,12 +94452,17 @@ export const getRouteServerPropagations: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetRouteServerPropagationsRequest, output: GetRouteServerPropagationsResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "GetRouteServerPropagations", })); export type GetRouteServerRoutingDatabaseError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets the routing database for the specified route server. The Routing Information Base (RIB) serves as a database that stores all the routing information and network topology data collected by a router or routing system, such as routes learned from BGP peers. The RIB is constantly updated as new routing information is received or existing routes change. This ensures that the route server always has the most current view of the network topology and can make optimal routing decisions. @@ -92997,13 +94488,18 @@ export const getRouteServerRoutingDatabase: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetRouteServerRoutingDatabaseRequest, output: GetRouteServerRoutingDatabaseResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "GetRouteServerRoutingDatabase", })); export type GetSecurityGroupsForVpcError = | RequestLimitExceeded | InvalidVpcIdMalformed | ParseError + | UnauthorizedOperation | CommonErrors; /** * Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC. @@ -93031,7 +94527,12 @@ export const getSecurityGroupsForVpc: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetSecurityGroupsForVpcRequest, output: GetSecurityGroupsForVpcResult, - errors: [RequestLimitExceeded, InvalidVpcIdMalformed, ParseError], + errors: [ + RequestLimitExceeded, + InvalidVpcIdMalformed, + ParseError, + UnauthorizedOperation, + ], operationName: "GetSecurityGroupsForVpc", pagination: { inputToken: "NextToken", @@ -93126,6 +94627,7 @@ export type GetSubnetCidrReservationsError = | RequestLimitExceeded | InvalidSubnetIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Gets information about the subnet CIDR reservations. @@ -93138,12 +94640,18 @@ export const getSubnetCidrReservations: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetSubnetCidrReservationsRequest, output: GetSubnetCidrReservationsResult, - errors: [RequestLimitExceeded, InvalidSubnetIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidSubnetIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "GetSubnetCidrReservations", })); export type GetTransitGatewayAttachmentPropagationsError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Lists the route tables to which the specified resource attachment propagates routes. @@ -93171,7 +94679,11 @@ export const getTransitGatewayAttachmentPropagations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetTransitGatewayAttachmentPropagationsRequest, output: GetTransitGatewayAttachmentPropagationsResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "GetTransitGatewayAttachmentPropagations", pagination: { inputToken: "NextToken", @@ -93184,6 +94696,7 @@ export type GetTransitGatewayMeteringPolicyEntriesError = | RequestLimitExceeded | InvalidTransitGatewayMeteringPolicyIdNotFound | InvalidTransitGatewayMeteringPolicyIdMalformedException + | UnauthorizedOperation | CommonErrors; /** * Retrieves the entries for a transit gateway metering policy. @@ -93200,6 +94713,7 @@ export const getTransitGatewayMeteringPolicyEntries: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayMeteringPolicyIdNotFound, InvalidTransitGatewayMeteringPolicyIdMalformedException, + UnauthorizedOperation, ], operationName: "GetTransitGatewayMeteringPolicyEntries", })); @@ -93208,6 +94722,7 @@ export type GetTransitGatewayMulticastDomainAssociationsError = | InvalidTransitGatewayMulticastDomainIdMalformed | InvalidTransitGatewayMulticastDomainIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Gets information about the associations for the transit gateway multicast domain. @@ -93240,6 +94755,7 @@ export const getTransitGatewayMulticastDomainAssociations: API.OperationMethod< InvalidTransitGatewayMulticastDomainIdMalformed, InvalidTransitGatewayMulticastDomainIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "GetTransitGatewayMulticastDomainAssociations", pagination: { @@ -93253,6 +94769,7 @@ export type GetTransitGatewayPolicyTableAssociationsError = | RequestLimitExceeded | InvalidTransitGatewayPolicyTableIdMalformed | InvalidTransitGatewayPolicyTableIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets a list of the transit gateway policy table associations. @@ -93284,6 +94801,7 @@ export const getTransitGatewayPolicyTableAssociations: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayPolicyTableIdMalformed, InvalidTransitGatewayPolicyTableIdNotFound, + UnauthorizedOperation, ], operationName: "GetTransitGatewayPolicyTableAssociations", pagination: { @@ -93297,6 +94815,7 @@ export type GetTransitGatewayPolicyTableEntriesError = | RequestLimitExceeded | InvalidTransitGatewayPolicyTableIdMalformed | InvalidTransitGatewayPolicyTableIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Returns a list of transit gateway policy table entries. @@ -93313,6 +94832,7 @@ export const getTransitGatewayPolicyTableEntries: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayPolicyTableIdMalformed, InvalidTransitGatewayPolicyTableIdNotFound, + UnauthorizedOperation, ], operationName: "GetTransitGatewayPolicyTableEntries", })); @@ -93320,6 +94840,7 @@ export type GetTransitGatewayPrefixListReferencesError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Gets information about the prefix list references in a specified transit gateway route table. @@ -93347,7 +94868,12 @@ export const getTransitGatewayPrefixListReferences: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetTransitGatewayPrefixListReferencesRequest, output: GetTransitGatewayPrefixListReferencesResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "GetTransitGatewayPrefixListReferences", pagination: { inputToken: "NextToken", @@ -93359,6 +94885,7 @@ export const getTransitGatewayPrefixListReferences: API.OperationMethod< export type GetTransitGatewayRouteTableAssociationsError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets information about the associations for the specified transit gateway route table. @@ -93386,7 +94913,11 @@ export const getTransitGatewayRouteTableAssociations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetTransitGatewayRouteTableAssociationsRequest, output: GetTransitGatewayRouteTableAssociationsResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "GetTransitGatewayRouteTableAssociations", pagination: { inputToken: "NextToken", @@ -93398,6 +94929,7 @@ export const getTransitGatewayRouteTableAssociations: API.OperationMethod< export type GetTransitGatewayRouteTablePropagationsError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets information about the route table propagations for the specified transit gateway route table. @@ -93425,7 +94957,11 @@ export const getTransitGatewayRouteTablePropagations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetTransitGatewayRouteTablePropagationsRequest, output: GetTransitGatewayRouteTablePropagationsResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "GetTransitGatewayRouteTablePropagations", pagination: { inputToken: "NextToken", @@ -93438,6 +94974,7 @@ export type GetVerifiedAccessEndpointPolicyError = | RequestLimitExceeded | InvalidParameterValue | InvalidVerifiedAccessEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Get the Verified Access policy associated with the endpoint. @@ -93454,12 +94991,14 @@ export const getVerifiedAccessEndpointPolicy: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidVerifiedAccessEndpointIdNotFound, + UnauthorizedOperation, ], operationName: "GetVerifiedAccessEndpointPolicy", })); export type GetVerifiedAccessEndpointTargetsError = | RequestLimitExceeded | InvalidVerifiedAccessEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Gets the targets for the specified network CIDR endpoint for Verified Access. @@ -93472,12 +95011,17 @@ export const getVerifiedAccessEndpointTargets: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetVerifiedAccessEndpointTargetsRequest, output: GetVerifiedAccessEndpointTargetsResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "GetVerifiedAccessEndpointTargets", })); export type GetVerifiedAccessGroupPolicyError = | RequestLimitExceeded | InvalidVerifiedAccessGroupIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Shows the contents of the Verified Access policy associated with the group. @@ -93490,12 +95034,17 @@ export const getVerifiedAccessGroupPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetVerifiedAccessGroupPolicyRequest, output: GetVerifiedAccessGroupPolicyResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessGroupIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessGroupIdNotFound, + UnauthorizedOperation, + ], operationName: "GetVerifiedAccessGroupPolicy", })); export type GetVpcResourcesBlockingEncryptionEnforcementError = | RequestLimitExceeded | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Gets information about resources in a VPC that are blocking encryption enforcement. @@ -93510,12 +95059,13 @@ export const getVpcResourcesBlockingEncryptionEnforcement: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetVpcResourcesBlockingEncryptionEnforcementRequest, output: GetVpcResourcesBlockingEncryptionEnforcementResult, - errors: [RequestLimitExceeded, InvalidVpcIdMalformed], + errors: [RequestLimitExceeded, InvalidVpcIdMalformed, UnauthorizedOperation], operationName: "GetVpcResourcesBlockingEncryptionEnforcement", })); export type GetVpnConnectionDeviceSampleConfigurationError = | RequestLimitExceeded | InvalidVpnConnectionDeviceTypeIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Download an Amazon Web Services-provided sample configuration file to be used with the customer @@ -93529,7 +95079,11 @@ export const getVpnConnectionDeviceSampleConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetVpnConnectionDeviceSampleConfigurationRequest, output: GetVpnConnectionDeviceSampleConfigurationResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionDeviceTypeIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVpnConnectionDeviceTypeIdNotFound, + UnauthorizedOperation, + ], operationName: "GetVpnConnectionDeviceSampleConfiguration", })); export type GetVpnConnectionDeviceTypesError = CommonErrors; @@ -93574,6 +95128,7 @@ export const getVpnConnectionDeviceTypes: API.OperationMethod< export type GetVpnTunnelReplacementStatusError = | RequestLimitExceeded | InvalidVpnConnectionId + | UnauthorizedOperation | CommonErrors; /** * Get details of available tunnel endpoint maintenance. @@ -93586,12 +95141,13 @@ export const getVpnTunnelReplacementStatus: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetVpnTunnelReplacementStatusRequest, output: GetVpnTunnelReplacementStatusResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionId], + errors: [RequestLimitExceeded, InvalidVpnConnectionId, UnauthorizedOperation], operationName: "GetVpnTunnelReplacementStatus", })); export type ImportClientVpnClientCertificateRevocationListError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list. @@ -93606,12 +95162,17 @@ export const importClientVpnClientCertificateRevocationList: API.OperationMethod > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ImportClientVpnClientCertificateRevocationListRequest, output: ImportClientVpnClientCertificateRevocationListResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "ImportClientVpnClientCertificateRevocationList", })); export type ImportImageError = | RequestLimitExceeded | MissingRequiredParameter + | UnauthorizedOperation | CommonErrors; /** * To import your virtual machines (VMs) with a console-based experience, you can use the @@ -93638,12 +95199,17 @@ export const importImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ImportImageRequest, output: ImportImageResult, - errors: [RequestLimitExceeded, MissingRequiredParameter], + errors: [ + RequestLimitExceeded, + MissingRequiredParameter, + UnauthorizedOperation, + ], operationName: "ImportImage", })); export type ImportInstanceError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * We recommend that you use the @@ -93669,12 +95235,13 @@ export const importInstance: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ImportInstanceRequest, output: ImportInstanceResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "ImportInstance", })); export type ImportKeyPairError = | RequestLimitExceeded | InvalidKeyPairDuplicate + | UnauthorizedOperation | CommonErrors; /** * Imports the public key from an RSA or ED25519 key pair that you created using a third-party tool. @@ -93690,12 +95257,17 @@ export const importKeyPair: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ImportKeyPairRequest, output: ImportKeyPairResult, - errors: [RequestLimitExceeded, InvalidKeyPairDuplicate], + errors: [ + RequestLimitExceeded, + InvalidKeyPairDuplicate, + UnauthorizedOperation, + ], operationName: "ImportKeyPair", })); export type ImportSnapshotError = | RequestLimitExceeded | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Imports a disk into an EBS snapshot. @@ -93711,7 +95283,7 @@ export const importSnapshot: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ImportSnapshotRequest, output: ImportSnapshotResult, - errors: [RequestLimitExceeded, InvalidParameter], + errors: [RequestLimitExceeded, InvalidParameter, UnauthorizedOperation], operationName: "ImportSnapshot", })); export type ImportVolumeError = CommonErrors; @@ -93740,6 +95312,7 @@ export const importVolume: API.OperationMethod< export type ListImagesInRecycleBinError = | RequestLimitExceeded | InvalidAMIIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Lists one or more AMIs that are currently in the Recycle Bin. For more information, see @@ -93769,7 +95342,7 @@ export const listImagesInRecycleBin: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListImagesInRecycleBinRequest, output: ListImagesInRecycleBinResult, - errors: [RequestLimitExceeded, InvalidAMIIDNotFound], + errors: [RequestLimitExceeded, InvalidAMIIDNotFound, UnauthorizedOperation], operationName: "ListImagesInRecycleBin", pagination: { inputToken: "NextToken", @@ -93781,6 +95354,7 @@ export const listImagesInRecycleBin: API.OperationMethod< export type ListSnapshotsInRecycleBinError = | RequestLimitExceeded | InvalidSnapshotIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Lists one or more snapshots that are currently in the Recycle Bin. @@ -93808,7 +95382,11 @@ export const listSnapshotsInRecycleBin: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListSnapshotsInRecycleBinRequest, output: ListSnapshotsInRecycleBinResult, - errors: [RequestLimitExceeded, InvalidSnapshotIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidSnapshotIDMalformed, + UnauthorizedOperation, + ], operationName: "ListSnapshotsInRecycleBin", pagination: { inputToken: "NextToken", @@ -93820,6 +95398,7 @@ export const listSnapshotsInRecycleBin: API.OperationMethod< export type ListVolumesInRecycleBinError = | RequestLimitExceeded | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Lists one or more volumes that are currently in the Recycle Bin. @@ -93832,12 +95411,17 @@ export const listVolumesInRecycleBin: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ListVolumesInRecycleBinRequest, output: ListVolumesInRecycleBinResult, - errors: [RequestLimitExceeded, InvalidVolumeIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidVolumeIDMalformed, + UnauthorizedOperation, + ], operationName: "ListVolumesInRecycleBin", })); export type LockSnapshotError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Locks an Amazon EBS snapshot in either *governance* or *compliance* @@ -93864,13 +95448,14 @@ export const lockSnapshot: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: LockSnapshotRequest, output: LockSnapshotResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "LockSnapshot", })); export type ModifyAddressAttributeError = | RequestLimitExceeded | InvalidAllocationIDNotFound | InvalidElasticIpIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies an attribute of the specified Elastic IP address. For requirements, see Using reverse DNS for email applications. @@ -93887,12 +95472,14 @@ export const modifyAddressAttribute: API.OperationMethod< RequestLimitExceeded, InvalidAllocationIDNotFound, InvalidElasticIpIDNotFound, + UnauthorizedOperation, ], operationName: "ModifyAddressAttribute", })); export type ModifyAvailabilityZoneGroupError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Changes the opt-in status of the specified zone group for your account. @@ -93905,12 +95492,13 @@ export const modifyAvailabilityZoneGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyAvailabilityZoneGroupRequest, output: ModifyAvailabilityZoneGroupResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyAvailabilityZoneGroup", })); export type ModifyCapacityReservationError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions @@ -93948,12 +95536,17 @@ export const modifyCapacityReservation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyCapacityReservationRequest, output: ModifyCapacityReservationResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "ModifyCapacityReservation", })); export type ModifyCapacityReservationFleetError = | RequestLimitExceeded | InvalidCapacityReservationFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies a Capacity Reservation Fleet. @@ -93972,12 +95565,17 @@ export const modifyCapacityReservationFleet: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyCapacityReservationFleetRequest, output: ModifyCapacityReservationFleetResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "ModifyCapacityReservationFleet", })); export type ModifyClientVpnEndpointError = | RequestLimitExceeded | InvalidClientVpnEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections. @@ -93990,12 +95588,17 @@ export const modifyClientVpnEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyClientVpnEndpointRequest, output: ModifyClientVpnEndpointResult, - errors: [RequestLimitExceeded, InvalidClientVpnEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidClientVpnEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyClientVpnEndpoint", })); export type ModifyDefaultCreditSpecificationError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the default credit option for CPU usage of burstable performance instances. @@ -94022,12 +95625,13 @@ export const modifyDefaultCreditSpecification: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyDefaultCreditSpecificationRequest, output: ModifyDefaultCreditSpecificationResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyDefaultCreditSpecification", })); export type ModifyEbsDefaultKmsKeyIdError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Changes the default KMS key for EBS encryption by default for your account in this Region. @@ -94050,12 +95654,13 @@ export const modifyEbsDefaultKmsKeyId: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyEbsDefaultKmsKeyIdRequest, output: ModifyEbsDefaultKmsKeyIdResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifyEbsDefaultKmsKeyId", })); export type ModifyFleetError = | RequestLimitExceeded | InvalidFleetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified EC2 Fleet. @@ -94094,13 +95699,18 @@ export const modifyFleet: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyFleetRequest, output: ModifyFleetResult, - errors: [RequestLimitExceeded, InvalidFleetIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidFleetIdMalformed, + UnauthorizedOperation, + ], operationName: "ModifyFleet", })); export type ModifyFpgaImageAttributeError = | RequestLimitExceeded | InvalidFpgaImageIDMalformed | InvalidFpgaImageIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified attribute of the specified Amazon FPGA Image (AFI). @@ -94117,6 +95727,7 @@ export const modifyFpgaImageAttribute: API.OperationMethod< RequestLimitExceeded, InvalidFpgaImageIDMalformed, InvalidFpgaImageIDNotFound, + UnauthorizedOperation, ], operationName: "ModifyFpgaImageAttribute", })); @@ -94230,6 +95841,7 @@ export type ModifyImageAttributeError = | InvalidAMIIDMalformed | InvalidAMIIDNotFound | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified attribute of the specified AMI. You can specify only one attribute @@ -94257,6 +95869,7 @@ export const modifyImageAttribute: API.OperationMethod< InvalidAMIIDMalformed, InvalidAMIIDNotFound, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "ModifyImageAttribute", })); @@ -94264,6 +95877,7 @@ export type ModifyInstanceAttributeError = | RequestLimitExceeded | InvalidInstanceIDNotFound | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified attribute of the specified instance. You can specify only one @@ -94291,12 +95905,14 @@ export const modifyInstanceAttribute: API.OperationMethod< RequestLimitExceeded, InvalidInstanceIDNotFound, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "ModifyInstanceAttribute", })); export type ModifyInstanceCapacityReservationAttributesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modifies the Capacity Reservation settings for a stopped instance. Use this action to @@ -94312,13 +95928,14 @@ export const modifyInstanceCapacityReservationAttributes: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceCapacityReservationAttributesRequest, output: ModifyInstanceCapacityReservationAttributesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifyInstanceCapacityReservationAttributes", })); export type ModifyInstanceConnectEndpointError = | RequestLimitExceeded | InvalidInstanceConnectEndpointIdMalformed | InvalidInstanceConnectEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified EC2 Instance Connect Endpoint. @@ -94339,12 +95956,14 @@ export const modifyInstanceConnectEndpoint: API.OperationMethod< RequestLimitExceeded, InvalidInstanceConnectEndpointIdMalformed, InvalidInstanceConnectEndpointIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyInstanceConnectEndpoint", })); export type ModifyInstanceCpuOptionsError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * By default, all vCPUs for the instance type are active when you launch an instance. When you @@ -94366,7 +95985,11 @@ export const modifyInstanceCpuOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceCpuOptionsRequest, output: ModifyInstanceCpuOptionsResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "ModifyInstanceCpuOptions", })); export type ModifyInstanceCreditSpecificationError = CommonErrors; @@ -94392,6 +96015,7 @@ export const modifyInstanceCreditSpecification: API.OperationMethod< export type ModifyInstanceEventStartTimeError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the start time for a scheduled Amazon EC2 instance event. @@ -94404,13 +96028,14 @@ export const modifyInstanceEventStartTime: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceEventStartTimeRequest, output: ModifyInstanceEventStartTimeResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyInstanceEventStartTime", })); export type ModifyInstanceEventWindowError = | RequestLimitExceeded | InvalidInstanceEventWindowIDNotFound | InvalidInstanceEventWindowIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified event window. @@ -94438,12 +96063,14 @@ export const modifyInstanceEventWindow: API.OperationMethod< RequestLimitExceeded, InvalidInstanceEventWindowIDNotFound, InvalidInstanceEventWindowIdMalformed, + UnauthorizedOperation, ], operationName: "ModifyInstanceEventWindow", })); export type ModifyInstanceMaintenanceOptionsError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies the recovery behavior of your instance to disable simplified automatic @@ -94462,12 +96089,17 @@ export const modifyInstanceMaintenanceOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceMaintenanceOptionsRequest, output: ModifyInstanceMaintenanceOptionsResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "ModifyInstanceMaintenanceOptions", })); export type ModifyInstanceMetadataDefaultsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the default instance metadata service (IMDS) settings at the account level in @@ -94488,12 +96120,13 @@ export const modifyInstanceMetadataDefaults: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceMetadataDefaultsRequest, output: ModifyInstanceMetadataDefaultsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyInstanceMetadataDefaults", })); export type ModifyInstanceMetadataOptionsError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Modify the instance metadata parameters on a running or stopped instance. When you @@ -94512,12 +96145,17 @@ export const modifyInstanceMetadataOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceMetadataOptionsRequest, output: ModifyInstanceMetadataOptionsResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "ModifyInstanceMetadataOptions", })); export type ModifyInstanceNetworkPerformanceOptionsError = | RequestLimitExceeded | InvalidAction + | UnauthorizedOperation | CommonErrors; /** * Change the configuration of the network performance options for an existing @@ -94531,12 +96169,13 @@ export const modifyInstanceNetworkPerformanceOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstanceNetworkPerformanceRequest, output: ModifyInstanceNetworkPerformanceResult, - errors: [RequestLimitExceeded, InvalidAction], + errors: [RequestLimitExceeded, InvalidAction, UnauthorizedOperation], operationName: "ModifyInstanceNetworkPerformanceOptions", })); export type ModifyInstancePlacementError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies the placement attributes for a specified instance. You can do the @@ -94570,12 +96209,17 @@ export const modifyInstancePlacement: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyInstancePlacementRequest, output: ModifyInstancePlacementResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "ModifyInstancePlacement", })); export type ModifyIpamError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Modify the configurations of an IPAM. @@ -94588,12 +96232,17 @@ export const modifyIpam: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyIpamRequest, output: ModifyIpamResult, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "ModifyIpam", })); export type ModifyIpamPolicyAllocationRulesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the allocation rules in an IPAM policy. @@ -94610,12 +96259,13 @@ export const modifyIpamPolicyAllocationRules: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyIpamPolicyAllocationRulesRequest, output: ModifyIpamPolicyAllocationRulesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyIpamPolicyAllocationRules", })); export type ModifyIpamPoolError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modify the configurations of an IPAM pool. @@ -94630,7 +96280,11 @@ export const modifyIpamPool: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyIpamPoolRequest, output: ModifyIpamPoolResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyIpamPool", })); export type ModifyIpamPoolAllocationError = CommonErrors; @@ -94652,6 +96306,7 @@ export type ModifyIpamPrefixListResolverError = | RequestLimitExceeded | InvalidIpamPrefixListResolverIdMalformed | InvalidIpamPrefixListResolverIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies an IPAM prefix list resolver. You can update the description and CIDR selection rules. Changes to rules will trigger re-evaluation and potential updates to associated prefix lists. @@ -94668,12 +96323,14 @@ export const modifyIpamPrefixListResolver: API.OperationMethod< RequestLimitExceeded, InvalidIpamPrefixListResolverIdMalformed, InvalidIpamPrefixListResolverIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyIpamPrefixListResolver", })); export type ModifyIpamPrefixListResolverTargetError = | RequestLimitExceeded | InvalidIpamPrefixListResolverTargetIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies an IPAM prefix list resolver target. You can update version tracking settings and the desired version of the target prefix list. @@ -94689,6 +96346,7 @@ export const modifyIpamPrefixListResolverTarget: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidIpamPrefixListResolverTargetIdMalformed, + UnauthorizedOperation, ], operationName: "ModifyIpamPrefixListResolverTarget", })); @@ -94696,6 +96354,7 @@ export type ModifyIpamResourceCidrError = | RequestLimitExceeded | InvalidIpamScopeIdMalformed | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be auto-imported into a pool, and it will be removed from any pool it has an allocation in. @@ -94714,6 +96373,7 @@ export const modifyIpamResourceCidr: API.OperationMethod< RequestLimitExceeded, InvalidIpamScopeIdMalformed, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "ModifyIpamResourceCidr", })); @@ -94721,6 +96381,7 @@ export type ModifyIpamResourceDiscoveryError = | RequestLimitExceeded | InvalidIpamResourceDiscoveryIdMalformed | InvalidIpamResourceDiscoveryIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. @@ -94737,12 +96398,14 @@ export const modifyIpamResourceDiscovery: API.OperationMethod< RequestLimitExceeded, InvalidIpamResourceDiscoveryIdMalformed, InvalidIpamResourceDiscoveryIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyIpamResourceDiscovery", })); export type ModifyIpamScopeError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Modify an IPAM scope. @@ -94755,12 +96418,17 @@ export const modifyIpamScope: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyIpamScopeRequest, output: ModifyIpamScopeResult, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "ModifyIpamScope", })); export type ModifyLaunchTemplateError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies a launch template. You can specify which version of the launch template to @@ -94775,12 +96443,13 @@ export const modifyLaunchTemplate: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyLaunchTemplateRequest, output: ModifyLaunchTemplateResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyLaunchTemplate", })); export type ModifyLocalGatewayRouteError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified local gateway route. @@ -94793,7 +96462,7 @@ export const modifyLocalGatewayRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyLocalGatewayRouteRequest, output: ModifyLocalGatewayRouteResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyLocalGatewayRoute", })); export type ModifyManagedPrefixListError = @@ -94801,6 +96470,7 @@ export type ModifyManagedPrefixListError = | InvalidParameterCombination | InvalidPrefixListIDNotFound | InvalidPrefixListIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified managed prefix list. @@ -94824,6 +96494,7 @@ export const modifyManagedPrefixList: API.OperationMethod< InvalidParameterCombination, InvalidPrefixListIDNotFound, InvalidPrefixListIdMalformed, + UnauthorizedOperation, ], operationName: "ModifyManagedPrefixList", })); @@ -94850,6 +96521,7 @@ export type ModifyNetworkInterfaceAttributeError = | InvalidNetworkInterfaceIDNotFound | InvalidNetworkInterfaceIdMalformed | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified network interface attribute. You can specify only one attribute @@ -94869,12 +96541,14 @@ export const modifyNetworkInterfaceAttribute: API.OperationMethod< InvalidNetworkInterfaceIDNotFound, InvalidNetworkInterfaceIdMalformed, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "ModifyNetworkInterfaceAttribute", })); export type ModifyPrivateDnsNameOptionsError = | RequestLimitExceeded | UnknownResource + | UnauthorizedOperation | CommonErrors; /** * Modifies the options for instance hostnames for the specified instance. @@ -94887,12 +96561,13 @@ export const modifyPrivateDnsNameOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyPrivateDnsNameOptionsRequest, output: ModifyPrivateDnsNameOptionsResult, - errors: [RequestLimitExceeded, UnknownResource], + errors: [RequestLimitExceeded, UnknownResource, UnauthorizedOperation], operationName: "ModifyPrivateDnsNameOptions", })); export type ModifyPublicIpDnsNameOptionsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modify public hostname options for a network interface. For more information, see EC2 instance hostnames, DNS names, and domains in the *Amazon EC2 User Guide*. @@ -94905,12 +96580,13 @@ export const modifyPublicIpDnsNameOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyPublicIpDnsNameOptionsRequest, output: ModifyPublicIpDnsNameOptionsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyPublicIpDnsNameOptions", })); export type ModifyReservedInstancesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modifies the configuration of your Reserved Instances, such as the Availability Zone, @@ -94928,12 +96604,13 @@ export const modifyReservedInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyReservedInstancesRequest, output: ModifyReservedInstancesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifyReservedInstances", })); export type ModifyRouteServerError = | RequestLimitExceeded | InvalidRouteServerIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the configuration of an existing route server. @@ -94961,12 +96638,17 @@ export const modifyRouteServer: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyRouteServerRequest, output: ModifyRouteServerResult, - errors: [RequestLimitExceeded, InvalidRouteServerIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteServerIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyRouteServer", })); export type ModifySecurityGroupRulesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the rules of a security group. @@ -94979,13 +96661,14 @@ export const modifySecurityGroupRules: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifySecurityGroupRulesRequest, output: ModifySecurityGroupRulesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifySecurityGroupRules", })); export type ModifySnapshotAttributeError = | RequestLimitExceeded | InvalidParameterCombination | InvalidSnapshotNotFound + | UnauthorizedOperation | CommonErrors; /** * Adds or removes permission settings for the specified snapshot. You may add or remove @@ -95011,12 +96694,14 @@ export const modifySnapshotAttribute: API.OperationMethod< RequestLimitExceeded, InvalidParameterCombination, InvalidSnapshotNotFound, + UnauthorizedOperation, ], operationName: "ModifySnapshotAttribute", })); export type ModifySnapshotTierError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a full @@ -95033,12 +96718,13 @@ export const modifySnapshotTier: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifySnapshotTierRequest, output: ModifySnapshotTierResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifySnapshotTier", })); export type ModifySpotFleetRequestError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified Spot Fleet request. @@ -95080,13 +96766,14 @@ export const modifySpotFleetRequest: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifySpotFleetRequestRequest, output: ModifySpotFleetRequestResponse, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifySpotFleetRequest", })); export type ModifySubnetAttributeError = | RequestLimitExceeded | InvalidSubnetIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies a subnet attribute. You can only modify one attribute at a time. @@ -95116,12 +96803,18 @@ export const modifySubnetAttribute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifySubnetAttributeRequest, output: ModifySubnetAttributeResponse, - errors: [RequestLimitExceeded, InvalidSubnetIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidSubnetIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "ModifySubnetAttribute", })); export type ModifyTrafficMirrorFilterNetworkServicesError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Allows or restricts mirroring network services. @@ -95137,13 +96830,14 @@ export const modifyTrafficMirrorFilterNetworkServices: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyTrafficMirrorFilterNetworkServicesRequest, output: ModifyTrafficMirrorFilterNetworkServicesResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifyTrafficMirrorFilterNetworkServices", })); export type ModifyTrafficMirrorFilterRuleError = | RequestLimitExceeded | InvalidParameterValue | InvalidTrafficMirrorFilterRuleIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified Traffic Mirror rule. @@ -95163,12 +96857,14 @@ export const modifyTrafficMirrorFilterRule: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidTrafficMirrorFilterRuleIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyTrafficMirrorFilterRule", })); export type ModifyTrafficMirrorSessionError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modifies a Traffic Mirror session. @@ -95181,12 +96877,13 @@ export const modifyTrafficMirrorSession: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyTrafficMirrorSessionRequest, output: ModifyTrafficMirrorSessionResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifyTrafficMirrorSession", })); export type ModifyTransitGatewayError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified transit gateway. When you modify a transit gateway, the modified options are applied to new transit gateway attachments only. Your existing transit gateway attachments are not modified. @@ -95199,13 +96896,14 @@ export const modifyTransitGateway: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyTransitGatewayRequest, output: ModifyTransitGatewayResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyTransitGateway", })); export type ModifyTransitGatewayMeteringPolicyError = | RequestLimitExceeded | InvalidTransitGatewayMeteringPolicyIdMalformedException | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies a transit gateway metering policy. @@ -95222,12 +96920,14 @@ export const modifyTransitGatewayMeteringPolicy: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayMeteringPolicyIdMalformedException, MissingParameter, + UnauthorizedOperation, ], operationName: "ModifyTransitGatewayMeteringPolicy", })); export type ModifyTransitGatewayPrefixListReferenceError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies a reference (route) to a prefix list in a specified transit gateway route table. @@ -95240,12 +96940,13 @@ export const modifyTransitGatewayPrefixListReference: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyTransitGatewayPrefixListReferenceRequest, output: ModifyTransitGatewayPrefixListReferenceResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyTransitGatewayPrefixListReference", })); export type ModifyTransitGatewayVpcAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified VPC attachment. @@ -95258,13 +96959,18 @@ export const modifyTransitGatewayVpcAttachment: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyTransitGatewayVpcAttachmentRequest, output: ModifyTransitGatewayVpcAttachmentResult, - errors: [RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidTransitGatewayAttachmentIDNotFound, + UnauthorizedOperation, + ], operationName: "ModifyTransitGatewayVpcAttachment", })); export type ModifyVerifiedAccessEndpointError = | RequestLimitExceeded | InvalidParameterValue | InvalidVerifiedAccessEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the configuration of the specified Amazon Web Services Verified Access endpoint. @@ -95281,6 +96987,7 @@ export const modifyVerifiedAccessEndpoint: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidVerifiedAccessEndpointIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyVerifiedAccessEndpoint", })); @@ -95288,6 +96995,7 @@ export type ModifyVerifiedAccessEndpointPolicyError = | RequestLimitExceeded | InvalidParameterValue | InvalidVerifiedAccessEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified Amazon Web Services Verified Access endpoint policy. @@ -95304,12 +97012,14 @@ export const modifyVerifiedAccessEndpointPolicy: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidVerifiedAccessEndpointIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyVerifiedAccessEndpointPolicy", })); export type ModifyVerifiedAccessGroupError = | RequestLimitExceeded | InvalidVerifiedAccessGroupIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified Amazon Web Services Verified Access group configuration. @@ -95322,12 +97032,17 @@ export const modifyVerifiedAccessGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVerifiedAccessGroupRequest, output: ModifyVerifiedAccessGroupResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessGroupIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessGroupIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyVerifiedAccessGroup", })); export type ModifyVerifiedAccessGroupPolicyError = | RequestLimitExceeded | InvalidVerifiedAccessGroupIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified Amazon Web Services Verified Access group policy. @@ -95340,12 +97055,17 @@ export const modifyVerifiedAccessGroupPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVerifiedAccessGroupPolicyRequest, output: ModifyVerifiedAccessGroupPolicyResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessGroupIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessGroupIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyVerifiedAccessGroupPolicy", })); export type ModifyVerifiedAccessInstanceError = | RequestLimitExceeded | InvalidVerifiedAccessInstanceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the configuration of the specified Amazon Web Services Verified Access instance. @@ -95358,12 +97078,17 @@ export const modifyVerifiedAccessInstance: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVerifiedAccessInstanceRequest, output: ModifyVerifiedAccessInstanceResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessInstanceIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessInstanceIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyVerifiedAccessInstance", })); export type ModifyVerifiedAccessInstanceLoggingConfigurationError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies the logging configuration for the specified Amazon Web Services Verified Access instance. @@ -95376,12 +97101,13 @@ export const modifyVerifiedAccessInstanceLoggingConfiguration: API.OperationMeth > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVerifiedAccessInstanceLoggingConfigurationRequest, output: ModifyVerifiedAccessInstanceLoggingConfigurationResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ModifyVerifiedAccessInstanceLoggingConfiguration", })); export type ModifyVerifiedAccessTrustProviderError = | RequestLimitExceeded | InvalidVerifiedAccessTrustProviderIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the configuration of the specified Amazon Web Services Verified Access trust provider. @@ -95394,7 +97120,11 @@ export const modifyVerifiedAccessTrustProvider: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVerifiedAccessTrustProviderRequest, output: ModifyVerifiedAccessTrustProviderResult, - errors: [RequestLimitExceeded, InvalidVerifiedAccessTrustProviderIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVerifiedAccessTrustProviderIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyVerifiedAccessTrustProvider", })); export type ModifyVolumeError = @@ -95402,6 +97132,7 @@ export type ModifyVolumeError = | InvalidParameterValue | InvalidVolumeNotFound | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * You can modify several parameters of an existing EBS volume, including volume size, volume @@ -95438,6 +97169,7 @@ export const modifyVolume: API.OperationMethod< InvalidParameterValue, InvalidVolumeNotFound, InvalidVolumeIDMalformed, + UnauthorizedOperation, ], operationName: "ModifyVolume", })); @@ -95445,6 +97177,7 @@ export type ModifyVolumeAttributeError = | RequestLimitExceeded | InvalidVolumeNotFound | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies a volume attribute. @@ -95469,6 +97202,7 @@ export const modifyVolumeAttribute: API.OperationMethod< RequestLimitExceeded, InvalidVolumeNotFound, InvalidVolumeIDMalformed, + UnauthorizedOperation, ], operationName: "ModifyVolumeAttribute", })); @@ -95476,6 +97210,7 @@ export type ModifyVpcAttributeError = | RequestLimitExceeded | InvalidParameterCombination | InvalidVpcIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the specified attribute of the specified VPC. @@ -95492,6 +97227,7 @@ export const modifyVpcAttribute: API.OperationMethod< RequestLimitExceeded, InvalidParameterCombination, InvalidVpcIDNotFound, + UnauthorizedOperation, ], operationName: "ModifyVpcAttribute", })); @@ -95529,6 +97265,7 @@ export type ModifyVpcEncryptionControlError = | RequestLimitExceeded | InvalidVpcEncryptionControlIdMalformed | InvalidVpcEncryptionControlIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the encryption control configuration for a VPC. You can update the encryption mode and exclusion settings for various gateway types and peering connections. @@ -95547,12 +97284,14 @@ export const modifyVpcEncryptionControl: API.OperationMethod< RequestLimitExceeded, InvalidVpcEncryptionControlIdMalformed, InvalidVpcEncryptionControlIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyVpcEncryptionControl", })); export type ModifyVpcEndpointError = | RequestLimitExceeded | InvalidVpcEndpointIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies attributes of a specified VPC endpoint. The attributes that you can modify @@ -95568,13 +97307,18 @@ export const modifyVpcEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpcEndpointRequest, output: ModifyVpcEndpointResult, - errors: [RequestLimitExceeded, InvalidVpcEndpointIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidVpcEndpointIdNotFound, + UnauthorizedOperation, + ], operationName: "ModifyVpcEndpoint", })); export type ModifyVpcEndpointConnectionNotificationError = | RequestLimitExceeded | InvalidConnectionNotification | InvalidParameter + | UnauthorizedOperation | CommonErrors; /** * Modifies a connection notification for VPC endpoint or VPC endpoint service. You @@ -95592,6 +97336,7 @@ export const modifyVpcEndpointConnectionNotification: API.OperationMethod< RequestLimitExceeded, InvalidConnectionNotification, InvalidParameter, + UnauthorizedOperation, ], operationName: "ModifyVpcEndpointConnectionNotification", })); @@ -95599,6 +97344,7 @@ export type ModifyVpcEndpointServiceConfigurationError = | RequestLimitExceeded | InvalidVpcEndpointServiceIdMalformed | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the attributes of the specified VPC endpoint service configuration. @@ -95618,12 +97364,14 @@ export const modifyVpcEndpointServiceConfiguration: API.OperationMethod< RequestLimitExceeded, InvalidVpcEndpointServiceIdMalformed, InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyVpcEndpointServiceConfiguration", })); export type ModifyVpcEndpointServicePayerResponsibilityError = | RequestLimitExceeded | UnsupportedOperation + | UnauthorizedOperation | CommonErrors; /** * Modifies the payer responsibility for your VPC endpoint service. @@ -95636,13 +97384,14 @@ export const modifyVpcEndpointServicePayerResponsibility: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpcEndpointServicePayerResponsibilityRequest, output: ModifyVpcEndpointServicePayerResponsibilityResult, - errors: [RequestLimitExceeded, UnsupportedOperation], + errors: [RequestLimitExceeded, UnsupportedOperation, UnauthorizedOperation], operationName: "ModifyVpcEndpointServicePayerResponsibility", })); export type ModifyVpcEndpointServicePermissionsError = | RequestLimitExceeded | InvalidVpcEndpointServiceIdMalformed | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the permissions for your VPC endpoint service. You can add or remove permissions @@ -95665,6 +97414,7 @@ export const modifyVpcEndpointServicePermissions: API.OperationMethod< RequestLimitExceeded, InvalidVpcEndpointServiceIdMalformed, InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyVpcEndpointServicePermissions", })); @@ -95672,6 +97422,7 @@ export type ModifyVpcPeeringConnectionOptionsError = | RequestLimitExceeded | InvalidVpcPeeringConnectionIDNotFound | InvalidVpcPeeringConnectionIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the VPC peering connection options on one side of a VPC peering connection. @@ -95699,6 +97450,7 @@ export const modifyVpcPeeringConnectionOptions: API.OperationMethod< RequestLimitExceeded, InvalidVpcPeeringConnectionIDNotFound, InvalidVpcPeeringConnectionIdNotFound, + UnauthorizedOperation, ], operationName: "ModifyVpcPeeringConnectionOptions", })); @@ -95706,6 +97458,7 @@ export type ModifyVpcTenancyError = | RequestLimitExceeded | InvalidVpcIDNotFound | InvalidVpcIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Modifies the instance tenancy attribute of the specified VPC. You can change the @@ -95727,12 +97480,18 @@ export const modifyVpcTenancy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpcTenancyRequest, output: ModifyVpcTenancyResult, - errors: [RequestLimitExceeded, InvalidVpcIDNotFound, InvalidVpcIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidVpcIDNotFound, + InvalidVpcIdMalformed, + UnauthorizedOperation, + ], operationName: "ModifyVpcTenancy", })); export type ModifyVpnConnectionError = | RequestLimitExceeded | InvalidVpnConnectionId + | UnauthorizedOperation | CommonErrors; /** * Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site VPN connection. To @@ -95782,12 +97541,13 @@ export const modifyVpnConnection: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpnConnectionRequest, output: ModifyVpnConnectionResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionId], + errors: [RequestLimitExceeded, InvalidVpnConnectionId, UnauthorizedOperation], operationName: "ModifyVpnConnection", })); export type ModifyVpnConnectionOptionsError = | RequestLimitExceeded | InvalidVpnConnectionIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the connection options for your Site-to-Site VPN connection. @@ -95805,12 +97565,17 @@ export const modifyVpnConnectionOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpnConnectionOptionsRequest, output: ModifyVpnConnectionOptionsResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidVpnConnectionIDNotFound, + UnauthorizedOperation, + ], operationName: "ModifyVpnConnectionOptions", })); export type ModifyVpnTunnelCertificateError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Modifies the VPN tunnel endpoint certificate. @@ -95823,12 +97588,13 @@ export const modifyVpnTunnelCertificate: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpnTunnelCertificateRequest, output: ModifyVpnTunnelCertificateResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ModifyVpnTunnelCertificate", })); export type ModifyVpnTunnelOptionsError = | RequestLimitExceeded | InvalidVpnConnectionId + | UnauthorizedOperation | CommonErrors; /** * Modifies the options for a VPN tunnel in an Amazon Web Services Site-to-Site VPN connection. You can modify @@ -95844,13 +97610,14 @@ export const modifyVpnTunnelOptions: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyVpnTunnelOptionsRequest, output: ModifyVpnTunnelOptionsResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionId], + errors: [RequestLimitExceeded, InvalidVpnConnectionId, UnauthorizedOperation], operationName: "ModifyVpnTunnelOptions", })); export type MonitorInstancesError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is @@ -95867,12 +97634,18 @@ export const monitorInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: MonitorInstancesRequest, output: MonitorInstancesResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "MonitorInstances", })); export type MoveAddressToVpcError = | RequestLimitExceeded | UnsupportedOperation + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -95891,12 +97664,13 @@ export const moveAddressToVpc: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: MoveAddressToVpcRequest, output: MoveAddressToVpcResult, - errors: [RequestLimitExceeded, UnsupportedOperation], + errors: [RequestLimitExceeded, UnsupportedOperation, UnauthorizedOperation], operationName: "MoveAddressToVpc", })); export type MoveByoipCidrToIpamError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool. @@ -95911,12 +97685,17 @@ export const moveByoipCidrToIpam: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: MoveByoipCidrToIpamRequest, output: MoveByoipCidrToIpamResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + UnauthorizedOperation, + ], operationName: "MoveByoipCidrToIpam", })); export type MoveCapacityReservationInstancesError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Move available capacity from a source Capacity Reservation to a destination Capacity @@ -95944,12 +97723,17 @@ export const moveCapacityReservationInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: MoveCapacityReservationInstancesRequest, output: MoveCapacityReservationInstancesResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "MoveCapacityReservationInstances", })); export type ProvisionByoipCidrError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP @@ -95973,12 +97757,13 @@ export const provisionByoipCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ProvisionByoipCidrRequest, output: ProvisionByoipCidrResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ProvisionByoipCidr", })); export type ProvisionIpamByoasnError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Provisions your Autonomous System Number (ASN) for use in your Amazon Web Services account. This action requires authorization context for Amazon to bring the ASN to an Amazon Web Services account. For more information, see Tutorial: Bring your ASN to IPAM in the *Amazon VPC IPAM guide*. @@ -95991,13 +97776,14 @@ export const provisionIpamByoasn: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ProvisionIpamByoasnRequest, output: ProvisionIpamByoasnResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ProvisionIpamByoasn", })); export type ProvisionIpamPoolCidrError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Provision a CIDR to an IPAM pool. You can use this action to provision new CIDRs to a top-level pool or to transfer a CIDR from a top-level pool to a pool within it. @@ -96012,13 +97798,19 @@ export const provisionIpamPoolCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ProvisionIpamPoolCidrRequest, output: ProvisionIpamPoolCidrResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "ProvisionIpamPoolCidr", })); export type ProvisionPublicIpv4PoolCidrError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Provision a CIDR to a public IPv4 pool. @@ -96033,12 +97825,18 @@ export const provisionPublicIpv4PoolCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ProvisionPublicIpv4PoolCidrRequest, output: ProvisionPublicIpv4PoolCidrResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "ProvisionPublicIpv4PoolCidr", })); export type PurchaseCapacityBlockError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure @@ -96053,12 +97851,13 @@ export const purchaseCapacityBlock: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PurchaseCapacityBlockRequest, output: PurchaseCapacityBlockResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "PurchaseCapacityBlock", })); export type PurchaseCapacityBlockExtensionError = | RequestLimitExceeded | InvalidCapacityReservationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Purchase the Capacity Block extension for use with your account. You must specify the @@ -96072,7 +97871,11 @@ export const purchaseCapacityBlockExtension: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PurchaseCapacityBlockExtensionRequest, output: PurchaseCapacityBlockExtensionResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdNotFound, + UnauthorizedOperation, + ], operationName: "PurchaseCapacityBlockExtension", })); export type PurchaseHostReservationError = CommonErrors; @@ -96096,6 +97899,7 @@ export const purchaseHostReservation: API.OperationMethod< export type PurchaseReservedInstancesOfferingError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay @@ -96120,12 +97924,13 @@ export const purchaseReservedInstancesOffering: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PurchaseReservedInstancesOfferingRequest, output: PurchaseReservedInstancesOfferingResult, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "PurchaseReservedInstancesOffering", })); export type PurchaseScheduledInstancesError = | RequestLimitExceeded | InvalidPurchaseTokenMalformed + | UnauthorizedOperation | CommonErrors; /** * You can no longer purchase Scheduled Instances. @@ -96147,7 +97952,11 @@ export const purchaseScheduledInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PurchaseScheduledInstancesRequest, output: PurchaseScheduledInstancesResult, - errors: [RequestLimitExceeded, InvalidPurchaseTokenMalformed], + errors: [ + RequestLimitExceeded, + InvalidPurchaseTokenMalformed, + UnauthorizedOperation, + ], operationName: "PurchaseScheduledInstances", })); export type RebootInstancesError = @@ -96155,6 +97964,7 @@ export type RebootInstancesError = | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Requests a reboot of the specified instances. This operation is asynchronous; it only @@ -96181,12 +97991,14 @@ export const rebootInstances: API.OperationMethod< InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "RebootInstances", })); export type RegisterImageError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Registers an AMI. When you're creating an instance-store backed AMI, registering the AMI @@ -96240,12 +98052,17 @@ export const registerImage: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RegisterImageRequest, output: RegisterImageResult, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "RegisterImage", })); export type RegisterInstanceEventNotificationAttributesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Registers a set of tag keys to include in scheduled event notifications for your @@ -96261,13 +98078,14 @@ export const registerInstanceEventNotificationAttributes: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RegisterInstanceEventNotificationAttributesRequest, output: RegisterInstanceEventNotificationAttributesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "RegisterInstanceEventNotificationAttributes", })); export type RegisterTransitGatewayMulticastGroupMembersError = | RequestLimitExceeded | InvalidNetworkInterfaceIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Registers members (network interfaces) with the transit gateway multicast group. A member is a network interface associated @@ -96290,6 +98108,7 @@ export const registerTransitGatewayMulticastGroupMembers: API.OperationMethod< RequestLimitExceeded, InvalidNetworkInterfaceIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "RegisterTransitGatewayMulticastGroupMembers", })); @@ -96297,6 +98116,7 @@ export type RegisterTransitGatewayMulticastGroupSourcesError = | RequestLimitExceeded | InvalidNetworkInterfaceIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Registers sources (network interfaces) with the specified transit gateway multicast group. @@ -96320,12 +98140,14 @@ export const registerTransitGatewayMulticastGroupSources: API.OperationMethod< RequestLimitExceeded, InvalidNetworkInterfaceIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "RegisterTransitGatewayMulticastGroupSources", })); export type RejectCapacityReservationBillingOwnershipError = | RequestLimitExceeded | InvalidCapacityReservationIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Rejects a request to assign billing of the available capacity of a shared Capacity @@ -96340,7 +98162,11 @@ export const rejectCapacityReservationBillingOwnership: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RejectCapacityReservationBillingOwnershipRequest, output: RejectCapacityReservationBillingOwnershipResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdMalformed], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdMalformed, + UnauthorizedOperation, + ], operationName: "RejectCapacityReservationBillingOwnership", })); export type RejectTransitGatewayClientVpnAttachmentError = CommonErrors; @@ -96361,6 +98187,7 @@ export const rejectTransitGatewayClientVpnAttachment: API.OperationMethod< export type RejectTransitGatewayMulticastDomainAssociationsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Rejects a request to associate cross-account subnets with a transit gateway multicast domain. @@ -96373,13 +98200,14 @@ export const rejectTransitGatewayMulticastDomainAssociations: API.OperationMetho > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RejectTransitGatewayMulticastDomainAssociationsRequest, output: RejectTransitGatewayMulticastDomainAssociationsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "RejectTransitGatewayMulticastDomainAssociations", })); export type RejectTransitGatewayPeeringAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Rejects a transit gateway peering attachment request. @@ -96396,6 +98224,7 @@ export const rejectTransitGatewayPeeringAttachment: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "RejectTransitGatewayPeeringAttachment", })); @@ -96403,6 +98232,7 @@ export type RejectTransitGatewayVpcAttachmentError = | RequestLimitExceeded | InvalidTransitGatewayAttachmentIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Rejects a request to attach a VPC to a transit gateway. @@ -96423,6 +98253,7 @@ export const rejectTransitGatewayVpcAttachment: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayAttachmentIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "RejectTransitGatewayVpcAttachment", })); @@ -96430,6 +98261,7 @@ export type RejectVpcEndpointConnectionsError = | RequestLimitExceeded | InvalidParameter | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Rejects VPC endpoint connection requests to your VPC endpoint service. @@ -96446,6 +98278,7 @@ export const rejectVpcEndpointConnections: API.OperationMethod< RequestLimitExceeded, InvalidParameter, InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, ], operationName: "RejectVpcEndpointConnections", })); @@ -96454,6 +98287,7 @@ export type RejectVpcPeeringConnectionError = | InvalidVpcPeeringConnectionIDNotFound | InvalidVpcPeeringConnectionIdNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Rejects a VPC peering connection request. The VPC peering connection must be in the @@ -96474,6 +98308,7 @@ export const rejectVpcPeeringConnection: API.OperationMethod< InvalidVpcPeeringConnectionIDNotFound, InvalidVpcPeeringConnectionIdNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "RejectVpcPeeringConnection", })); @@ -96488,6 +98323,7 @@ export type ReleaseAddressError = | InvalidParameterCombination | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Releases the specified Elastic IP address. @@ -96526,12 +98362,14 @@ export const releaseAddress: API.OperationMethod< InvalidParameterCombination, InvalidParameterValue, MissingParameter, + UnauthorizedOperation, ], operationName: "ReleaseAddress", })); export type ReleaseHostsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * When you no longer want to use an On-Demand Dedicated Host it can be released. @@ -96554,12 +98392,13 @@ export const releaseHosts: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ReleaseHostsRequest, output: ReleaseHostsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ReleaseHosts", })); export type ReleaseIpamPoolAllocationError = | RequestLimitExceeded | InvalidIpamPoolIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Release an allocation within an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using ModifyIpamResourceCidr. For more information, see Release an allocation in the *Amazon VPC IPAM User Guide*. @@ -96574,7 +98413,11 @@ export const releaseIpamPoolAllocation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ReleaseIpamPoolAllocationRequest, output: ReleaseIpamPoolAllocationResult, - errors: [RequestLimitExceeded, InvalidIpamPoolIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidIpamPoolIdNotFound, + UnauthorizedOperation, + ], operationName: "ReleaseIpamPoolAllocation", })); export type ReplaceIamInstanceProfileAssociationError = CommonErrors; @@ -96629,6 +98472,7 @@ export type ReplaceNetworkAclAssociationError = | DryRunOperation | InvalidAssociationIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Changes which network ACL a subnet is associated with. By default when you create a @@ -96650,6 +98494,7 @@ export const replaceNetworkAclAssociation: API.OperationMethod< DryRunOperation, InvalidAssociationIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "ReplaceNetworkAclAssociation", })); @@ -96657,6 +98502,7 @@ export type ReplaceNetworkAclEntryError = | RequestLimitExceeded | InvalidNetworkAclIDNotFound | InvalidNetworkAclIdMalformed + | UnauthorizedOperation | CommonErrors; /** * Replaces an entry (rule) in a network ACL. For more information, see Network ACLs in the @@ -96674,6 +98520,7 @@ export const replaceNetworkAclEntry: API.OperationMethod< RequestLimitExceeded, InvalidNetworkAclIDNotFound, InvalidNetworkAclIdMalformed, + UnauthorizedOperation, ], operationName: "ReplaceNetworkAclEntry", })); @@ -96681,6 +98528,7 @@ export type ReplaceRouteError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Replaces an existing route within a route table in a VPC. @@ -96700,13 +98548,19 @@ export const replaceRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ReplaceRouteRequest, output: ReplaceRouteResponse, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "ReplaceRoute", })); export type ReplaceRouteTableAssociationError = | RequestLimitExceeded | InvalidRouteTableAssociationIdMalformed | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation @@ -96728,12 +98582,14 @@ export const replaceRouteTableAssociation: API.OperationMethod< RequestLimitExceeded, InvalidRouteTableAssociationIdMalformed, InvalidRouteTableIDNotFound, + UnauthorizedOperation, ], operationName: "ReplaceRouteTableAssociation", })); export type ReplaceTransitGatewayRouteError = | RequestLimitExceeded | InvalidRouteTableIDNotFound + | UnauthorizedOperation | CommonErrors; /** * Replaces the specified route in the specified transit gateway route table. @@ -96746,12 +98602,17 @@ export const replaceTransitGatewayRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ReplaceTransitGatewayRouteRequest, output: ReplaceTransitGatewayRouteResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + UnauthorizedOperation, + ], operationName: "ReplaceTransitGatewayRoute", })); export type ReplaceVpnTunnelError = | RequestLimitExceeded | InvalidVpnConnectionId + | UnauthorizedOperation | CommonErrors; /** * Trigger replacement of specified VPN tunnel. @@ -96764,12 +98625,13 @@ export const replaceVpnTunnel: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ReplaceVpnTunnelRequest, output: ReplaceVpnTunnelResult, - errors: [RequestLimitExceeded, InvalidVpnConnectionId], + errors: [RequestLimitExceeded, InvalidVpnConnectionId, UnauthorizedOperation], operationName: "ReplaceVpnTunnel", })); export type ReportInstanceStatusError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Submits feedback about the status of an instance. The instance must be in the @@ -96787,12 +98649,13 @@ export const reportInstanceStatus: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ReportInstanceStatusRequest, output: ReportInstanceStatusResponse, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ReportInstanceStatus", })); export type RequestSpotFleetError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Spot Fleet request. @@ -96836,12 +98699,13 @@ export const requestSpotFleet: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RequestSpotFleetRequest, output: RequestSpotFleetResponse, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "RequestSpotFleet", })); export type RequestSpotInstancesError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Creates a Spot Instance request. @@ -96863,12 +98727,13 @@ export const requestSpotInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RequestSpotInstancesRequest, output: RequestSpotInstancesResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "RequestSpotInstances", })); export type ResetAddressAttributeError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Resets the attribute of the specified IP address. For requirements, see Using reverse DNS for email applications. @@ -96881,7 +98746,7 @@ export const resetAddressAttribute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ResetAddressAttributeRequest, output: ResetAddressAttributeResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "ResetAddressAttribute", })); export type ResetEbsDefaultKmsKeyIdError = CommonErrors; @@ -96908,6 +98773,7 @@ export const resetEbsDefaultKmsKeyId: API.OperationMethod< export type ResetFpgaImageAttributeError = | RequestLimitExceeded | InvalidFpgaImageIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. @@ -96921,7 +98787,11 @@ export const resetFpgaImageAttribute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ResetFpgaImageAttributeRequest, output: ResetFpgaImageAttributeResult, - errors: [RequestLimitExceeded, InvalidFpgaImageIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidFpgaImageIDMalformed, + UnauthorizedOperation, + ], operationName: "ResetFpgaImageAttribute", })); export type ResetImageAttributeError = @@ -96929,6 +98799,7 @@ export type ResetImageAttributeError = | InvalidAMIIDMalformed | InvalidAMIIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Resets an attribute of an AMI to its default value. @@ -96946,12 +98817,14 @@ export const resetImageAttribute: API.OperationMethod< InvalidAMIIDMalformed, InvalidAMIIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "ResetImageAttribute", })); export type ResetInstanceAttributeError = | RequestLimitExceeded | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Resets an attribute of an instance to its default value. To reset the @@ -96973,12 +98846,13 @@ export const resetInstanceAttribute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ResetInstanceAttributeRequest, output: ResetInstanceAttributeResponse, - errors: [RequestLimitExceeded, InvalidParameterValue], + errors: [RequestLimitExceeded, InvalidParameterValue, UnauthorizedOperation], operationName: "ResetInstanceAttribute", })); export type ResetNetworkInterfaceAttributeError = | RequestLimitExceeded | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Resets a network interface attribute. You can specify only one attribute at a @@ -96992,7 +98866,11 @@ export const resetNetworkInterfaceAttribute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ResetNetworkInterfaceAttributeRequest, output: ResetNetworkInterfaceAttributeResponse, - errors: [RequestLimitExceeded, InvalidParameterCombination], + errors: [ + RequestLimitExceeded, + InvalidParameterCombination, + UnauthorizedOperation, + ], operationName: "ResetNetworkInterfaceAttribute", })); export type ResetSnapshotAttributeError = @@ -97000,6 +98878,7 @@ export type ResetSnapshotAttributeError = | InvalidSnapshotNotFound | InvalidSnapshotIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Resets permission settings for the specified snapshot. @@ -97020,12 +98899,14 @@ export const resetSnapshotAttribute: API.OperationMethod< InvalidSnapshotNotFound, InvalidSnapshotIDMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "ResetSnapshotAttribute", })); export type RestoreAddressToClassicError = | RequestLimitExceeded | UnsupportedOperation + | UnauthorizedOperation | CommonErrors; /** * This action is deprecated. @@ -97040,12 +98921,13 @@ export const restoreAddressToClassic: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreAddressToClassicRequest, output: RestoreAddressToClassicResult, - errors: [RequestLimitExceeded, UnsupportedOperation], + errors: [RequestLimitExceeded, UnsupportedOperation, UnauthorizedOperation], operationName: "RestoreAddressToClassic", })); export type RestoreImageFromRecycleBinError = | RequestLimitExceeded | InvalidAMIIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Restores an AMI from the Recycle Bin. For more information, see Recover deleted Amazon EBS @@ -97060,12 +98942,13 @@ export const restoreImageFromRecycleBin: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreImageFromRecycleBinRequest, output: RestoreImageFromRecycleBinResult, - errors: [RequestLimitExceeded, InvalidAMIIDMalformed], + errors: [RequestLimitExceeded, InvalidAMIIDMalformed, UnauthorizedOperation], operationName: "RestoreImageFromRecycleBin", })); export type RestoreManagedPrefixListVersionError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Restores the entries from a previous version of a managed prefix list to a new version of the prefix list. @@ -97078,12 +98961,13 @@ export const restoreManagedPrefixListVersion: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreManagedPrefixListVersionRequest, output: RestoreManagedPrefixListVersionResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "RestoreManagedPrefixListVersion", })); export type RestoreSnapshotFromRecycleBinError = | RequestLimitExceeded | InvalidSnapshotIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Restores a snapshot from the Recycle Bin. For more information, see Restore @@ -97097,12 +98981,17 @@ export const restoreSnapshotFromRecycleBin: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreSnapshotFromRecycleBinRequest, output: RestoreSnapshotFromRecycleBinResult, - errors: [RequestLimitExceeded, InvalidSnapshotIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidSnapshotIDMalformed, + UnauthorizedOperation, + ], operationName: "RestoreSnapshotFromRecycleBin", })); export type RestoreSnapshotTierError = | RequestLimitExceeded | InvalidSnapshotIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Restores an archived Amazon EBS snapshot for use temporarily or permanently, or modifies the restore @@ -97120,12 +99009,17 @@ export const restoreSnapshotTier: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreSnapshotTierRequest, output: RestoreSnapshotTierResult, - errors: [RequestLimitExceeded, InvalidSnapshotIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidSnapshotIDMalformed, + UnauthorizedOperation, + ], operationName: "RestoreSnapshotTier", })); export type RestoreVolumeFromRecycleBinError = | RequestLimitExceeded | InvalidVolumeIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Restores a volume from the Recycle Bin. For more information, see Restore @@ -97139,12 +99033,17 @@ export const restoreVolumeFromRecycleBin: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreVolumeFromRecycleBinRequest, output: RestoreVolumeFromRecycleBinResult, - errors: [RequestLimitExceeded, InvalidVolumeIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidVolumeIDMalformed, + UnauthorizedOperation, + ], operationName: "RestoreVolumeFromRecycleBin", })); export type RevokeClientVpnIngressError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Removes an ingress authorization rule from a Client VPN endpoint. @@ -97157,7 +99056,7 @@ export const revokeClientVpnIngress: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RevokeClientVpnIngressRequest, output: RevokeClientVpnIngressResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "RevokeClientVpnIngress", })); export type RevokeSecurityGroupEgressError = @@ -97170,6 +99069,7 @@ export type RevokeSecurityGroupEgressError = | InvalidSecurityGroupRuleIdMalformed | MissingParameter | UnknownParameter + | UnauthorizedOperation | CommonErrors; /** * Removes the specified outbound (egress) rules from the specified security group. @@ -97208,6 +99108,7 @@ export const revokeSecurityGroupEgress: API.OperationMethod< InvalidSecurityGroupRuleIdMalformed, MissingParameter, UnknownParameter, + UnauthorizedOperation, ], operationName: "RevokeSecurityGroupEgress", })); @@ -97218,6 +99119,7 @@ export type RevokeSecurityGroupIngressError = | InvalidPermissionNotFound | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Removes the specified inbound (ingress) rules from a security group. @@ -97258,6 +99160,7 @@ export const revokeSecurityGroupIngress: API.OperationMethod< InvalidPermissionNotFound, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "RevokeSecurityGroupIngress", })); @@ -97268,6 +99171,7 @@ export type RunInstancesError = | InvalidParameterValue | MissingParameter | ParseError + | UnauthorizedOperation | CommonErrors; /** * Launches the specified number of instances using an AMI for which you have @@ -97336,12 +99240,14 @@ export const runInstances: API.OperationMethod< InvalidParameterValue, MissingParameter, ParseError, + UnauthorizedOperation, ], operationName: "RunInstances", })); export type RunScheduledInstancesError = | RequestLimitExceeded | InvalidScheduledInstance + | UnauthorizedOperation | CommonErrors; /** * Launches the specified Scheduled Instances. @@ -97361,13 +99267,18 @@ export const runScheduledInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RunScheduledInstancesRequest, output: RunScheduledInstancesResult, - errors: [RequestLimitExceeded, InvalidScheduledInstance], + errors: [ + RequestLimitExceeded, + InvalidScheduledInstance, + UnauthorizedOperation, + ], operationName: "RunScheduledInstances", })); export type SearchLocalGatewayRoutesError = | RequestLimitExceeded | InvalidLocalGatewayRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Searches for routes in the specified local gateway route table. @@ -97399,6 +99310,7 @@ export const searchLocalGatewayRoutes: API.OperationMethod< RequestLimitExceeded, InvalidLocalGatewayRouteTableIDNotFound, MissingParameter, + UnauthorizedOperation, ], operationName: "SearchLocalGatewayRoutes", pagination: { @@ -97412,6 +99324,7 @@ export type SearchTransitGatewayMulticastGroupsError = | RequestLimitExceeded | InvalidTransitGatewayMulticastDomainIdMalformed | InvalidTransitGatewayMulticastDomainIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Searches one or more transit gateway multicast groups and returns the group membership information. @@ -97443,6 +99356,7 @@ export const searchTransitGatewayMulticastGroups: API.OperationMethod< RequestLimitExceeded, InvalidTransitGatewayMulticastDomainIdMalformed, InvalidTransitGatewayMulticastDomainIdNotFound, + UnauthorizedOperation, ], operationName: "SearchTransitGatewayMulticastGroups", pagination: { @@ -97456,6 +99370,7 @@ export type SearchTransitGatewayRoutesError = | RequestLimitExceeded | InvalidRouteTableIDNotFound | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Searches for routes in the specified transit gateway route table. @@ -97483,7 +99398,12 @@ export const searchTransitGatewayRoutes: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: SearchTransitGatewayRoutesRequest, output: SearchTransitGatewayRoutesResult, - errors: [RequestLimitExceeded, InvalidRouteTableIDNotFound, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidRouteTableIDNotFound, + MissingParameter, + UnauthorizedOperation, + ], operationName: "SearchTransitGatewayRoutes", pagination: { inputToken: "NextToken", @@ -97495,6 +99415,7 @@ export const searchTransitGatewayRoutes: API.OperationMethod< export type SendDiagnosticInterruptError = | RequestLimitExceeded | InvalidInstanceIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a @@ -97523,12 +99444,17 @@ export const sendDiagnosticInterrupt: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: SendDiagnosticInterruptRequest, output: SendDiagnosticInterruptResponse, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + UnauthorizedOperation, + ], operationName: "SendDiagnosticInterrupt", })); export type StartDeclarativePoliciesReportError = | RequestLimitExceeded | DeclarativePoliciesAccessDenied + | UnauthorizedOperation | CommonErrors; /** * Generates an account status report. The report is generated asynchronously, and can @@ -97579,7 +99505,11 @@ export const startDeclarativePoliciesReport: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StartDeclarativePoliciesReportRequest, output: StartDeclarativePoliciesReportResult, - errors: [RequestLimitExceeded, DeclarativePoliciesAccessDenied], + errors: [ + RequestLimitExceeded, + DeclarativePoliciesAccessDenied, + UnauthorizedOperation, + ], operationName: "StartDeclarativePoliciesReport", })); export type StartInstancesError = @@ -97587,6 +99517,7 @@ export type StartInstancesError = | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Starts an Amazon EBS-backed instance that you've previously stopped. @@ -97627,6 +99558,7 @@ export const startInstances: API.OperationMethod< InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "StartInstances", })); @@ -97634,6 +99566,7 @@ export type StartNetworkInsightsAccessScopeAnalysisError = | RequestLimitExceeded | IdempotentParameterMismatch | InvalidParameterValue + | UnauthorizedOperation | CommonErrors; /** * Starts analyzing the specified Network Access Scope. @@ -97650,6 +99583,7 @@ export const startNetworkInsightsAccessScopeAnalysis: API.OperationMethod< RequestLimitExceeded, IdempotentParameterMismatch, InvalidParameterValue, + UnauthorizedOperation, ], operationName: "StartNetworkInsightsAccessScopeAnalysis", })); @@ -97657,6 +99591,7 @@ export type StartNetworkInsightsAnalysisError = | RequestLimitExceeded | InvalidParameterValue | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Starts analyzing the specified path. If the path is reachable, the @@ -97670,13 +99605,19 @@ export const startNetworkInsightsAnalysis: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StartNetworkInsightsAnalysisRequest, output: StartNetworkInsightsAnalysisResult, - errors: [RequestLimitExceeded, InvalidParameterValue, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidParameterValue, + MissingParameter, + UnauthorizedOperation, + ], operationName: "StartNetworkInsightsAnalysis", })); export type StartVpcEndpointServicePrivateDnsVerificationError = | RequestLimitExceeded | InvalidVpcEndpointServiceIdMalformed | InvalidVpcEndpointServiceIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Initiates the verification process to prove that the service provider owns the private @@ -97698,6 +99639,7 @@ export const startVpcEndpointServicePrivateDnsVerification: API.OperationMethod< RequestLimitExceeded, InvalidVpcEndpointServiceIdMalformed, InvalidVpcEndpointServiceIdNotFound, + UnauthorizedOperation, ], operationName: "StartVpcEndpointServicePrivateDnsVerification", })); @@ -97706,6 +99648,7 @@ export type StopInstancesError = | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Stops an Amazon EBS-backed instance. You can restart your instance at any time using @@ -97759,12 +99702,14 @@ export const stopInstances: API.OperationMethod< InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "StopInstances", })); export type TerminateClientVpnConnectionsError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user. @@ -97777,7 +99722,7 @@ export const terminateClientVpnConnections: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: TerminateClientVpnConnectionsRequest, output: TerminateClientVpnConnectionsResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "TerminateClientVpnConnections", })); export type TerminateInstancesError = @@ -97785,6 +99730,7 @@ export type TerminateInstancesError = | InvalidInstanceIDMalformed | InvalidInstanceIDNotFound | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Terminates (deletes) the specified instances. This operation is idempotent; if you @@ -97874,6 +99820,7 @@ export const terminateInstances: API.OperationMethod< InvalidInstanceIDMalformed, InvalidInstanceIDNotFound, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "TerminateInstances", })); @@ -97881,6 +99828,7 @@ export type UnassignIpv6AddressesError = | RequestLimitExceeded | InvalidNetworkInterfaceIDNotFound | InvalidParameterCombination + | UnauthorizedOperation | CommonErrors; /** * Unassigns the specified IPv6 addresses or Prefix Delegation prefixes from a network @@ -97898,6 +99846,7 @@ export const unassignIpv6Addresses: API.OperationMethod< RequestLimitExceeded, InvalidNetworkInterfaceIDNotFound, InvalidParameterCombination, + UnauthorizedOperation, ], operationName: "UnassignIpv6Addresses", })); @@ -97906,6 +99855,7 @@ export type UnassignPrivateIpAddressesError = | InvalidNetworkInterfaceIDNotFound | InvalidNetworkInterfaceIdMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation @@ -97924,6 +99874,7 @@ export const unassignPrivateIpAddresses: API.OperationMethod< InvalidNetworkInterfaceIDNotFound, InvalidNetworkInterfaceIdMalformed, MissingParameter, + UnauthorizedOperation, ], operationName: "UnassignPrivateIpAddresses", })); @@ -97955,6 +99906,7 @@ export const unassignPrivateNatGatewayAddress: API.OperationMethod< export type UnlockSnapshotError = | RequestLimitExceeded | InvalidSnapshotIDMalformed + | UnauthorizedOperation | CommonErrors; /** * Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode @@ -97969,13 +99921,18 @@ export const unlockSnapshot: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UnlockSnapshotRequest, output: UnlockSnapshotResult, - errors: [RequestLimitExceeded, InvalidSnapshotIDMalformed], + errors: [ + RequestLimitExceeded, + InvalidSnapshotIDMalformed, + UnauthorizedOperation, + ], operationName: "UnlockSnapshot", })); export type UnmonitorInstancesError = | RequestLimitExceeded | InvalidInstanceIDMalformed | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Disables detailed monitoring for a running instance. For more information, see Monitoring @@ -97990,7 +99947,12 @@ export const unmonitorInstances: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UnmonitorInstancesRequest, output: UnmonitorInstancesResult, - errors: [RequestLimitExceeded, InvalidInstanceIDMalformed, MissingParameter], + errors: [ + RequestLimitExceeded, + InvalidInstanceIDMalformed, + MissingParameter, + UnauthorizedOperation, + ], operationName: "UnmonitorInstances", })); export type UpdateCapacityManagerMonitoredTagKeysError = CommonErrors; @@ -98011,6 +99973,7 @@ export const updateCapacityManagerMonitoredTagKeys: API.OperationMethod< export type UpdateCapacityManagerOrganizationsAccessError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Updates the Organizations access setting for EC2 Capacity Manager. This controls whether Capacity Manager can aggregate @@ -98024,12 +99987,13 @@ export const updateCapacityManagerOrganizationsAccess: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateCapacityManagerOrganizationsAccessRequest, output: UpdateCapacityManagerOrganizationsAccessResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "UpdateCapacityManagerOrganizationsAccess", })); export type UpdateInterruptibleCapacityReservationAllocationError = | RequestLimitExceeded | InvalidCapacityReservationIdNotFound + | UnauthorizedOperation | CommonErrors; /** * Modifies the number of instances allocated to an interruptible reservation, allowing you to add more capacity or reclaim capacity to your source Capacity Reservation. @@ -98042,12 +100006,17 @@ export const updateInterruptibleCapacityReservationAllocation: API.OperationMeth > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateInterruptibleCapacityReservationAllocationRequest, output: UpdateInterruptibleCapacityReservationAllocationResult, - errors: [RequestLimitExceeded, InvalidCapacityReservationIdNotFound], + errors: [ + RequestLimitExceeded, + InvalidCapacityReservationIdNotFound, + UnauthorizedOperation, + ], operationName: "UpdateInterruptibleCapacityReservationAllocation", })); export type UpdateSecurityGroupRuleDescriptionsEgressError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Updates the description of an egress (outbound) security group rule. You @@ -98063,12 +100032,13 @@ export const updateSecurityGroupRuleDescriptionsEgress: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateSecurityGroupRuleDescriptionsEgressRequest, output: UpdateSecurityGroupRuleDescriptionsEgressResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "UpdateSecurityGroupRuleDescriptionsEgress", })); export type UpdateSecurityGroupRuleDescriptionsIngressError = | RequestLimitExceeded | MissingParameter + | UnauthorizedOperation | CommonErrors; /** * Updates the description of an ingress (inbound) security group rule. You can replace an @@ -98084,10 +100054,13 @@ export const updateSecurityGroupRuleDescriptionsIngress: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateSecurityGroupRuleDescriptionsIngressRequest, output: UpdateSecurityGroupRuleDescriptionsIngressResult, - errors: [RequestLimitExceeded, MissingParameter], + errors: [RequestLimitExceeded, MissingParameter, UnauthorizedOperation], operationName: "UpdateSecurityGroupRuleDescriptionsIngress", })); -export type WithdrawByoipCidrError = RequestLimitExceeded | CommonErrors; +export type WithdrawByoipCidrError = + | RequestLimitExceeded + | UnauthorizedOperation + | CommonErrors; /** * Stops advertising an address range that is provisioned as an address pool. * @@ -98105,6 +100078,6 @@ export const withdrawByoipCidr: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: WithdrawByoipCidrRequest, output: WithdrawByoipCidrResult, - errors: [RequestLimitExceeded], + errors: [RequestLimitExceeded, UnauthorizedOperation], operationName: "WithdrawByoipCidr", })); diff --git a/packages/aws/src/services/rds.ts b/packages/aws/src/services/rds.ts index 8c5747ccda..93a2bc6a95 100644 --- a/packages/aws/src/services/rds.ts +++ b/packages/aws/src/services/rds.ts @@ -11601,6 +11601,14 @@ export class TenantDatabaseQuotaExceededFault extends S.TaggedErrorClass()( + "InvalidParameterCombination", + { message: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class InvalidParameterValue extends S.TaggedErrorClass()( + "InvalidParameterValue", + { message: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} export class DBSubnetGroupNotAllowedFault extends S.TaggedErrorClass()( "DBSubnetGroupNotAllowedFault", { message: S.optional(S.String) }, @@ -12726,6 +12734,8 @@ export type CreateDBInstanceError = | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | VpcEncryptionControlViolationException + | InvalidParameterCombination + | InvalidParameterValue | CommonErrors; /** * Creates a new DB instance. @@ -12768,6 +12778,8 @@ export const createDBInstance: API.OperationMethod< StorageTypeNotSupportedFault, TenantDatabaseQuotaExceededFault, VpcEncryptionControlViolationException, + InvalidParameterCombination, + InvalidParameterValue, ], operationName: "CreateDBInstance", })); @@ -15906,6 +15918,8 @@ export type ModifyDBInstanceError = | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | VpcEncryptionControlViolationException + | InvalidParameterCombination + | InvalidParameterValue | CommonErrors; /** * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. To learn what modifications you can make to your DB instance, call `DescribeValidDBInstanceModifications` before you call `ModifyDBInstance`. @@ -15941,6 +15955,8 @@ export const modifyDBInstance: API.OperationMethod< StorageTypeNotSupportedFault, TenantDatabaseQuotaExceededFault, VpcEncryptionControlViolationException, + InvalidParameterCombination, + InvalidParameterValue, ], operationName: "ModifyDBInstance", })); diff --git a/packages/aws/src/services/sqs.ts b/packages/aws/src/services/sqs.ts index ba0ce7a30e..2aa84fd765 100644 --- a/packages/aws/src/services/sqs.ts +++ b/packages/aws/src/services/sqs.ts @@ -237,17 +237,17 @@ export const BatchResultErrorEntryList = /*@__PURE__*/ /*#__PURE__*/ S.Array( BatchResultErrorEntry, ); export interface ChangeMessageVisibilityBatchResult { - Successful: ChangeMessageVisibilityBatchResultEntry[]; - Failed: BatchResultErrorEntry[]; + Successful?: ChangeMessageVisibilityBatchResultEntry[]; + Failed?: BatchResultErrorEntry[]; } export const ChangeMessageVisibilityBatchResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - Successful: ChangeMessageVisibilityBatchResultEntryList.pipe( + Successful: S.optional(ChangeMessageVisibilityBatchResultEntryList).pipe( T.XmlName("ChangeMessageVisibilityBatchResultEntry"), T.XmlFlattened(), ), - Failed: BatchResultErrorEntryList.pipe( + Failed: S.optional(BatchResultErrorEntryList).pipe( T.XmlName("BatchResultErrorEntry"), T.XmlFlattened(), ), @@ -379,17 +379,17 @@ export type DeleteMessageBatchResultEntryList = DeleteMessageBatchResultEntry[]; export const DeleteMessageBatchResultEntryList = /*@__PURE__*/ /*#__PURE__*/ S.Array(DeleteMessageBatchResultEntry); export interface DeleteMessageBatchResult { - Successful: DeleteMessageBatchResultEntry[]; - Failed: BatchResultErrorEntry[]; + Successful?: DeleteMessageBatchResultEntry[]; + Failed?: BatchResultErrorEntry[]; } export const DeleteMessageBatchResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ - Successful: DeleteMessageBatchResultEntryList.pipe( + Successful: S.optional(DeleteMessageBatchResultEntryList).pipe( T.XmlName("DeleteMessageBatchResultEntry"), T.XmlFlattened(), ), - Failed: BatchResultErrorEntryList.pipe( + Failed: S.optional(BatchResultErrorEntryList).pipe( T.XmlName("BatchResultErrorEntry"), T.XmlFlattened(), ), @@ -956,13 +956,13 @@ export type SendMessageBatchResultEntryList = SendMessageBatchResultEntry[]; export const SendMessageBatchResultEntryList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SendMessageBatchResultEntry); export interface SendMessageBatchResult { - Successful: SendMessageBatchResultEntry[]; + Successful?: SendMessageBatchResultEntry[]; Failed?: BatchResultErrorEntry[]; } export const SendMessageBatchResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ - Successful: SendMessageBatchResultEntryList.pipe( + Successful: S.optional(SendMessageBatchResultEntryList).pipe( T.XmlName("SendMessageBatchResultEntry"), T.XmlFlattened(), ), diff --git a/packages/aws/test/client/paginate-done.test.ts b/packages/aws/test/client/paginate-done.test.ts new file mode 100644 index 0000000000..78290f322f --- /dev/null +++ b/packages/aws/test/client/paginate-done.test.ts @@ -0,0 +1,43 @@ +/** + * Unit tests for paginator done-detection. + * + * `makePaginated` streams pages until the response's continuation token is + * terminal. AWS marks the final page by omitting the token, returning it as + * `null`, or — for several services (e.g. SSM, CloudWatch Logs) — as an + * empty string. Treating `""` as a live token re-requests the first page + * with `NextToken: ""` forever. The official aws-sdk-js-v3 paginators stop + * on any falsy token (`hasNext = !!token`); `isTerminalPageToken` matches + * that behavior while keeping object tokens (DynamoDB `LastEvaluatedKey`) + * live. + */ +import { describe, expect, it } from "vitest"; +import { isTerminalPageToken } from "../../src/client/api.ts"; + +describe("isTerminalPageToken", () => { + it("treats an absent token as terminal", () => { + expect(isTerminalPageToken(undefined)).toBe(true); + }); + + it("treats a null token as terminal", () => { + expect(isTerminalPageToken(null)).toBe(true); + }); + + it("treats an empty-string token as terminal (SSM/CloudWatch Logs style)", () => { + expect(isTerminalPageToken("")).toBe(true); + }); + + it("treats a non-empty string token as a live token", () => { + expect(isTerminalPageToken("AAAAKgEB...")).toBe(false); + }); + + it("treats an object token (DynamoDB LastEvaluatedKey) as live", () => { + expect(isTerminalPageToken({ pk: { S: "a" } })).toBe(false); + // even an empty key object is not a documented terminal marker + expect(isTerminalPageToken({})).toBe(false); + }); + + it("treats a numeric token as live", () => { + expect(isTerminalPageToken(0)).toBe(false); + expect(isTerminalPageToken(2)).toBe(false); + }); +}); diff --git a/packages/aws/test/presign.test.ts b/packages/aws/test/presign.test.ts new file mode 100644 index 0000000000..3d06b512bb --- /dev/null +++ b/packages/aws/test/presign.test.ts @@ -0,0 +1,200 @@ +import { describe, expect, it } from "@effect/vitest"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Credentials from "../src/credentials.browser.ts"; +import { Endpoint } from "../src/endpoint.ts"; +import { presignS3Url, presignUrl } from "../src/presign.ts"; +import { Region } from "../src/region.ts"; + +const staticCredentials = Credentials.fromCredentials({ + accessKeyId: "AKIDEXAMPLE", + secretAccessKey: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", +}); + +const staticCredentialsWithSessionToken = Credentials.fromCredentials({ + accessKeyId: "AKIDEXAMPLE", + secretAccessKey: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", + sessionToken: "THESESSIONTOKEN", +}); + +const region = Layer.succeed(Region, Effect.succeed("us-east-1")); + +const layers = Layer.mergeAll(staticCredentials, region); + +const DATETIME = "20260101T000000Z"; + +describe("Presign", () => { + describe("presignS3Url", () => { + it.effect("mints a virtual-hosted-style presigned GET URL", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + bucket: "my-bucket", + key: "path/to/object.txt", + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.origin).toBe("https://my-bucket.s3.us-east-1.amazonaws.com"); + expect(url.pathname).toBe("/path/to/object.txt"); + expect(url.searchParams.get("X-Amz-Algorithm")).toBe( + "AWS4-HMAC-SHA256", + ); + expect(url.searchParams.get("X-Amz-Credential")).toBe( + "AKIDEXAMPLE/20260101/us-east-1/s3/aws4_request", + ); + expect(url.searchParams.get("X-Amz-Date")).toBe(DATETIME); + expect(url.searchParams.get("X-Amz-Expires")).toBe("900"); + expect(url.searchParams.get("X-Amz-SignedHeaders")).toBe("host"); + expect(url.searchParams.get("X-Amz-Signature")).toMatch( + /^[0-9a-f]{64}$/, + ); + }).pipe(Effect.provide(layers)), + ); + + it.effect("is deterministic for a fixed datetime and credentials", () => + Effect.gen(function* () { + const options = { + bucket: "my-bucket", + key: "object.txt", + datetime: DATETIME, + } as const; + const first = yield* presignS3Url(options); + const second = yield* presignS3Url(options); + expect(first).toBe(second); + }).pipe(Effect.provide(layers)), + ); + + it.effect("signs content-type into PUT URLs", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + method: "PUT", + bucket: "my-bucket", + key: "upload.json", + contentType: "application/json", + expiresIn: 3600, + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.searchParams.get("X-Amz-Expires")).toBe("3600"); + expect(url.searchParams.get("X-Amz-SignedHeaders")).toBe( + "content-type;host", + ); + }).pipe(Effect.provide(layers)), + ); + + it.effect("signs response-content-type overrides into GET URLs", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + bucket: "my-bucket", + key: "report.bin", + responseContentType: "application/pdf", + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.searchParams.get("response-content-type")).toBe( + "application/pdf", + ); + // pre-signature query params participate in the signature + const without = yield* presignS3Url({ + bucket: "my-bucket", + key: "report.bin", + datetime: DATETIME, + }); + expect(new URL(without).searchParams.get("X-Amz-Signature")).not.toBe( + url.searchParams.get("X-Amz-Signature"), + ); + }).pipe(Effect.provide(layers)), + ); + + it.effect("URI-encodes the key while preserving slashes", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + bucket: "my-bucket", + key: "dir with spaces/file+name.txt", + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.pathname).toBe("/dir%20with%20spaces/file%2Bname.txt"); + }).pipe(Effect.provide(layers)), + ); + + it.effect("includes the session token when present", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + bucket: "my-bucket", + key: "object.txt", + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.searchParams.get("X-Amz-Security-Token")).toBe( + "THESESSIONTOKEN", + ); + }).pipe( + Effect.provide( + Layer.mergeAll(staticCredentialsWithSessionToken, region), + ), + ), + ); + + it.effect("honors an explicit region over the Region service", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + bucket: "my-bucket", + key: "object.txt", + region: "eu-west-1", + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.host).toBe("my-bucket.s3.eu-west-1.amazonaws.com"); + expect(url.searchParams.get("X-Amz-Credential")).toBe( + "AKIDEXAMPLE/20260101/eu-west-1/s3/aws4_request", + ); + }).pipe(Effect.provide(layers)), + ); + + it.effect("uses path-style URLs under a custom Endpoint", () => + Effect.gen(function* () { + const signed = yield* presignS3Url({ + bucket: "my-bucket", + key: "object.txt", + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.origin).toBe("http://localhost:4566"); + expect(url.pathname).toBe("/my-bucket/object.txt"); + expect(url.searchParams.get("X-Amz-Signature")).toMatch( + /^[0-9a-f]{64}$/, + ); + }).pipe( + Effect.provide( + Layer.mergeAll( + layers, + Layer.succeed(Endpoint, Effect.succeed("http://localhost:4566/")), + ), + ), + ), + ); + }); + + describe("presignUrl", () => { + it.effect("presigns an arbitrary URL for any service", () => + Effect.gen(function* () { + const signed = yield* presignUrl({ + method: "POST", + url: "https://abc123.execute-api.us-east-1.amazonaws.com/prod/orders?limit=10", + service: "execute-api", + expiresIn: 60, + datetime: DATETIME, + }); + const url = new URL(signed); + expect(url.searchParams.get("limit")).toBe("10"); + expect(url.searchParams.get("X-Amz-Expires")).toBe("60"); + expect(url.searchParams.get("X-Amz-Credential")).toBe( + "AKIDEXAMPLE/20260101/us-east-1/execute-api/aws4_request", + ); + expect(url.searchParams.get("X-Amz-Signature")).toMatch( + /^[0-9a-f]{64}$/, + ); + }).pipe(Effect.provide(layers)), + ); + }); +}); diff --git a/packages/aws/test/protocols/aws-json-1.0.test.ts b/packages/aws/test/protocols/aws-json-1.0.test.ts index 2238a349e7..84b5f6a83a 100644 --- a/packages/aws/test/protocols/aws-json-1.0.test.ts +++ b/packages/aws/test/protocols/aws-json-1.0.test.ts @@ -919,9 +919,44 @@ describe("awsJson1_0 protocol", () => { ).pipe(Effect.flip); expect(result).toBeInstanceOf(ValidationException); + // The service's validation message must survive decoding — a + // ValidationException with an empty message hides the actual reason. + expect((result as ValidationException).message).toBe("Invalid input"); }), ); + it.effect( + "should surface ValidationException reason and fieldList details", + () => + Effect.gen(function* () { + const response: Response = { + status: 400, + statusText: "Bad Request", + headers: {}, + body: JSON.stringify({ + __type: "ValidationException", + message: "1 validation error detected", + reason: "FIELD_VALIDATION_FAILED", + fieldList: [{ name: "Name", message: "Member must not be null" }], + }), + }; + + const result = yield* parseResponse( + DescribeTableInput, + response, + [], + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(ValidationException); + const err = result as ValidationException; + expect(err.message).toBe("1 validation error detected"); + expect(err.reason).toBe("FIELD_VALIDATION_FAILED"); + expect(err.fieldList).toEqual([ + { name: "Name", message: "Member must not be null" }, + ]); + }), + ); + it.effect("should return UnknownAwsError for unknown error codes", () => Effect.gen(function* () { const response: Response = { diff --git a/packages/cloudflare/patches/workers/createRoute.json b/packages/cloudflare/patches/workers/createRoute.json index 7dcc1ad80c..a304863c26 100644 --- a/packages/cloudflare/patches/workers/createRoute.json +++ b/packages/cloudflare/patches/workers/createRoute.json @@ -1,7 +1,24 @@ { "errors": { - "InvalidRoutePattern": [{ "code": 10022 }], - "InvalidRoute": [{ "code": 7003 }], - "Forbidden": [{ "status": 403 }] + "InvalidRoutePattern": [ + { + "code": 10022 + } + ], + "InvalidRoute": [ + { + "code": 7003 + } + ], + "Forbidden": [ + { + "status": 403 + } + ], + "RouteScriptNotFound": [ + { + "code": 10019 + } + ] } -} +} \ No newline at end of file diff --git a/packages/cloudflare/specs/cloudflare/workers.openapi.yml b/packages/cloudflare/specs/cloudflare/workers.openapi.yml index 3fe20a550e..e72677d1a7 100644 --- a/packages/cloudflare/specs/cloudflare/workers.openapi.yml +++ b/packages/cloudflare/specs/cloudflare/workers.openapi.yml @@ -10995,6 +10995,8 @@ paths: - code: 7003 Forbidden: - status: 403 + RouteScriptNotFound: + - code: 10019 /accounts/{account_id}/workers/scripts/{scriptName}: get: operationId: getScript diff --git a/packages/cloudflare/src/services/workers.ts b/packages/cloudflare/src/services/workers.ts index 33c7dcfc2e..0187786f4d 100644 --- a/packages/cloudflare/src/services/workers.ts +++ b/packages/cloudflare/src/services/workers.ts @@ -210,6 +210,14 @@ export class RouteNotFound extends T.applyErrorMatchers( [{ code: 10009 }, { status: 404 }], ) {} +export class RouteScriptNotFound extends T.applyErrorMatchers( + Schema.TaggedErrorClass()("RouteScriptNotFound", { + code: Schema.Number, + message: Schema.String, + }), + [{ code: 10019 }], +) {} + export class ScriptModuleNotFound extends T.applyErrorMatchers( Schema.TaggedErrorClass()("ScriptModuleNotFound", { code: Schema.Number, @@ -14361,7 +14369,8 @@ export type CreateRouteError = | DefaultErrors | InvalidRoutePattern | InvalidRoute - | Forbidden; + | Forbidden + | RouteScriptNotFound; export const createRoute: API.OperationMethod< CreateRouteRequest, @@ -14371,7 +14380,7 @@ export const createRoute: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateRouteRequest, output: CreateRouteResponse, - errors: [InvalidRoutePattern, InvalidRoute, Forbidden], + errors: [InvalidRoutePattern, InvalidRoute, Forbidden, RouteScriptNotFound], })); export interface UpdateRouteRequest { diff --git a/packages/core/src/pagination.ts b/packages/core/src/pagination.ts index d2623eba72..997712974a 100644 --- a/packages/core/src/pagination.ts +++ b/packages/core/src/pagination.ts @@ -63,6 +63,18 @@ export type PaginationStrategy = < const missingPaginationConfig = (kind: string) => Stream.die(new Error(kind)); +/** + * Whether a continuation token/cursor returned by a paginated operation + * means "no more pages". + * + * APIs mark the terminal page by omitting the output token, returning it + * as `null`, or returning it as an empty string. Treating `""` as a live + * token re-requests the first page forever (the request builders skip + * falsy cursors, so the same page is fetched in an infinite loop). + */ +export const isTerminalToken = (token: unknown): boolean => + token === undefined || token === null || token === ""; + /** * Creates a stream for single-shot list endpoints that still expose the paginated API surface. */ @@ -227,7 +239,7 @@ export const paginateCursor = < const nextState: State = { cursor: nextCursor ?? undefined, - done: nextCursor === null || nextCursor === undefined, + done: isTerminalToken(nextCursor), }; return [response, nextState] as const; @@ -294,7 +306,7 @@ export const paginateToken = < const nextState: State = { token: nextToken, - done: nextToken === undefined || nextToken === null, + done: isTerminalToken(nextToken), }; return [response, nextState] as const; diff --git a/packages/core/test/pagination.test.ts b/packages/core/test/pagination.test.ts index 0e7d3ee27d..bf51490eb7 100644 --- a/packages/core/test/pagination.test.ts +++ b/packages/core/test/pagination.test.ts @@ -1,7 +1,13 @@ import * as Effect from "effect/Effect"; import * as Stream from "effect/Stream"; import { describe, expect, test } from "vitest"; -import { paginatePageNumber, paginateWithDefaults } from "../src/pagination.ts"; +import { + isTerminalToken, + paginateCursor, + paginatePageNumber, + paginateToken, + paginateWithDefaults, +} from "../src/pagination.ts"; const trait = { mode: "page", @@ -121,3 +127,119 @@ describe("paginatePageNumber", () => { expect(seenOptions).toEqual([options, options]); }); }); + +describe("isTerminalToken", () => { + test("treats undefined, null, and empty string as terminal", () => { + expect(isTerminalToken(undefined)).toBe(true); + expect(isTerminalToken(null)).toBe(true); + expect(isTerminalToken("")).toBe(true); + }); + + test("treats real tokens as live", () => { + expect(isTerminalToken("abc123")).toBe(false); + // object tokens (e.g. DynamoDB LastEvaluatedKey) + expect(isTerminalToken({ pk: "a" })).toBe(false); + expect(isTerminalToken(0)).toBe(false); + }); +}); + +describe("paginateToken", () => { + const tokenTrait = { + mode: "token", + inputToken: "NextToken", + outputToken: "NextToken", + items: "Items", + } as const; + + test("stops on an empty-string terminal token instead of looping", async () => { + // Several APIs (e.g. AWS SSM, CloudWatch Logs) mark the final page + // with `NextToken: ""` rather than omitting it. Treating "" as a live + // token re-requests the first page forever. + let calls = 0; + const op = (input: { NextToken?: string }) => + Effect.sync(() => { + calls++; + if (calls > 10) throw new Error("infinite pagination loop"); + return input.NextToken === "page2" + ? { Items: [{ id: "c" }], NextToken: "" } + : { Items: [{ id: "a" }, { id: "b" }], NextToken: "page2" }; + }); + + const items = await Effect.runPromise( + Stream.runCollect( + paginateToken(op as never, {}, tokenTrait).pipe( + Stream.flatMap((p) => + Stream.fromIterable((p as { Items: { id: string }[] }).Items), + ), + ), + ), + ); + + expect(Array.from(items).map((i) => i.id)).toEqual(["a", "b", "c"]); + expect(calls).toBe(2); + }); + + test("stops when the token is absent on the final page", async () => { + let calls = 0; + const op = (input: { NextToken?: string }) => + Effect.sync(() => { + calls++; + if (calls > 10) throw new Error("infinite pagination loop"); + return input.NextToken === "page2" + ? { Items: [{ id: "c" }] } + : { Items: [{ id: "a" }, { id: "b" }], NextToken: "page2" }; + }); + + const items = await Effect.runPromise( + Stream.runCollect( + paginateToken(op as never, {}, tokenTrait).pipe( + Stream.flatMap((p) => + Stream.fromIterable((p as { Items: { id: string }[] }).Items), + ), + ), + ), + ); + + expect(Array.from(items).map((i) => i.id)).toEqual(["a", "b", "c"]); + expect(calls).toBe(2); + }); +}); + +describe("paginateCursor", () => { + const cursorTrait = { + mode: "cursor", + inputToken: "cursor", + outputToken: "pagination.cursor", + items: "data", + } as const; + + test("stops on an empty-string cursor instead of looping", async () => { + // The request builder skips falsy cursors, so a live "" cursor would + // re-fetch the first page in an infinite loop. + let calls = 0; + const op = (input: { cursor?: string }) => + Effect.sync(() => { + calls++; + if (calls > 10) throw new Error("infinite pagination loop"); + return input.cursor === "cur2" + ? { data: [{ id: "c" }], pagination: { cursor: "" } } + : { + data: [{ id: "a" }, { id: "b" }], + pagination: { cursor: "cur2" }, + }; + }); + + const items = await Effect.runPromise( + Stream.runCollect( + paginateCursor(op as never, {}, cursorTrait).pipe( + Stream.flatMap((p) => + Stream.fromIterable((p as { data: { id: string }[] }).data), + ), + ), + ), + ); + + expect(Array.from(items).map((i) => i.id)).toEqual(["a", "b", "c"]); + expect(calls).toBe(2); + }); +}); From 9aeb81590c9d0b979a22f12bdd3fc9337d53ac1d Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Thu, 9 Jul 2026 18:02:54 -0700 Subject: [PATCH 02/63] feat(aws): smithy hostPrefix support (sync-states endpoints) + sesv2 MailFromAttributes patch - generator extracts smithy.api#endpoint into operation metadata (endpointHostPrefix); api.ts applies it with {label} substitution, skipped for custom Endpoint overrides - sfn regenerated: StartSyncExecution/TestState now target sync-states.* - sesv2: GetEmailIdentityResponse.MailFromAttributes members optional (wire omits MailFromDomain when not configured) Found live by alchemy AWS factory Wave 1B. Co-Authored-By: Claude Fable 5 --- packages/aws/patches/sesv2.json | 17 +++++++++++++++++ packages/aws/scripts/generate.ts | 25 ++++++++++++++++++++++--- packages/aws/src/client/api.ts | 13 +++++++++++++ packages/aws/src/client/operation.ts | 8 ++++++++ packages/aws/src/services/sesv2.ts | 12 ++++++------ packages/aws/src/services/sfn.ts | 2 ++ 6 files changed, 68 insertions(+), 9 deletions(-) create mode 100644 packages/aws/patches/sesv2.json diff --git a/packages/aws/patches/sesv2.json b/packages/aws/patches/sesv2.json new file mode 100644 index 0000000000..ee6880d845 --- /dev/null +++ b/packages/aws/patches/sesv2.json @@ -0,0 +1,17 @@ +{ + "structures": { + "MailFromAttributes": { + "members": { + "MailFromDomain": { + "optional": true + }, + "MailFromDomainStatus": { + "optional": true + }, + "BehaviorOnMxFailure": { + "optional": true + } + } + } + } +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index 7ec96c4e4e..a6fa40052a 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -2765,15 +2765,34 @@ const generateClient = Effect.fn(function* ( } : undefined; + // Extract the endpoint trait's hostPrefix (smithy.api#endpoint). + // Operations like SFN's StartSyncExecution must target a prefixed + // host (sync-states.{region}); the runtime applies this prefix to + // the resolved endpoint. + const endpointTrait = operationShape.traits?.["smithy.api#endpoint"] as + | { hostPrefix?: string } + | undefined; + const endpointHostPrefix = endpointTrait?.hostPrefix; + // Build operation object - include pagination metadata if present // Use 'as const' on pagination to preserve literal types for type inference // Always emit the Smithy operation name: protocols use it as the wire // Action / X-Amz-Target instead of guessing it from the input shape // identifier (which fails for e.g. AutoScaling's `...NamesType` shapes). const exportedName = formatName(operationShapeName, true); - const metaObject = paginatedTrait - ? `{ input: ${input}, output: ${output}, errors: ${operationErrors}, operationName: ${JSON.stringify(opName)}, pagination: ${JSON.stringify(paginatedTrait)} as const }` - : `{ input: ${input}, output: ${output}, errors: ${operationErrors}, operationName: ${JSON.stringify(opName)} }`; + const metaParts = [ + `input: ${input}`, + `output: ${output}`, + `errors: ${operationErrors}`, + `operationName: ${JSON.stringify(opName)}`, + ...(endpointHostPrefix !== undefined + ? [`endpointHostPrefix: ${JSON.stringify(endpointHostPrefix)}`] + : []), + ...(paginatedTrait + ? [`pagination: ${JSON.stringify(paginatedTrait)} as const`] + : []), + ]; + const metaObject = `{ ${metaParts.join(", ")} }`; // Build the error type alias for the function signature // Errors include operation-specific errors plus common API errors diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 428a9f80fd..0b85481dae 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -143,6 +143,19 @@ export const make = >( endpoint = `https://${serviceName}.${region}.amazonaws.com`; } + // Apply the Smithy `smithy.api#endpoint` hostPrefix (e.g. "sync-" for + // Step Functions StartSyncExecution -> sync-states.{region}). Skipped for + // custom endpoints, matching official AWS SDK behavior. Labels of the + // form {memberName} are substituted from the operation input. + if (op.endpointHostPrefix !== undefined && !customEndpoint) { + const resolvedPrefix = op.endpointHostPrefix.replace( + /\{(\w+)\}/g, + (_, member: string) => + String((payload as Record)?.[member] ?? ""), + ); + endpoint = endpoint.replace("://", `://${resolvedPrefix}`); + } + // Build full URL with query string const queryString = Object.entries(resolvedRequest.query) .filter(([_, v]) => v !== undefined) diff --git a/packages/aws/src/client/operation.ts b/packages/aws/src/client/operation.ts index de87955813..be808c2f33 100644 --- a/packages/aws/src/client/operation.ts +++ b/packages/aws/src/client/operation.ts @@ -26,6 +26,14 @@ export interface Operation< * `AutoScalingGroupNamesType`). */ operationName?: string; + /** + * The Smithy `smithy.api#endpoint` trait's `hostPrefix` (e.g. `"sync-"` on + * Step Functions' `StartSyncExecution`, which must target + * `sync-states.{region}` instead of `states.{region}`). Applied to the + * resolved endpoint's host unless a custom `Endpoint` service is provided. + * May contain `{memberName}` labels substituted from the operation input. + */ + endpointHostPrefix?: string; /** Pagination metadata for paginated operations */ pagination?: PaginatedTrait; } diff --git a/packages/aws/src/services/sesv2.ts b/packages/aws/src/services/sesv2.ts index 71a1923f73..eacfcb3b7a 100644 --- a/packages/aws/src/services/sesv2.ts +++ b/packages/aws/src/services/sesv2.ts @@ -3045,15 +3045,15 @@ export type BehaviorOnMxFailure = | (string & {}); export const BehaviorOnMxFailure = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface MailFromAttributes { - MailFromDomain: string; - MailFromDomainStatus: MailFromDomainStatus; - BehaviorOnMxFailure: BehaviorOnMxFailure; + MailFromDomain?: string; + MailFromDomainStatus?: MailFromDomainStatus; + BehaviorOnMxFailure?: BehaviorOnMxFailure; } export const MailFromAttributes = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - MailFromDomain: S.String, - MailFromDomainStatus: MailFromDomainStatus, - BehaviorOnMxFailure: BehaviorOnMxFailure, + MailFromDomain: S.optional(S.String), + MailFromDomainStatus: S.optional(MailFromDomainStatus), + BehaviorOnMxFailure: S.optional(BehaviorOnMxFailure), }), ).annotate({ identifier: "MailFromAttributes", diff --git a/packages/aws/src/services/sfn.ts b/packages/aws/src/services/sfn.ts index 87aa9cbb52..61fb43815e 100644 --- a/packages/aws/src/services/sfn.ts +++ b/packages/aws/src/services/sfn.ts @@ -4114,6 +4114,7 @@ export const startSyncExecution: API.OperationMethod< StateMachineTypeNotSupported, ], operationName: "StartSyncExecution", + endpointHostPrefix: "sync-", })); export type StopExecutionError = | ExecutionDoesNotExist @@ -4227,6 +4228,7 @@ export const testState: API.OperationMethod< ValidationException, ], operationName: "TestState", + endpointHostPrefix: "sync-", })); export type UntagResourceError = InvalidArn | ResourceNotFound | CommonErrors; /** From 6659c2b10130898c1d0462488382e1327909e03b Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Thu, 9 Jul 2026 19:26:30 -0700 Subject: [PATCH 03/63] fix(aws): eventstream union decode is service-free (Stream R widened to unknown) The event schema arrives via untyped AST annotations as Schema, whose decoding-services slot is unknown; generated event schemas carry no decode services, so the effect is annotated service-free. Co-Authored-By: Claude Fable 5 --- packages/aws/src/eventstream/parser.ts | 42 ++++++++++++++++++++++++- packages/aws/src/protocols/aws-json.ts | 16 ++++++++-- packages/aws/src/protocols/rest-json.ts | 6 +++- packages/aws/src/protocols/rest-xml.ts | 7 ++++- 4 files changed, 65 insertions(+), 6 deletions(-) diff --git a/packages/aws/src/eventstream/parser.ts b/packages/aws/src/eventstream/parser.ts index 4b6b69fb8d..2fbc04de77 100644 --- a/packages/aws/src/eventstream/parser.ts +++ b/packages/aws/src/eventstream/parser.ts @@ -7,6 +7,7 @@ import * as Effect from "effect/Effect"; import * as Ref from "effect/Ref"; +import * as Schema from "effect/Schema"; import * as Stream from "effect/Stream"; import { decodeMessage, @@ -201,18 +202,57 @@ export const transformEventStreamToUnion = ( }), ); +/** + * Decode each parsed union event through the operation's event schema (the + * Smithy union of event types). The payload parser alone only produces plain + * JSON/XML values — member transformations declared on the schema never run, + * so blob members stay base64 strings (instead of `Uint8Array` / + * `Redacted` for sensitive blobs) and timestamps stay numbers. + * Running the schema decode makes the runtime values match the generated + * types (e.g. Bedrock `InvokeModelWithResponseStream`'s `chunk.bytes`). + * + * An event that fails to decode is passed through raw so unmodeled events + * (`UnmodeledError`) and exception events keep flowing. + */ +export const decodeEventStreamUnion = ( + eventStream: Stream.Stream, + eventSchema: Schema.Schema | undefined, +): Stream.Stream => { + if (!eventSchema) return eventStream; + const decode = Schema.decodeUnknownEffect(eventSchema); + return Stream.mapEffect( + eventStream, + (event) => + decode(event).pipe( + Effect.map((decoded) => decoded as ParsedEvent), + Effect.catch(() => Effect.succeed(event)), + // The schema arrives via untyped AST annotations as `Schema`, + // whose decoding-services slot is `unknown`; generated event schemas + // are plain data codecs with no decode services, so the effect is + // service-free at runtime. + ) as Effect.Effect, + ); +}; + /** * Parse a ReadableStream of bytes into a Stream of typed union events. * * This is the high-level API that combines: * 1. parseEventStream - decode wire format to StreamEvents * 2. transformEventStreamToUnion - convert to typed union members + * 3. decodeEventStreamUnion - run the event schema so runtime values match + * the generated types (blobs → Uint8Array, sensitive blobs → Redacted) * * @param input - ReadableStream of event stream bytes * @param payloadParser - Function to parse event payloads (default: JSON) + * @param eventSchema - The Smithy union schema for the stream's events */ export const parseEventStreamToUnion = ( input: ReadableStream, payloadParser: PayloadParser = jsonPayloadParser, + eventSchema?: Schema.Schema, ): Stream.Stream => - transformEventStreamToUnion(parseEventStream(input), payloadParser); + decodeEventStreamUnion( + transformEventStreamToUnion(parseEventStream(input), payloadParser), + eventSchema, + ); diff --git a/packages/aws/src/protocols/aws-json.ts b/packages/aws/src/protocols/aws-json.ts index 94c64ff178..2ebdec3cc7 100644 --- a/packages/aws/src/protocols/aws-json.ts +++ b/packages/aws/src/protocols/aws-json.ts @@ -28,6 +28,7 @@ import { ParseError } from "../errors.ts"; import { parseEventStreamToUnion } from "../eventstream/parser.ts"; import { getAwsApiService, + getEventSchema, isOutputEventStream, isStreamingType, } from "../traits.ts"; @@ -75,13 +76,19 @@ function createAwsJsonProtocol(version: "1.0" | "1.1"): Protocol { // Check for streaming output member (event stream) let streamingOutputProp: - | { name: string; isEventStream: boolean } + | { + name: string; + isEventStream: boolean; + eventSchema?: Schema.Schema; + } | undefined; for (const prop of getEncodedPropertySignatures(outputAst)) { if (isStreamingType(prop.type)) { + const isEventStream = isOutputEventStream(prop.type); streamingOutputProp = { name: String(prop.name), - isEventStream: isOutputEventStream(prop.type), + isEventStream, + eventSchema: isEventStream ? getEventSchema(prop.type) : undefined, }; break; } @@ -113,10 +120,13 @@ function createAwsJsonProtocol(version: "1.0" | "1.1"): Protocol { // Handle streaming output (event stream) if (streamingOutputProp && response.body) { if (streamingOutputProp.isEventStream) { - // Parse event stream to typed union events + // Parse event stream to typed union events, decoded through the + // event schema so blob/timestamp members match the generated types return { [streamingOutputProp.name]: parseEventStreamToUnion( response.body as ReadableStream, + undefined, + streamingOutputProp.eventSchema, ), }; } diff --git a/packages/aws/src/protocols/rest-json.ts b/packages/aws/src/protocols/rest-json.ts index b863d4ee5a..c76a3dbd11 100644 --- a/packages/aws/src/protocols/rest-json.ts +++ b/packages/aws/src/protocols/rest-json.ts @@ -278,9 +278,13 @@ export const restJson1Protocol: Protocol = ( // Handle streaming output payload - return early if (outputPayloadProp?.isStreaming) { if (outputPayloadProp.isEventStream && response.body) { - // Parse event stream - converts raw bytes to typed union events + // Parse event stream - converts raw bytes to typed union events, + // decoded through the event schema so blob/timestamp members match + // the generated types result[outputPayloadProp.name] = parseEventStreamToUnion( response.body as ReadableStream, + undefined, + outputPayloadProp.eventSchema, ); } else { // Raw streaming output (blob) diff --git a/packages/aws/src/protocols/rest-xml.ts b/packages/aws/src/protocols/rest-xml.ts index aca9d82c13..ac138b357c 100644 --- a/packages/aws/src/protocols/rest-xml.ts +++ b/packages/aws/src/protocols/rest-xml.ts @@ -17,6 +17,7 @@ import { type PayloadParser, } from "../eventstream/parser.ts"; import { + getEventSchema, getHttpHeader, getHttpPrefixHeaders, getHttpQuery, @@ -116,6 +117,7 @@ export const restXmlProtocol: Protocol = ( type: AST.AST; isStreaming: boolean; isEventStream: boolean; + eventSchema?: S.Schema; isRawString: boolean; xmlName?: string; }; @@ -146,11 +148,13 @@ export const restXmlProtocol: Protocol = ( prefixHeaderProps.push({ name, prefix: prefixHeader.toLowerCase() }); } else if (hasHttpPayload(prop)) { const unwrapped = unwrapUnion(prop.type); + const isEventStream = isOutputEventStream(prop.type); outputPayloadProp = { name, type: prop.type, isStreaming: isStreamingType(prop.type), - isEventStream: isOutputEventStream(prop.type), + isEventStream, + eventSchema: isEventStream ? getEventSchema(prop.type) : undefined, isRawString: unwrapped._tag === "Union" || unwrapped._tag === "String", // Use property name as fallback when type annotations aren't preserved // (e.g., when using Schema.pipe to add HttpPayload annotation) @@ -262,6 +266,7 @@ export const restXmlProtocol: Protocol = ( result[outputPayloadProp.name] = parseEventStreamToUnion( response.body as ReadableStream, xmlPayloadParser, + outputPayloadProp.eventSchema, ); } else { // Raw streaming output (blob) From 999dea5648db12c0608d1c0a57d0ab8db3f9ae68 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Thu, 9 Jul 2026 20:40:18 -0700 Subject: [PATCH 04/63] feat(aws): syntheticErrors patch capability, rest-xml member-wrapped lists, route-53 schema patches - patches/{sdkId}.json gains per-operation syntheticErrors: typed error classes derived from a base wire error + message predicate (exact | includes | matches), matched before the base-code lookup; orphaned patch operation keys now fail generation - applied to xray: SamplingRuleNotFound / SamplingRuleAlreadyExists / GroupNotFound / GroupAlreadyExists (X-Ray discriminates these solely by InvalidRequestException.Message) - rest-xml deserializer handles Smithy's default -wrapped non-flattened lists (found by Route53 live tests) - route-53 response-schema patches (CreateHostedZoneResponse.DelegationSet et al) - removed two dead ec2 patch keys ahead of hard-fail orphan detection Found live by alchemy AWS factory Wave 1D. Co-Authored-By: Claude Fable 5 --- packages/aws/patches/ec2.json | 14 -- packages/aws/patches/route-53.json | 21 ++ packages/aws/patches/xray.json | 85 +++++++ packages/aws/scripts/generate.ts | 148 ++++++++++-- packages/aws/scripts/spec-schema.ts | 50 +++- packages/aws/src/client/response-parser.ts | 77 ++++++- packages/aws/src/protocols/rest-xml.ts | 7 +- packages/aws/src/services/route-53.ts | 12 +- packages/aws/src/services/xray.ts | 52 ++++- packages/aws/src/traits.ts | 27 +++ .../aws/test/client/synthetic-errors.test.ts | 218 ++++++++++++++++++ 11 files changed, 659 insertions(+), 52 deletions(-) create mode 100644 packages/aws/patches/xray.json create mode 100644 packages/aws/test/client/synthetic-errors.test.ts diff --git a/packages/aws/patches/ec2.json b/packages/aws/patches/ec2.json index 51fa688c67..cce807e237 100644 --- a/packages/aws/patches/ec2.json +++ b/packages/aws/patches/ec2.json @@ -2787,13 +2787,6 @@ "UnauthorizedOperation" ] }, - "cancelConversion": { - "errors": [ - "RequestLimitExceeded", - "InvalidAction", - "UnauthorizedOperation" - ] - }, "cancelDeclarativePoliciesReport": { "errors": [ "RequestLimitExceeded", @@ -3838,13 +3831,6 @@ "UnauthorizedOperation" ] }, - "modifyInstanceNetworkPerformance": { - "errors": [ - "RequestLimitExceeded", - "InvalidAction", - "UnauthorizedOperation" - ] - }, "modifyInstancePlacement": { "errors": [ "RequestLimitExceeded", diff --git a/packages/aws/patches/route-53.json b/packages/aws/patches/route-53.json index a374943fb4..37f44f1088 100644 --- a/packages/aws/patches/route-53.json +++ b/packages/aws/patches/route-53.json @@ -4,6 +4,13 @@ "ThrottlingException": ["ThrottlingError", "RetryableError"] }, "structures": { + "CreateHostedZoneResponse": { + "members": { + "DelegationSet": { + "optional": true + } + } + }, "ListResourceRecordSetsResponse": { "members": { "ResourceRecordSets": { @@ -37,6 +44,20 @@ "optional": true } } + }, + "ListVPCAssociationAuthorizationsResponse": { + "members": { + "VPCs": { + "optional": true + } + } + }, + "ListQueryLoggingConfigsResponse": { + "members": { + "QueryLoggingConfigs": { + "optional": true + } + } } } } diff --git a/packages/aws/patches/xray.json b/packages/aws/patches/xray.json new file mode 100644 index 0000000000..aaf57f0461 --- /dev/null +++ b/packages/aws/patches/xray.json @@ -0,0 +1,85 @@ +{ + "operations": { + "createGroup": { + "syntheticErrors": [ + { + "name": "GroupAlreadyExists", + "from": "InvalidRequestException", + "message": { + "matches": " already exists$" + } + } + ] + }, + "getGroup": { + "syntheticErrors": [ + { + "name": "GroupNotFound", + "from": "InvalidRequestException", + "message": "Group not found" + } + ] + }, + "updateGroup": { + "syntheticErrors": [ + { + "name": "GroupNotFound", + "from": "InvalidRequestException", + "message": "Group not found" + } + ] + }, + "deleteGroup": { + "syntheticErrors": [ + { + "name": "GroupNotFound", + "from": "InvalidRequestException", + "message": "Group not found" + } + ] + }, + "createSamplingRule": { + "syntheticErrors": [ + { + "name": "SamplingRuleAlreadyExists", + "from": "InvalidRequestException", + "message": "Sampling rule already exists" + } + ] + }, + "updateSamplingRule": { + "syntheticErrors": [ + { + "name": "SamplingRuleNotFound", + "from": "InvalidRequestException", + "message": "Sampling rule does not exist" + } + ] + }, + "deleteSamplingRule": { + "syntheticErrors": [ + { + "name": "SamplingRuleNotFound", + "from": "InvalidRequestException", + "message": "Sampling rule does not exist" + } + ] + } + }, + "errorCategories": { + "GroupNotFound": [ + "NotFoundError" + ], + "GroupAlreadyExists": [ + "AlreadyExistsError", + "ConflictError" + ], + "SamplingRuleNotFound": [ + "NotFoundError" + ], + "SamplingRuleAlreadyExists": [ + "AlreadyExistsError", + "ConflictError" + ] + } +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index a6fa40052a..a4a1a96109 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -15,7 +15,11 @@ import { import * as FileSystem from "effect/FileSystem"; import * as Path from "effect/Path"; import * as ChildProcess from "effect/unstable/process/ChildProcess"; -import { loadServiceSpecPatch, type ServiceSpec } from "./spec-schema.ts"; +import { + loadServiceSpecPatch, + type ServiceSpec, + type SyntheticError, +} from "./spec-schema.ts"; import type { RuleSetObject } from "./compile-rules.ts"; import { generateRuleSetCode } from "./compile-rules.ts"; import { @@ -118,6 +122,16 @@ class ShapeNotFound extends Data.TaggedError("ShapeNotFound")<{ }> {} class ProtocolNotFound extends Data.TaggedError("ProtocolNotFound")<{}> {} +// A patch file references an operation that does not exist in the Smithy +// model — usually a typo'd key that would otherwise silently no-op. +class OrphanedPatchOperations extends Data.TaggedError( + "OrphanedPatchOperations", +)<{ + sdkId: string; + operations: string[]; + message: string; +}> {} + //* todo(pear): better error here - most of these need to be handled class UnableToTransformShapeToSchema extends Data.TaggedError( "UnableToTransformShapeToSchema", @@ -1552,7 +1566,9 @@ const convertShapeToSchema: ( .map((v) => `"${v}"`) .join("\n | "); const typeAlias = `export type ${schemaName} =\n | ${literalUnion}\n | (string & {});`; - const schemaDef = annotatePureExportConst(`export const ${schemaName} = S.String;`); + const schemaDef = annotatePureExportConst( + `export const ${schemaName} = S.String;`, + ); return addAlias(Effect.succeed(`${typeAlias}\n${schemaDef}`), []); }, ), @@ -1583,7 +1599,9 @@ const convertShapeToSchema: ( const literals = enumValues.join(", "); const literalUnion = enumValues.join(" | "); const typeAlias = `export type ${schemaName} = ${literalUnion};`; - const schemaDef = annotatePureExportConst(`export const ${schemaName} = S.Literals([${literals}]);`); + const schemaDef = annotatePureExportConst( + `export const ${schemaName} = S.Literals([${literals}]);`, + ); return addAlias(Effect.succeed(`${typeAlias}\n${schemaDef}`), []); }, ), @@ -1638,8 +1656,12 @@ const convertShapeToSchema: ( ); const typeAlias = `export type ${schemaName} = ${memberTsType}[];`; const schemaDef = isCyclic - ? annotatePureExportConst(`export const ${schemaName} = S.Array(${innerType})${sparsePipe} as any as S.Schema<${schemaName}>;`) - : annotatePureExportConst(`export const ${schemaName} = S.Array(${innerType})${sparsePipe};`); + ? annotatePureExportConst( + `export const ${schemaName} = S.Array(${innerType})${sparsePipe} as any as S.Schema<${schemaName}>;`, + ) + : annotatePureExportConst( + `export const ${schemaName} = S.Array(${innerType})${sparsePipe};`, + ); return `${typeAlias}\n${schemaDef}`; }), ), @@ -2010,7 +2032,9 @@ const convertShapeToSchema: ( // Generate interface + suspend(struct) pattern // Trait annotations inside suspend, identifier outside const interfaceDef = `export interface ${exportedName} { ${interfaceFields} }`; - const schemaDef = annotatePureExportConst(`export const ${exportedName} = S.suspend(() => S.Struct({${schemaFields}})${encodeKeysPipe}${innerPipe})${outerAnnotation} as any as S.Schema<${exportedName}>;`); + const schemaDef = annotatePureExportConst( + `export const ${exportedName} = S.suspend(() => S.Struct({${schemaFields}})${encodeKeysPipe}${innerPipe})${outerAnnotation} as any as S.Schema<${exportedName}>;`, + ); return `${interfaceDef}\n${schemaDef}`; }), @@ -2259,8 +2283,12 @@ const convertShapeToSchema: ( } const schemaDef = isCyclic - ? annotatePureExportConst(`export const ${schemaName} = ${recordExpr} as any as S.Schema<${schemaName}>;`) - : annotatePureExportConst(`export const ${schemaName} = ${recordExpr};`); + ? annotatePureExportConst( + `export const ${schemaName} = ${recordExpr} as any as S.Schema<${schemaName}>;`, + ) + : annotatePureExportConst( + `export const ${schemaName} = ${recordExpr};`, + ); return `${typeAlias}\n${schemaDef}`; }), ), @@ -2348,13 +2376,22 @@ const addError = Effect.fn(function* (error: { name: string; shapeId: string; tag?: string; // Original AWS error code (may contain dots) + // When set, this error is synthesized from an existing wire error + a + // message predicate (see spec-schema.ts SyntheticError). It inherits the + // base error's fields and carries a T.SyntheticError annotation that the + // response parser matches BEFORE the plain wire-code lookup. + synthetic?: SyntheticError; }) { const sdkFile = yield* SdkFile; const existingErrors = yield* Ref.get(sdkFile.errors); if (!existingErrors.some((e) => e.name === error.name)) { - // Get the inline fields from errorFields map (from Smithy model) + // Get the inline fields from errorFields map (from Smithy model). + // Synthetic errors reuse the fields of the wire error they derive from. const errorFieldsMap = yield* Ref.get(sdkFile.errorFields); - let fields = errorFieldsMap.get(error.name) ?? "{}"; + let fields = + errorFieldsMap.get( + error.synthetic ? sanitizeErrorName(error.synthetic.from) : error.name, + ) ?? "{}"; // Check for error member patches from spec file const errorPatches = sdkFile.serviceSpec.errors?.[error.name]; @@ -2418,6 +2455,18 @@ const addError = Effect.fn(function* (error: { } } + // Synthetic errors carry the matcher (base wire code + message + // predicate) as an annotation the response parser evaluates BEFORE the + // plain wire-code lookup. + if (error.synthetic) { + annotations.push( + `T.SyntheticError(${JSON.stringify({ + from: error.synthetic.from, + message: error.synthetic.message, + })})`, + ); + } + // Map HTTP status codes to categories if (errorTraits?.httpError) { const code = errorTraits.httpError; @@ -2627,7 +2676,9 @@ const generateClient = Effect.fn(function* ( const outerAnnotation = `.annotate({ identifier: "${className}" })`; const interfaceDef = `export interface ${className} {}`; - const schemaDef = annotatePureExportConst(`export const ${className} = S.suspend(() => S.Struct({})${innerPipe})${outerAnnotation} as any as S.Schema<${className}>;`); + const schemaDef = annotatePureExportConst( + `export const ${className} = S.suspend(() => S.Struct({})${innerPipe})${outerAnnotation} as any as S.Schema<${className}>;`, + ); const definition = `${interfaceDef}\n${schemaDef}`; yield* Ref.update(sdkFile.schemas, (arr) => [ ...arr, @@ -2661,7 +2712,9 @@ const generateClient = Effect.fn(function* ( const outerAnnotation = `.annotate({ identifier: "${className}" })`; const interfaceDef = `export interface ${className} {}`; - const schemaDef = annotatePureExportConst(`export const ${className} = S.suspend(() => S.Struct({})${innerPipe})${outerAnnotation} as any as S.Schema<${className}>;`); + const schemaDef = annotatePureExportConst( + `export const ${className} = S.suspend(() => S.Struct({})${innerPipe})${outerAnnotation} as any as S.Schema<${className}>;`, + ); const definition = `${interfaceDef}\n${schemaDef}`; yield* Ref.update(sdkFile.schemas, (arr) => [ ...arr, @@ -2676,9 +2729,12 @@ const generateClient = Effect.fn(function* ( // Get patched errors from spec file for this operation // Use lowercase operation name to match spec file format - const patchedErrors = - sdkFile.serviceSpec.operations?.[formatName(operationShapeName, true)] - ?.errors ?? []; + const operationPatch = + sdkFile.serviceSpec.operations?.[ + formatName(operationShapeName, true) + ]; + const patchedErrors = operationPatch?.errors ?? []; + const patchedSyntheticErrors = operationPatch?.syntheticErrors ?? []; // Collect error names for both the runtime array and the type annotation const errorNames = yield* Effect.gen(function* () { @@ -2714,8 +2770,24 @@ const generateClient = Effect.fn(function* ( }), ); + // Process synthetic errors: NEW tags carved out of an existing + // wire error by message predicate (see spec-schema.ts + // SyntheticError). Processed after model errors so the base + // error's fields are available in errorFields. + const syntheticErrors = yield* Effect.forEach( + patchedSyntheticErrors, + (synthetic) => + addError({ + name: sanitizeErrorName(synthetic.name), + shapeId: `synthetic#${synthetic.name}`, + synthetic, + }), + ); + // Combine and deduplicate - return [...new Set([...modelErrors, ...patchErrors])]; + return [ + ...new Set([...modelErrors, ...patchErrors, ...syntheticErrors]), + ]; }); // Build the errors array string for runtime @@ -2959,6 +3031,32 @@ const generateClient = Effect.fn(function* ( }, ); + // Orphan detection: every operation key in patches/{sdkId}.json must + // correspond to a generated operation. A typo'd key would otherwise + // silently no-op — the exact failure mode patches exist to prevent. + const generatedOperationNames = new Set( + [...new Set(allOperationIds)].map((id) => formatName(id, true)), + ); + const orphanedPatchOperations = Object.keys( + sdkFile.serviceSpec.operations ?? {}, + ).filter((name) => !generatedOperationNames.has(name)); + if (orphanedPatchOperations.length > 0) { + return yield* Effect.fail( + new OrphanedPatchOperations({ + sdkId: sdkFile.serviceTraits.sdkId, + operations: orphanedPatchOperations, + message: `patches/${sdkFile.serviceTraits.sdkId + .toLowerCase() + .replaceAll( + " ", + "-", + )}.json patches unknown operation(s): ${orphanedPatchOperations.join( + ", ", + )}`, + }), + ); + } + // Get schemas and sort them topologically // Cycles were already computed before generation, so just sort const schemas = yield* Ref.get(sdkFile.schemas); @@ -3286,14 +3384,24 @@ BunRuntime.runMain( "partition", "partitions.json", ); - const partitionsExists = yield* fs.exists(partitionsSrc).pipe(Effect.catch(() => Effect.succeed(false))); + const partitionsExists = yield* fs + .exists(partitionsSrc) + .pipe(Effect.catch(() => Effect.succeed(false))); if (partitionsExists) { - yield* fs.makeDirectory(path.join("src", "rules-engine"), { recursive: true }); - const partitionsDest = path.join("src", "rules-engine", "partitions.json"); + yield* fs.makeDirectory(path.join("src", "rules-engine"), { + recursive: true, + }); + const partitionsDest = path.join( + "src", + "rules-engine", + "partitions.json", + ); yield* fs.copyFile(partitionsSrc, partitionsDest); yield* Console.log("✅ partitions.json"); } else { - yield* Console.log("⚠️ partitions.json not found (smithy submodule not initialized)"); + yield* Console.log( + "⚠️ partitions.json not found (smithy submodule not initialized)", + ); } const rootModelsPath = path.join(AWS_MODELS_PATH, "models"); diff --git a/packages/aws/scripts/spec-schema.ts b/packages/aws/scripts/spec-schema.ts index 1b3672fff7..fa87692ed7 100644 --- a/packages/aws/scripts/spec-schema.ts +++ b/packages/aws/scripts/spec-schema.ts @@ -41,7 +41,7 @@ export const CategorySchema = S.Literals([ AbortedError, NotFoundError, AlreadyExistsError, - DependencyViolationError + DependencyViolationError, ]); export type CategorySchema = typeof CategorySchema.Type; @@ -60,6 +60,48 @@ export const ErrorAlias = S.Struct({ }); export type ErrorAlias = typeof ErrorAlias.Type; +/** + * Message predicate for synthetic error matching. + * A plain string is an exact match; the object form supports substring + * (`includes`) and regular-expression (`matches`) predicates. An object + * must specify at least one of `includes`/`matches` — an empty object + * matches nothing. + */ +export const MessageMatcher = S.Union([ + S.String, + S.Struct({ + includes: S.optional(S.String), + matches: S.optional(S.String), + }), +]); +export type MessageMatcher = typeof MessageMatcher.Type; + +/** + * Synthetic error - carves a NEW typed error class out of an existing wire + * error using a message predicate. Some AWS services overload a single wire + * error (e.g. X-Ray's InvalidRequestException) for semantically distinct + * failures that are only distinguishable by message text. A synthetic error + * gives each failure mode its own tag in the operation's typed error union; + * the runtime checks synthetic matchers BEFORE the base wire-code lookup so + * the tag specializes the base error. + */ +export const SyntheticError = S.Struct({ + /** + * The new error tag to synthesize (e.g., "SamplingRuleNotFound"). + */ + name: S.String, + /** + * The wire error code this error derives from (e.g., "InvalidRequestException"). + * Compared against the wire code with Exception/Error suffix normalization. + */ + from: S.String, + /** + * The message predicate that selects this error over the base wire error. + */ + message: MessageMatcher, +}); +export type SyntheticError = typeof SyntheticError.Type; + /** * Patches for a single operation */ @@ -74,6 +116,12 @@ export const OperationPatch = S.Struct({ * Useful for deduplicating errors like "Error" vs "ErrorException". */ aliases: S.optional(S.Array(ErrorAlias)), + /** + * Synthetic errors - new error classes carved out of an existing wire error + * by message predicate. Checked before the base error at runtime so the + * synthetic tag specializes the overloaded wire error. + */ + syntheticErrors: S.optional(S.Array(SyntheticError)), }); export type OperationPatch = typeof OperationPatch.Type; diff --git a/packages/aws/src/client/response-parser.ts b/packages/aws/src/client/response-parser.ts index dcfbf6fe38..ea45c65e3e 100644 --- a/packages/aws/src/client/response-parser.ts +++ b/packages/aws/src/client/response-parser.ts @@ -14,7 +14,13 @@ import * as Effect from "effect/Effect"; import * as Schema from "effect/Schema"; import * as SchemaIssue from "effect/SchemaIssue"; import { COMMON_ERRORS, UnknownAwsError } from "../errors.ts"; -import { getAwsQueryError, getHttpHeader, getProtocol } from "../traits.ts"; +import { + getAwsQueryError, + getHttpHeader, + getProtocol, + getSyntheticError, + type SyntheticErrorTrait, +} from "../traits.ts"; import { getIdentifier, getPropertySignatures } from "../util/ast.ts"; import type { Operation } from "./operation.ts"; import type { Protocol, ProtocolHandler } from "./protocol.ts"; @@ -36,6 +42,38 @@ export type ResponseParser = ( response: Response, ) => Effect.Effect; +/** + * Strip the conventional Exception/Error suffix from a wire error code so + * synthetic `from` codes match both the full shape name and the short form. + */ +const stripErrorSuffix = (code: string): string => { + for (const suffix of ["Exception", "Error"]) { + if (code.endsWith(suffix)) return code.slice(0, -suffix.length); + } + return code; +}; + +const wireCodeMatches = (from: string, errorCode: string): boolean => + from === errorCode || stripErrorSuffix(from) === stripErrorSuffix(errorCode); + +/** + * Evaluate a synthetic error's message predicate. A plain string is an exact + * match; the object form supports substring (`includes`) and regex + * (`matches`) predicates. An empty object predicate would match every error + * — reject it. + */ +const matchesMessage = ( + matcher: SyntheticErrorTrait["message"], + message: string, +): boolean => { + if (typeof matcher === "string") return matcher === message; + const { includes, matches } = matcher; + if (includes === undefined && matches === undefined) return false; + if (includes !== undefined && !message.includes(includes)) return false; + if (matches !== undefined && !new RegExp(matches).test(message)) return false; + return true; +}; + /** * Create a response parser for a given operation. * @@ -99,11 +137,26 @@ export const makeResponseParser = ( // `Message` field) takes precedence over the field-less common error of the // same name. Otherwise the common error would clobber the specific one in // the map and the decoded error would drop its message/data. + // Synthetic errors (from spec patches) carve a new tag out of an existing + // wire error using a message predicate. They are matched BEFORE the plain + // wire-code lookup so the synthetic tag specializes the base error, and + // are intentionally NOT registered by wire code (the wire never returns + // the synthetic tag). + const syntheticErrors: Array<{ + schema: Schema.Top; + trait: SyntheticErrorTrait; + }> = []; + for (const err of COMMON_ERRORS) { registerError(err); } for (const err of operation.errors ?? []) { - registerError(err); + const synthetic = getSyntheticError(err.ast); + if (synthetic) { + syntheticErrors.push({ schema: err, trait: synthetic }); + } else { + registerError(err); + } } // Return a function that parses responses @@ -144,7 +197,25 @@ export const makeResponseParser = ( ).Message; } - const errorSchema = errorSchemas.get(errorCode); + // Synthetic errors specialize the base wire error. An exact-message + // matcher outranks a predicate matcher; ties resolve to declaration + // order (first registered wins). + const errorMessage = + data && typeof (data as Record).message === "string" + ? ((data as Record).message as string) + : ""; + let errorSchema: Schema.Top | undefined; + let bestScore = 0; + for (const { schema, trait } of syntheticErrors) { + if (!wireCodeMatches(trait.from, errorCode)) continue; + if (!matchesMessage(trait.message, errorMessage)) continue; + const score = typeof trait.message === "string" ? 2 : 1; + if (score > bestScore) { + bestScore = score; + errorSchema = schema; + } + } + errorSchema ??= errorSchemas.get(errorCode); if (errorSchema) { // Extract headers for error members with HttpHeader traits diff --git a/packages/aws/src/protocols/rest-xml.ts b/packages/aws/src/protocols/rest-xml.ts index ac138b357c..3efa25766e 100644 --- a/packages/aws/src/protocols/rest-xml.ts +++ b/packages/aws/src/protocols/rest-xml.ts @@ -517,9 +517,12 @@ function deserializeValue(ast: AST.AST, value: unknown): unknown { if (!elAST) return Array.isArray(value) ? value : [value]; // Handle wrapped arrays: { Item: [...] } - // Use xmlName trait first, then fall back to class identifier + // Use xmlName trait first, then fall back to class identifier, then the + // Smithy default wrapper for non-flattened lists: (e.g. + // CloudFront RealtimeLogConfig.EndPoints, whose list member carries no + // xmlName trait and arrives as ...). const elTag = getXmlNameFromAST(elAST) ?? getIdentifier(elAST); - const unwrapped = unwrapArrayValue(value, elTag); + const unwrapped = unwrapArrayValue(value, elTag, ["member"]); const items = Array.isArray(unwrapped) ? unwrapped : [unwrapped]; return items.map((item) => deserializeValue(elAST, item)); diff --git a/packages/aws/src/services/route-53.ts b/packages/aws/src/services/route-53.ts index 6a26b29f83..ddfc231b61 100644 --- a/packages/aws/src/services/route-53.ts +++ b/packages/aws/src/services/route-53.ts @@ -1259,7 +1259,7 @@ export const DelegationSet = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export interface CreateHostedZoneResponse { HostedZone: HostedZone; ChangeInfo: ChangeInfo; - DelegationSet: DelegationSet; + DelegationSet?: DelegationSet; VPC?: VPC; Location: string; } @@ -1268,7 +1268,7 @@ export const CreateHostedZoneResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( S.Struct({ HostedZone: HostedZone, ChangeInfo: ChangeInfo, - DelegationSet: DelegationSet, + DelegationSet: S.optional(DelegationSet), VPC: S.optional(VPC), Location: S.String.pipe(T.HttpHeader("Location")), }).pipe(ns), @@ -3161,13 +3161,13 @@ export const QueryLoggingConfigs = /*@__PURE__*/ /*#__PURE__*/ S.Array( }), ); export interface ListQueryLoggingConfigsResponse { - QueryLoggingConfigs: QueryLoggingConfig[]; + QueryLoggingConfigs?: QueryLoggingConfig[]; NextToken?: string; } export const ListQueryLoggingConfigsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - QueryLoggingConfigs: QueryLoggingConfigs, + QueryLoggingConfigs: S.optional(QueryLoggingConfigs), NextToken: S.optional(S.String), }).pipe(ns), ).annotate({ @@ -3695,14 +3695,14 @@ export const ListVPCAssociationAuthorizationsRequest = export interface ListVPCAssociationAuthorizationsResponse { HostedZoneId: string; NextToken?: string; - VPCs: VPC[]; + VPCs?: VPC[]; } export const ListVPCAssociationAuthorizationsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ HostedZoneId: S.String, NextToken: S.optional(S.String), - VPCs: VPCs, + VPCs: S.optional(VPCs), }).pipe(ns), ).annotate({ identifier: "ListVPCAssociationAuthorizationsResponse", diff --git a/packages/aws/src/services/xray.ts b/packages/aws/src/services/xray.ts index f9b3975826..41561f2eb0 100644 --- a/packages/aws/src/services/xray.ts +++ b/packages/aws/src/services/xray.ts @@ -2618,14 +2618,46 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( + "GroupAlreadyExists", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: " already exists$" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} export class RuleLimitExceededException extends S.TaggedErrorClass()( "RuleLimitExceededException", { Message: S.optional(S.String) }, ) {} +export class SamplingRuleAlreadyExists extends S.TaggedErrorClass()( + "SamplingRuleAlreadyExists", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: "Sampling rule already exists", + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} +export class GroupNotFound extends S.TaggedErrorClass()( + "GroupNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: "Group not found", + }), +).pipe(C.withNotFoundError) {} export class InvalidPolicyRevisionIdException extends S.TaggedErrorClass()( "InvalidPolicyRevisionIdException", { Message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class SamplingRuleNotFound extends S.TaggedErrorClass()( + "SamplingRuleNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: "Sampling rule does not exist", + }), +).pipe(C.withNotFoundError) {} export class LockoutPreventionException extends S.TaggedErrorClass()( "LockoutPreventionException", { Message: S.optional(S.String) }, @@ -2716,6 +2748,7 @@ export const cancelTraceRetrieval: API.OperationMethod< export type CreateGroupError = | InvalidRequestException | ThrottledException + | GroupAlreadyExists | CommonErrors; /** * Creates a group resource with a name and a filter expression. @@ -2728,13 +2761,14 @@ export const createGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateGroupRequest, output: CreateGroupResult, - errors: [InvalidRequestException, ThrottledException], + errors: [InvalidRequestException, ThrottledException, GroupAlreadyExists], operationName: "CreateGroup", })); export type CreateSamplingRuleError = | InvalidRequestException | RuleLimitExceededException | ThrottledException + | SamplingRuleAlreadyExists | CommonErrors; /** * Creates a rule to control sampling behavior for instrumented applications. Services @@ -2757,12 +2791,14 @@ export const createSamplingRule: API.OperationMethod< InvalidRequestException, RuleLimitExceededException, ThrottledException, + SamplingRuleAlreadyExists, ], operationName: "CreateSamplingRule", })); export type DeleteGroupError = | InvalidRequestException | ThrottledException + | GroupNotFound | CommonErrors; /** * Deletes a group resource. @@ -2775,7 +2811,7 @@ export const deleteGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteGroupRequest, output: DeleteGroupResult, - errors: [InvalidRequestException, ThrottledException], + errors: [InvalidRequestException, ThrottledException, GroupNotFound], operationName: "DeleteGroup", })); export type DeleteResourcePolicyError = @@ -2804,6 +2840,7 @@ export const deleteResourcePolicy: API.OperationMethod< export type DeleteSamplingRuleError = | InvalidRequestException | ThrottledException + | SamplingRuleNotFound | CommonErrors; /** * Deletes a sampling rule. @@ -2816,7 +2853,7 @@ export const deleteSamplingRule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteSamplingRuleRequest, output: DeleteSamplingRuleResult, - errors: [InvalidRequestException, ThrottledException], + errors: [InvalidRequestException, ThrottledException, SamplingRuleNotFound], operationName: "DeleteSamplingRule", })); export type GetEncryptionConfigError = @@ -2840,6 +2877,7 @@ export const getEncryptionConfig: API.OperationMethod< export type GetGroupError = | InvalidRequestException | ThrottledException + | GroupNotFound | CommonErrors; /** * Retrieves group resource details. @@ -2852,7 +2890,7 @@ export const getGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetGroupRequest, output: GetGroupResult, - errors: [InvalidRequestException, ThrottledException], + errors: [InvalidRequestException, ThrottledException, GroupNotFound], operationName: "GetGroup", })); export type GetGroupsError = @@ -3677,6 +3715,7 @@ export const untagResource: API.OperationMethod< export type UpdateGroupError = | InvalidRequestException | ThrottledException + | GroupNotFound | CommonErrors; /** * Updates a group resource. @@ -3689,7 +3728,7 @@ export const updateGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateGroupRequest, output: UpdateGroupResult, - errors: [InvalidRequestException, ThrottledException], + errors: [InvalidRequestException, ThrottledException, GroupNotFound], operationName: "UpdateGroup", })); export type UpdateIndexingRuleError = @@ -3720,6 +3759,7 @@ export const updateIndexingRule: API.OperationMethod< export type UpdateSamplingRuleError = | InvalidRequestException | ThrottledException + | SamplingRuleNotFound | CommonErrors; /** * Modifies a sampling rule's configuration. @@ -3732,7 +3772,7 @@ export const updateSamplingRule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateSamplingRuleRequest, output: UpdateSamplingRuleResult, - errors: [InvalidRequestException, ThrottledException], + errors: [InvalidRequestException, ThrottledException, SamplingRuleNotFound], operationName: "UpdateSamplingRule", })); export type UpdateTraceSegmentDestinationError = diff --git a/packages/aws/src/traits.ts b/packages/aws/src/traits.ts index 8829511fc1..ffb63bb874 100644 --- a/packages/aws/src/traits.ts +++ b/packages/aws/src/traits.ts @@ -564,6 +564,28 @@ export interface AwsQueryErrorTrait { export const AwsQueryError = (trait: AwsQueryErrorTrait) => makeAnnotation(awsQueryErrorSymbol, trait); +/** + * distilled patch trait - synthesizes a NEW error class from an existing wire + * error plus a message predicate. Some AWS services overload a single wire + * error (e.g. X-Ray's InvalidRequestException) for semantically distinct + * failures that are only distinguishable by message text. The response parser + * checks synthetic matchers BEFORE the plain wire-code lookup so the + * synthetic tag specializes the base error. + */ +export const syntheticErrorSymbol = "distilled-aws/synthetic-error" as const; +export interface SyntheticErrorTrait { + /** The wire error code this synthetic error derives from (e.g., "InvalidRequestException") */ + from: string; + /** + * Message predicate: a plain string is an exact match; the object form + * supports substring (`includes`) and regular-expression (`matches`) + * predicates. + */ + message: string | { includes?: string; matches?: string }; +} +export const SyntheticError = (trait: SyntheticErrorTrait) => + makeAnnotation(syntheticErrorSymbol, trait); + /** aws.customizations#s3UnwrappedXmlOutput - S3 output not wrapped in operation-level XML node */ export const s3UnwrappedXmlOutputSymbol = "distilled-aws/aws.customizations#s3UnwrappedXmlOutput" as const; @@ -1051,6 +1073,11 @@ export const getAwsQueryError = ( ): AwsQueryErrorTrait | undefined => getAnnotationUnwrap(ast, awsQueryErrorSymbol); +export const getSyntheticError = ( + ast: AST.AST, +): SyntheticErrorTrait | undefined => + getAnnotationUnwrap(ast, syntheticErrorSymbol); + export const getTimestampFormat = ( prop: AST.PropertySignature, ): TimestampFormatType | undefined => diff --git a/packages/aws/test/client/synthetic-errors.test.ts b/packages/aws/test/client/synthetic-errors.test.ts new file mode 100644 index 0000000000..d3ce0c695b --- /dev/null +++ b/packages/aws/test/client/synthetic-errors.test.ts @@ -0,0 +1,218 @@ +import { isNotFoundError } from "@distilled.cloud/core/category"; +import { it } from "@effect/vitest"; +import * as Effect from "effect/Effect"; +import type * as S from "effect/Schema"; +import { describe, expect } from "vitest"; +import { makeResponseParser } from "../../src/client/response-parser.ts"; +import type { Response } from "../../src/client/response.ts"; +import { restJson1Protocol } from "../../src/protocols/rest-json.ts"; + +// Real generated schemas from X-Ray — the reference consumer of synthetic +// errors. X-Ray overloads InvalidRequestException for missing/duplicate +// groups and sampling rules, distinguishable only by message text; the +// patches/xray.json syntheticErrors entries carve those out as typed tags. +import { + CreateGroupRequest, + CreateGroupResult, + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + GroupAlreadyExists, + GroupNotFound, + InvalidRequestException, + SamplingRuleNotFound, + ThrottledException, +} from "../../src/services/xray.ts"; + +// Helper to parse an error response for an operation with the given error union +const parseResponse = ( + input: S.Top, + output: S.Top, + errors: S.Top[], + response: Response, +) => { + const operation = { input, output, errors }; + const parser = makeResponseParser(operation as any, { + protocol: restJson1Protocol, + }); + return parser(response); +}; + +const deleteSamplingRuleErrors = [ + InvalidRequestException, + ThrottledException, + SamplingRuleNotFound, +]; + +const errorResponse = ( + errorType: string, + body: Record, +): Response => ({ + status: 400, + statusText: "Bad Request", + headers: { "x-amzn-errortype": errorType }, + body: JSON.stringify(body), +}); + +describe("synthetic errors", () => { + it.effect( + "should decode the synthetic tag when the wire error + exact message match", + () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("InvalidRequestException", { + Message: "Sampling rule does not exist", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(SamplingRuleNotFound); + expect((result as SamplingRuleNotFound)._tag).toBe( + "SamplingRuleNotFound", + ); + expect((result as SamplingRuleNotFound).Message).toBe( + "Sampling rule does not exist", + ); + }), + ); + + it.effect( + "should carry the patched error category on the synthetic tag", + () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("InvalidRequestException", { + Message: "Sampling rule does not exist", + }), + ).pipe(Effect.flip); + + expect(isNotFoundError(result)).toBe(true); + }), + ); + + it.effect( + "should fall back to the base wire error when the message does not match", + () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("InvalidRequestException", { + Message: "Rule name cannot be Default", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(InvalidRequestException); + expect((result as InvalidRequestException)._tag).toBe( + "InvalidRequestException", + ); + }), + ); + + it.effect( + "should fall back to the base wire error when the message is absent", + () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("InvalidRequestException", {}), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(InvalidRequestException); + }), + ); + + it.effect("should not intercept other wire errors in the same union", () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("ThrottledException", { + Message: "Sampling rule does not exist", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(ThrottledException); + }), + ); + + it.effect("should match a regex message predicate (GroupAlreadyExists)", () => + Effect.gen(function* () { + const result = yield* parseResponse( + CreateGroupRequest, + CreateGroupResult, + [InvalidRequestException, ThrottledException, GroupAlreadyExists], + errorResponse("InvalidRequestException", { + Message: "my-test-group already exists", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(GroupAlreadyExists); + expect((result as GroupAlreadyExists).Message).toBe( + "my-test-group already exists", + ); + }), + ); + + it.effect( + "should match when the wire code uses the short form (suffix-stripped)", + () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("InvalidRequest", { + Message: "Sampling rule does not exist", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(SamplingRuleNotFound); + }), + ); + + it.effect("should match against the lowercase message field as well", () => + Effect.gen(function* () { + const result = yield* parseResponse( + DeleteSamplingRuleRequest, + DeleteSamplingRuleResult, + deleteSamplingRuleErrors, + errorResponse("InvalidRequestException", { + message: "Sampling rule does not exist", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(SamplingRuleNotFound); + }), + ); + + it.effect( + "should keep GroupNotFound and GroupAlreadyExists disjoint on the same base error", + () => + Effect.gen(function* () { + const result = yield* parseResponse( + CreateGroupRequest, + CreateGroupResult, + [ + InvalidRequestException, + ThrottledException, + GroupAlreadyExists, + GroupNotFound, + ], + errorResponse("InvalidRequestException", { + Message: "Group not found", + }), + ).pipe(Effect.flip); + + expect(result).toBeInstanceOf(GroupNotFound); + }), + ); +}); From 761df2f3f21a64487d417ea14b06030a49b6d59a Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 10 Jul 2026 07:52:57 -0700 Subject: [PATCH 05/63] feat(aws): batch/apprunner/servicediscovery patches (waves 2A) - batch: ClientException syntheticErrors (not-found vs being-modified discrimination) - apprunner: lowercase enum members for AutoScalingConfigurationStatus + VpcConnectorStatus - servicediscovery: data- endpoint hostPrefix on DiscoverInstances; SOA.TTL + DnsConfig.DnsRecords optional Found live by alchemy AWS factory Phase 2 Wave 2A. Co-Authored-By: Claude Fable 5 --- packages/aws/patches/apprunner.json | 10 ++ packages/aws/patches/batch.json | 96 +++++++++++++++++++ packages/aws/patches/servicediscovery.json | 14 +++ packages/aws/src/services/apprunner.ts | 9 +- packages/aws/src/services/batch.ts | 95 +++++++++++++++++- packages/aws/src/services/servicediscovery.ts | 10 +- 6 files changed, 224 insertions(+), 10 deletions(-) create mode 100644 packages/aws/patches/apprunner.json create mode 100644 packages/aws/patches/batch.json create mode 100644 packages/aws/patches/servicediscovery.json diff --git a/packages/aws/patches/apprunner.json b/packages/aws/patches/apprunner.json new file mode 100644 index 0000000000..0f8fb2a2f8 --- /dev/null +++ b/packages/aws/patches/apprunner.json @@ -0,0 +1,10 @@ +{ + "enums": { + "AutoScalingConfigurationStatus": { + "add": ["active", "inactive"] + }, + "VpcConnectorStatus": { + "add": ["active", "inactive"] + } + } +} diff --git a/packages/aws/patches/batch.json b/packages/aws/patches/batch.json new file mode 100644 index 0000000000..7d28cb24db --- /dev/null +++ b/packages/aws/patches/batch.json @@ -0,0 +1,96 @@ +{ + "operations": { + "updateComputeEnvironment": { + "syntheticErrors": [ + { + "name": "ComputeEnvironmentNotFound", + "from": "ClientException", + "message": { + "matches": "compute-environment/.* does not exist" + } + }, + { + "name": "ComputeEnvironmentBeingModified", + "from": "ClientException", + "message": { + "includes": "is being modified" + } + } + ] + }, + "deleteComputeEnvironment": { + "syntheticErrors": [ + { + "name": "ComputeEnvironmentInUse", + "from": "ClientException", + "message": { + "includes": "found existing JobQueue relationship" + } + }, + { + "name": "ComputeEnvironmentBeingModified", + "from": "ClientException", + "message": { + "includes": "is being modified" + } + } + ] + }, + "createJobQueue": { + "syntheticErrors": [ + { + "name": "ComputeEnvironmentNotValid", + "from": "ClientException", + "message": { + "includes": "must be created and valid before attaching" + } + }, + { + "name": "JobQueueAlreadyExists", + "from": "ClientException", + "message": { + "includes": "already exists" + } + } + ] + }, + "updateJobQueue": { + "syntheticErrors": [ + { + "name": "JobQueueNotFound", + "from": "ClientException", + "message": { + "matches": "job-queue/.* does not exist" + } + }, + { + "name": "JobQueueBeingModified", + "from": "ClientException", + "message": { + "includes": "is being modified" + } + } + ] + }, + "deleteJobQueue": { + "syntheticErrors": [ + { + "name": "JobQueueBeingModified", + "from": "ClientException", + "message": { + "includes": "is being modified" + } + } + ] + } + }, + "errorCategories": { + "ComputeEnvironmentNotFound": ["NotFoundError"], + "ComputeEnvironmentBeingModified": ["ConflictError", "RetryableError"], + "ComputeEnvironmentInUse": ["DependencyViolationError", "RetryableError"], + "ComputeEnvironmentNotValid": ["DependencyViolationError", "RetryableError"], + "JobQueueNotFound": ["NotFoundError"], + "JobQueueAlreadyExists": ["AlreadyExistsError", "ConflictError"], + "JobQueueBeingModified": ["ConflictError", "RetryableError"] + } +} diff --git a/packages/aws/patches/servicediscovery.json b/packages/aws/patches/servicediscovery.json new file mode 100644 index 0000000000..510b4d1e74 --- /dev/null +++ b/packages/aws/patches/servicediscovery.json @@ -0,0 +1,14 @@ +{ + "structures": { + "SOA": { + "members": { + "TTL": { "optional": true } + } + }, + "DnsConfig": { + "members": { + "DnsRecords": { "optional": true } + } + } + } +} diff --git a/packages/aws/src/services/apprunner.ts b/packages/aws/src/services/apprunner.ts index 05360dfdac..9fa29c26b1 100644 --- a/packages/aws/src/services/apprunner.ts +++ b/packages/aws/src/services/apprunner.ts @@ -287,6 +287,8 @@ export const CreateAutoScalingConfigurationRequest = export type AutoScalingConfigurationStatus = | "ACTIVE" | "INACTIVE" + | "active" + | "inactive" | (string & {}); export const AutoScalingConfigurationStatus = /*@__PURE__*/ /*#__PURE__*/ S.String; @@ -864,7 +866,12 @@ export const CreateVpcConnectorRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( ).annotate({ identifier: "CreateVpcConnectorRequest", }) as any as S.Schema; -export type VpcConnectorStatus = "ACTIVE" | "INACTIVE" | (string & {}); +export type VpcConnectorStatus = + | "ACTIVE" + | "INACTIVE" + | "active" + | "inactive" + | (string & {}); export const VpcConnectorStatus = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface VpcConnector { VpcConnectorName?: string; diff --git a/packages/aws/src/services/batch.ts b/packages/aws/src/services/batch.ts index cee33cfa5d..e4d57fa356 100644 --- a/packages/aws/src/services/batch.ts +++ b/packages/aws/src/services/batch.ts @@ -5004,6 +5004,62 @@ export class ServerException extends S.TaggedErrorClass()( "ServerException", { message: S.optional(S.String) }, ).pipe(C.withServerError) {} +export class ComputeEnvironmentNotValid extends S.TaggedErrorClass()( + "ComputeEnvironmentNotValid", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { includes: "must be created and valid before attaching" }, + }), +).pipe(C.withDependencyViolationError, C.withRetryableError) {} +export class JobQueueAlreadyExists extends S.TaggedErrorClass()( + "JobQueueAlreadyExists", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { includes: "already exists" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} +export class ComputeEnvironmentInUse extends S.TaggedErrorClass()( + "ComputeEnvironmentInUse", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { includes: "found existing JobQueue relationship" }, + }), +).pipe(C.withDependencyViolationError, C.withRetryableError) {} +export class ComputeEnvironmentBeingModified extends S.TaggedErrorClass()( + "ComputeEnvironmentBeingModified", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { includes: "is being modified" }, + }), +).pipe(C.withConflictError, C.withRetryableError) {} +export class JobQueueBeingModified extends S.TaggedErrorClass()( + "JobQueueBeingModified", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { includes: "is being modified" }, + }), +).pipe(C.withConflictError, C.withRetryableError) {} +export class ComputeEnvironmentNotFound extends S.TaggedErrorClass()( + "ComputeEnvironmentNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { matches: "compute-environment/.* does not exist" }, + }), +).pipe(C.withNotFoundError) {} +export class JobQueueNotFound extends S.TaggedErrorClass()( + "JobQueueNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "ClientException", + message: { matches: "job-queue/.* does not exist" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type CancelJobError = ClientException | ServerException | CommonErrors; @@ -5098,6 +5154,8 @@ export const createConsumableResource: API.OperationMethod< export type CreateJobQueueError = | ClientException | ServerException + | ComputeEnvironmentNotValid + | JobQueueAlreadyExists | CommonErrors; /** * Creates an Batch job queue. When you create a job queue, you associate one or more @@ -5117,7 +5175,12 @@ export const createJobQueue: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateJobQueueRequest, output: CreateJobQueueResponse, - errors: [ClientException, ServerException], + errors: [ + ClientException, + ServerException, + ComputeEnvironmentNotValid, + JobQueueAlreadyExists, + ], operationName: "CreateJobQueue", })); export type CreateQuotaShareError = @@ -5177,6 +5240,8 @@ export const createServiceEnvironment: API.OperationMethod< export type DeleteComputeEnvironmentError = | ClientException | ServerException + | ComputeEnvironmentInUse + | ComputeEnvironmentBeingModified | CommonErrors; /** * Deletes an Batch compute environment. @@ -5196,7 +5261,12 @@ export const deleteComputeEnvironment: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteComputeEnvironmentRequest, output: DeleteComputeEnvironmentResponse, - errors: [ClientException, ServerException], + errors: [ + ClientException, + ServerException, + ComputeEnvironmentInUse, + ComputeEnvironmentBeingModified, + ], operationName: "DeleteComputeEnvironment", })); export type DeleteConsumableResourceError = @@ -5220,6 +5290,7 @@ export const deleteConsumableResource: API.OperationMethod< export type DeleteJobQueueError = | ClientException | ServerException + | JobQueueBeingModified | CommonErrors; /** * Deletes the specified job queue. You must first disable submissions for a queue with the @@ -5237,7 +5308,7 @@ export const deleteJobQueue: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteJobQueueRequest, output: DeleteJobQueueResponse, - errors: [ClientException, ServerException], + errors: [ClientException, ServerException, JobQueueBeingModified], operationName: "DeleteJobQueue", })); export type DeleteQuotaShareError = @@ -5989,6 +6060,8 @@ export const untagResource: API.OperationMethod< export type UpdateComputeEnvironmentError = | ClientException | ServerException + | ComputeEnvironmentNotFound + | ComputeEnvironmentBeingModified | CommonErrors; /** * Updates an Batch compute environment. @@ -6001,7 +6074,12 @@ export const updateComputeEnvironment: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateComputeEnvironmentRequest, output: UpdateComputeEnvironmentResponse, - errors: [ClientException, ServerException], + errors: [ + ClientException, + ServerException, + ComputeEnvironmentNotFound, + ComputeEnvironmentBeingModified, + ], operationName: "UpdateComputeEnvironment", })); export type UpdateConsumableResourceError = @@ -6025,6 +6103,8 @@ export const updateConsumableResource: API.OperationMethod< export type UpdateJobQueueError = | ClientException | ServerException + | JobQueueNotFound + | JobQueueBeingModified | CommonErrors; /** * Updates a job queue. @@ -6037,7 +6117,12 @@ export const updateJobQueue: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateJobQueueRequest, output: UpdateJobQueueResponse, - errors: [ClientException, ServerException], + errors: [ + ClientException, + ServerException, + JobQueueNotFound, + JobQueueBeingModified, + ], operationName: "UpdateJobQueue", })); export type UpdateQuotaShareError = diff --git a/packages/aws/src/services/servicediscovery.ts b/packages/aws/src/services/servicediscovery.ts index 14621635d1..c43fc9c7a8 100644 --- a/packages/aws/src/services/servicediscovery.ts +++ b/packages/aws/src/services/servicediscovery.ts @@ -163,10 +163,10 @@ export const CreateHttpNamespaceResponse = identifier: "CreateHttpNamespaceResponse", }) as any as S.Schema; export interface SOA { - TTL: number; + TTL?: number; } export const SOA = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ TTL: S.Number }), + S.Struct({ TTL: S.optional(S.Number) }), ).annotate({ identifier: "SOA" }) as any as S.Schema; export interface PrivateDnsPropertiesMutable { SOA: SOA; @@ -279,13 +279,13 @@ export const DnsRecordList = /*@__PURE__*/ /*#__PURE__*/ S.Array(DnsRecord); export interface DnsConfig { NamespaceId?: string; RoutingPolicy?: RoutingPolicy; - DnsRecords: DnsRecord[]; + DnsRecords?: DnsRecord[]; } export const DnsConfig = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ NamespaceId: S.optional(S.String), RoutingPolicy: S.optional(RoutingPolicy), - DnsRecords: DnsRecordList, + DnsRecords: S.optional(DnsRecordList), }), ).annotate({ identifier: "DnsConfig" }) as any as S.Schema; export type HealthCheckType = "HTTP" | "HTTPS" | "TCP" | (string & {}); @@ -1800,6 +1800,7 @@ export const discoverInstances: API.OperationMethod< ServiceNotFound, ], operationName: "DiscoverInstances", + endpointHostPrefix: "data-", })); export type DiscoverInstancesRevisionError = | InvalidInput @@ -1825,6 +1826,7 @@ export const discoverInstancesRevision: API.OperationMethod< ServiceNotFound, ], operationName: "DiscoverInstancesRevision", + endpointHostPrefix: "data-", })); export type GetInstanceError = | InstanceNotFound From f1dcb00a8ef4679a45adc57efd9954a6f248413b Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 10 Jul 2026 13:09:22 -0700 Subject: [PATCH 06/63] wip(aws): waves 3-5 patches + regenerated services (interrupted mid-wave-5) Error/schema/syntheticError patches + regenerated services across EKS, EC2, Athena, Glue, Bedrock-agent, Inspector2, IoT, Macie2, Timestream, AMP, MWAA, QuickSight, DataSync, Amplify, VerifiedPermissions, etc. Wave 5 was interrupted mid-flight; some services are partially regenerated. Co-Authored-By: Claude Fable 5 --- packages/aws/patches/amp.json | 18 +++++ packages/aws/patches/amplify.json | 15 ++++ packages/aws/patches/athena.json | 81 +++++++++++++++++++ packages/aws/patches/auto-scaling.json | 58 +++++++++++++ packages/aws/patches/bedrock-agent.json | 9 +++ packages/aws/patches/cloudformation.json | 25 ++++++ packages/aws/patches/datasync.json | 81 +++++++++++++++++++ packages/aws/patches/ec2.json | 6 ++ packages/aws/patches/eks.json | 6 ++ packages/aws/patches/glue.json | 43 ++++++++++ packages/aws/patches/inspector2.json | 22 +++++ packages/aws/patches/iot.json | 29 +++++++ packages/aws/patches/macie2.json | 16 ++++ packages/aws/patches/quicksight.json | 53 ++++++++++++ packages/aws/patches/timestream-query.json | 29 +++++++ packages/aws/patches/timestream-write.json | 29 +++++++ packages/aws/patches/verifiedpermissions.json | 15 ++++ packages/aws/src/services/amp.ts | 8 +- packages/aws/src/services/amplify.ts | 28 +++---- packages/aws/src/services/athena.ts | 72 +++++++++++++++-- packages/aws/src/services/auto-scaling.ts | 43 ++++++++-- packages/aws/src/services/bedrock-agent.ts | 4 +- packages/aws/src/services/cloudformation.ts | 27 ++++++- packages/aws/src/services/datasync.ts | 69 ++++++++++++++-- packages/aws/src/services/ec2.ts | 12 +++ packages/aws/src/services/eks.ts | 4 + packages/aws/src/services/glue.ts | 19 +++++ packages/aws/src/services/inspector2.ts | 26 +++--- packages/aws/src/services/iot.ts | 12 +++ packages/aws/src/services/macie2.ts | 10 +++ packages/aws/src/services/mwaa.ts | 12 +++ packages/aws/src/services/quicksight.ts | 20 +++++ packages/aws/src/services/timestream-query.ts | 20 ++++- packages/aws/src/services/timestream-write.ts | 20 ++++- .../aws/src/services/verifiedpermissions.ts | 58 ++++++++++--- 35 files changed, 926 insertions(+), 73 deletions(-) create mode 100644 packages/aws/patches/amp.json create mode 100644 packages/aws/patches/amplify.json create mode 100644 packages/aws/patches/athena.json create mode 100644 packages/aws/patches/auto-scaling.json create mode 100644 packages/aws/patches/bedrock-agent.json create mode 100644 packages/aws/patches/cloudformation.json create mode 100644 packages/aws/patches/datasync.json create mode 100644 packages/aws/patches/eks.json create mode 100644 packages/aws/patches/glue.json create mode 100644 packages/aws/patches/inspector2.json create mode 100644 packages/aws/patches/iot.json create mode 100644 packages/aws/patches/macie2.json create mode 100644 packages/aws/patches/quicksight.json create mode 100644 packages/aws/patches/timestream-query.json create mode 100644 packages/aws/patches/timestream-write.json create mode 100644 packages/aws/patches/verifiedpermissions.json diff --git a/packages/aws/patches/amp.json b/packages/aws/patches/amp.json new file mode 100644 index 0000000000..3193e9ecb2 --- /dev/null +++ b/packages/aws/patches/amp.json @@ -0,0 +1,18 @@ +{ + "structures": { + "RuleGroupsNamespaceDescription": { + "members": { + "data": { + "optional": true + } + } + }, + "AlertManagerDefinitionDescription": { + "members": { + "data": { + "optional": true + } + } + } + } +} diff --git a/packages/aws/patches/amplify.json b/packages/aws/patches/amplify.json new file mode 100644 index 0000000000..e8b25bf620 --- /dev/null +++ b/packages/aws/patches/amplify.json @@ -0,0 +1,15 @@ +{ + "structures": { + "App": { + "members": { + "repository": { "optional": true }, + "description": { "optional": true }, + "environmentVariables": { "optional": true }, + "enableBranchAutoBuild": { "optional": true }, + "enableBasicAuth": { "optional": true }, + "defaultDomain": { "optional": true }, + "platform": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/athena.json b/packages/aws/patches/athena.json new file mode 100644 index 0000000000..c037861282 --- /dev/null +++ b/packages/aws/patches/athena.json @@ -0,0 +1,81 @@ +{ + "operations": { + "getWorkGroup": { + "syntheticErrors": [ + { + "name": "WorkGroupNotFound", + "from": "InvalidRequestException", + "message": { "matches": "WorkGroup.*not found" } + } + ] + }, + "updateWorkGroup": { + "syntheticErrors": [ + { + "name": "WorkGroupNotFound", + "from": "InvalidRequestException", + "message": { "matches": "WorkGroup.*not found" } + } + ] + }, + "getNamedQuery": { + "syntheticErrors": [ + { + "name": "NamedQueryNotFound", + "from": "InvalidRequestException", + "message": { "matches": "NamedQuery.*does not exist" } + } + ] + }, + "updateNamedQuery": { + "syntheticErrors": [ + { + "name": "NamedQueryNotFound", + "from": "InvalidRequestException", + "message": { "matches": "NamedQuery.*does not exist" } + } + ] + }, + "deleteNamedQuery": { + "syntheticErrors": [ + { + "name": "NamedQueryNotFound", + "from": "InvalidRequestException", + "message": { "matches": "NamedQuery.*does not exist" } + } + ] + }, + "getDataCatalog": { + "syntheticErrors": [ + { + "name": "DataCatalogNotFound", + "from": "InvalidRequestException", + "message": { "matches": "DataCatalog.*not found" } + } + ] + }, + "updateDataCatalog": { + "syntheticErrors": [ + { + "name": "DataCatalogNotFound", + "from": "InvalidRequestException", + "message": { "matches": "DataCatalog.*not found" } + } + ] + }, + "deleteDataCatalog": { + "syntheticErrors": [ + { + "name": "DataCatalogNotFound", + "from": "InvalidRequestException", + "message": { "matches": "DataCatalog.*not found" } + } + ] + } + }, + "errorCategories": { + "WorkGroupNotFound": ["NotFoundError"], + "NamedQueryNotFound": ["NotFoundError"], + "DataCatalogNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/auto-scaling.json b/packages/aws/patches/auto-scaling.json new file mode 100644 index 0000000000..40b6ca96f5 --- /dev/null +++ b/packages/aws/patches/auto-scaling.json @@ -0,0 +1,58 @@ +{ + "operations": { + "describeScheduledActions": { + "syntheticErrors": [ + { + "name": "AutoScalingGroupNotFound", + "from": "ValidationError", + "message": { "includes": "not found" } + } + ] + }, + "putScheduledUpdateGroupAction": { + "syntheticErrors": [ + { + "name": "AutoScalingGroupNotFound", + "from": "ValidationError", + "message": { "includes": "not found" } + } + ] + }, + "deleteScheduledAction": { + "syntheticErrors": [ + { + "name": "AutoScalingGroupNotFound", + "from": "ValidationError", + "message": { "includes": "not found" } + } + ] + }, + "describeLifecycleHooks": { + "syntheticErrors": [ + { + "name": "AutoScalingGroupNotFound", + "from": "ValidationError", + "message": { "includes": "not found" } + } + ] + }, + "putLifecycleHook": { + "syntheticErrors": [ + { + "name": "AutoScalingGroupNotFound", + "from": "ValidationError", + "message": { "includes": "not found" } + } + ] + }, + "deleteLifecycleHook": { + "syntheticErrors": [ + { + "name": "AutoScalingGroupNotFound", + "from": "ValidationError", + "message": { "includes": "not found" } + } + ] + } + } +} diff --git a/packages/aws/patches/bedrock-agent.json b/packages/aws/patches/bedrock-agent.json new file mode 100644 index 0000000000..19d4cf0503 --- /dev/null +++ b/packages/aws/patches/bedrock-agent.json @@ -0,0 +1,9 @@ +{ + "structures": { + "Agent": { + "members": { + "agentVersion": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/cloudformation.json b/packages/aws/patches/cloudformation.json new file mode 100644 index 0000000000..82fc42f566 --- /dev/null +++ b/packages/aws/patches/cloudformation.json @@ -0,0 +1,25 @@ +{ + "operations": { + "describeStacks": { + "syntheticErrors": [ + { + "name": "StackNotFound", + "from": "ValidationError", + "message": { "includes": "does not exist" } + } + ] + }, + "updateStack": { + "syntheticErrors": [ + { + "name": "NoUpdateToPerform", + "from": "ValidationError", + "message": { "includes": "No updates are to be performed" } + } + ] + } + }, + "errorCategories": { + "StackNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/datasync.json b/packages/aws/patches/datasync.json new file mode 100644 index 0000000000..7da75e1f58 --- /dev/null +++ b/packages/aws/patches/datasync.json @@ -0,0 +1,81 @@ +{ + "operations": { + "createLocationS3": { + "syntheticErrors": [ + { + "name": "LocationRoleNotAssumable", + "from": "InvalidRequestException", + "message": { "includes": "Invalid IAM role" } + } + ] + }, + "createLocationEfs": { + "syntheticErrors": [ + { + "name": "LocationRoleNotAssumable", + "from": "InvalidRequestException", + "message": { "includes": "Invalid IAM role" } + } + ] + }, + "describeLocationS3": { + "syntheticErrors": [ + { + "name": "LocationNotFound", + "from": "InvalidRequestException", + "message": { "matches": "^Location .* is not found" } + } + ] + }, + "describeLocationEfs": { + "syntheticErrors": [ + { + "name": "LocationNotFound", + "from": "InvalidRequestException", + "message": { "matches": "^Location .* is not found" } + } + ] + }, + "deleteLocation": { + "syntheticErrors": [ + { + "name": "LocationNotFound", + "from": "InvalidRequestException", + "message": { "matches": "^Location .* is not found" } + } + ] + }, + "describeTask": { + "syntheticErrors": [ + { + "name": "TaskNotFound", + "from": "InvalidRequestException", + "message": { "matches": "^Task .* is not found" } + } + ] + }, + "updateTask": { + "syntheticErrors": [ + { + "name": "TaskNotFound", + "from": "InvalidRequestException", + "message": { "matches": "^Task .* is not found" } + } + ] + }, + "deleteTask": { + "syntheticErrors": [ + { + "name": "TaskNotFound", + "from": "InvalidRequestException", + "message": { "matches": "^Task .* is not found" } + } + ] + } + }, + "errorCategories": { + "LocationNotFound": ["NotFoundError"], + "TaskNotFound": ["NotFoundError"], + "LocationRoleNotAssumable": ["RetryableError"] + } +} diff --git a/packages/aws/patches/ec2.json b/packages/aws/patches/ec2.json index cce807e237..f65223237b 100644 --- a/packages/aws/patches/ec2.json +++ b/packages/aws/patches/ec2.json @@ -5,6 +5,10 @@ ], "IncorrectState": [ "ConflictError" + ], + "VolumeInUse": [ + "ConflictError", + "RetryableError" ] }, "operations": { @@ -1091,6 +1095,7 @@ "RequestLimitExceeded", "InvalidParameterValue", "InvalidVolume.NotFound", + "VolumeInUse", "UnauthorizedOperation" ] }, @@ -1111,6 +1116,7 @@ "InvalidInstanceID.NotFound", "InvalidParameterValue", "InvalidVolume.NotFound", + "VolumeInUse", "UnauthorizedOperation" ] }, diff --git a/packages/aws/patches/eks.json b/packages/aws/patches/eks.json new file mode 100644 index 0000000000..bd992a872f --- /dev/null +++ b/packages/aws/patches/eks.json @@ -0,0 +1,6 @@ +{ + "operations": { + "createFargateProfile": { "errors": ["ResourceInUseException"] }, + "deleteFargateProfile": { "errors": ["ResourceInUseException"] } + } +} diff --git a/packages/aws/patches/glue.json b/packages/aws/patches/glue.json new file mode 100644 index 0000000000..293f3ab412 --- /dev/null +++ b/packages/aws/patches/glue.json @@ -0,0 +1,43 @@ +{ + "operations": { + "createCrawler": { + "syntheticErrors": [ + { + "name": "GlueRoleNotAssumable", + "from": "InvalidInputException", + "message": { "includes": "unable to assume" } + } + ] + }, + "updateCrawler": { + "syntheticErrors": [ + { + "name": "GlueRoleNotAssumable", + "from": "InvalidInputException", + "message": { "includes": "unable to assume" } + } + ] + }, + "createJob": { + "syntheticErrors": [ + { + "name": "GlueRoleNotAssumable", + "from": "InvalidInputException", + "message": { "includes": "unable to assume" } + } + ] + }, + "updateJob": { + "syntheticErrors": [ + { + "name": "GlueRoleNotAssumable", + "from": "InvalidInputException", + "message": { "includes": "unable to assume" } + } + ] + } + }, + "errorCategories": { + "GlueRoleNotAssumable": ["RetryableError"] + } +} diff --git a/packages/aws/patches/inspector2.json b/packages/aws/patches/inspector2.json new file mode 100644 index 0000000000..f36f4cc205 --- /dev/null +++ b/packages/aws/patches/inspector2.json @@ -0,0 +1,22 @@ +{ + "structures": { + "State": { + "members": { + "errorCode": { "optional": true }, + "errorMessage": { "optional": true } + } + }, + "ResourceStatus": { + "members": { + "ec2": { "optional": true }, + "ecr": { "optional": true } + } + }, + "FailedAccount": { + "members": { + "errorCode": { "optional": true }, + "errorMessage": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/iot.json b/packages/aws/patches/iot.json new file mode 100644 index 0000000000..c6f779d621 --- /dev/null +++ b/packages/aws/patches/iot.json @@ -0,0 +1,29 @@ +{ + "operations": { + "getTopicRule": { + "syntheticErrors": [ + { + "name": "TopicRuleNotFound", + "from": "UnauthorizedException", + "message": { + "includes": "Access to topic rule" + } + } + ] + }, + "deleteTopicRule": { + "syntheticErrors": [ + { + "name": "TopicRuleNotFound", + "from": "UnauthorizedException", + "message": { + "includes": "Access to topic rule" + } + } + ] + } + }, + "errorCategories": { + "TopicRuleNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/macie2.json b/packages/aws/patches/macie2.json new file mode 100644 index 0000000000..3e3d783b0d --- /dev/null +++ b/packages/aws/patches/macie2.json @@ -0,0 +1,16 @@ +{ + "operations": { + "createClassificationJob": { + "syntheticErrors": [ + { + "name": "MacieNotEnabled", + "from": "AccessDeniedException", + "message": { "includes": "Macie is not enabled" } + } + ] + } + }, + "errorCategories": { + "MacieNotEnabled": ["RetryableError"] + } +} diff --git a/packages/aws/patches/quicksight.json b/packages/aws/patches/quicksight.json new file mode 100644 index 0000000000..6a6d694a58 --- /dev/null +++ b/packages/aws/patches/quicksight.json @@ -0,0 +1,53 @@ +{ + "operations": { + "createDataSource": { + "syntheticErrors": [ + { + "name": "QuickSightSubscriptionRequired", + "from": "ResourceNotFoundException", + "message": { + "includes": "Directory information" + } + } + ] + }, + "createDataSet": { + "syntheticErrors": [ + { + "name": "QuickSightSubscriptionRequired", + "from": "ResourceNotFoundException", + "message": { + "includes": "Directory information" + } + } + ] + }, + "createDashboard": { + "syntheticErrors": [ + { + "name": "QuickSightSubscriptionRequired", + "from": "ResourceNotFoundException", + "message": { + "includes": "Directory information" + } + } + ] + }, + "createAnalysis": { + "syntheticErrors": [ + { + "name": "QuickSightSubscriptionRequired", + "from": "ResourceNotFoundException", + "message": { + "includes": "Directory information" + } + } + ] + } + }, + "errorCategories": { + "QuickSightSubscriptionRequired": [ + "NotFoundError" + ] + } +} diff --git a/packages/aws/patches/timestream-query.json b/packages/aws/patches/timestream-query.json new file mode 100644 index 0000000000..f2466cff48 --- /dev/null +++ b/packages/aws/patches/timestream-query.json @@ -0,0 +1,29 @@ +{ + "operations": { + "describeEndpoints": { + "syntheticErrors": [ + { + "name": "TimestreamNotOnboarded", + "from": "AccessDeniedException", + "message": { + "includes": "Only existing Timestream for LiveAnalytics customers" + } + } + ] + }, + "query": { + "syntheticErrors": [ + { + "name": "TimestreamNotOnboarded", + "from": "AccessDeniedException", + "message": { + "includes": "Only existing Timestream for LiveAnalytics customers" + } + } + ] + } + }, + "errorCategories": { + "TimestreamNotOnboarded": ["AuthError"] + } +} diff --git a/packages/aws/patches/timestream-write.json b/packages/aws/patches/timestream-write.json new file mode 100644 index 0000000000..19980bae08 --- /dev/null +++ b/packages/aws/patches/timestream-write.json @@ -0,0 +1,29 @@ +{ + "operations": { + "describeEndpoints": { + "syntheticErrors": [ + { + "name": "TimestreamNotOnboarded", + "from": "AccessDeniedException", + "message": { + "includes": "Only existing Timestream for LiveAnalytics customers" + } + } + ] + }, + "createDatabase": { + "syntheticErrors": [ + { + "name": "TimestreamNotOnboarded", + "from": "AccessDeniedException", + "message": { + "includes": "Only existing Timestream for LiveAnalytics customers" + } + } + ] + } + }, + "errorCategories": { + "TimestreamNotOnboarded": ["AuthError"] + } +} diff --git a/packages/aws/patches/verifiedpermissions.json b/packages/aws/patches/verifiedpermissions.json new file mode 100644 index 0000000000..51893c72f7 --- /dev/null +++ b/packages/aws/patches/verifiedpermissions.json @@ -0,0 +1,15 @@ +{ + "operations": { + "createPolicyStore": { "errors": ["ValidationException"] }, + "updatePolicyStore": { "errors": ["ValidationException"] }, + "getPolicyStore": { "errors": ["ValidationException"] }, + "createPolicy": { "errors": ["ValidationException"] }, + "updatePolicy": { "errors": ["ValidationException"] }, + "getPolicy": { "errors": ["ValidationException"] }, + "putSchema": { "errors": ["ValidationException"] }, + "getSchema": { "errors": ["ValidationException"] }, + "isAuthorized": { "errors": ["ValidationException"] }, + "isAuthorizedWithToken": { "errors": ["ValidationException"] }, + "batchIsAuthorized": { "errors": ["ValidationException"] } + } +} diff --git a/packages/aws/src/services/amp.ts b/packages/aws/src/services/amp.ts index 7cb533922e..bdb88d8308 100644 --- a/packages/aws/src/services/amp.ts +++ b/packages/aws/src/services/amp.ts @@ -1032,7 +1032,7 @@ export const DescribeAlertManagerDefinitionRequest = }) as any as S.Schema; export interface AlertManagerDefinitionDescription { status: AlertManagerDefinitionStatus; - data: Uint8Array; + data?: Uint8Array; createdAt: Date; modifiedAt: Date; } @@ -1040,7 +1040,7 @@ export const AlertManagerDefinitionDescription = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ status: AlertManagerDefinitionStatus, - data: T.Blob, + data: S.optional(T.Blob), createdAt: S.Date.pipe(T.TimestampFormat("epoch-seconds")), modifiedAt: S.Date.pipe(T.TimestampFormat("epoch-seconds")), }), @@ -1889,7 +1889,7 @@ export interface RuleGroupsNamespaceDescription { arn: string; name: string; status: RuleGroupsNamespaceStatus; - data: Uint8Array; + data?: Uint8Array; createdAt: Date; modifiedAt: Date; tags?: { [key: string]: string | undefined }; @@ -1900,7 +1900,7 @@ export const RuleGroupsNamespaceDescription = arn: S.String, name: S.String, status: RuleGroupsNamespaceStatus, - data: T.Blob, + data: S.optional(T.Blob), createdAt: S.Date.pipe(T.TimestampFormat("epoch-seconds")), modifiedAt: S.Date.pipe(T.TimestampFormat("epoch-seconds")), tags: S.optional(TagMap), diff --git a/packages/aws/src/services/amplify.ts b/packages/aws/src/services/amplify.ts index 94ab289b3d..b5b11a656c 100644 --- a/packages/aws/src/services/amplify.ts +++ b/packages/aws/src/services/amplify.ts @@ -379,18 +379,18 @@ export interface App { appArn: string; name: string; tags?: { [key: string]: string | undefined }; - description: string; - repository: string; - platform: Platform; + description?: string; + repository?: string; + platform?: Platform; createTime: Date; updateTime: Date; computeRoleArn?: string; iamServiceRoleArn?: string; - environmentVariables: { [key: string]: string | undefined }; - defaultDomain: string; - enableBranchAutoBuild: boolean; + environmentVariables?: { [key: string]: string | undefined }; + defaultDomain?: string; + enableBranchAutoBuild?: boolean; enableBranchAutoDeletion?: boolean; - enableBasicAuth: boolean; + enableBasicAuth?: boolean; basicAuthCredentials?: string | redacted.Redacted; customRules?: CustomRule[]; productionBranch?: ProductionBranch; @@ -411,18 +411,18 @@ export const App = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => appArn: S.String, name: S.String, tags: S.optional(TagMap), - description: S.String, - repository: S.String, - platform: Platform, + description: S.optional(S.String), + repository: S.optional(S.String), + platform: S.optional(Platform), createTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")), updateTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")), computeRoleArn: S.optional(S.String), iamServiceRoleArn: S.optional(S.String), - environmentVariables: EnvironmentVariables, - defaultDomain: S.String, - enableBranchAutoBuild: S.Boolean, + environmentVariables: S.optional(EnvironmentVariables), + defaultDomain: S.optional(S.String), + enableBranchAutoBuild: S.optional(S.Boolean), enableBranchAutoDeletion: S.optional(S.Boolean), - enableBasicAuth: S.Boolean, + enableBasicAuth: S.optional(S.Boolean), basicAuthCredentials: S.optional(SensitiveString), customRules: S.optional(CustomRules), productionBranch: S.optional(ProductionBranch), diff --git a/packages/aws/src/services/athena.ts b/packages/aws/src/services/athena.ts index 5967862dc8..4c0622faea 100644 --- a/packages/aws/src/services/athena.ts +++ b/packages/aws/src/services/athena.ts @@ -3285,10 +3285,34 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( + "DataCatalogNotFound", + { AthenaErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "DataCatalog.*not found" }, + }), +).pipe(C.withNotFoundError) {} +export class NamedQueryNotFound extends S.TaggedErrorClass()( + "NamedQueryNotFound", + { AthenaErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "NamedQuery.*does not exist" }, + }), +).pipe(C.withNotFoundError) {} export class MetadataException extends S.TaggedErrorClass()( "MetadataException", { Message: S.optional(S.String) }, ) {} +export class WorkGroupNotFound extends S.TaggedErrorClass()( + "WorkGroupNotFound", + { AthenaErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "WorkGroup.*not found" }, + }), +).pipe(C.withNotFoundError) {} export class SessionAlreadyExistsException extends S.TaggedErrorClass()( "SessionAlreadyExistsException", { Message: S.optional(S.String) }, @@ -3573,6 +3597,7 @@ export const deleteCapacityReservation: API.OperationMethod< export type DeleteDataCatalogError = | InternalServerException | InvalidRequestException + | DataCatalogNotFound | CommonErrors; /** * Deletes a data catalog. @@ -3585,12 +3610,17 @@ export const deleteDataCatalog: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteDataCatalogInput, output: DeleteDataCatalogOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + DataCatalogNotFound, + ], operationName: "DeleteDataCatalog", })); export type DeleteNamedQueryError = | InternalServerException | InvalidRequestException + | NamedQueryNotFound | CommonErrors; /** * Deletes the named query if you have access to the workgroup in which the query was @@ -3604,7 +3634,11 @@ export const deleteNamedQuery: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteNamedQueryInput, output: DeleteNamedQueryOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + NamedQueryNotFound, + ], operationName: "DeleteNamedQuery", })); export type DeleteNotebookError = @@ -3824,6 +3858,7 @@ export const getDatabase: API.OperationMethod< export type GetDataCatalogError = | InternalServerException | InvalidRequestException + | DataCatalogNotFound | CommonErrors; /** * Returns the specified data catalog. @@ -3836,12 +3871,17 @@ export const getDataCatalog: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetDataCatalogInput, output: GetDataCatalogOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + DataCatalogNotFound, + ], operationName: "GetDataCatalog", })); export type GetNamedQueryError = | InternalServerException | InvalidRequestException + | NamedQueryNotFound | CommonErrors; /** * Returns information about a single query. Requires that you have access to the @@ -3855,7 +3895,11 @@ export const getNamedQuery: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetNamedQueryInput, output: GetNamedQueryOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + NamedQueryNotFound, + ], operationName: "GetNamedQuery", })); export type GetNotebookMetadataError = @@ -4122,6 +4166,7 @@ export const getTableMetadata: API.OperationMethod< export type GetWorkGroupError = | InternalServerException | InvalidRequestException + | WorkGroupNotFound | CommonErrors; /** * Returns information about the workgroup with the specified name. @@ -4134,7 +4179,7 @@ export const getWorkGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetWorkGroupInput, output: GetWorkGroupOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [InternalServerException, InvalidRequestException, WorkGroupNotFound], operationName: "GetWorkGroup", })); export type ImportNotebookError = @@ -5053,6 +5098,7 @@ export const updateCapacityReservation: API.OperationMethod< export type UpdateDataCatalogError = | InternalServerException | InvalidRequestException + | DataCatalogNotFound | CommonErrors; /** * Updates the data catalog that has the specified name. @@ -5065,12 +5111,17 @@ export const updateDataCatalog: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateDataCatalogInput, output: UpdateDataCatalogOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + DataCatalogNotFound, + ], operationName: "UpdateDataCatalog", })); export type UpdateNamedQueryError = | InternalServerException | InvalidRequestException + | NamedQueryNotFound | CommonErrors; /** * Updates a NamedQuery object. The database or workgroup cannot be @@ -5084,7 +5135,11 @@ export const updateNamedQuery: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateNamedQueryInput, output: UpdateNamedQueryOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + NamedQueryNotFound, + ], operationName: "UpdateNamedQuery", })); export type UpdateNotebookError = @@ -5159,6 +5214,7 @@ export const updatePreparedStatement: API.OperationMethod< export type UpdateWorkGroupError = | InternalServerException | InvalidRequestException + | WorkGroupNotFound | CommonErrors; /** * Updates the workgroup with the specified name. The workgroup's name cannot be changed. @@ -5172,6 +5228,6 @@ export const updateWorkGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateWorkGroupInput, output: UpdateWorkGroupOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [InternalServerException, InvalidRequestException, WorkGroupNotFound], operationName: "UpdateWorkGroup", })); diff --git a/packages/aws/src/services/auto-scaling.ts b/packages/aws/src/services/auto-scaling.ts index 0ab7e52eae..7c9b89361d 100644 --- a/packages/aws/src/services/auto-scaling.ts +++ b/packages/aws/src/services/auto-scaling.ts @@ -4719,6 +4719,14 @@ export class ScalingActivityInProgressFault extends S.TaggedErrorClass()( + "AutoScalingGroupNotFound", + {}, + T.SyntheticError({ + from: "ValidationError", + message: { includes: "not found" }, + }), +) {} export class InvalidNextToken extends S.TaggedErrorClass()( "InvalidNextToken", { message: S.optional(S.String) }, @@ -5191,7 +5199,10 @@ export const deleteLaunchConfiguration: API.OperationMethod< errors: [ResourceContentionFault, ResourceInUseFault], operationName: "DeleteLaunchConfiguration", })); -export type DeleteLifecycleHookError = ResourceContentionFault | CommonErrors; +export type DeleteLifecycleHookError = + | ResourceContentionFault + | AutoScalingGroupNotFound + | CommonErrors; /** * Deletes the specified lifecycle hook. * @@ -5207,7 +5218,7 @@ export const deleteLifecycleHook: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteLifecycleHookType, output: DeleteLifecycleHookAnswer, - errors: [ResourceContentionFault], + errors: [ResourceContentionFault, AutoScalingGroupNotFound], operationName: "DeleteLifecycleHook", })); export type DeleteNotificationConfigurationError = @@ -5252,7 +5263,10 @@ export const deletePolicy: API.OperationMethod< errors: [ResourceContentionFault, ServiceLinkedRoleFailure], operationName: "DeletePolicy", })); -export type DeleteScheduledActionError = ResourceContentionFault | CommonErrors; +export type DeleteScheduledActionError = + | ResourceContentionFault + | AutoScalingGroupNotFound + | CommonErrors; /** * Deletes the specified scheduled action. */ @@ -5264,7 +5278,7 @@ export const deleteScheduledAction: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteScheduledActionType, output: DeleteScheduledActionResponse, - errors: [ResourceContentionFault], + errors: [ResourceContentionFault, AutoScalingGroupNotFound], operationName: "DeleteScheduledAction", })); export type DeleteTagsError = @@ -5554,6 +5568,7 @@ export const describeLaunchConfigurations: API.OperationMethod< })); export type DescribeLifecycleHooksError = | ResourceContentionFault + | AutoScalingGroupNotFound | CommonErrors; /** * Gets information about the lifecycle hooks for the specified Auto Scaling group. @@ -5566,7 +5581,7 @@ export const describeLifecycleHooks: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeLifecycleHooksType, output: DescribeLifecycleHooksAnswer, - errors: [ResourceContentionFault], + errors: [ResourceContentionFault, AutoScalingGroupNotFound], operationName: "DescribeLifecycleHooks", })); export type DescribeLifecycleHookTypesError = @@ -5901,6 +5916,7 @@ export const describeScalingProcessTypes: API.OperationMethod< export type DescribeScheduledActionsError = | InvalidNextToken | ResourceContentionFault + | AutoScalingGroupNotFound | CommonErrors; /** * Gets information about the scheduled actions that haven't run or that have not reached @@ -5932,7 +5948,7 @@ export const describeScheduledActions: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeScheduledActionsType, output: ScheduledActionsType, - errors: [InvalidNextToken, ResourceContentionFault], + errors: [InvalidNextToken, ResourceContentionFault, AutoScalingGroupNotFound], operationName: "DescribeScheduledActions", pagination: { inputToken: "NextToken", @@ -6370,6 +6386,7 @@ export const launchInstances: API.OperationMethod< export type PutLifecycleHookError = | LimitExceededFault | ResourceContentionFault + | AutoScalingGroupNotFound | CommonErrors; /** * Creates or updates a lifecycle hook for the specified Auto Scaling group. @@ -6420,7 +6437,11 @@ export const putLifecycleHook: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutLifecycleHookType, output: PutLifecycleHookAnswer, - errors: [LimitExceededFault, ResourceContentionFault], + errors: [ + LimitExceededFault, + ResourceContentionFault, + AutoScalingGroupNotFound, + ], operationName: "PutLifecycleHook", })); export type PutNotificationConfigurationError = @@ -6497,6 +6518,7 @@ export type PutScheduledUpdateGroupActionError = | AlreadyExistsFault | LimitExceededFault | ResourceContentionFault + | AutoScalingGroupNotFound | CommonErrors; /** * Creates or updates a scheduled scaling action for an Auto Scaling group. @@ -6520,7 +6542,12 @@ export const putScheduledUpdateGroupAction: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutScheduledUpdateGroupActionType, output: PutScheduledUpdateGroupActionResponse, - errors: [AlreadyExistsFault, LimitExceededFault, ResourceContentionFault], + errors: [ + AlreadyExistsFault, + LimitExceededFault, + ResourceContentionFault, + AutoScalingGroupNotFound, + ], operationName: "PutScheduledUpdateGroupAction", })); export type PutWarmPoolError = diff --git a/packages/aws/src/services/bedrock-agent.ts b/packages/aws/src/services/bedrock-agent.ts index d3ecb1e4a6..4fe0d384e7 100644 --- a/packages/aws/src/services/bedrock-agent.ts +++ b/packages/aws/src/services/bedrock-agent.ts @@ -3832,7 +3832,7 @@ export interface Agent { agentId: string; agentName: string; agentArn: string; - agentVersion: string; + agentVersion?: string; clientToken?: string; instruction?: string | redacted.Redacted; agentStatus: AgentStatus; @@ -3858,7 +3858,7 @@ export const Agent = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => agentId: S.String, agentName: S.String, agentArn: S.String, - agentVersion: S.String, + agentVersion: S.optional(S.String), clientToken: S.optional(S.String), instruction: S.optional(SensitiveString), agentStatus: AgentStatus, diff --git a/packages/aws/src/services/cloudformation.ts b/packages/aws/src/services/cloudformation.ts index 7313603bc6..0aff4e912f 100644 --- a/packages/aws/src/services/cloudformation.ts +++ b/packages/aws/src/services/cloudformation.ts @@ -6572,6 +6572,14 @@ export class StackRefactorNotFoundException extends S.TaggedErrorClass()( + "StackNotFound", + {}, + T.SyntheticError({ + from: "ValidationError", + message: { includes: "does not exist" }, + }), +).pipe(C.withNotFoundError) {} export class HookResultNotFoundException extends S.TaggedErrorClass()( "HookResultNotFoundException", { Message: S.optional(S.String) }, @@ -6602,6 +6610,14 @@ export class ResourceScanLimitExceededException extends S.TaggedErrorClass()( + "NoUpdateToPerform", + {}, + T.SyntheticError({ + from: "ValidationError", + message: { includes: "No updates are to be performed" }, + }), +) {} //# Operations export type ActivateOrganizationsAccessError = @@ -7553,7 +7569,7 @@ export const describeStackResources: API.OperationMethod< errors: [], operationName: "DescribeStackResources", })); -export type DescribeStacksError = CommonErrors; +export type DescribeStacksError = StackNotFound | CommonErrors; /** * Returns the description for the specified stack; if no stack name was specified, then it * returns the description for all the stacks created. For more information about a stack's event @@ -7585,7 +7601,7 @@ export const describeStacks: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeStacksInput, output: DescribeStacksOutput, - errors: [], + errors: [StackNotFound], operationName: "DescribeStacks", pagination: { inputToken: "NextToken", @@ -9127,6 +9143,7 @@ export const updateGeneratedTemplate: API.OperationMethod< export type UpdateStackError = | InsufficientCapabilitiesException | TokenAlreadyExistsException + | NoUpdateToPerform | CommonErrors; /** * Updates a stack as specified in the template. After the call completes successfully, the @@ -9147,7 +9164,11 @@ export const updateStack: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateStackInput, output: UpdateStackOutput, - errors: [InsufficientCapabilitiesException, TokenAlreadyExistsException], + errors: [ + InsufficientCapabilitiesException, + TokenAlreadyExistsException, + NoUpdateToPerform, + ], operationName: "UpdateStack", })); export type UpdateStackInstancesError = diff --git a/packages/aws/src/services/datasync.ts b/packages/aws/src/services/datasync.ts index 7e8b21d358..c5da12647c 100644 --- a/packages/aws/src/services/datasync.ts +++ b/packages/aws/src/services/datasync.ts @@ -4,6 +4,7 @@ import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; import * as T from "../traits.ts"; +import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; @@ -2654,6 +2655,42 @@ export class InvalidRequestException extends S.TaggedErrorClass()( + "LocationRoleNotAssumable", + { + message: S.optional(S.String), + errorCode: S.optional(S.String), + datasyncErrorCode: S.optional(S.String), + }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { includes: "Invalid IAM role" }, + }), +).pipe(C.withRetryableError) {} +export class LocationNotFound extends S.TaggedErrorClass()( + "LocationNotFound", + { + message: S.optional(S.String), + errorCode: S.optional(S.String), + datasyncErrorCode: S.optional(S.String), + }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "^Location .* is not found" }, + }), +).pipe(C.withNotFoundError) {} +export class TaskNotFound extends S.TaggedErrorClass()( + "TaskNotFound", + { + message: S.optional(S.String), + errorCode: S.optional(S.String), + datasyncErrorCode: S.optional(S.String), + }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "^Task .* is not found" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type CancelTaskExecutionError = @@ -2729,6 +2766,7 @@ export const createLocationAzureBlob: API.OperationMethod< export type CreateLocationEfsError = | InternalException | InvalidRequestException + | LocationRoleNotAssumable | CommonErrors; /** * Creates a transfer *location* for an Amazon EFS file system. @@ -2747,7 +2785,11 @@ export const createLocationEfs: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateLocationEfsRequest, output: CreateLocationEfsResponse, - errors: [InternalException, InvalidRequestException], + errors: [ + InternalException, + InvalidRequestException, + LocationRoleNotAssumable, + ], operationName: "CreateLocationEfs", })); export type CreateLocationFsxLustreError = @@ -2920,6 +2962,7 @@ export const createLocationObjectStorage: API.OperationMethod< export type CreateLocationS3Error = | InternalException | InvalidRequestException + | LocationRoleNotAssumable | CommonErrors; /** * Creates a transfer *location* for an Amazon S3 bucket. @@ -2944,7 +2987,11 @@ export const createLocationS3: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateLocationS3Request, output: CreateLocationS3Response, - errors: [InternalException, InvalidRequestException], + errors: [ + InternalException, + InvalidRequestException, + LocationRoleNotAssumable, + ], operationName: "CreateLocationS3", })); export type CreateLocationSmbError = @@ -3023,6 +3070,7 @@ export const deleteAgent: API.OperationMethod< export type DeleteLocationError = | InternalException | InvalidRequestException + | LocationNotFound | CommonErrors; /** * Deletes a transfer location resource from DataSync. @@ -3035,12 +3083,13 @@ export const deleteLocation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteLocationRequest, output: DeleteLocationResponse, - errors: [InternalException, InvalidRequestException], + errors: [InternalException, InvalidRequestException, LocationNotFound], operationName: "DeleteLocation", })); export type DeleteTaskError = | InternalException | InvalidRequestException + | TaskNotFound | CommonErrors; /** * Deletes a transfer task resource from DataSync. @@ -3053,7 +3102,7 @@ export const deleteTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTaskRequest, output: DeleteTaskResponse, - errors: [InternalException, InvalidRequestException], + errors: [InternalException, InvalidRequestException, TaskNotFound], operationName: "DeleteTask", })); export type DescribeAgentError = @@ -3097,6 +3146,7 @@ export const describeLocationAzureBlob: API.OperationMethod< export type DescribeLocationEfsError = | InternalException | InvalidRequestException + | LocationNotFound | CommonErrors; /** * Provides details about how an DataSync transfer location for an Amazon EFS file system is configured. @@ -3109,7 +3159,7 @@ export const describeLocationEfs: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeLocationEfsRequest, output: DescribeLocationEfsResponse, - errors: [InternalException, InvalidRequestException], + errors: [InternalException, InvalidRequestException, LocationNotFound], operationName: "DescribeLocationEfs", })); export type DescribeLocationFsxLustreError = @@ -3250,6 +3300,7 @@ export const describeLocationObjectStorage: API.OperationMethod< export type DescribeLocationS3Error = | InternalException | InvalidRequestException + | LocationNotFound | CommonErrors; /** * Provides details about how an DataSync transfer location for an S3 bucket @@ -3263,7 +3314,7 @@ export const describeLocationS3: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeLocationS3Request, output: DescribeLocationS3Response, - errors: [InternalException, InvalidRequestException], + errors: [InternalException, InvalidRequestException, LocationNotFound], operationName: "DescribeLocationS3", })); export type DescribeLocationSmbError = @@ -3288,6 +3339,7 @@ export const describeLocationSmb: API.OperationMethod< export type DescribeTaskError = | InternalException | InvalidRequestException + | TaskNotFound | CommonErrors; /** * Provides information about a *task*, which defines where and how @@ -3301,7 +3353,7 @@ export const describeTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeTaskRequest, output: DescribeTaskResponse, - errors: [InternalException, InvalidRequestException], + errors: [InternalException, InvalidRequestException, TaskNotFound], operationName: "DescribeTask", })); export type DescribeTaskExecutionError = @@ -3873,6 +3925,7 @@ export const updateLocationSmb: API.OperationMethod< export type UpdateTaskError = | InternalException | InvalidRequestException + | TaskNotFound | CommonErrors; /** * Updates the configuration of a *task*, which defines where and how @@ -3886,7 +3939,7 @@ export const updateTask: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateTaskRequest, output: UpdateTaskResponse, - errors: [InternalException, InvalidRequestException], + errors: [InternalException, InvalidRequestException, TaskNotFound], operationName: "UpdateTask", })); export type UpdateTaskExecutionError = diff --git a/packages/aws/src/services/ec2.ts b/packages/aws/src/services/ec2.ts index b71fbab74a..d14f84ee01 100644 --- a/packages/aws/src/services/ec2.ts +++ b/packages/aws/src/services/ec2.ts @@ -74647,6 +74647,14 @@ export class InvalidVolumeNotFound extends S.TaggedErrorClass()( + "VolumeInUse", + {}, +).pipe( + C.withConflictError, + C.withRetryableError, + C.withDependencyViolationError, +) {} export class InvalidVpnGatewayIDNotFound extends S.TaggedErrorClass()( "InvalidVpnGatewayID.NotFound", {}, @@ -76551,6 +76559,7 @@ export type AttachVolumeError = | InvalidInstanceIDNotFound | InvalidParameterValue | InvalidVolumeNotFound + | VolumeInUse | UnauthorizedOperation | CommonErrors; /** @@ -76595,6 +76604,7 @@ export const attachVolume: API.OperationMethod< InvalidInstanceIDNotFound, InvalidParameterValue, InvalidVolumeNotFound, + VolumeInUse, UnauthorizedOperation, ], operationName: "AttachVolume", @@ -82725,6 +82735,7 @@ export type DeleteVolumeError = | RequestLimitExceeded | InvalidParameterValue | InvalidVolumeNotFound + | VolumeInUse | UnauthorizedOperation | CommonErrors; /** @@ -82748,6 +82759,7 @@ export const deleteVolume: API.OperationMethod< RequestLimitExceeded, InvalidParameterValue, InvalidVolumeNotFound, + VolumeInUse, UnauthorizedOperation, ], operationName: "DeleteVolume", diff --git a/packages/aws/src/services/eks.ts b/packages/aws/src/services/eks.ts index db98947691..ad1ee0c662 100644 --- a/packages/aws/src/services/eks.ts +++ b/packages/aws/src/services/eks.ts @@ -5162,6 +5162,7 @@ export type CreateFargateProfileError = | ResourceLimitExceededException | ServerException | UnsupportedAvailabilityZoneException + | ResourceInUseException | CommonErrors; /** * Creates an Fargate profile for your Amazon EKS cluster. You must have at least one @@ -5210,6 +5211,7 @@ export const createFargateProfile: API.OperationMethod< ResourceLimitExceededException, ServerException, UnsupportedAvailabilityZoneException, + ResourceInUseException, ], operationName: "CreateFargateProfile", })); @@ -5473,6 +5475,7 @@ export type DeleteFargateProfileError = | InvalidParameterException | ResourceNotFoundException | ServerException + | ResourceInUseException | CommonErrors; /** * Deletes an Fargate profile. @@ -5500,6 +5503,7 @@ export const deleteFargateProfile: API.OperationMethod< InvalidParameterException, ResourceNotFoundException, ServerException, + ResourceInUseException, ], operationName: "DeleteFargateProfile", })); diff --git a/packages/aws/src/services/glue.ts b/packages/aws/src/services/glue.ts index bcee7903ce..6d629d2394 100644 --- a/packages/aws/src/services/glue.ts +++ b/packages/aws/src/services/glue.ts @@ -18742,6 +18742,17 @@ export class ColumnStatisticsTaskRunningException extends S.TaggedErrorClass()( + "GlueRoleNotAssumable", + { + Message: S.optional(S.String), + FromFederationSource: S.optional(S.Boolean), + }, + T.SyntheticError({ + from: "InvalidInputException", + message: { includes: "unable to assume" }, + }), +).pipe(C.withRetryableError) {} export class IdempotentParameterMismatchException extends S.TaggedErrorClass()( "IdempotentParameterMismatchException", { Message: S.optional(S.String) }, @@ -19672,6 +19683,7 @@ export type CreateCrawlerError = | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException + | GlueRoleNotAssumable | CommonErrors; /** * Creates a new crawler with specified targets, role, configuration, and optional schedule. @@ -19691,6 +19703,7 @@ export const createCrawler: API.OperationMethod< InvalidInputException, OperationTimeoutException, ResourceNumberLimitExceededException, + GlueRoleNotAssumable, ], operationName: "CreateCrawler", })); @@ -20029,6 +20042,7 @@ export type CreateJobError = | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException + | GlueRoleNotAssumable | CommonErrors; /** * Creates a new job definition. @@ -20049,6 +20063,7 @@ export const createJob: API.OperationMethod< InvalidInputException, OperationTimeoutException, ResourceNumberLimitExceededException, + GlueRoleNotAssumable, ], operationName: "CreateJob", })); @@ -27503,6 +27518,7 @@ export type UpdateCrawlerError = | InvalidInputException | OperationTimeoutException | VersionMismatchException + | GlueRoleNotAssumable | CommonErrors; /** * Updates a crawler. If a crawler is @@ -27523,6 +27539,7 @@ export const updateCrawler: API.OperationMethod< InvalidInputException, OperationTimeoutException, VersionMismatchException, + GlueRoleNotAssumable, ], operationName: "UpdateCrawler", })); @@ -27807,6 +27824,7 @@ export type UpdateJobError = | InternalServiceException | InvalidInputException | OperationTimeoutException + | GlueRoleNotAssumable | CommonErrors; /** * Updates an existing job definition. The previous job definition is completely overwritten by this information. @@ -27825,6 +27843,7 @@ export const updateJob: API.OperationMethod< InternalServiceException, InvalidInputException, OperationTimeoutException, + GlueRoleNotAssumable, ], operationName: "UpdateJob", })); diff --git a/packages/aws/src/services/inspector2.ts b/packages/aws/src/services/inspector2.ts index ca9ecfa0cb..feba4cc1a2 100644 --- a/packages/aws/src/services/inspector2.ts +++ b/packages/aws/src/services/inspector2.ts @@ -508,11 +508,15 @@ export const BatchGetAccountStatusRequest = }) as any as S.Schema; export interface State { status: string; - errorCode: string; - errorMessage: string; + errorCode?: string; + errorMessage?: string; } export const State = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ status: S.String, errorCode: S.String, errorMessage: S.String }), + S.Struct({ + status: S.String, + errorCode: S.optional(S.String), + errorMessage: S.optional(S.String), + }), ).annotate({ identifier: "State" }) as any as S.Schema; export interface ResourceState { ec2: State; @@ -542,16 +546,16 @@ export type AccountStateList = AccountState[]; export const AccountStateList = /*@__PURE__*/ /*#__PURE__*/ S.Array(AccountState); export interface ResourceStatus { - ec2: string; - ecr: string; + ec2?: string; + ecr?: string; lambda?: string; lambdaCode?: string; codeRepository?: string; } export const ResourceStatus = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - ec2: S.String, - ecr: S.String, + ec2: S.optional(S.String), + ecr: S.optional(S.String), lambda: S.optional(S.String), lambdaCode: S.optional(S.String), codeRepository: S.optional(S.String), @@ -561,16 +565,16 @@ export interface FailedAccount { accountId: string; status?: string; resourceStatus?: ResourceStatus; - errorCode: string; - errorMessage: string; + errorCode?: string; + errorMessage?: string; } export const FailedAccount = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accountId: S.String, status: S.optional(S.String), resourceStatus: S.optional(ResourceStatus), - errorCode: S.String, - errorMessage: S.String, + errorCode: S.optional(S.String), + errorMessage: S.optional(S.String), }), ).annotate({ identifier: "FailedAccount" }) as any as S.Schema; export type FailedAccountList = FailedAccount[]; diff --git a/packages/aws/src/services/iot.ts b/packages/aws/src/services/iot.ts index c66f6d0504..f025d5ab22 100644 --- a/packages/aws/src/services/iot.ts +++ b/packages/aws/src/services/iot.ts @@ -15245,6 +15245,14 @@ export class CertificateStateException extends S.TaggedErrorClass()( + "TopicRuleNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "UnauthorizedException", + message: { includes: "Access to topic rule" }, + }), +).pipe(C.withNotFoundError) {} export class NotConfiguredException extends S.TaggedErrorClass()( "NotConfiguredException", { message: S.optional(S.String) }, @@ -17930,6 +17938,7 @@ export type DeleteTopicRuleError = | InvalidRequestException | ServiceUnavailableException | UnauthorizedException + | TopicRuleNotFound | CommonErrors; /** * Deletes the rule. @@ -17950,6 +17959,7 @@ export const deleteTopicRule: API.OperationMethod< InvalidRequestException, ServiceUnavailableException, UnauthorizedException, + TopicRuleNotFound, ], operationName: "DeleteTopicRule", })); @@ -19856,6 +19866,7 @@ export type GetTopicRuleError = | InvalidRequestException | ServiceUnavailableException | UnauthorizedException + | TopicRuleNotFound | CommonErrors; /** * Gets information about the rule. @@ -19875,6 +19886,7 @@ export const getTopicRule: API.OperationMethod< InvalidRequestException, ServiceUnavailableException, UnauthorizedException, + TopicRuleNotFound, ], operationName: "GetTopicRule", })); diff --git a/packages/aws/src/services/macie2.ts b/packages/aws/src/services/macie2.ts index 34a4d60590..a471aa1d5f 100644 --- a/packages/aws/src/services/macie2.ts +++ b/packages/aws/src/services/macie2.ts @@ -5363,6 +5363,14 @@ export class ValidationException extends S.TaggedErrorClass "ValidationException", { message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class MacieNotEnabled extends S.TaggedErrorClass()( + "MacieNotEnabled", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "AccessDeniedException", + message: { includes: "Macie is not enabled" }, + }), +).pipe(C.withRetryableError) {} export class UnprocessableEntityException extends S.TaggedErrorClass()( "UnprocessableEntityException", { message: S.optional(S.String) }, @@ -5497,6 +5505,7 @@ export type CreateClassificationJobError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | MacieNotEnabled | CommonErrors; /** * Creates and defines the settings for a classification job. @@ -5517,6 +5526,7 @@ export const createClassificationJob: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + MacieNotEnabled, ], operationName: "CreateClassificationJob", })); diff --git a/packages/aws/src/services/mwaa.ts b/packages/aws/src/services/mwaa.ts index 751ecf9e2d..0a202005dc 100644 --- a/packages/aws/src/services/mwaa.ts +++ b/packages/aws/src/services/mwaa.ts @@ -881,6 +881,7 @@ export const createCliToken: API.OperationMethod< output: CreateCliTokenResponse, errors: [ResourceNotFoundException], operationName: "CreateCliToken", + endpointHostPrefix: "env.", })); export type CreateEnvironmentError = | InternalServerException @@ -904,6 +905,7 @@ export const createEnvironment: API.OperationMethod< ValidationException, ], operationName: "CreateEnvironment", + endpointHostPrefix: "api.", })); export type CreateWebLoginTokenError = | AccessDeniedException @@ -929,6 +931,7 @@ export const createWebLoginToken: API.OperationMethod< ValidationException, ], operationName: "CreateWebLoginToken", + endpointHostPrefix: "env.", })); export type DeleteEnvironmentError = | InternalServerException @@ -954,6 +957,7 @@ export const deleteEnvironment: API.OperationMethod< ValidationException, ], operationName: "DeleteEnvironment", + endpointHostPrefix: "api.", })); export type GetEnvironmentError = | InternalServerException @@ -977,6 +981,7 @@ export const getEnvironment: API.OperationMethod< ValidationException, ], operationName: "GetEnvironment", + endpointHostPrefix: "api.", })); export type InvokeRestApiError = | AccessDeniedException @@ -1006,6 +1011,7 @@ export const invokeRestApi: API.OperationMethod< ValidationException, ], operationName: "InvokeRestApi", + endpointHostPrefix: "env.", })); export type ListEnvironmentsError = | InternalServerException @@ -1039,6 +1045,7 @@ export const listEnvironments: API.OperationMethod< output: ListEnvironmentsOutput, errors: [InternalServerException, ValidationException], operationName: "ListEnvironments", + endpointHostPrefix: "api.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -1068,6 +1075,7 @@ export const listTagsForResource: API.OperationMethod< ValidationException, ], operationName: "ListTagsForResource", + endpointHostPrefix: "api.", })); export type PublishMetricsError = | InternalServerException @@ -1086,6 +1094,7 @@ export const publishMetrics: API.OperationMethod< output: PublishMetricsOutput, errors: [InternalServerException, ValidationException], operationName: "PublishMetrics", + endpointHostPrefix: "ops.", })); export type TagResourceError = | InternalServerException @@ -1109,6 +1118,7 @@ export const tagResource: API.OperationMethod< ValidationException, ], operationName: "TagResource", + endpointHostPrefix: "api.", })); export type UntagResourceError = | InternalServerException @@ -1132,6 +1142,7 @@ export const untagResource: API.OperationMethod< ValidationException, ], operationName: "UntagResource", + endpointHostPrefix: "api.", })); export type UpdateEnvironmentError = | InternalServerException @@ -1157,4 +1168,5 @@ export const updateEnvironment: API.OperationMethod< ValidationException, ], operationName: "UpdateEnvironment", + endpointHostPrefix: "api.", })); diff --git a/packages/aws/src/services/quicksight.ts b/packages/aws/src/services/quicksight.ts index 11c2903841..8740c3f6d4 100644 --- a/packages/aws/src/services/quicksight.ts +++ b/packages/aws/src/services/quicksight.ts @@ -33248,6 +33248,18 @@ export class UnsupportedUserEditionException extends S.TaggedErrorClass()( + "QuickSightSubscriptionRequired", + { + Message: S.optional(S.String), + ResourceType: S.optional(ExceptionResourceType), + RequestId: S.optional(S.String), + }, + T.SyntheticError({ + from: "ResourceNotFoundException", + message: { includes: "Directory information" }, + }), +).pipe(C.withNotFoundError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.String }, @@ -33600,6 +33612,7 @@ export type CreateAnalysisError = | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException + | QuickSightSubscriptionRequired | CommonErrors; /** * Creates an analysis in Amazon Quick Sight. Analyses can be created either from a template or from an `AnalysisDefinition`. @@ -33621,6 +33634,7 @@ export const createAnalysis: API.OperationMethod< ResourceNotFoundException, ThrottlingException, UnsupportedUserEditionException, + QuickSightSubscriptionRequired, ], operationName: "CreateAnalysis", })); @@ -33699,6 +33713,7 @@ export type CreateDashboardError = | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException + | QuickSightSubscriptionRequired | CommonErrors; /** * Creates a dashboard from either a template or directly with a @@ -33729,6 +33744,7 @@ export const createDashboard: API.OperationMethod< ResourceNotFoundException, ThrottlingException, UnsupportedUserEditionException, + QuickSightSubscriptionRequired, ], operationName: "CreateDashboard", })); @@ -33743,6 +33759,7 @@ export type CreateDataSetError = | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException + | QuickSightSubscriptionRequired | CommonErrors; /** * Creates a dataset. This operation doesn't support datasets that include uploaded files @@ -33767,6 +33784,7 @@ export const createDataSet: API.OperationMethod< ResourceNotFoundException, ThrottlingException, UnsupportedUserEditionException, + QuickSightSubscriptionRequired, ], operationName: "CreateDataSet", })); @@ -33780,6 +33798,7 @@ export type CreateDataSourceError = | ResourceExistsException | ResourceNotFoundException | ThrottlingException + | QuickSightSubscriptionRequired | CommonErrors; /** * Creates a data source. @@ -33802,6 +33821,7 @@ export const createDataSource: API.OperationMethod< ResourceExistsException, ResourceNotFoundException, ThrottlingException, + QuickSightSubscriptionRequired, ], operationName: "CreateDataSource", })); diff --git a/packages/aws/src/services/timestream-query.ts b/packages/aws/src/services/timestream-query.ts index 32cd007dfe..64b631d547 100644 --- a/packages/aws/src/services/timestream-query.ts +++ b/packages/aws/src/services/timestream-query.ts @@ -1240,6 +1240,16 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( + "TimestreamNotOnboarded", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "AccessDeniedException", + message: { + includes: "Only existing Timestream for LiveAnalytics customers", + }, + }), +).pipe(C.withAuthError) {} export class QueryExecutionException extends S.TaggedErrorClass()( "QueryExecutionException", { Message: S.optional(S.String) }, @@ -1373,6 +1383,7 @@ export type DescribeEndpointsError = | InternalServerException | ThrottlingException | ValidationException + | TimestreamNotOnboarded | CommonErrors; /** * DescribeEndpoints returns a list of available endpoints to make Timestream @@ -1400,7 +1411,12 @@ export const describeEndpoints: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeEndpointsRequest, output: DescribeEndpointsResponse, - errors: [InternalServerException, ThrottlingException, ValidationException], + errors: [ + InternalServerException, + ThrottlingException, + ValidationException, + TimestreamNotOnboarded, + ], operationName: "DescribeEndpoints", })); export type DescribeScheduledQueryError = @@ -1595,6 +1611,7 @@ export type QueryError = | QueryExecutionException | ThrottlingException | ValidationException + | TimestreamNotOnboarded | CommonErrors; /** * `Query` is a synchronous operation that enables you to run a query against @@ -1659,6 +1676,7 @@ export const query: API.OperationMethod< QueryExecutionException, ThrottlingException, ValidationException, + TimestreamNotOnboarded, ], operationName: "Query", pagination: { diff --git a/packages/aws/src/services/timestream-write.ts b/packages/aws/src/services/timestream-write.ts index 041475817a..89ff5f9f2f 100644 --- a/packages/aws/src/services/timestream-write.ts +++ b/packages/aws/src/services/timestream-write.ts @@ -1110,6 +1110,16 @@ export class ValidationException extends S.TaggedErrorClass "ValidationException", { Message: S.String }, ).pipe(C.withBadRequestError) {} +export class TimestreamNotOnboarded extends S.TaggedErrorClass()( + "TimestreamNotOnboarded", + { Message: S.String }, + T.SyntheticError({ + from: "AccessDeniedException", + message: { + includes: "Only existing Timestream for LiveAnalytics customers", + }, + }), +).pipe(C.withAuthError) {} export class RejectedRecordsException extends S.TaggedErrorClass()( "RejectedRecordsException", { @@ -1168,6 +1178,7 @@ export type CreateDatabaseError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | TimestreamNotOnboarded | CommonErrors; /** * Creates a new Timestream database. If the KMS key is not @@ -1190,6 +1201,7 @@ export const createDatabase: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + TimestreamNotOnboarded, ], operationName: "CreateDatabase", })); @@ -1374,6 +1386,7 @@ export type DescribeEndpointsError = | InternalServerException | ThrottlingException | ValidationException + | TimestreamNotOnboarded | CommonErrors; /** * Returns a list of available endpoints to make Timestream API calls against. @@ -1402,7 +1415,12 @@ export const describeEndpoints: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeEndpointsRequest, output: DescribeEndpointsResponse, - errors: [InternalServerException, ThrottlingException, ValidationException], + errors: [ + InternalServerException, + ThrottlingException, + ValidationException, + TimestreamNotOnboarded, + ], operationName: "DescribeEndpoints", })); export type DescribeTableError = diff --git a/packages/aws/src/services/verifiedpermissions.ts b/packages/aws/src/services/verifiedpermissions.ts index 5afaeeea8f..3cc47d9840 100644 --- a/packages/aws/src/services/verifiedpermissions.ts +++ b/packages/aws/src/services/verifiedpermissions.ts @@ -2592,6 +2592,10 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "ValidationException", + {}, +) {} export class InvalidStateException extends S.TaggedErrorClass()( "InvalidStateException", { message: S.String }, @@ -2684,6 +2688,7 @@ export const untagResource: API.OperationMethod< export type CreatePolicyStoreError = | ConflictException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Creates a policy store. A policy store is a container for policy resources. @@ -2700,10 +2705,17 @@ export const createPolicyStore: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreatePolicyStoreInput, output: CreatePolicyStoreOutput, - errors: [ConflictException, ServiceQuotaExceededException], + errors: [ + ConflictException, + ServiceQuotaExceededException, + ValidationException, + ], operationName: "CreatePolicyStore", })); -export type GetPolicyStoreError = ResourceNotFoundException | CommonErrors; +export type GetPolicyStoreError = + | ResourceNotFoundException + | ValidationException + | CommonErrors; /** * Retrieves details about a policy store. */ @@ -2715,12 +2727,13 @@ export const getPolicyStore: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetPolicyStoreInput, output: GetPolicyStoreOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "GetPolicyStore", })); export type UpdatePolicyStoreError = | ConflictException | ResourceNotFoundException + | ValidationException | CommonErrors; /** * Modifies the validation setting for a policy store. @@ -2735,7 +2748,7 @@ export const updatePolicyStore: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdatePolicyStoreInput, output: UpdatePolicyStoreOutput, - errors: [ConflictException, ResourceNotFoundException], + errors: [ConflictException, ResourceNotFoundException, ValidationException], operationName: "UpdatePolicyStore", })); export type DeletePolicyStoreError = InvalidStateException | CommonErrors; @@ -2791,7 +2804,10 @@ export const listPolicyStores: API.OperationMethod< pageSize: "maxResults", } as const, })); -export type BatchIsAuthorizedError = ResourceNotFoundException | CommonErrors; +export type BatchIsAuthorizedError = + | ResourceNotFoundException + | ValidationException + | CommonErrors; /** * Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an `IsAuthorized` request: principal, action, resource, and context. Either the `principal` or the `resource` parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where `bob` views `photo1` and `alice` views `photo2`. Authorization of `bob` to view `photo1` and `photo2`, or `bob` and `alice` to view `photo1`, are valid batches. * @@ -2809,7 +2825,7 @@ export const batchIsAuthorized: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: BatchIsAuthorizedInput, output: BatchIsAuthorizedOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "BatchIsAuthorized", })); export type BatchIsAuthorizedWithTokenError = @@ -2835,7 +2851,10 @@ export const batchIsAuthorizedWithToken: API.OperationMethod< errors: [ResourceNotFoundException], operationName: "BatchIsAuthorizedWithToken", })); -export type GetSchemaError = ResourceNotFoundException | CommonErrors; +export type GetSchemaError = + | ResourceNotFoundException + | ValidationException + | CommonErrors; /** * Retrieve the details for the specified schema in the specified policy store. */ @@ -2847,10 +2866,13 @@ export const getSchema: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetSchemaInput, output: GetSchemaOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "GetSchema", })); -export type IsAuthorizedError = ResourceNotFoundException | CommonErrors; +export type IsAuthorizedError = + | ResourceNotFoundException + | ValidationException + | CommonErrors; /** * Makes an authorization decision about a service request described in the parameters. The information in the parameters can also define additional context that Verified Permissions can include in the evaluation. The request is evaluated against all matching policies in the specified policy store. The result of the decision is either `Allow` or `Deny`, along with a list of the policies that resulted in the decision. */ @@ -2862,11 +2884,12 @@ export const isAuthorized: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: IsAuthorizedInput, output: IsAuthorizedOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "IsAuthorized", })); export type IsAuthorizedWithTokenError = | ResourceNotFoundException + | ValidationException | CommonErrors; /** * Makes an authorization decision about a service request described in the parameters. The principal in this request comes from an external identity source in the form of an identity token formatted as a JSON web token (JWT). The information in the parameters can also define additional context that Verified Permissions can include in the evaluation. The request is evaluated against all matching policies in the specified policy store. The result of the decision is either `Allow` or `Deny`, along with a list of the policies that resulted in the decision. @@ -2883,13 +2906,14 @@ export const isAuthorizedWithToken: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: IsAuthorizedWithTokenInput, output: IsAuthorizedWithTokenOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "IsAuthorizedWithToken", })); export type PutSchemaError = | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Creates or updates the policy schema in the specified policy store. The schema is used to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time. @@ -2908,6 +2932,7 @@ export const putSchema: API.OperationMethod< ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, + ValidationException, ], operationName: "PutSchema", })); @@ -3056,6 +3081,7 @@ export type CreatePolicyError = | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Creates a Cedar policy and saves it in the specified policy store. You can create either a static policy or a policy linked to a policy template. @@ -3080,10 +3106,14 @@ export const createPolicy: API.OperationMethod< ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, + ValidationException, ], operationName: "CreatePolicy", })); -export type GetPolicyError = ResourceNotFoundException | CommonErrors; +export type GetPolicyError = + | ResourceNotFoundException + | ValidationException + | CommonErrors; /** * Retrieves information about the specified policy. */ @@ -3095,13 +3125,14 @@ export const getPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetPolicyInput, output: GetPolicyOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "GetPolicy", })); export type UpdatePolicyError = | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Modifies a Cedar static policy in the specified policy store. You can change only certain elements of the UpdatePolicyDefinition parameter. You can directly update only static policies. To change a template-linked policy, you must update the template instead, using UpdatePolicyTemplate. @@ -3140,6 +3171,7 @@ export const updatePolicy: API.OperationMethod< ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, + ValidationException, ], operationName: "UpdatePolicy", })); From 67d5db23de827f2b5b84c9a85c38453fa3c45488 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 10 Jul 2026 14:24:04 -0700 Subject: [PATCH 07/63] fix(aws): finish wave 5 service patches + gate typefixes (ec2 NotFound tags, location/timestream schemas) - ec2: InvalidDhcpOptionsID.NotFound / InvalidFlowLogId.NotFound / InvalidVpcPeeringConnectionId.NotFound added to their describe ops - location: 64 endpointHostPrefix entries (cp.* control-plane endpoints) + Describe*/List* Description optionality - geo-routes: optional list members on Route*LegDetails - iot/timestream/etc. patches from wave 5 completion Co-Authored-By: Claude Fable 5 --- packages/aws/patches/appflow.json | 10 ++ packages/aws/patches/datasync.json | 22 ++- packages/aws/patches/ec2.json | 3 + packages/aws/patches/geo-routes.json | 157 +++++++++++++++++++++ packages/aws/patches/location.json | 34 +++++ packages/aws/src/services/appflow.ts | 8 +- packages/aws/src/services/datasync.ts | 23 +++- packages/aws/src/services/ec2.ts | 12 +- packages/aws/src/services/geo-routes.ts | 172 ++++++++++++------------ packages/aws/src/services/location.ts | 104 +++++++++++--- 10 files changed, 434 insertions(+), 111 deletions(-) create mode 100644 packages/aws/patches/appflow.json create mode 100644 packages/aws/patches/geo-routes.json create mode 100644 packages/aws/patches/location.json diff --git a/packages/aws/patches/appflow.json b/packages/aws/patches/appflow.json new file mode 100644 index 0000000000..7af28ca673 --- /dev/null +++ b/packages/aws/patches/appflow.json @@ -0,0 +1,10 @@ +{ + "operations": { + "createConnectorProfile": { + "errors": ["ConnectorServerException"] + }, + "updateConnectorProfile": { + "errors": ["ConnectorServerException"] + } + } +} diff --git a/packages/aws/patches/datasync.json b/packages/aws/patches/datasync.json index 7da75e1f58..2b78bd86ba 100644 --- a/packages/aws/patches/datasync.json +++ b/packages/aws/patches/datasync.json @@ -6,6 +6,11 @@ "name": "LocationRoleNotAssumable", "from": "InvalidRequestException", "message": { "includes": "Invalid IAM role" } + }, + { + "name": "LocationAccessTestFailed", + "from": "InvalidRequestException", + "message": { "includes": "location access test failed" } } ] }, @@ -15,6 +20,11 @@ "name": "LocationRoleNotAssumable", "from": "InvalidRequestException", "message": { "includes": "Invalid IAM role" } + }, + { + "name": "LocationAccessTestFailed", + "from": "InvalidRequestException", + "message": { "includes": "location access test failed" } } ] }, @@ -71,11 +81,21 @@ "message": { "matches": "^Task .* is not found" } } ] + }, + "startTaskExecution": { + "syntheticErrors": [ + { + "name": "LocationAccessTestFailed", + "from": "InvalidRequestException", + "message": { "includes": "location access test failed" } + } + ] } }, "errorCategories": { "LocationNotFound": ["NotFoundError"], "TaskNotFound": ["NotFoundError"], - "LocationRoleNotAssumable": ["RetryableError"] + "LocationRoleNotAssumable": ["RetryableError"], + "LocationAccessTestFailed": ["RetryableError"] } } diff --git a/packages/aws/patches/ec2.json b/packages/aws/patches/ec2.json index f65223237b..f864f6c43a 100644 --- a/packages/aws/patches/ec2.json +++ b/packages/aws/patches/ec2.json @@ -630,6 +630,7 @@ "errors": [ "RequestLimitExceeded", "InvalidVpcPeeringConnectionID.NotFound", + "InvalidVpcPeeringConnectionId.NotFound", "ParseError", "UnauthorizedOperation" ] @@ -730,6 +731,7 @@ "describeFlowLogs": { "errors": [ "RequestLimitExceeded", + "InvalidFlowLogId.NotFound", "ParseError", "UnauthorizedOperation" ] @@ -793,6 +795,7 @@ "errors": [ "RequestLimitExceeded", "InvalidDhcpOptionID.NotFound", + "InvalidDhcpOptionsID.NotFound", "InvalidParameterValue", "ParseError", "UnauthorizedOperation" diff --git a/packages/aws/patches/geo-routes.json b/packages/aws/patches/geo-routes.json new file mode 100644 index 0000000000..d869556482 --- /dev/null +++ b/packages/aws/patches/geo-routes.json @@ -0,0 +1,157 @@ +{ + "structures": { + "RouteFerryLegDetails": { + "members": { + "AfterTravelSteps": { + "optional": true + }, + "BeforeTravelSteps": { + "optional": true + }, + "Notices": { + "optional": true + }, + "PassThroughWaypoints": { + "optional": true + }, + "Spans": { + "optional": true + }, + "TravelSteps": { + "optional": true + } + } + }, + "RoutePedestrianLegDetails": { + "members": { + "AfterTravelSteps": { + "optional": true + }, + "Notices": { + "optional": true + }, + "PassThroughWaypoints": { + "optional": true + }, + "Spans": { + "optional": true + }, + "TravelSteps": { + "optional": true + } + } + }, + "RouteRentalLegDetails": { + "members": { + "AfterTravelSteps": { + "optional": true + }, + "Attributions": { + "optional": true + }, + "BeforeTravelSteps": { + "optional": true + }, + "BookingWebLinks": { + "optional": true + }, + "TravelSteps": { + "optional": true + } + } + }, + "RouteTaxiLegDetails": { + "members": { + "AfterTravelSteps": { + "optional": true + }, + "Attributions": { + "optional": true + }, + "BeforeTravelSteps": { + "optional": true + }, + "BookingWebLinks": { + "optional": true + }, + "Notices": { + "optional": true + }, + "TravelSteps": { + "optional": true + } + } + }, + "RouteTransitLegDetails": { + "members": { + "AfterTravelSteps": { + "optional": true + }, + "Attributions": { + "optional": true + }, + "BeforeTravelSteps": { + "optional": true + }, + "BookingWebLinks": { + "optional": true + }, + "Incidents": { + "optional": true + }, + "IntermediateStops": { + "optional": true + }, + "NextDepartures": { + "optional": true + }, + "Notices": { + "optional": true + }, + "PassThroughWaypoints": { + "optional": true + }, + "Spans": { + "optional": true + }, + "TravelSteps": { + "optional": true + } + } + }, + "RouteVehicleLegDetails": { + "members": { + "AfterTravelSteps": { + "optional": true + }, + "Incidents": { + "optional": true + }, + "Notices": { + "optional": true + }, + "PassThroughWaypoints": { + "optional": true + }, + "Spans": { + "optional": true + }, + "Tolls": { + "optional": true + }, + "TollSystems": { + "optional": true + }, + "TravelSteps": { + "optional": true + }, + "TruckRoadTypes": { + "optional": true + }, + "Zones": { + "optional": true + } + } + } + } +} diff --git a/packages/aws/patches/location.json b/packages/aws/patches/location.json new file mode 100644 index 0000000000..598a2eca5a --- /dev/null +++ b/packages/aws/patches/location.json @@ -0,0 +1,34 @@ +{ + "structures": { + "DescribeGeofenceCollectionResponse": { + "members": { "Description": { "optional": true } } + }, + "DescribeMapResponse": { + "members": { "Description": { "optional": true } } + }, + "DescribePlaceIndexResponse": { + "members": { "Description": { "optional": true } } + }, + "DescribeRouteCalculatorResponse": { + "members": { "Description": { "optional": true } } + }, + "DescribeTrackerResponse": { + "members": { "Description": { "optional": true } } + }, + "ListGeofenceCollectionsResponseEntry": { + "members": { "Description": { "optional": true } } + }, + "ListMapsResponseEntry": { + "members": { "Description": { "optional": true } } + }, + "ListPlaceIndexesResponseEntry": { + "members": { "Description": { "optional": true } } + }, + "ListRouteCalculatorsResponseEntry": { + "members": { "Description": { "optional": true } } + }, + "ListTrackersResponseEntry": { + "members": { "Description": { "optional": true } } + } + } +} diff --git a/packages/aws/src/services/appflow.ts b/packages/aws/src/services/appflow.ts index 6c5f8f1d6c..6211ff0355 100644 --- a/packages/aws/src/services/appflow.ts +++ b/packages/aws/src/services/appflow.ts @@ -3932,8 +3932,8 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ConnectorServerException", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} + {}, +) {} export class UnsupportedOperationException extends S.TaggedErrorClass()( "UnsupportedOperationException", { message: S.optional(S.String) }, @@ -3993,6 +3993,7 @@ export type CreateConnectorProfileError = | InternalServerException | ServiceQuotaExceededException | ValidationException + | ConnectorServerException | CommonErrors; /** * Creates a new connector profile associated with your Amazon Web Services account. There is @@ -4015,6 +4016,7 @@ export const createConnectorProfile: API.OperationMethod< InternalServerException, ServiceQuotaExceededException, ValidationException, + ConnectorServerException, ], operationName: "CreateConnectorProfile", })); @@ -4629,6 +4631,7 @@ export type UpdateConnectorProfileError = | InternalServerException | ResourceNotFoundException | ValidationException + | ConnectorServerException | CommonErrors; /** * Updates a given connector profile associated with your account. @@ -4647,6 +4650,7 @@ export const updateConnectorProfile: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ConnectorServerException, ], operationName: "UpdateConnectorProfile", })); diff --git a/packages/aws/src/services/datasync.ts b/packages/aws/src/services/datasync.ts index c5da12647c..f0698dbaca 100644 --- a/packages/aws/src/services/datasync.ts +++ b/packages/aws/src/services/datasync.ts @@ -2667,6 +2667,18 @@ export class LocationRoleNotAssumable extends S.TaggedErrorClass()( + "LocationAccessTestFailed", + { + message: S.optional(S.String), + errorCode: S.optional(S.String), + datasyncErrorCode: S.optional(S.String), + }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { includes: "location access test failed" }, + }), +).pipe(C.withRetryableError) {} export class LocationNotFound extends S.TaggedErrorClass()( "LocationNotFound", { @@ -2767,6 +2779,7 @@ export type CreateLocationEfsError = | InternalException | InvalidRequestException | LocationRoleNotAssumable + | LocationAccessTestFailed | CommonErrors; /** * Creates a transfer *location* for an Amazon EFS file system. @@ -2789,6 +2802,7 @@ export const createLocationEfs: API.OperationMethod< InternalException, InvalidRequestException, LocationRoleNotAssumable, + LocationAccessTestFailed, ], operationName: "CreateLocationEfs", })); @@ -2963,6 +2977,7 @@ export type CreateLocationS3Error = | InternalException | InvalidRequestException | LocationRoleNotAssumable + | LocationAccessTestFailed | CommonErrors; /** * Creates a transfer *location* for an Amazon S3 bucket. @@ -2991,6 +3006,7 @@ export const createLocationS3: API.OperationMethod< InternalException, InvalidRequestException, LocationRoleNotAssumable, + LocationAccessTestFailed, ], operationName: "CreateLocationS3", })); @@ -3593,6 +3609,7 @@ export const listTasks: API.OperationMethod< export type StartTaskExecutionError = | InternalException | InvalidRequestException + | LocationAccessTestFailed | CommonErrors; /** * Starts an DataSync transfer task. For each task, you can only run one task @@ -3613,7 +3630,11 @@ export const startTaskExecution: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StartTaskExecutionRequest, output: StartTaskExecutionResponse, - errors: [InternalException, InvalidRequestException], + errors: [ + InternalException, + InvalidRequestException, + LocationAccessTestFailed, + ], operationName: "StartTaskExecution", })); export type TagResourceError = diff --git a/packages/aws/src/services/ec2.ts b/packages/aws/src/services/ec2.ts index d14f84ee01..9d05be3bd8 100644 --- a/packages/aws/src/services/ec2.ts +++ b/packages/aws/src/services/ec2.ts @@ -84498,6 +84498,7 @@ export const describeDeclarativePoliciesReports: API.OperationMethod< export type DescribeDhcpOptionsError = | RequestLimitExceeded | InvalidDhcpOptionIDNotFound + | InvalidDhcpOptionsIDNotFound | InvalidParameterValue | ParseError | UnauthorizedOperation @@ -84536,6 +84537,7 @@ export const describeDhcpOptions: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidDhcpOptionIDNotFound, + InvalidDhcpOptionsIDNotFound, InvalidParameterValue, ParseError, UnauthorizedOperation, @@ -84874,6 +84876,7 @@ export const describeFleets: API.OperationMethod< })); export type DescribeFlowLogsError = | RequestLimitExceeded + | InvalidFlowLogIdNotFound | ParseError | UnauthorizedOperation | CommonErrors; @@ -84906,7 +84909,12 @@ export const describeFlowLogs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: DescribeFlowLogsRequest, output: DescribeFlowLogsResult, - errors: [RequestLimitExceeded, ParseError, UnauthorizedOperation], + errors: [ + RequestLimitExceeded, + InvalidFlowLogIdNotFound, + ParseError, + UnauthorizedOperation, + ], operationName: "DescribeFlowLogs", pagination: { inputToken: "NextToken", @@ -90717,6 +90725,7 @@ export const describeVpcEndpointServices: API.OperationMethod< export type DescribeVpcPeeringConnectionsError = | RequestLimitExceeded | InvalidVpcPeeringConnectionIDNotFound + | InvalidVpcPeeringConnectionIdNotFound | ParseError | UnauthorizedOperation | CommonErrors; @@ -90751,6 +90760,7 @@ export const describeVpcPeeringConnections: API.OperationMethod< errors: [ RequestLimitExceeded, InvalidVpcPeeringConnectionIDNotFound, + InvalidVpcPeeringConnectionIdNotFound, ParseError, UnauthorizedOperation, ], diff --git a/packages/aws/src/services/geo-routes.ts b/packages/aws/src/services/geo-routes.ts index a2f368ddfc..53d2330860 100644 --- a/packages/aws/src/services/geo-routes.ts +++ b/packages/aws/src/services/geo-routes.ts @@ -2239,29 +2239,29 @@ export type RouteFerryTravelStepList = RouteFerryTravelStep[]; export const RouteFerryTravelStepList = /*@__PURE__*/ /*#__PURE__*/ S.Array(RouteFerryTravelStep); export interface RouteFerryLegDetails { - AfterTravelSteps: RouteFerryAfterTravelStep[]; + AfterTravelSteps?: RouteFerryAfterTravelStep[]; Arrival: RouteFerryArrival; - BeforeTravelSteps: RouteFerryBeforeTravelStep[]; + BeforeTravelSteps?: RouteFerryBeforeTravelStep[]; Departure: RouteFerryDeparture; - Notices: RouteFerryNotice[]; - PassThroughWaypoints: RoutePassThroughWaypoint[]; + Notices?: RouteFerryNotice[]; + PassThroughWaypoints?: RoutePassThroughWaypoint[]; RouteName?: string | redacted.Redacted; - Spans: RouteFerrySpan[]; + Spans?: RouteFerrySpan[]; Summary?: RouteFerrySummary; - TravelSteps: RouteFerryTravelStep[]; + TravelSteps?: RouteFerryTravelStep[]; } export const RouteFerryLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - AfterTravelSteps: RouteFerryAfterTravelStepList, + AfterTravelSteps: S.optional(RouteFerryAfterTravelStepList), Arrival: RouteFerryArrival, - BeforeTravelSteps: RouteFerryBeforeTravelStepList, + BeforeTravelSteps: S.optional(RouteFerryBeforeTravelStepList), Departure: RouteFerryDeparture, - Notices: RouteFerryNoticeList, - PassThroughWaypoints: RoutePassThroughWaypointList, + Notices: S.optional(RouteFerryNoticeList), + PassThroughWaypoints: S.optional(RoutePassThroughWaypointList), RouteName: S.optional(SensitiveString), - Spans: RouteFerrySpanList, + Spans: S.optional(RouteFerrySpanList), Summary: S.optional(RouteFerrySummary), - TravelSteps: RouteFerryTravelStepList, + TravelSteps: S.optional(RouteFerryTravelStepList), }), ).annotate({ identifier: "RouteFerryLegDetails", @@ -2774,26 +2774,26 @@ export type RoutePedestrianTravelStepList = RoutePedestrianTravelStep[]; export const RoutePedestrianTravelStepList = /*@__PURE__*/ /*#__PURE__*/ S.Array(RoutePedestrianTravelStep); export interface RoutePedestrianLegDetails { - AfterTravelSteps: RoutePedestrianAfterTravelStep[]; + AfterTravelSteps?: RoutePedestrianAfterTravelStep[]; Arrival: RoutePedestrianArrival; Departure: RoutePedestrianDeparture; - Notices: RoutePedestrianNotice[]; - PassThroughWaypoints: RoutePassThroughWaypoint[]; - Spans: RoutePedestrianSpan[]; + Notices?: RoutePedestrianNotice[]; + PassThroughWaypoints?: RoutePassThroughWaypoint[]; + Spans?: RoutePedestrianSpan[]; Summary?: RoutePedestrianSummary; - TravelSteps: RoutePedestrianTravelStep[]; + TravelSteps?: RoutePedestrianTravelStep[]; } export const RoutePedestrianLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ - AfterTravelSteps: RoutePedestrianAfterTravelStepList, + AfterTravelSteps: S.optional(RoutePedestrianAfterTravelStepList), Arrival: RoutePedestrianArrival, Departure: RoutePedestrianDeparture, - Notices: RoutePedestrianNoticeList, - PassThroughWaypoints: RoutePassThroughWaypointList, - Spans: RoutePedestrianSpanList, + Notices: S.optional(RoutePedestrianNoticeList), + PassThroughWaypoints: S.optional(RoutePassThroughWaypointList), + Spans: S.optional(RoutePedestrianSpanList), Summary: S.optional(RoutePedestrianSummary), - TravelSteps: RoutePedestrianTravelStepList, + TravelSteps: S.optional(RoutePedestrianTravelStepList), }), ).annotate({ identifier: "RoutePedestrianLegDetails", @@ -3560,36 +3560,36 @@ export const RouteZone = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export type RouteZoneList = RouteZone[]; export const RouteZoneList = /*@__PURE__*/ /*#__PURE__*/ S.Array(RouteZone); export interface RouteVehicleLegDetails { - AfterTravelSteps: RouteVehicleAfterTravelStep[]; + AfterTravelSteps?: RouteVehicleAfterTravelStep[]; Arrival: RouteVehicleArrival; Departure: RouteVehicleDeparture; - Incidents: RouteVehicleIncident[]; - Notices: RouteVehicleNotice[]; - PassThroughWaypoints: RoutePassThroughWaypoint[]; - Spans: RouteVehicleSpan[]; + Incidents?: RouteVehicleIncident[]; + Notices?: RouteVehicleNotice[]; + PassThroughWaypoints?: RoutePassThroughWaypoint[]; + Spans?: RouteVehicleSpan[]; Summary?: RouteVehicleSummary; - Tolls: RouteToll[]; - TollSystems: RouteTollSystem[]; - TravelSteps: RouteVehicleTravelStep[]; - TruckRoadTypes: string | redacted.Redacted[]; - Zones: RouteZone[]; + Tolls?: RouteToll[]; + TollSystems?: RouteTollSystem[]; + TravelSteps?: RouteVehicleTravelStep[]; + TruckRoadTypes?: string | redacted.Redacted[]; + Zones?: RouteZone[]; } export const RouteVehicleLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ - AfterTravelSteps: RouteVehicleAfterTravelStepList, + AfterTravelSteps: S.optional(RouteVehicleAfterTravelStepList), Arrival: RouteVehicleArrival, Departure: RouteVehicleDeparture, - Incidents: RouteVehicleIncidentList, - Notices: RouteVehicleNoticeList, - PassThroughWaypoints: RoutePassThroughWaypointList, - Spans: RouteVehicleSpanList, + Incidents: S.optional(RouteVehicleIncidentList), + Notices: S.optional(RouteVehicleNoticeList), + PassThroughWaypoints: S.optional(RoutePassThroughWaypointList), + Spans: S.optional(RouteVehicleSpanList), Summary: S.optional(RouteVehicleSummary), - Tolls: RouteTollList, - TollSystems: RouteTollSystemList, - TravelSteps: RouteVehicleTravelStepList, - TruckRoadTypes: TruckRoadTypeList, - Zones: RouteZoneList, + Tolls: S.optional(RouteTollList), + TollSystems: S.optional(RouteTollSystemList), + TravelSteps: S.optional(RouteVehicleTravelStepList), + TruckRoadTypes: S.optional(TruckRoadTypeList), + Zones: S.optional(RouteZoneList), }), ).annotate({ identifier: "RouteVehicleLegDetails", @@ -3840,29 +3840,29 @@ export const RouteRentalTravelStepList = /*@__PURE__*/ /*#__PURE__*/ S.Array( RouteRentalTravelStep, ); export interface RouteRentalLegDetails { - AfterTravelSteps: RouteRentalAfterTravelStep[]; + AfterTravelSteps?: RouteRentalAfterTravelStep[]; Agency: RouteRentalAgency; Arrival: RouteRentalArrival; - Attributions: RouteAttribution[]; - BeforeTravelSteps: RouteRentalBeforeTravelStep[]; - BookingWebLinks: RouteWebLink[]; + Attributions?: RouteAttribution[]; + BeforeTravelSteps?: RouteRentalBeforeTravelStep[]; + BookingWebLinks?: RouteWebLink[]; Departure: RouteRentalDeparture; Summary?: RouteRentalSummary; Transport: RouteRentalTransportModeDetails; - TravelSteps: RouteRentalTravelStep[]; + TravelSteps?: RouteRentalTravelStep[]; } export const RouteRentalLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - AfterTravelSteps: RouteRentalAfterTravelStepList, + AfterTravelSteps: S.optional(RouteRentalAfterTravelStepList), Agency: RouteRentalAgency, Arrival: RouteRentalArrival, - Attributions: RouteAttributionList, - BeforeTravelSteps: RouteRentalBeforeTravelStepList, - BookingWebLinks: RouteWebLinkList, + Attributions: S.optional(RouteAttributionList), + BeforeTravelSteps: S.optional(RouteRentalBeforeTravelStepList), + BookingWebLinks: S.optional(RouteWebLinkList), Departure: RouteRentalDeparture, Summary: S.optional(RouteRentalSummary), Transport: RouteRentalTransportModeDetails, - TravelSteps: RouteRentalTravelStepList, + TravelSteps: S.optional(RouteRentalTravelStepList), }), ).annotate({ identifier: "RouteRentalLegDetails", @@ -4089,31 +4089,31 @@ export type RouteTaxiTravelStepList = RouteTaxiTravelStep[]; export const RouteTaxiTravelStepList = /*@__PURE__*/ /*#__PURE__*/ S.Array(RouteTaxiTravelStep); export interface RouteTaxiLegDetails { - AfterTravelSteps: RouteTaxiAfterTravelStep[]; + AfterTravelSteps?: RouteTaxiAfterTravelStep[]; Agency: RouteTaxiAgency; Arrival: RouteTaxiArrival; - Attributions: RouteAttribution[]; - BeforeTravelSteps: RouteTaxiBeforeTravelStep[]; - BookingWebLinks: RouteWebLink[]; + Attributions?: RouteAttribution[]; + BeforeTravelSteps?: RouteTaxiBeforeTravelStep[]; + BookingWebLinks?: RouteWebLink[]; Departure: RouteTaxiDeparture; - Notices: RouteTaxiNotice[]; + Notices?: RouteTaxiNotice[]; Summary?: RouteTaxiSummary; Transport: RouteTaxiTransportModeDetails; - TravelSteps: RouteTaxiTravelStep[]; + TravelSteps?: RouteTaxiTravelStep[]; } export const RouteTaxiLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - AfterTravelSteps: RouteTaxiAfterTravelStepList, + AfterTravelSteps: S.optional(RouteTaxiAfterTravelStepList), Agency: RouteTaxiAgency, Arrival: RouteTaxiArrival, - Attributions: RouteAttributionList, - BeforeTravelSteps: RouteTaxiBeforeTravelStepList, - BookingWebLinks: RouteWebLinkList, + Attributions: S.optional(RouteAttributionList), + BeforeTravelSteps: S.optional(RouteTaxiBeforeTravelStepList), + BookingWebLinks: S.optional(RouteWebLinkList), Departure: RouteTaxiDeparture, - Notices: RouteTaxiNoticeList, + Notices: S.optional(RouteTaxiNoticeList), Summary: S.optional(RouteTaxiSummary), Transport: RouteTaxiTransportModeDetails, - TravelSteps: RouteTaxiTravelStepList, + TravelSteps: S.optional(RouteTaxiTravelStepList), }), ).annotate({ identifier: "RouteTaxiLegDetails", @@ -4467,42 +4467,42 @@ export const RouteTransitTravelStepList = /*@__PURE__*/ /*#__PURE__*/ S.Array( RouteTransitTravelStep, ); export interface RouteTransitLegDetails { - AfterTravelSteps: RouteTransitAfterTravelStep[]; + AfterTravelSteps?: RouteTransitAfterTravelStep[]; Agency?: RouteTransitAgency; Arrival: RouteTransitArrival; - Attributions: RouteAttribution[]; - BeforeTravelSteps: RouteTransitBeforeTravelStep[]; - BookingWebLinks: RouteWebLink[]; + Attributions?: RouteAttribution[]; + BeforeTravelSteps?: RouteTransitBeforeTravelStep[]; + BookingWebLinks?: RouteWebLink[]; Departure: RouteTransitDeparture; - Incidents: RouteTransitIncident[]; - IntermediateStops: RouteTransitIntermediateStop[]; - NextDepartures: RouteTransitNextDeparture[]; - Notices: RouteTransitNotice[]; - PassThroughWaypoints: RoutePassThroughWaypoint[]; - Spans: RouteTransitSpan[]; + Incidents?: RouteTransitIncident[]; + IntermediateStops?: RouteTransitIntermediateStop[]; + NextDepartures?: RouteTransitNextDeparture[]; + Notices?: RouteTransitNotice[]; + PassThroughWaypoints?: RoutePassThroughWaypoint[]; + Spans?: RouteTransitSpan[]; Summary?: RouteTransitSummary; Transport: RouteTransitTransportModeDetails; - TravelSteps: RouteTransitTravelStep[]; + TravelSteps?: RouteTransitTravelStep[]; } export const RouteTransitLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ - AfterTravelSteps: RouteTransitAfterTravelStepList, + AfterTravelSteps: S.optional(RouteTransitAfterTravelStepList), Agency: S.optional(RouteTransitAgency), Arrival: RouteTransitArrival, - Attributions: RouteAttributionList, - BeforeTravelSteps: RouteTransitBeforeTravelStepList, - BookingWebLinks: RouteWebLinkList, + Attributions: S.optional(RouteAttributionList), + BeforeTravelSteps: S.optional(RouteTransitBeforeTravelStepList), + BookingWebLinks: S.optional(RouteWebLinkList), Departure: RouteTransitDeparture, - Incidents: RouteTransitIncidentList, - IntermediateStops: RouteTransitIntermediateStopList, - NextDepartures: RouteTransitNextDepartureList, - Notices: RouteTransitNoticeList, - PassThroughWaypoints: RoutePassThroughWaypointList, - Spans: RouteTransitSpanList, + Incidents: S.optional(RouteTransitIncidentList), + IntermediateStops: S.optional(RouteTransitIntermediateStopList), + NextDepartures: S.optional(RouteTransitNextDepartureList), + Notices: S.optional(RouteTransitNoticeList), + PassThroughWaypoints: S.optional(RoutePassThroughWaypointList), + Spans: S.optional(RouteTransitSpanList), Summary: S.optional(RouteTransitSummary), Transport: RouteTransitTransportModeDetails, - TravelSteps: RouteTransitTravelStepList, + TravelSteps: S.optional(RouteTransitTravelStepList), }), ).annotate({ identifier: "RouteTransitLegDetails", diff --git a/packages/aws/src/services/location.ts b/packages/aws/src/services/location.ts index f5cf58fd91..997d2ff60a 100644 --- a/packages/aws/src/services/location.ts +++ b/packages/aws/src/services/location.ts @@ -596,7 +596,7 @@ export const DescribeGeofenceCollectionRequest = export interface DescribeGeofenceCollectionResponse { CollectionName: string; CollectionArn: string; - Description: string; + Description?: string; PricingPlan?: string; PricingPlanDataSource?: string; KmsKeyId?: string; @@ -610,7 +610,7 @@ export const DescribeGeofenceCollectionResponse = S.Struct({ CollectionName: S.String, CollectionArn: S.String, - Description: S.String, + Description: S.optional(S.String), PricingPlan: S.optional(S.String), PricingPlanDataSource: S.optional(S.String), KmsKeyId: S.optional(S.String), @@ -718,7 +718,7 @@ export const ListGeofenceCollectionsRequest = }) as any as S.Schema; export interface ListGeofenceCollectionsResponseEntry { CollectionName: string; - Description: string; + Description?: string; PricingPlan?: string; PricingPlanDataSource?: string; CreateTime: Date; @@ -728,7 +728,7 @@ export const ListGeofenceCollectionsResponseEntry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ CollectionName: S.String, - Description: S.String, + Description: S.optional(S.String), PricingPlan: S.optional(S.String), PricingPlanDataSource: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), @@ -1593,7 +1593,7 @@ export interface DescribeMapResponse { PricingPlan?: string; DataSource: string; Configuration: MapConfiguration; - Description: string; + Description?: string; Tags?: { [key: string]: string | undefined }; CreateTime: Date; UpdateTime: Date; @@ -1605,7 +1605,7 @@ export const DescribeMapResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => PricingPlan: S.optional(S.String), DataSource: S.String, Configuration: MapConfiguration, - Description: S.String, + Description: S.optional(S.String), Tags: S.optional(TagMap), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), UpdateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), @@ -1711,7 +1711,7 @@ export const ListMapsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface ListMapsResponseEntry { MapName: string; - Description: string; + Description?: string; DataSource: string; PricingPlan?: string; CreateTime: Date; @@ -1720,7 +1720,7 @@ export interface ListMapsResponseEntry { export const ListMapsResponseEntry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ MapName: S.String, - Description: S.String, + Description: S.optional(S.String), DataSource: S.String, PricingPlan: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), @@ -1986,7 +1986,7 @@ export interface DescribePlaceIndexResponse { IndexName: string; IndexArn: string; PricingPlan?: string; - Description: string; + Description?: string; CreateTime: Date; UpdateTime: Date; DataSource: string; @@ -1999,7 +1999,7 @@ export const DescribePlaceIndexResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( IndexName: S.String, IndexArn: S.String, PricingPlan: S.optional(S.String), - Description: S.String, + Description: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), UpdateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), DataSource: S.String, @@ -2098,7 +2098,7 @@ export const ListPlaceIndexesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( }) as any as S.Schema; export interface ListPlaceIndexesResponseEntry { IndexName: string; - Description: string; + Description?: string; DataSource: string; PricingPlan?: string; CreateTime: Date; @@ -2108,7 +2108,7 @@ export const ListPlaceIndexesResponseEntry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ IndexName: S.String, - Description: S.String, + Description: S.optional(S.String), DataSource: S.String, PricingPlan: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), @@ -2583,7 +2583,7 @@ export interface DescribeRouteCalculatorResponse { CalculatorName: string; CalculatorArn: string; PricingPlan?: string; - Description: string; + Description?: string; CreateTime: Date; UpdateTime: Date; DataSource: string; @@ -2595,7 +2595,7 @@ export const DescribeRouteCalculatorResponse = CalculatorName: S.String, CalculatorArn: S.String, PricingPlan: S.optional(S.String), - Description: S.String, + Description: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), UpdateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), DataSource: S.String, @@ -2698,7 +2698,7 @@ export const ListRouteCalculatorsRequest = }) as any as S.Schema; export interface ListRouteCalculatorsResponseEntry { CalculatorName: string; - Description: string; + Description?: string; DataSource: string; PricingPlan?: string; CreateTime: Date; @@ -2708,7 +2708,7 @@ export const ListRouteCalculatorsResponseEntry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ CalculatorName: S.String, - Description: S.String, + Description: S.optional(S.String), DataSource: S.String, PricingPlan: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), @@ -3092,7 +3092,7 @@ export const DescribeTrackerRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export interface DescribeTrackerResponse { TrackerName: string; TrackerArn: string; - Description: string; + Description?: string; PricingPlan?: string; PricingPlanDataSource?: string; Tags?: { [key: string]: string | undefined }; @@ -3108,7 +3108,7 @@ export const DescribeTrackerResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( S.Struct({ TrackerName: S.String, TrackerArn: S.String, - Description: S.String, + Description: S.optional(S.String), PricingPlan: S.optional(S.String), PricingPlanDataSource: S.optional(S.String), Tags: S.optional(TagMap), @@ -3213,7 +3213,7 @@ export const ListTrackersRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface ListTrackersResponseEntry { TrackerName: string; - Description: string; + Description?: string; PricingPlan?: string; PricingPlanDataSource?: string; CreateTime: Date; @@ -3223,7 +3223,7 @@ export const ListTrackersResponseEntry = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ TrackerName: S.String, - Description: S.String, + Description: S.optional(S.String), PricingPlan: S.optional(S.String), PricingPlanDataSource: S.optional(S.String), CreateTime: T.DateFromString.pipe(T.TimestampFormat("date-time")), @@ -3915,6 +3915,7 @@ export const createKey: API.OperationMethod< ValidationException, ], operationName: "CreateKey", + endpointHostPrefix: "cp.metadata.", })); export type DescribeKeyError = | AccessDeniedException @@ -3944,6 +3945,7 @@ export const describeKey: API.OperationMethod< ValidationException, ], operationName: "DescribeKey", + endpointHostPrefix: "cp.metadata.", })); export type UpdateKeyError = | AccessDeniedException @@ -3971,6 +3973,7 @@ export const updateKey: API.OperationMethod< ValidationException, ], operationName: "UpdateKey", + endpointHostPrefix: "cp.metadata.", })); export type DeleteKeyError = | AccessDeniedException @@ -4000,6 +4003,7 @@ export const deleteKey: API.OperationMethod< ValidationException, ], operationName: "DeleteKey", + endpointHostPrefix: "cp.metadata.", })); export type ListKeysError = | AccessDeniedException @@ -4042,6 +4046,7 @@ export const listKeys: API.OperationMethod< ValidationException, ], operationName: "ListKeys", + endpointHostPrefix: "cp.metadata.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4075,6 +4080,7 @@ export const listTagsForResource: API.OperationMethod< ValidationException, ], operationName: "ListTagsForResource", + endpointHostPrefix: "cp.metadata.", })); export type TagResourceError = | AccessDeniedException @@ -4108,6 +4114,7 @@ export const tagResource: API.OperationMethod< ValidationException, ], operationName: "TagResource", + endpointHostPrefix: "cp.metadata.", })); export type UntagResourceError = | AccessDeniedException @@ -4135,6 +4142,7 @@ export const untagResource: API.OperationMethod< ValidationException, ], operationName: "UntagResource", + endpointHostPrefix: "cp.metadata.", })); export type CreateGeofenceCollectionError = | AccessDeniedException @@ -4164,6 +4172,7 @@ export const createGeofenceCollection: API.OperationMethod< ValidationException, ], operationName: "CreateGeofenceCollection", + endpointHostPrefix: "cp.geofencing.", })); export type DescribeGeofenceCollectionError = | AccessDeniedException @@ -4191,6 +4200,7 @@ export const describeGeofenceCollection: API.OperationMethod< ValidationException, ], operationName: "DescribeGeofenceCollection", + endpointHostPrefix: "cp.geofencing.", })); export type UpdateGeofenceCollectionError = | AccessDeniedException @@ -4218,6 +4228,7 @@ export const updateGeofenceCollection: API.OperationMethod< ValidationException, ], operationName: "UpdateGeofenceCollection", + endpointHostPrefix: "cp.geofencing.", })); export type DeleteGeofenceCollectionError = | AccessDeniedException @@ -4247,6 +4258,7 @@ export const deleteGeofenceCollection: API.OperationMethod< ValidationException, ], operationName: "DeleteGeofenceCollection", + endpointHostPrefix: "cp.geofencing.", })); export type ListGeofenceCollectionsError = | AccessDeniedException @@ -4287,6 +4299,7 @@ export const listGeofenceCollections: API.OperationMethod< ValidationException, ], operationName: "ListGeofenceCollections", + endpointHostPrefix: "cp.geofencing.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4322,6 +4335,7 @@ export const batchDeleteGeofence: API.OperationMethod< ValidationException, ], operationName: "BatchDeleteGeofence", + endpointHostPrefix: "geofencing.", })); export type BatchEvaluateGeofencesError = | AccessDeniedException @@ -4361,6 +4375,7 @@ export const batchEvaluateGeofences: API.OperationMethod< ValidationException, ], operationName: "BatchEvaluateGeofences", + endpointHostPrefix: "geofencing.", })); export type BatchPutGeofenceError = | AccessDeniedException @@ -4388,6 +4403,7 @@ export const batchPutGeofence: API.OperationMethod< ValidationException, ], operationName: "BatchPutGeofence", + endpointHostPrefix: "geofencing.", })); export type ForecastGeofenceEventsError = | AccessDeniedException @@ -4438,6 +4454,7 @@ export const forecastGeofenceEvents: API.OperationMethod< ValidationException, ], operationName: "ForecastGeofenceEvents", + endpointHostPrefix: "geofencing.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4473,6 +4490,7 @@ export const getGeofence: API.OperationMethod< ValidationException, ], operationName: "GetGeofence", + endpointHostPrefix: "geofencing.", })); export type ListGeofencesError = | AccessDeniedException @@ -4515,6 +4533,7 @@ export const listGeofences: API.OperationMethod< ValidationException, ], operationName: "ListGeofences", + endpointHostPrefix: "geofencing.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4550,6 +4569,7 @@ export const putGeofence: API.OperationMethod< ValidationException, ], operationName: "PutGeofence", + endpointHostPrefix: "geofencing.", })); export type StartJobError = | AccessDeniedException @@ -4577,6 +4597,7 @@ export const startJob: API.OperationMethod< ValidationException, ], operationName: "StartJob", + endpointHostPrefix: "metadata.", })); export type GetJobError = | AccessDeniedException @@ -4606,6 +4627,7 @@ export const getJob: API.OperationMethod< ValidationException, ], operationName: "GetJob", + endpointHostPrefix: "metadata.", })); export type ListJobsError = | AccessDeniedException @@ -4648,6 +4670,7 @@ export const listJobs: API.OperationMethod< ValidationException, ], operationName: "ListJobs", + endpointHostPrefix: "metadata.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4681,6 +4704,7 @@ export const cancelJob: API.OperationMethod< ValidationException, ], operationName: "CancelJob", + endpointHostPrefix: "metadata.", })); export type CreateMapError = | AccessDeniedException @@ -4724,6 +4748,7 @@ export const createMap: API.OperationMethod< ValidationException, ], operationName: "CreateMap", + endpointHostPrefix: "cp.maps.", })); export type DescribeMapError = | AccessDeniedException @@ -4763,6 +4788,7 @@ export const describeMap: API.OperationMethod< ValidationException, ], operationName: "DescribeMap", + endpointHostPrefix: "cp.maps.", })); export type UpdateMapError = | AccessDeniedException @@ -4802,6 +4828,7 @@ export const updateMap: API.OperationMethod< ValidationException, ], operationName: "UpdateMap", + endpointHostPrefix: "cp.maps.", })); export type DeleteMapError = | AccessDeniedException @@ -4843,6 +4870,7 @@ export const deleteMap: API.OperationMethod< ValidationException, ], operationName: "DeleteMap", + endpointHostPrefix: "cp.maps.", })); export type ListMapsError = | AccessDeniedException @@ -4895,6 +4923,7 @@ export const listMaps: API.OperationMethod< ValidationException, ], operationName: "ListMaps", + endpointHostPrefix: "cp.maps.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4940,6 +4969,7 @@ export const getMapGlyphs: API.OperationMethod< ValidationException, ], operationName: "GetMapGlyphs", + endpointHostPrefix: "maps.", })); export type GetMapSpritesError = | AccessDeniedException @@ -4979,6 +5009,7 @@ export const getMapSprites: API.OperationMethod< ValidationException, ], operationName: "GetMapSprites", + endpointHostPrefix: "maps.", })); export type GetMapStyleDescriptorError = | AccessDeniedException @@ -5020,6 +5051,7 @@ export const getMapStyleDescriptor: API.OperationMethod< ValidationException, ], operationName: "GetMapStyleDescriptor", + endpointHostPrefix: "maps.", })); export type GetMapTileError = | AccessDeniedException @@ -5061,6 +5093,7 @@ export const getMapTile: API.OperationMethod< ValidationException, ], operationName: "GetMapTile", + endpointHostPrefix: "maps.", })); export type CreatePlaceIndexError = | AccessDeniedException @@ -5104,6 +5137,7 @@ export const createPlaceIndex: API.OperationMethod< ValidationException, ], operationName: "CreatePlaceIndex", + endpointHostPrefix: "cp.places.", })); export type DescribePlaceIndexError = | AccessDeniedException @@ -5143,6 +5177,7 @@ export const describePlaceIndex: API.OperationMethod< ValidationException, ], operationName: "DescribePlaceIndex", + endpointHostPrefix: "cp.places.", })); export type UpdatePlaceIndexError = | AccessDeniedException @@ -5182,6 +5217,7 @@ export const updatePlaceIndex: API.OperationMethod< ValidationException, ], operationName: "UpdatePlaceIndex", + endpointHostPrefix: "cp.places.", })); export type DeletePlaceIndexError = | AccessDeniedException @@ -5223,6 +5259,7 @@ export const deletePlaceIndex: API.OperationMethod< ValidationException, ], operationName: "DeletePlaceIndex", + endpointHostPrefix: "cp.places.", })); export type ListPlaceIndexesError = | AccessDeniedException @@ -5275,6 +5312,7 @@ export const listPlaceIndexes: API.OperationMethod< ValidationException, ], operationName: "ListPlaceIndexes", + endpointHostPrefix: "cp.places.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -5330,6 +5368,7 @@ export const getPlace: API.OperationMethod< ValidationException, ], operationName: "GetPlace", + endpointHostPrefix: "places.", })); export type SearchPlaceIndexForPositionError = | AccessDeniedException @@ -5367,6 +5406,7 @@ export const searchPlaceIndexForPosition: API.OperationMethod< ValidationException, ], operationName: "SearchPlaceIndexForPosition", + endpointHostPrefix: "places.", })); export type SearchPlaceIndexForSuggestionsError = | AccessDeniedException @@ -5408,6 +5448,7 @@ export const searchPlaceIndexForSuggestions: API.OperationMethod< ValidationException, ], operationName: "SearchPlaceIndexForSuggestions", + endpointHostPrefix: "places.", })); export type SearchPlaceIndexForTextError = | AccessDeniedException @@ -5451,6 +5492,7 @@ export const searchPlaceIndexForText: API.OperationMethod< ValidationException, ], operationName: "SearchPlaceIndexForText", + endpointHostPrefix: "places.", })); export type CreateRouteCalculatorError = | AccessDeniedException @@ -5496,6 +5538,7 @@ export const createRouteCalculator: API.OperationMethod< ValidationException, ], operationName: "CreateRouteCalculator", + endpointHostPrefix: "cp.routes.", })); export type DescribeRouteCalculatorError = | AccessDeniedException @@ -5535,6 +5578,7 @@ export const describeRouteCalculator: API.OperationMethod< ValidationException, ], operationName: "DescribeRouteCalculator", + endpointHostPrefix: "cp.routes.", })); export type UpdateRouteCalculatorError = | AccessDeniedException @@ -5574,6 +5618,7 @@ export const updateRouteCalculator: API.OperationMethod< ValidationException, ], operationName: "UpdateRouteCalculator", + endpointHostPrefix: "cp.routes.", })); export type DeleteRouteCalculatorError = | AccessDeniedException @@ -5615,6 +5660,7 @@ export const deleteRouteCalculator: API.OperationMethod< ValidationException, ], operationName: "DeleteRouteCalculator", + endpointHostPrefix: "cp.routes.", })); export type ListRouteCalculatorsError = | AccessDeniedException @@ -5667,6 +5713,7 @@ export const listRouteCalculators: API.OperationMethod< ValidationException, ], operationName: "ListRouteCalculators", + endpointHostPrefix: "cp.routes.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -5722,6 +5769,7 @@ export const calculateRoute: API.OperationMethod< ValidationException, ], operationName: "CalculateRoute", + endpointHostPrefix: "routes.", })); export type CalculateRouteMatrixError = | AccessDeniedException @@ -5775,6 +5823,7 @@ export const calculateRouteMatrix: API.OperationMethod< ValidationException, ], operationName: "CalculateRouteMatrix", + endpointHostPrefix: "routes.", })); export type CreateTrackerError = | AccessDeniedException @@ -5804,6 +5853,7 @@ export const createTracker: API.OperationMethod< ValidationException, ], operationName: "CreateTracker", + endpointHostPrefix: "cp.tracking.", })); export type DescribeTrackerError = | AccessDeniedException @@ -5831,6 +5881,7 @@ export const describeTracker: API.OperationMethod< ValidationException, ], operationName: "DescribeTracker", + endpointHostPrefix: "cp.tracking.", })); export type UpdateTrackerError = | AccessDeniedException @@ -5858,6 +5909,7 @@ export const updateTracker: API.OperationMethod< ValidationException, ], operationName: "UpdateTracker", + endpointHostPrefix: "cp.tracking.", })); export type DeleteTrackerError = | AccessDeniedException @@ -5887,6 +5939,7 @@ export const deleteTracker: API.OperationMethod< ValidationException, ], operationName: "DeleteTracker", + endpointHostPrefix: "cp.tracking.", })); export type ListTrackersError = | AccessDeniedException @@ -5927,6 +5980,7 @@ export const listTrackers: API.OperationMethod< ValidationException, ], operationName: "ListTrackers", + endpointHostPrefix: "cp.tracking.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -5968,6 +6022,7 @@ export const associateTrackerConsumer: API.OperationMethod< ValidationException, ], operationName: "AssociateTrackerConsumer", + endpointHostPrefix: "cp.tracking.", })); export type BatchDeleteDevicePositionHistoryError = | AccessDeniedException @@ -5995,6 +6050,7 @@ export const batchDeleteDevicePositionHistory: API.OperationMethod< ValidationException, ], operationName: "BatchDeleteDevicePositionHistory", + endpointHostPrefix: "tracking.", })); export type BatchGetDevicePositionError = | AccessDeniedException @@ -6022,6 +6078,7 @@ export const batchGetDevicePosition: API.OperationMethod< ValidationException, ], operationName: "BatchGetDevicePosition", + endpointHostPrefix: "tracking.", })); export type BatchUpdateDevicePositionError = | AccessDeniedException @@ -6055,6 +6112,7 @@ export const batchUpdateDevicePosition: API.OperationMethod< ValidationException, ], operationName: "BatchUpdateDevicePosition", + endpointHostPrefix: "tracking.", })); export type DisassociateTrackerConsumerError = | AccessDeniedException @@ -6084,6 +6142,7 @@ export const disassociateTrackerConsumer: API.OperationMethod< ValidationException, ], operationName: "DisassociateTrackerConsumer", + endpointHostPrefix: "cp.tracking.", })); export type GetDevicePositionError = | AccessDeniedException @@ -6113,6 +6172,7 @@ export const getDevicePosition: API.OperationMethod< ValidationException, ], operationName: "GetDevicePosition", + endpointHostPrefix: "tracking.", })); export type GetDevicePositionHistoryError = | AccessDeniedException @@ -6157,6 +6217,7 @@ export const getDevicePositionHistory: API.OperationMethod< ValidationException, ], operationName: "GetDevicePositionHistory", + endpointHostPrefix: "tracking.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -6203,6 +6264,7 @@ export const listDevicePositions: API.OperationMethod< ValidationException, ], operationName: "ListDevicePositions", + endpointHostPrefix: "tracking.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -6251,6 +6313,7 @@ export const listTrackerConsumers: API.OperationMethod< ValidationException, ], operationName: "ListTrackerConsumers", + endpointHostPrefix: "cp.tracking.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -6286,4 +6349,5 @@ export const verifyDevicePosition: API.OperationMethod< ValidationException, ], operationName: "VerifyDevicePosition", + endpointHostPrefix: "tracking.", })); From 032e6c64355f074148ee8e19a7e5c7b01584f2f0 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 10 Jul 2026 17:00:22 -0700 Subject: [PATCH 08/63] feat(aws): typed-error + generator coverage for T2 services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patches (24 new) and regenerated services (27) for the AWS T2 coverage waves: acm-pca, aiops, auditmanager, chatbot, cloudtrail, config-service, controltower, cost-explorer, cost-and-usage-report-service, databrew, datazone, docdb-elastic, emr, internetmonitor, kendra, kinesis-video, lakeformation, license-manager, resource-groups, resource-explorer-2, rolesanywhere, s3-control, securitylake, shield, signer, ssm-contacts, ssm-incidents, synthetics, and others — adding resource-specific typed error tags and synthetic message-matched errors verified against the live APIs. Generator/runtime fixes: - generate.ts: derive a per-op `${Op}Request` schema when an input shape is shared across operations with conflicting @http traits (was silently baking one op's method/URI into the shared schema, so deletes issued GETs) - api.ts: Unit-input operations keep their @http trait (were falling back to POST /); rest-json.ts: send explicit `{}` body when the input has body-capable members; error.ts: strip comma-joined x-amzn-errortype headers Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/aiops.json | 13 + packages/aws/patches/auditmanager.json | 20 ++ packages/aws/patches/chatbot.json | 34 ++ packages/aws/patches/cloudtrail.json | 20 ++ packages/aws/patches/controltower.json | 28 ++ .../cost-and-usage-report-service.json | 25 ++ packages/aws/patches/cost-explorer.json | 36 ++ packages/aws/patches/databrew.json | 279 +++++++++++++++ packages/aws/patches/datazone.json | 20 ++ packages/aws/patches/docdb-elastic.json | 9 + packages/aws/patches/emr.json | 145 ++++++++ packages/aws/patches/internetmonitor.json | 13 + packages/aws/patches/kendra.json | 7 + packages/aws/patches/kinesis-video.json | 70 ++++ packages/aws/patches/lakeformation.json | 63 ++++ packages/aws/patches/license-manager.json | 40 +++ packages/aws/patches/resource-groups.json | 24 ++ packages/aws/patches/s3-control.json | 121 +++++++ packages/aws/patches/securitylake.json | 22 ++ packages/aws/patches/shield.json | 142 ++++++++ packages/aws/patches/signer.json | 16 + packages/aws/patches/ssm-contacts.json | 170 +++++++++ packages/aws/patches/ssm-incidents.json | 10 + packages/aws/patches/synthetics.json | 7 + packages/aws/scripts/generate.ts | 193 ++++++++++- packages/aws/scripts/spec-schema.ts | 24 ++ packages/aws/src/client/api.ts | 46 ++- packages/aws/src/protocols/rest-json.ts | 31 +- packages/aws/src/services/aiops.ts | 16 + packages/aws/src/services/auditmanager.ts | 14 + packages/aws/src/services/chatbot.ts | 26 +- packages/aws/src/services/cloudtrail.ts | 10 + packages/aws/src/services/controltower.ts | 48 +++ .../services/cost-and-usage-report-service.ts | 17 +- packages/aws/src/services/cost-explorer.ts | 30 +- packages/aws/src/services/databrew.ts | 249 +++++++++++-- packages/aws/src/services/datazone.ts | 19 +- packages/aws/src/services/docdb-elastic.ts | 4 +- packages/aws/src/services/emr.ts | 114 +++++- packages/aws/src/services/internetmonitor.ts | 8 +- packages/aws/src/services/kendra.ts | 2 + packages/aws/src/services/kinesis-video.ts | 22 ++ packages/aws/src/services/lakeformation.ts | 36 +- packages/aws/src/services/license-manager.ts | 14 + .../aws/src/services/observabilityadmin.ts | 69 +++- .../aws/src/services/resource-explorer-2.ts | 45 ++- packages/aws/src/services/resource-groups.ts | 18 +- packages/aws/src/services/rolesanywhere.ts | 151 ++++++-- packages/aws/src/services/s3-control.ts | 326 ++++++++++++++---- packages/aws/src/services/securitylake.ts | 34 ++ packages/aws/src/services/shield.ts | 48 ++- packages/aws/src/services/signer.ts | 11 + packages/aws/src/services/ssm-contacts.ts | 50 +++ packages/aws/src/services/ssm-incidents.ts | 6 + packages/aws/src/services/synthetics.ts | 7 +- packages/aws/src/util/error.ts | 6 +- 56 files changed, 2834 insertions(+), 194 deletions(-) create mode 100644 packages/aws/patches/aiops.json create mode 100644 packages/aws/patches/auditmanager.json create mode 100644 packages/aws/patches/chatbot.json create mode 100644 packages/aws/patches/cloudtrail.json create mode 100644 packages/aws/patches/controltower.json create mode 100644 packages/aws/patches/cost-and-usage-report-service.json create mode 100644 packages/aws/patches/cost-explorer.json create mode 100644 packages/aws/patches/databrew.json create mode 100644 packages/aws/patches/datazone.json create mode 100644 packages/aws/patches/docdb-elastic.json create mode 100644 packages/aws/patches/emr.json create mode 100644 packages/aws/patches/internetmonitor.json create mode 100644 packages/aws/patches/kendra.json create mode 100644 packages/aws/patches/kinesis-video.json create mode 100644 packages/aws/patches/lakeformation.json create mode 100644 packages/aws/patches/license-manager.json create mode 100644 packages/aws/patches/resource-groups.json create mode 100644 packages/aws/patches/s3-control.json create mode 100644 packages/aws/patches/securitylake.json create mode 100644 packages/aws/patches/shield.json create mode 100644 packages/aws/patches/signer.json create mode 100644 packages/aws/patches/ssm-contacts.json create mode 100644 packages/aws/patches/ssm-incidents.json create mode 100644 packages/aws/patches/synthetics.json diff --git a/packages/aws/patches/aiops.json b/packages/aws/patches/aiops.json new file mode 100644 index 0000000000..5b1326e470 --- /dev/null +++ b/packages/aws/patches/aiops.json @@ -0,0 +1,13 @@ +{ + "operations": { + "getInvestigationGroup": { "errors": ["UnauthorizedException"] }, + "updateInvestigationGroup": { "errors": ["UnauthorizedException"] }, + "deleteInvestigationGroup": { "errors": ["UnauthorizedException"] }, + "getInvestigationGroupPolicy": { "errors": ["UnauthorizedException"] }, + "putInvestigationGroupPolicy": { "errors": ["UnauthorizedException"] }, + "deleteInvestigationGroupPolicy": { "errors": ["UnauthorizedException"] } + }, + "errorCategories": { + "UnauthorizedException": ["AuthError"] + } +} diff --git a/packages/aws/patches/auditmanager.json b/packages/aws/patches/auditmanager.json new file mode 100644 index 0000000000..0b4095043b --- /dev/null +++ b/packages/aws/patches/auditmanager.json @@ -0,0 +1,20 @@ +{ + "operations": { + "registerAccount": { + "syntheticErrors": [ + { + "name": "AuditManagerMaintenanceMode", + "from": "ValidationException", + "message": { + "includes": "maintenance mode" + } + } + ] + } + }, + "errorCategories": { + "AuditManagerMaintenanceMode": [ + "BadRequestError" + ] + } +} diff --git a/packages/aws/patches/chatbot.json b/packages/aws/patches/chatbot.json new file mode 100644 index 0000000000..a9af346331 --- /dev/null +++ b/packages/aws/patches/chatbot.json @@ -0,0 +1,34 @@ +{ + "operations": { + "getMicrosoftTeamsChannelConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "createSlackChannelConfiguration": { + "syntheticErrors": [ + { + "name": "SlackWorkspaceNotAuthorized", + "from": "InvalidRequestException", + "message": { "includes": "is not authorized with AWS account" } + } + ] + }, + "createMicrosoftTeamsChannelConfiguration": { + "syntheticErrors": [ + { + "name": "MicrosoftTeamsTeamNotConfigured", + "from": "InvalidRequestException", + "message": { "includes": "team id you are using is not configured" } + } + ] + } + }, + "structures": { + "CustomActionAttachment": { + "members": { "NotificationType": { "optional": false } } + } + }, + "errorCategories": { + "SlackWorkspaceNotAuthorized": ["BadRequestError"], + "MicrosoftTeamsTeamNotConfigured": ["BadRequestError"] + } +} diff --git a/packages/aws/patches/cloudtrail.json b/packages/aws/patches/cloudtrail.json new file mode 100644 index 0000000000..c54c9a9efd --- /dev/null +++ b/packages/aws/patches/cloudtrail.json @@ -0,0 +1,20 @@ +{ + "operations": { + "createEventDataStore": { + "syntheticErrors": [ + { + "name": "CloudTrailLakeOnboardingClosed", + "from": "InvalidParameterException", + "message": { + "includes": "no longer accepting new customers" + } + } + ] + } + }, + "errorCategories": { + "CloudTrailLakeOnboardingClosed": [ + "BadRequestError" + ] + } +} diff --git a/packages/aws/patches/controltower.json b/packages/aws/patches/controltower.json new file mode 100644 index 0000000000..e77c1812a2 --- /dev/null +++ b/packages/aws/patches/controltower.json @@ -0,0 +1,28 @@ +{ + "operations": { + "createLandingZone": { "errors": ["UnauthorizedException"] }, + "getLandingZone": { "errors": ["UnauthorizedException"] }, + "updateLandingZone": { "errors": ["UnauthorizedException"] }, + "deleteLandingZone": { "errors": ["UnauthorizedException"] }, + "resetLandingZone": { "errors": ["UnauthorizedException"] }, + "getLandingZoneOperation": { "errors": ["UnauthorizedException"] }, + "listLandingZoneOperations": { "errors": ["UnauthorizedException"] }, + "listLandingZones": { "errors": ["UnauthorizedException"] }, + "getBaseline": { "errors": ["UnauthorizedException"] }, + "listBaselines": { "errors": ["UnauthorizedException"] }, + "getBaselineOperation": { "errors": ["UnauthorizedException"] }, + "enableBaseline": { "errors": ["UnauthorizedException"] }, + "disableBaseline": { "errors": ["UnauthorizedException"] }, + "updateEnabledBaseline": { "errors": ["UnauthorizedException"] }, + "resetEnabledBaseline": { "errors": ["UnauthorizedException"] }, + "getEnabledBaseline": { "errors": ["UnauthorizedException"] }, + "listEnabledBaselines": { "errors": ["UnauthorizedException"] }, + "listTagsForResource": { "errors": ["BadRequestException"] }, + "tagResource": { "errors": ["BadRequestException"] }, + "untagResource": { "errors": ["BadRequestException"] } + }, + "errorCategories": { + "UnauthorizedException": ["AuthError"], + "BadRequestException": ["BadRequestError"] + } +} diff --git a/packages/aws/patches/cost-and-usage-report-service.json b/packages/aws/patches/cost-and-usage-report-service.json new file mode 100644 index 0000000000..843abde497 --- /dev/null +++ b/packages/aws/patches/cost-and-usage-report-service.json @@ -0,0 +1,25 @@ +{ + "operations": { + "putReportDefinition": { + "syntheticErrors": [ + { + "name": "ReportBucketNotVerified", + "from": "ValidationException", + "message": { "matches": "[Bb]ucket" } + } + ] + }, + "modifyReportDefinition": { + "syntheticErrors": [ + { + "name": "ReportBucketNotVerified", + "from": "ValidationException", + "message": { "matches": "[Bb]ucket" } + } + ] + } + }, + "errorCategories": { + "ReportBucketNotVerified": ["RetryableError"] + } +} diff --git a/packages/aws/patches/cost-explorer.json b/packages/aws/patches/cost-explorer.json new file mode 100644 index 0000000000..28188ee4c3 --- /dev/null +++ b/packages/aws/patches/cost-explorer.json @@ -0,0 +1,36 @@ +{ + "operations": { + "createAnomalyMonitor": { + "syntheticErrors": [ + { + "name": "AnomalyMonitorAlreadyExists", + "from": "ValidationException", + "message": { + "includes": "same monitor name as an existing monitor" + } + } + ] + }, + "createAnomalySubscription": { + "syntheticErrors": [ + { + "name": "AnomalySubscriptionAlreadyExists", + "from": "ValidationException", + "message": { + "includes": "same subscription name as an existing subscription" + } + } + ] + } + }, + "errorCategories": { + "AnomalyMonitorAlreadyExists": [ + "AlreadyExistsError", + "ConflictError" + ], + "AnomalySubscriptionAlreadyExists": [ + "AlreadyExistsError", + "ConflictError" + ] + } +} diff --git a/packages/aws/patches/databrew.json b/packages/aws/patches/databrew.json new file mode 100644 index 0000000000..25a63f67c0 --- /dev/null +++ b/packages/aws/patches/databrew.json @@ -0,0 +1,279 @@ +{ + "errorCategories": { + "TooManyRequestsException": [ + "ThrottlingError", + "RetryableError" + ], + "DataBrewRoleNotAssumable": [ + "BadRequestError", + "RetryableError" + ] + }, + "operations": { + "batchDeleteRecipeVersion": { + "errors": [ + "TooManyRequestsException" + ] + }, + "createDataset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "createProfileJob": { + "errors": [ + "TooManyRequestsException" + ], + "syntheticErrors": [ + { + "name": "DataBrewRoleNotAssumable", + "from": "ValidationException", + "message": { + "includes": "is not a trusted entity for the data access role" + } + } + ] + }, + "createProject": { + "errors": [ + "TooManyRequestsException" + ], + "syntheticErrors": [ + { + "name": "DataBrewRoleNotAssumable", + "from": "ValidationException", + "message": { + "includes": "is not a trusted entity for the data access role" + } + } + ] + }, + "createRecipe": { + "errors": [ + "TooManyRequestsException" + ] + }, + "createRecipeJob": { + "errors": [ + "TooManyRequestsException" + ], + "syntheticErrors": [ + { + "name": "DataBrewRoleNotAssumable", + "from": "ValidationException", + "message": { + "includes": "is not a trusted entity for the data access role" + } + } + ] + }, + "createRuleset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "createSchedule": { + "errors": [ + "TooManyRequestsException" + ] + }, + "deleteDataset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "deleteJob": { + "errors": [ + "TooManyRequestsException" + ] + }, + "deleteProject": { + "errors": [ + "TooManyRequestsException" + ] + }, + "deleteRecipeVersion": { + "errors": [ + "TooManyRequestsException" + ] + }, + "deleteRuleset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "deleteSchedule": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeDataset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeJob": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeJobRun": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeProject": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeRecipe": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeRuleset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "describeSchedule": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listDatasets": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listJobRuns": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listJobs": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listProjects": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listRecipeVersions": { + "errors": [ + "TooManyRequestsException", + "ResourceNotFoundException" + ] + }, + "listRecipes": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listRulesets": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listSchedules": { + "errors": [ + "TooManyRequestsException" + ] + }, + "listTagsForResource": { + "errors": [ + "TooManyRequestsException" + ] + }, + "publishRecipe": { + "errors": [ + "TooManyRequestsException" + ] + }, + "startJobRun": { + "errors": [ + "TooManyRequestsException" + ] + }, + "stopJobRun": { + "errors": [ + "TooManyRequestsException" + ] + }, + "tagResource": { + "errors": [ + "TooManyRequestsException" + ] + }, + "untagResource": { + "errors": [ + "TooManyRequestsException" + ] + }, + "updateDataset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "updateProfileJob": { + "errors": [ + "TooManyRequestsException" + ], + "syntheticErrors": [ + { + "name": "DataBrewRoleNotAssumable", + "from": "ValidationException", + "message": { + "includes": "is not a trusted entity for the data access role" + } + } + ] + }, + "updateProject": { + "errors": [ + "TooManyRequestsException" + ], + "syntheticErrors": [ + { + "name": "DataBrewRoleNotAssumable", + "from": "ValidationException", + "message": { + "includes": "is not a trusted entity for the data access role" + } + } + ] + }, + "updateRecipe": { + "errors": [ + "TooManyRequestsException" + ] + }, + "updateRecipeJob": { + "errors": [ + "TooManyRequestsException" + ], + "syntheticErrors": [ + { + "name": "DataBrewRoleNotAssumable", + "from": "ValidationException", + "message": { + "includes": "is not a trusted entity for the data access role" + } + } + ] + }, + "updateRuleset": { + "errors": [ + "TooManyRequestsException" + ] + }, + "updateSchedule": { + "errors": [ + "TooManyRequestsException" + ] + } + } +} \ No newline at end of file diff --git a/packages/aws/patches/datazone.json b/packages/aws/patches/datazone.json new file mode 100644 index 0000000000..6b21c0da6f --- /dev/null +++ b/packages/aws/patches/datazone.json @@ -0,0 +1,20 @@ +{ + "operations": { + "listEnvironments": { + "errors": ["ResourceNotFoundException"] + }, + "listProjects": { + "errors": ["ResourceNotFoundException"] + }, + "deleteEnvironmentBlueprintConfiguration": { + "errors": ["ResourceNotFoundException"] + } + }, + "unions": { + "ProvisioningProperties": { + "add": { + "manual": "smithy.api#Unit" + } + } + } +} diff --git a/packages/aws/patches/docdb-elastic.json b/packages/aws/patches/docdb-elastic.json new file mode 100644 index 0000000000..5a658081d6 --- /dev/null +++ b/packages/aws/patches/docdb-elastic.json @@ -0,0 +1,9 @@ +{ + "structures": { + "Cluster": { + "members": { + "clusterEndpoint": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/emr.json b/packages/aws/patches/emr.json new file mode 100644 index 0000000000..63ed8bf030 --- /dev/null +++ b/packages/aws/patches/emr.json @@ -0,0 +1,145 @@ +{ + "operations": { + "describeCluster": { + "syntheticErrors": [ + { + "name": "ClusterNotFound", + "from": "InvalidRequestException", + "message": { + "matches": "^Cluster id .* is not valid" + } + } + ] + }, + "terminateJobFlows": { + "syntheticErrors": [ + { + "name": "JobFlowNotFound", + "from": "ValidationException", + "message": { + "includes": "Specified job flow ID not valid" + } + } + ] + }, + "setTerminationProtection": { + "syntheticErrors": [ + { + "name": "JobFlowNotFound", + "from": "ValidationException", + "message": { + "includes": "Specified job flow ID not valid" + } + } + ] + }, + "createSecurityConfiguration": { + "syntheticErrors": [ + { + "name": "SecurityConfigurationAlreadyExists", + "from": "InvalidRequestException", + "message": { + "matches": "^SecurityConfiguration with name .* already exists" + } + } + ] + }, + "describeSecurityConfiguration": { + "syntheticErrors": [ + { + "name": "SecurityConfigurationNotFound", + "from": "InvalidRequestException", + "message": { + "matches": "^Security configuration with name .* does not exist" + } + } + ] + }, + "deleteSecurityConfiguration": { + "syntheticErrors": [ + { + "name": "SecurityConfigurationNotFound", + "from": "InvalidRequestException", + "message": { + "matches": "^Security configuration with name .* does not exist" + } + } + ] + }, + "createStudio": { + "syntheticErrors": [ + { + "name": "StudioServiceRoleNotAssumable", + "from": "InvalidRequestException", + "message": { + "includes": "does not have permissions to assume role" + } + }, + { + "name": "StudioServiceRoleMissingS3Access", + "from": "InvalidRequestException", + "message": { + "includes": "does not have permission to access the 'S3 Location'" + } + } + ] + }, + "describeStudio": { + "syntheticErrors": [ + { + "name": "StudioNotFound", + "from": "InvalidRequestException", + "message": { + "includes": "Studio does not exist" + } + } + ] + }, + "deleteStudio": { + "syntheticErrors": [ + { + "name": "StudioNotFound", + "from": "InvalidRequestException", + "message": { + "includes": "Studio does not exist" + } + } + ] + }, + "updateStudio": { + "syntheticErrors": [ + { + "name": "StudioNotFound", + "from": "InvalidRequestException", + "message": { + "includes": "Studio does not exist" + } + } + ] + } + }, + "errorCategories": { + "ClusterNotFound": [ + "NotFoundError" + ], + "SecurityConfigurationNotFound": [ + "NotFoundError" + ], + "SecurityConfigurationAlreadyExists": [ + "AlreadyExistsError", + "ConflictError" + ], + "StudioNotFound": [ + "NotFoundError" + ], + "StudioServiceRoleNotAssumable": [ + "RetryableError" + ], + "StudioServiceRoleMissingS3Access": [ + "RetryableError" + ], + "JobFlowNotFound": [ + "NotFoundError" + ] + } +} \ No newline at end of file diff --git a/packages/aws/patches/internetmonitor.json b/packages/aws/patches/internetmonitor.json new file mode 100644 index 0000000000..026b7aa8bc --- /dev/null +++ b/packages/aws/patches/internetmonitor.json @@ -0,0 +1,13 @@ +{ + "errorCategories": { + "ResourceNotFoundException": ["NotFoundError"] + }, + "operations": { + "getMonitor": { + "errors": ["ResourceNotFoundException"] + }, + "deleteMonitor": { + "errors": ["ResourceNotFoundException"] + } + } +} diff --git a/packages/aws/patches/kendra.json b/packages/aws/patches/kendra.json new file mode 100644 index 0000000000..924d8817d2 --- /dev/null +++ b/packages/aws/patches/kendra.json @@ -0,0 +1,7 @@ +{ + "operations": { + "listTagsForResource": { + "errors": ["ResourceNotFoundException"] + } + } +} diff --git a/packages/aws/patches/kinesis-video.json b/packages/aws/patches/kinesis-video.json new file mode 100644 index 0000000000..3130308d74 --- /dev/null +++ b/packages/aws/patches/kinesis-video.json @@ -0,0 +1,70 @@ +{ + "operations": { + "updateStream": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + }, + "updateDataRetention": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + }, + "tagStream": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + }, + "untagStream": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + }, + "updateSignalingChannel": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + }, + "tagResource": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + }, + "untagResource": { + "syntheticErrors": [ + { + "name": "StreamNotActive", + "from": "ResourceNotFoundException", + "message": { "includes": "not active" } + } + ] + } + }, + "errorCategories": { + "StreamNotActive": ["ConflictError", "RetryableError"] + } +} diff --git a/packages/aws/patches/lakeformation.json b/packages/aws/patches/lakeformation.json new file mode 100644 index 0000000000..8c7dc4a86c --- /dev/null +++ b/packages/aws/patches/lakeformation.json @@ -0,0 +1,63 @@ +{ + "operations": { + "deregisterResource": { + "syntheticErrors": [ + { + "name": "LastServiceLinkedRoleRegistration", + "from": "InvalidInputException", + "message": { + "includes": "Must manually delete service-linked role" + } + } + ] + }, + "grantPermissions": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] + }, + "revokePermissions": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] + }, + "listPermissions": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] + }, + "putDataLakeSettings": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] + } + }, + "errorCategories": { + "LastServiceLinkedRoleRegistration": ["ConflictError"], + "InvalidLakeFormationPrincipal": ["BadRequestError", "RetryableError"] + } +} diff --git a/packages/aws/patches/license-manager.json b/packages/aws/patches/license-manager.json new file mode 100644 index 0000000000..2ecbb801fe --- /dev/null +++ b/packages/aws/patches/license-manager.json @@ -0,0 +1,40 @@ +{ + "operations": { + "getLicenseConfiguration": { + "syntheticErrors": [ + { + "name": "LicenseConfigurationNotFound", + "from": "InvalidParameterValueException", + "message": { + "includes": "Invalid license configuration ARN" + } + } + ] + }, + "updateLicenseConfiguration": { + "syntheticErrors": [ + { + "name": "LicenseConfigurationNotFound", + "from": "InvalidParameterValueException", + "message": { + "includes": "Invalid license configuration ARN" + } + } + ] + }, + "deleteLicenseConfiguration": { + "syntheticErrors": [ + { + "name": "LicenseConfigurationNotFound", + "from": "InvalidParameterValueException", + "message": { + "includes": "Invalid license configuration ARN" + } + } + ] + } + }, + "errorCategories": { + "LicenseConfigurationNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/resource-groups.json b/packages/aws/patches/resource-groups.json new file mode 100644 index 0000000000..053fca5fff --- /dev/null +++ b/packages/aws/patches/resource-groups.json @@ -0,0 +1,24 @@ +{ + "operations": { + "createGroup": { + "syntheticErrors": [ + { + "name": "GroupAlreadyExists", + "from": "BadRequestException", + "message": { "includes": "group already exists" } + } + ] + } + }, + "errorCategories": { + "GroupAlreadyExists": ["AlreadyExistsError"] + }, + "structures": { + "GetGroupOutput": { + "members": { "Group": { "optional": false } } + }, + "CreateGroupOutput": { + "members": { "Group": { "optional": false } } + } + } +} diff --git a/packages/aws/patches/s3-control.json b/packages/aws/patches/s3-control.json new file mode 100644 index 0000000000..7ed4b8ba8c --- /dev/null +++ b/packages/aws/patches/s3-control.json @@ -0,0 +1,121 @@ +{ + "errorCategories": { + "NoSuchAccessPoint": ["NotFoundError"], + "NoSuchAccessPointPolicy": ["NotFoundError"], + "AccessPointAlreadyOwnedByYou": ["AlreadyExistsError"], + "MalformedPolicy": ["BadRequestError"], + "InvalidRequest": ["BadRequestError"], + "MissingBucketLevelActivityMetrics": ["BadRequestError"], + "ObjectLambdaNotAvailable": ["AuthError"], + "NoSuchConfiguration": ["NotFoundError"], + "NoSuchMultiRegionAccessPoint": ["NotFoundError"] + }, + "structures": { + "AccountLevel": { + "members": { + "BucketLevel": { "optional": true } + } + } + }, + "operations": { + "createAccessPoint": { + "errors": ["AccessPointAlreadyOwnedByYou", "InvalidRequest"] + }, + "getAccessPoint": { + "errors": ["NoSuchAccessPoint"] + }, + "deleteAccessPoint": { + "errors": ["NoSuchAccessPoint"] + }, + "getAccessPointPolicy": { + "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + }, + "putAccessPointPolicy": { + "errors": ["NoSuchAccessPoint", "MalformedPolicy"] + }, + "deleteAccessPointPolicy": { + "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + }, + "getAccessPointPolicyStatus": { + "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + }, + "tagResource": { + "errors": ["NoSuchAccessPoint"] + }, + "untagResource": { + "errors": ["NoSuchAccessPoint"] + }, + "listTagsForResource": { + "errors": ["NoSuchAccessPoint"] + }, + "createAccessPointForObjectLambda": { + "errors": ["AccessPointAlreadyOwnedByYou", "InvalidRequest", "NoSuchAccessPoint"], + "syntheticErrors": [ + { + "name": "ObjectLambdaNotAvailable", + "from": "AccessDenied", + "message": { + "includes": "Object Lambda is available only to existing customers" + } + } + ] + }, + "getAccessPointForObjectLambda": { + "errors": ["NoSuchAccessPoint"] + }, + "deleteAccessPointForObjectLambda": { + "errors": ["NoSuchAccessPoint"] + }, + "getAccessPointConfigurationForObjectLambda": { + "errors": ["NoSuchAccessPoint"] + }, + "putAccessPointConfigurationForObjectLambda": { + "errors": ["NoSuchAccessPoint", "InvalidRequest"] + }, + "getAccessPointPolicyForObjectLambda": { + "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + }, + "putAccessPointPolicyForObjectLambda": { + "errors": ["NoSuchAccessPoint", "MalformedPolicy"] + }, + "deleteAccessPointPolicyForObjectLambda": { + "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + }, + "putStorageLensConfiguration": { + "errors": ["InvalidRequest", "MissingBucketLevelActivityMetrics"] + }, + "getStorageLensConfiguration": { + "errors": ["NoSuchConfiguration"] + }, + "deleteStorageLensConfiguration": { + "errors": ["NoSuchConfiguration"] + }, + "getStorageLensConfigurationTagging": { + "errors": ["NoSuchConfiguration"] + }, + "putStorageLensConfigurationTagging": { + "errors": ["NoSuchConfiguration"] + }, + "deleteStorageLensConfigurationTagging": { + "errors": ["NoSuchConfiguration"] + }, + "createMultiRegionAccessPoint": { + "errors": ["InvalidRequest"] + }, + "getMultiRegionAccessPoint": { + "errors": ["NoSuchMultiRegionAccessPoint"] + }, + "deleteMultiRegionAccessPoint": { + "errors": ["NoSuchMultiRegionAccessPoint", "InvalidRequest"] + }, + "describeMultiRegionAccessPointOperation": { + "errors": ["InvalidRequest"] + }, + "getMultiRegionAccessPointPolicy": { + "errors": ["NoSuchMultiRegionAccessPoint"] + }, + "putMultiRegionAccessPointPolicy": { + "errors": ["NoSuchMultiRegionAccessPoint", "InvalidRequest"] + } + } +} diff --git a/packages/aws/patches/securitylake.json b/packages/aws/patches/securitylake.json new file mode 100644 index 0000000000..53640fd221 --- /dev/null +++ b/packages/aws/patches/securitylake.json @@ -0,0 +1,22 @@ +{ + "operations": { + "createAwsLogSource": { "errors": ["UnauthorizedException"] }, + "deleteAwsLogSource": { "errors": ["UnauthorizedException"] }, + "listLogSources": { "errors": ["UnauthorizedException"] }, + "createDataLake": { "errors": ["UnauthorizedException"] }, + "updateDataLake": { "errors": ["UnauthorizedException"] }, + "deleteDataLake": { "errors": ["UnauthorizedException"] }, + "listDataLakes": { "errors": ["UnauthorizedException"] }, + "createSubscriber": { "errors": ["UnauthorizedException"] }, + "getSubscriber": { "errors": ["UnauthorizedException"] }, + "updateSubscriber": { "errors": ["UnauthorizedException"] }, + "deleteSubscriber": { "errors": ["UnauthorizedException"] }, + "listSubscribers": { "errors": ["UnauthorizedException"] }, + "listTagsForResource": { "errors": ["UnauthorizedException"] }, + "tagResource": { "errors": ["UnauthorizedException"] }, + "untagResource": { "errors": ["UnauthorizedException"] } + }, + "errorCategories": { + "UnauthorizedException": ["AuthError"] + } +} diff --git a/packages/aws/patches/shield.json b/packages/aws/patches/shield.json new file mode 100644 index 0000000000..8d8f7f173a --- /dev/null +++ b/packages/aws/patches/shield.json @@ -0,0 +1,142 @@ +{ + "operations": { + "describeSubscription": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "updateSubscription": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "deleteSubscription": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "createProtection": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "describeProtection": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "deleteProtection": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "listProtections": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "createProtectionGroup": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "describeProtectionGroup": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "updateProtectionGroup": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "deleteProtectionGroup": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "listProtectionGroups": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "listTagsForResource": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "tagResource": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + }, + "untagResource": { + "syntheticErrors": [ + { + "name": "SubscriptionNotFound", + "from": "ResourceNotFoundException", + "message": "The subscription does not exist." + } + ] + } + }, + "errorCategories": { + "SubscriptionNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/signer.json b/packages/aws/patches/signer.json new file mode 100644 index 0000000000..a561263b8f --- /dev/null +++ b/packages/aws/patches/signer.json @@ -0,0 +1,16 @@ +{ + "operations": { + "putSigningProfile": { + "syntheticErrors": [ + { + "name": "SigningProfileAlreadyExists", + "from": "ValidationException", + "message": { "includes": "already exists" } + } + ] + } + }, + "errorCategories": { + "SigningProfileAlreadyExists": ["AlreadyExistsError"] + } +} diff --git a/packages/aws/patches/ssm-contacts.json b/packages/aws/patches/ssm-contacts.json new file mode 100644 index 0000000000..1bc776c5bf --- /dev/null +++ b/packages/aws/patches/ssm-contacts.json @@ -0,0 +1,170 @@ +{ + "operations": { + "getContact": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "getContactChannel": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "getRotation": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "createContact": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "createContactChannel": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "createRotation": { + "errors": ["ConflictException"], + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "updateContact": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "updateContactChannel": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "updateRotation": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "deleteContact": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "deleteContactChannel": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "deleteRotation": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "listContacts": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "listContactChannels": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "listRotations": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "listTagsForResource": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "tagResource": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + }, + "untagResource": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { "includes": "Account not found for the request" } + } + ] + } + }, + "errorCategories": { + "IncidentManagerNotOnboarded": ["BadRequestError"] + } +} diff --git a/packages/aws/patches/ssm-incidents.json b/packages/aws/patches/ssm-incidents.json new file mode 100644 index 0000000000..260a06ac5c --- /dev/null +++ b/packages/aws/patches/ssm-incidents.json @@ -0,0 +1,10 @@ +{ + "operations": { + "createReplicationSet": { + "errors": ["UnsupportedOperationException"] + } + }, + "errorCategories": { + "UnsupportedOperationException": ["BadRequestError"] + } +} diff --git a/packages/aws/patches/synthetics.json b/packages/aws/patches/synthetics.json new file mode 100644 index 0000000000..a649e24647 --- /dev/null +++ b/packages/aws/patches/synthetics.json @@ -0,0 +1,7 @@ +{ + "operations": { + "getCanary": { + "errors": ["ResourceNotFoundException"] + } + } +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index a4a1a96109..3d22875059 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -74,6 +74,14 @@ class SdkFile extends Context.Service< serviceXmlNamespace: string | undefined; // Map of input schema names to their operation traits operationInputTraits: Map; + // Per-operation trait overrides for input shapes SHARED by multiple + // operations with conflicting operation-level traits (keyed by operation + // shape name, e.g. "DisableTrustAnchor"). The operation generator emits a + // derived `${OpName}Request` schema carrying the correct @http trait — + // otherwise every op silently inherits one op's method/uri (observed + // live: rolesanywhere DisableTrustAnchor issued GET /trustanchor/{id} + // instead of POST .../disable and no-op'd). + operationInputTraitOverrides: Map; // Map of output schema names to their operation traits operationOutputTraits: Map; // Service-level traits (applied to all request schemas) @@ -598,9 +606,14 @@ const shapeToTsType = ( } case "list": { - // For lists, get the element type and return an array type + // For lists, get the element type and return an array type. + // Parenthesize union element types (e.g. sensitive members that + // render as `string | redacted.Redacted`) so the `[]` + // suffix binds to the whole union, not just the last member. const elementType = yield* shapeToTsType(shape.member.target); - return `${elementType}[]`; + return elementType.includes("|") + ? `(${elementType})[]` + : `${elementType}[]`; } case "map": { @@ -946,11 +959,27 @@ interface OperationInputTraits { staticContextParams?: Record; } -// Collect operation traits for input schemas -function collectOperationInputTraits( - model: SmithyModel, -): Map { +// Collect operation traits for input schemas. +// +// Returns two maps: +// - inputTraits: input schema name -> traits baked into that schema constant +// - inputTraitOverrides: operation shape name -> traits, for operations whose +// input shape is SHARED by multiple operations with CONFLICTING traits +// (restJson services commonly reuse one `Scalar{X}Request` shape across +// Get/Delete/Enable/Disable with different @http bindings). Keying traits +// by input shape name alone made the last writer win, so e.g. rolesanywhere +// DisableTrustAnchor issued GET /trustanchor/{id} and silently no-op'd. The +// operation generator emits a derived `${OpName}Request` schema for each +// overridden operation. +function collectOperationInputTraits(model: SmithyModel): { + operationInputTraits: Map; + operationInputTraitOverrides: Map; +} { const inputTraits = new Map(); + const opsByInput = new Map< + string, + { opName: string; traits: OperationInputTraits }[] + >(); for (const [_shapeId, shape] of Object.entries(model.shapes)) { if (shape.type === "operation" && shape.input) { @@ -972,17 +1001,58 @@ function collectOperationInputTraits( "smithy.rules#staticContextParams" ] as Record | undefined; - const inputName = formatName(shape.input.target); - inputTraits.set(inputName, { + const traits: OperationInputTraits = { method: httpTrait.method ?? "POST", uri: httpTrait.uri ?? "/", httpChecksum: httpChecksumTrait, staticContextParams: staticContextParamsTrait, - }); + }; + + // Operations with `smithy.api#Unit` inputs get a synthesized + // `${OpName}Request` schema (see the Unit-input branch in the + // operation generator), so key their traits under that name — + // keying under "Unit" loses the operation's real @http trait and + // every Unit-input operation silently falls back to POST "/" + // (observed live: resource-explorer-2 GetIndex returned + // AccessDeniedException because it was posted to "/" instead of + // "/GetIndex"). + if (shape.input.target === "smithy.api#Unit") { + inputTraits.set(`${_shapeId.split("#")[1]}Request`, traits); + continue; + } + const inputName = formatName(shape.input.target); + const ops = opsByInput.get(inputName) ?? []; + ops.push({ opName: _shapeId.split("#")[1], traits }); + opsByInput.set(inputName, ops); } } - return inputTraits; + const inputTraitOverrides = new Map(); + for (const [inputName, ops] of opsByInput) { + const distinct = new Set(ops.map((o) => JSON.stringify(o.traits))); + if (distinct.size === 1) { + inputTraits.set(inputName, ops[0].traits); + continue; + } + // Conflicting traits on a shared input shape. The op whose natural + // `${OpName}Request` name matches the shape keeps ownership of the base + // schema (so no derived name can collide with the base); otherwise the + // first op in model order owns it. Every other op with different traits + // gets a per-operation override. + const owner = + ops.find((o) => `${o.opName}Request` === inputName) ?? ops[0]; + inputTraits.set(inputName, owner.traits); + const ownerKey = JSON.stringify(owner.traits); + for (const op of ops) { + if (op === owner || JSON.stringify(op.traits) === ownerKey) continue; + inputTraitOverrides.set(op.opName, op.traits); + } + } + + return { + operationInputTraits: inputTraits, + operationInputTraitOverrides: inputTraitOverrides, + }; } interface OperationOutputTraits { @@ -1654,7 +1724,12 @@ const convertShapeToSchema: ( const memberTsType = yield* shapeToTsType( s.member.target, ); - const typeAlias = `export type ${schemaName} = ${memberTsType}[];`; + // Parenthesize union element types so `[]` binds to the + // whole union, not just the last member. + const memberTsTypeForArray = memberTsType.includes("|") + ? `(${memberTsType})` + : memberTsType; + const typeAlias = `export type ${schemaName} = ${memberTsTypeForArray}[];`; const schemaDef = isCyclic ? annotatePureExportConst( `export const ${schemaName} = S.Array(${innerType})${sparsePipe} as any as S.Schema<${schemaName}>;`, @@ -2686,9 +2761,68 @@ const generateClient = Effect.fn(function* ( ]); return className; } - return yield* convertShapeToSchema(operationShape.input.target).pipe( - Effect.flatMap(Deferred.await), + const baseName = yield* convertShapeToSchema( + operationShape.input.target, + ).pipe(Effect.flatMap(Deferred.await)); + + // Input shape shared by multiple operations with CONFLICTING + // operation-level traits: emit a derived per-operation request + // schema whose direct annotations (getAnnotationUnwrap checks the + // outermost AST node first) override the traits baked into the + // shared base schema. + const overrideTraits = + sdkFile.operationInputTraitOverrides.get(opName); + if (overrideTraits === undefined) return baseName; + let derivedName = `${opName}Request`; + if (derivedName === baseName) return baseName; + if (sdkFile.allSchemaNames.has(derivedName)) { + derivedName = `${derivedName}_`; + } + + const overrideAnnotations: string[] = [ + `T.Http({ method: "${overrideTraits.method}", uri: "${overrideTraits.uri}" })`, + ]; + if (overrideTraits.httpChecksum) { + const checksumParts: string[] = []; + if (overrideTraits.httpChecksum.requestAlgorithmMember) { + checksumParts.push( + `requestAlgorithmMember: "${overrideTraits.httpChecksum.requestAlgorithmMember}"`, + ); + } + if (overrideTraits.httpChecksum.requestChecksumRequired) { + checksumParts.push(`requestChecksumRequired: true`); + } + if (overrideTraits.httpChecksum.responseAlgorithms) { + checksumParts.push( + `responseAlgorithms: [${overrideTraits.httpChecksum.responseAlgorithms.map((a) => `"${a}"`).join(", ")}]`, + ); + } + overrideAnnotations.push( + `T.AwsProtocolsHttpChecksum({ ${checksumParts.join(", ")} })`, + ); + } + if (overrideTraits.staticContextParams) { + overrideAnnotations.push( + `T.StaticContextParams(${JSON.stringify(overrideTraits.staticContextParams)})`, + ); + } + const overridePipe = + overrideAnnotations.length === 1 + ? overrideAnnotations[0] + : `T.all(${overrideAnnotations.join(", ")})`; + const interfaceDef = `export interface ${derivedName} extends ${baseName} {}`; + const schemaDef = annotatePureExportConst( + `export const ${derivedName} = ${baseName}.pipe(${overridePipe}).annotate({ identifier: "${derivedName}" }) as any as S.Schema<${derivedName}>;`, ); + yield* Ref.update(sdkFile.schemas, (arr) => [ + ...arr, + { + name: derivedName, + definition: `${interfaceDef}\n${schemaDef}`, + deps: [baseName], + }, + ]); + return derivedName; }); const output = yield* Effect.gen(function* () { @@ -3269,7 +3403,8 @@ const generateClient = Effect.fn(function* ( const errorShapeIds = collectErrorShapeIds(model); // Pre-collect operation input traits and output traits - const operationInputTraits = collectOperationInputTraits(model); + const { operationInputTraits, operationInputTraitOverrides } = + collectOperationInputTraits(model); const operationOutputTraits = collectOperationOutputTraits(model); const inputEventStreamShapeIds = collectInputEventStreamShapeIds(model); const sensitiveShapeIds = collectSensitiveShapeIds(model); @@ -3318,6 +3453,35 @@ const generateClient = Effect.fn(function* ( // Load spec patches for this service const serviceSpec = loadServiceSpecPatch(serviceTraits.sdkId); + // Apply union member patches to the loaded model — the live API can return + // union variants the published Smithy model is missing (e.g. DataZone's + // ProvisioningProperties `{ "manual": {} }` for CustomAwsService + // blueprints). Members are added before any codegen consumes the shape. + if (serviceSpec.unions) { + for (const [unionName, override] of Object.entries(serviceSpec.unions)) { + const shapeEntry = Object.entries(model.shapes).find( + ([id, shape]) => + id.split("#")[1] === unionName && shape.type === "union", + ); + if (shapeEntry === undefined) { + return yield* Effect.fail( + new UnableToTransformShapeToSchema({ + message: `patches/${serviceTraits.sdkId + .toLowerCase() + .replaceAll(" ", "-")}.json patches union "${unionName}" which does not exist in the model`, + }), + ); + } + const members = shapeEntry[1].members as Record< + string, + { target: string } + >; + for (const [memberName, target] of Object.entries(override.add)) { + members[memberName] ??= { target }; + } + } + } + return yield* client.pipe( Effect.provideService(SdkFile, { schemas: yield* Ref.make< @@ -3343,6 +3507,7 @@ const generateClient = Effect.fn(function* ( usesMiddleware: yield* Ref.make(false), serviceXmlNamespace, operationInputTraits, + operationInputTraitOverrides, operationOutputTraits, serviceTraits, endpointRuleSet, diff --git a/packages/aws/scripts/spec-schema.ts b/packages/aws/scripts/spec-schema.ts index fa87692ed7..a2c67e6ad7 100644 --- a/packages/aws/scripts/spec-schema.ts +++ b/packages/aws/scripts/spec-schema.ts @@ -167,6 +167,24 @@ export const StructureOverride = S.Struct({ }); export type StructureOverride = typeof StructureOverride.Type; +/** + * Union override - adds members to a Smithy union shape. + * Use this when the live API returns a union variant that the published + * Smithy model is missing (e.g. DataZone's ProvisioningProperties returns + * `{ "manual": {} }` for CustomAwsService blueprints, but the model only + * declares `cloudFormation`). The patch is applied to the loaded model + * before code generation. + */ +export const UnionOverride = S.Struct({ + /** + * Map of member names to their target shape ids (e.g. "smithy.api#Unit" + * for an empty-struct variant, or a fully-qualified shape id already + * present in the model). Members that already exist are left untouched. + */ + add: S.Record(S.String, S.String), +}); +export type UnionOverride = typeof UnionOverride.Type; + /** * Error member patch - adds a member to an error schema. * Use this for errors not fully documented in Smithy (e.g., PermanentRedirect). @@ -207,6 +225,12 @@ export const ServiceSpec = S.Struct({ * For example, when AWS returns undefined for a field marked as required. */ structures: S.optional(S.Record(S.String, StructureOverride)), + /** + * Map of union shape names to their member additions. + * Use this when the live API returns union variants missing from the + * published Smithy model. Applied to the loaded model before generation. + */ + unions: S.optional(S.Record(S.String, UnionOverride)), /** * Map of enum names to their value overrides. * Use this to fix enums where AWS returns values not in the Smithy model, diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 0b85481dae..eb1d44179f 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -153,7 +153,16 @@ export const make = >( (_, member: string) => String((payload as Record)?.[member] ?? ""), ); - endpoint = endpoint.replace("://", `://${resolvedPrefix}`); + // The endpoint rules engine may already have baked the same label into + // the host (e.g. S3 Control resolves `{AccountId}.s3-control.{region}` + // from the AccountId context param, and the operations ALSO carry the + // `{AccountId}.` hostPrefix trait). Only prepend when the resolved + // endpoint does not already start with the prefix, else the label is + // applied twice and TLS fails on the doubled host. + const hostStart = endpoint.indexOf("://") + 3; + if (!endpoint.startsWith(resolvedPrefix, hostStart)) { + endpoint = endpoint.replace("://", `://${resolvedPrefix}`); + } } // Build full URL with query string @@ -195,13 +204,46 @@ export const make = >( // Use unsigned payload for streaming bodies OR when service provides checksum with body const useUnsignedPayload = (isStreamingBody || (hasServiceChecksum && hasBody)) && !hasContentSha256; - const signingHeaders = useUnsignedPayload + let signingHeaders = useUnsignedPayload ? { ...resolvedRequest.headers, "X-Amz-Content-Sha256": "UNSIGNED-PAYLOAD", } : resolvedRequest.headers; + // S3 Control rejects UNSIGNED-PAYLOAD on several routes (access point + // operations fail with `InvalidRequest: "Request body cannot be + // unsigned"`). aws4fetch injects UNSIGNED-PAYLOAD for any service signing + // as "s3" when the header is absent, so pre-compute the real payload + // SHA-256 here (matching the official SDK's applyChecksum behavior). + if ( + _serviceSdkId === "S3 Control" && + !useUnsignedPayload && + !hasContentSha256 && + !isStreamingBody + ) { + const bodyBytes = + resolvedRequest.body === undefined + ? new Uint8Array(0) + : resolvedRequest.body instanceof Uint8Array + ? resolvedRequest.body + : new TextEncoder().encode(String(resolvedRequest.body)); + const digest = yield* Effect.promise(() => + crypto.subtle.digest( + "SHA-256", + // copy into a fresh ArrayBuffer-backed view for the DOM typings + bodyBytes.slice(), + ), + ); + const payloadHash = Array.from(new Uint8Array(digest)) + .map((byte) => byte.toString(16).padStart(2, "0")) + .join(""); + signingHeaders = { + ...signingHeaders, + "X-Amz-Content-Sha256": payloadHash, + }; + } + const signer = new AwsV4Signer({ method: resolvedRequest.method, url: `${endpoint}${fullPath}`, diff --git a/packages/aws/src/protocols/rest-json.ts b/packages/aws/src/protocols/rest-json.ts index c76a3dbd11..dea8f7e5fd 100644 --- a/packages/aws/src/protocols/rest-json.ts +++ b/packages/aws/src/protocols/rest-json.ts @@ -38,9 +38,12 @@ import { getEventSchema, getHttpHeader, getHttpPrefixHeaders, + getHttpQuery, getPropAnnotations, getServiceVersion, + hasHttpLabel, hasHttpPayload, + hasHttpQueryParams, isInputEventStream, isOutputEventStream, isStreamingType, @@ -145,6 +148,27 @@ export const restJson1Protocol: Protocol = ( } } + // restJson1 sends an explicit empty JSON document (`{}`) whenever the + // input shape has at least one member bound to the body but none were + // set (matching the AWS SDK v3 / botocore behavior — see + // AwsRestJsonProtocol.serializeRequest + ProtocolLib.resolveRestContentType + // in aws-sdk-js-v3). Several services reject an absent body outright: + // resource-explorer-2's ListIndexes/ListViews return + // `ValidationException: Invalid request body` when called with no body. + // Unit inputs (zero members) and inputs whose members are all bound to + // labels/query/headers keep an empty body. + const hasBodyCapableInputMembers = getEncodedPropertySignatures( + inputAst, + ).some( + (prop) => + getHttpHeader(prop) === undefined && + !hasHttpLabel(prop) && + getHttpQuery(prop) === undefined && + !hasHttpQueryParams(prop) && + getHttpPrefixHeaders(prop) === undefined && + !hasHttpPayload(prop), + ); + return { serializeRequest: Effect.fn(function* (input: unknown) { const encoded = yield* encodeInput(input).pipe( @@ -223,7 +247,12 @@ export const restJson1Protocol: Protocol = ( request.headers["Content-Type"] = "application/json"; } } else { - // No body - set default JSON content type for consistency + if (hasBodyCapableInputMembers) { + // Body-capable members exist but none were set: send an explicit + // empty JSON document, matching AWS SDK v3 / botocore. + request.body = "{}"; + } + // No body members set - default JSON content type for consistency if (!userSetContentType) { request.headers["Content-Type"] = "application/json"; } diff --git a/packages/aws/src/services/aiops.ts b/packages/aws/src/services/aiops.ts index d4f09e380f..40c15acc50 100644 --- a/packages/aws/src/services/aiops.ts +++ b/packages/aws/src/services/aiops.ts @@ -567,6 +567,10 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "UnauthorizedException", + {}, +).pipe(C.withAuthError) {} //# Operations export type ListTagsForResourceError = @@ -714,6 +718,7 @@ export type GetInvestigationGroupError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Returns the configuration information for the specified investigation group. @@ -731,6 +736,7 @@ export const getInvestigationGroup: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "GetInvestigationGroup", })); @@ -741,6 +747,7 @@ export type UpdateInvestigationGroupError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Updates the configuration of the specified investigation group. @@ -760,6 +767,7 @@ export const updateInvestigationGroup: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "UpdateInvestigationGroup", })); @@ -768,6 +776,7 @@ export type DeleteInvestigationGroupError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Deletes the specified investigation group from your account. You can currently have one investigation group per Region in your account. After you delete an investigation group, you can later create a new investigation group in the same Region. @@ -785,6 +794,7 @@ export const deleteInvestigationGroup: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteInvestigationGroup", })); @@ -835,6 +845,7 @@ export type PutInvestigationGroupPolicyError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Creates an IAM resource policy and assigns it to the specified investigation group. @@ -858,6 +869,7 @@ export const putInvestigationGroupPolicy: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "PutInvestigationGroupPolicy", })); @@ -867,6 +879,7 @@ export type GetInvestigationGroupPolicyError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns the JSON of the IAM resource policy associated with the specified investigation group in a string. For example, `{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"aiops.alarms.cloudwatch.amazonaws.com\"},\"Action\":[\"aiops:CreateInvestigation\",\"aiops:CreateInvestigationEvent\"],\"Resource\":\"*\",\"Condition\":{\"StringEquals\":{\"aws:SourceAccount\":\"111122223333\"},\"ArnLike\":{\"aws:SourceArn\":\"arn:aws:cloudwatch:us-east-1:111122223333:alarm:*\"}}}]}`. @@ -885,6 +898,7 @@ export const getInvestigationGroupPolicy: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "GetInvestigationGroupPolicy", })); @@ -894,6 +908,7 @@ export type DeleteInvestigationGroupPolicyError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Removes the IAM resource policy from being associated with the investigation group that you specify. @@ -912,6 +927,7 @@ export const deleteInvestigationGroupPolicy: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "DeleteInvestigationGroupPolicy", })); diff --git a/packages/aws/src/services/auditmanager.ts b/packages/aws/src/services/auditmanager.ts index a554ac94c2..d33d78560f 100644 --- a/packages/aws/src/services/auditmanager.ts +++ b/packages/aws/src/services/auditmanager.ts @@ -3579,6 +3579,18 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "AuditManagerMaintenanceMode", + { + message: S.String, + reason: S.optional(ValidationExceptionReason), + fields: S.optional(ValidationExceptionFieldList), + }, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "maintenance mode" }, + }), +).pipe(C.withBadRequestError) {} //# Operations export type AssociateAssessmentReportEvidenceFolderError = @@ -5208,6 +5220,7 @@ export type RegisterAccountError = | ResourceNotFoundException | ThrottlingException | ValidationException + | AuditManagerMaintenanceMode | CommonErrors; /** * Enables Audit Manager for the specified Amazon Web Services account. @@ -5226,6 +5239,7 @@ export const registerAccount: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + AuditManagerMaintenanceMode, ], operationName: "RegisterAccount", })); diff --git a/packages/aws/src/services/chatbot.ts b/packages/aws/src/services/chatbot.ts index 13ed51d360..e88129b295 100644 --- a/packages/aws/src/services/chatbot.ts +++ b/packages/aws/src/services/chatbot.ts @@ -1392,7 +1392,7 @@ export type CustomActionAttachmentVariables = { export const CustomActionAttachmentVariables = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); export interface CustomActionAttachment { - NotificationType?: string; + NotificationType: string; ButtonText?: string; Criteria?: CustomActionAttachmentCriteria[]; Variables?: { [key: string]: string | undefined }; @@ -1400,7 +1400,7 @@ export interface CustomActionAttachment { export const CustomActionAttachment = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ - NotificationType: S.optional(S.String), + NotificationType: S.String, ButtonText: S.optional(S.String), Criteria: S.optional(CustomActionAttachmentCriteriaList), Variables: S.optional(CustomActionAttachmentVariables), @@ -1628,10 +1628,26 @@ export class CreateTeamsChannelConfigurationException extends S.TaggedErrorClass "CreateTeamsChannelConfigurationException", { Message: S.optional(S.String) }, ).pipe(C.withServerError) {} +export class MicrosoftTeamsTeamNotConfigured extends S.TaggedErrorClass()( + "MicrosoftTeamsTeamNotConfigured", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { includes: "team id you are using is not configured" }, + }), +).pipe(C.withBadRequestError) {} export class CreateSlackChannelConfigurationException extends S.TaggedErrorClass()( "CreateSlackChannelConfigurationException", { Message: S.optional(S.String) }, ).pipe(C.withServerError) {} +export class SlackWorkspaceNotAuthorized extends S.TaggedErrorClass()( + "SlackWorkspaceNotAuthorized", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { includes: "is not authorized with AWS account" }, + }), +).pipe(C.withBadRequestError) {} export class DeleteChimeWebhookConfigurationException extends S.TaggedErrorClass()( "DeleteChimeWebhookConfigurationException", { Message: S.optional(S.String) }, @@ -1782,6 +1798,7 @@ export type CreateMicrosoftTeamsChannelConfigurationError = | InvalidParameterException | InvalidRequestException | LimitExceededException + | MicrosoftTeamsTeamNotConfigured | CommonErrors; /** * Creates an AWS Chatbot configuration for Microsoft Teams. @@ -1800,6 +1817,7 @@ export const createMicrosoftTeamsChannelConfiguration: API.OperationMethod< InvalidParameterException, InvalidRequestException, LimitExceededException, + MicrosoftTeamsTeamNotConfigured, ], operationName: "CreateMicrosoftTeamsChannelConfiguration", })); @@ -1809,6 +1827,7 @@ export type CreateSlackChannelConfigurationError = | InvalidParameterException | InvalidRequestException | LimitExceededException + | SlackWorkspaceNotAuthorized | CommonErrors; /** * Creates an AWS Chatbot confugration for Slack. @@ -1827,6 +1846,7 @@ export const createSlackChannelConfiguration: API.OperationMethod< InvalidParameterException, InvalidRequestException, LimitExceededException, + SlackWorkspaceNotAuthorized, ], operationName: "CreateSlackChannelConfiguration", })); @@ -2208,6 +2228,7 @@ export type GetMicrosoftTeamsChannelConfigurationError = | GetTeamsChannelConfigurationException | InvalidParameterException | InvalidRequestException + | ResourceNotFoundException | CommonErrors; /** * Returns a Microsoft Teams channel configuration in an AWS account. @@ -2224,6 +2245,7 @@ export const getMicrosoftTeamsChannelConfiguration: API.OperationMethod< GetTeamsChannelConfigurationException, InvalidParameterException, InvalidRequestException, + ResourceNotFoundException, ], operationName: "GetMicrosoftTeamsChannelConfiguration", })); diff --git a/packages/aws/src/services/cloudtrail.ts b/packages/aws/src/services/cloudtrail.ts index cded9ff7a7..5240f116d2 100644 --- a/packages/aws/src/services/cloudtrail.ts +++ b/packages/aws/src/services/cloudtrail.ts @@ -3577,6 +3577,14 @@ export class ThrottlingException extends S.TaggedErrorClass { Message: S.optional(S.String) }, T.AwsQueryError({ code: "ThrottlingException", httpResponseCode: 429 }), ).pipe(C.withThrottlingError) {} +export class CloudTrailLakeOnboardingClosed extends S.TaggedErrorClass()( + "CloudTrailLakeOnboardingClosed", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidParameterException", + message: { includes: "no longer accepting new customers" }, + }), +).pipe(C.withBadRequestError) {} export class CloudTrailInvalidClientTokenIdException extends S.TaggedErrorClass()( "CloudTrailInvalidClientTokenIdException", { Message: S.optional(S.String) }, @@ -4081,6 +4089,7 @@ export type CreateEventDataStoreError = | OrganizationsNotInUseException | ThrottlingException | UnsupportedOperationException + | CloudTrailLakeOnboardingClosed | CommonErrors; /** * Creates a new event data store. @@ -4113,6 +4122,7 @@ export const createEventDataStore: API.OperationMethod< OrganizationsNotInUseException, ThrottlingException, UnsupportedOperationException, + CloudTrailLakeOnboardingClosed, ], operationName: "CreateEventDataStore", })); diff --git a/packages/aws/src/services/controltower.ts b/packages/aws/src/services/controltower.ts index 0b6909d350..bd9bf92604 100644 --- a/packages/aws/src/services/controltower.ts +++ b/packages/aws/src/services/controltower.ts @@ -1611,6 +1611,14 @@ export class ValidationException extends S.TaggedErrorClass "ValidationException", { message: S.String }, ).pipe(C.withBadRequestError) {} +export class UnauthorizedException extends S.TaggedErrorClass()( + "UnauthorizedException", + {}, +).pipe(C.withAuthError) {} +export class BadRequestException extends S.TaggedErrorClass()( + "BadRequestException", + {}, +).pipe(C.withBadRequestError) {} //# Operations export type DisableControlError = @@ -1650,6 +1658,7 @@ export type GetBaselineOperationError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: `EnableBaseline`, `DisableBaseline`, `UpdateEnabledBaseline`, `ResetEnabledBaseline`. A status message is displayed in case of operation failure. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1668,6 +1677,7 @@ export const getBaselineOperation: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "GetBaselineOperation", })); @@ -1677,6 +1687,7 @@ export type GetBaselineError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Retrieve details about an existing `Baseline` resource by specifying its identifier. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1695,6 +1706,7 @@ export const getBaseline: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "GetBaseline", })); @@ -1703,6 +1715,7 @@ export type ListBaselinesError = | InternalServerException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns a summary list of all available baselines. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1735,6 +1748,7 @@ export const listBaselines: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "ListBaselines", pagination: { @@ -1825,6 +1839,7 @@ export type EnableBaselineError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Enable (apply) a `Baseline` to a Target. This API starts an asynchronous operation to deploy resources specified by the `Baseline` to the specified Target. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1845,6 +1860,7 @@ export const enableBaseline: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "EnableBaseline", })); @@ -1854,6 +1870,7 @@ export type GetEnabledBaselineError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Retrieve details of an `EnabledBaseline` resource by specifying its identifier. @@ -1872,6 +1889,7 @@ export const getEnabledBaseline: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "GetEnabledBaseline", })); @@ -1883,6 +1901,7 @@ export type UpdateEnabledBaselineError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Updates an `EnabledBaseline` resource's applied parameters or version. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1903,6 +1922,7 @@ export const updateEnabledBaseline: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "UpdateEnabledBaseline", })); @@ -1914,6 +1934,7 @@ export type DisableBaselineError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Disable an `EnabledBaseline` resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1934,6 +1955,7 @@ export const disableBaseline: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "DisableBaseline", })); @@ -1942,6 +1964,7 @@ export type ListEnabledBaselinesError = | InternalServerException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns a list of summaries describing `EnabledBaseline` resources. You can filter the list by the corresponding `Baseline` or `Target` of the `EnabledBaseline` resources. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -1974,6 +1997,7 @@ export const listEnabledBaselines: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "ListEnabledBaselines", pagination: { @@ -1991,6 +2015,7 @@ export type ResetEnabledBaselineError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Re-enables an `EnabledBaseline` resource. For example, this API can re-apply the existing `Baseline` after a new member account is moved to the target OU. For usage examples, see *the Amazon Web Services Control Tower User Guide* . @@ -2011,6 +2036,7 @@ export const resetEnabledBaseline: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "ResetEnabledBaseline", })); @@ -2194,6 +2220,7 @@ export type GetLandingZoneOperationError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns the status of the specified landing zone operation. Details for an operation are available for 90 days. @@ -2212,6 +2239,7 @@ export const getLandingZoneOperation: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "GetLandingZoneOperation", })); @@ -2220,6 +2248,7 @@ export type ListLandingZoneOperationsError = | InternalServerException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first. @@ -2252,6 +2281,7 @@ export const listLandingZoneOperations: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "ListLandingZoneOperations", pagination: { @@ -2267,6 +2297,7 @@ export type CreateLandingZoneError = | InternalServerException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Creates a new landing zone. This API call starts an asynchronous operation that creates and configures a landing zone, based on the parameters specified in the manifest JSON file. @@ -2285,6 +2316,7 @@ export const createLandingZone: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "CreateLandingZone", })); @@ -2294,6 +2326,7 @@ export type GetLandingZoneError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns details about the landing zone. Displays a message in case of error. @@ -2312,6 +2345,7 @@ export const getLandingZone: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "GetLandingZone", })); @@ -2322,6 +2356,7 @@ export type UpdateLandingZoneError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * This API call updates the landing zone. It starts an asynchronous operation that updates the landing zone based on the new landing zone version, or on the changed parameters specified in the updated manifest file. @@ -2341,6 +2376,7 @@ export const updateLandingZone: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "UpdateLandingZone", })); @@ -2351,6 +2387,7 @@ export type DeleteLandingZoneError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower. @@ -2372,6 +2409,7 @@ export const deleteLandingZone: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "DeleteLandingZone", })); @@ -2380,6 +2418,7 @@ export type ListLandingZonesError = | InternalServerException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * Returns the landing zone ARN for the landing zone deployed in your managed account. This API also creates an ARN for existing accounts that do not yet have a landing zone ARN. @@ -2414,6 +2453,7 @@ export const listLandingZones: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "ListLandingZones", pagination: { @@ -2430,6 +2470,7 @@ export type ResetLandingZoneError = | ResourceNotFoundException | ThrottlingException | ValidationException + | UnauthorizedException | CommonErrors; /** * This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in the original configuration, which you specified in the manifest file. Nothing in the manifest file's original landing zone configuration is changed during the reset process, by default. This API is not the same as a rollback of a landing zone version, which is not a supported operation. @@ -2449,6 +2490,7 @@ export const resetLandingZone: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + UnauthorizedException, ], operationName: "ResetLandingZone", })); @@ -2456,6 +2498,7 @@ export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | BadRequestException | CommonErrors; /** * Returns a list of tags associated with the resource. For usage examples, see the *Controls Reference Guide* . @@ -2472,6 +2515,7 @@ export const listTagsForResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + BadRequestException, ], operationName: "ListTagsForResource", })); @@ -2479,6 +2523,7 @@ export type TagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | BadRequestException | CommonErrors; /** * Applies tags to a resource. For usage examples, see the *Controls Reference Guide* . @@ -2495,6 +2540,7 @@ export const tagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + BadRequestException, ], operationName: "TagResource", })); @@ -2502,6 +2548,7 @@ export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | BadRequestException | CommonErrors; /** * Removes tags from a resource. For usage examples, see the *Controls Reference Guide* . @@ -2518,6 +2565,7 @@ export const untagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + BadRequestException, ], operationName: "UntagResource", })); diff --git a/packages/aws/src/services/cost-and-usage-report-service.ts b/packages/aws/src/services/cost-and-usage-report-service.ts index 8f5bc68969..274a2dbfd9 100644 --- a/packages/aws/src/services/cost-and-usage-report-service.ts +++ b/packages/aws/src/services/cost-and-usage-report-service.ts @@ -374,6 +374,14 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( + "ReportBucketNotVerified", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "ValidationException", + message: { matches: "[Bb]ucket" }, + }), +).pipe(C.withRetryableError) {} export class DuplicateReportNameException extends S.TaggedErrorClass()( "DuplicateReportNameException", { Message: S.optional(S.String) }, @@ -466,6 +474,7 @@ export const listTagsForResource: API.OperationMethod< export type ModifyReportDefinitionError = | InternalErrorException | ValidationException + | ReportBucketNotVerified | CommonErrors; /** * Allows you to programmatically update your report preferences. @@ -478,7 +487,11 @@ export const modifyReportDefinition: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ModifyReportDefinitionRequest, output: ModifyReportDefinitionResponse, - errors: [InternalErrorException, ValidationException], + errors: [ + InternalErrorException, + ValidationException, + ReportBucketNotVerified, + ], operationName: "ModifyReportDefinition", })); export type PutReportDefinitionError = @@ -487,6 +500,7 @@ export type PutReportDefinitionError = | ReportLimitReachedException | ResourceNotFoundException | ValidationException + | ReportBucketNotVerified | CommonErrors; /** * Creates a new report using the description that you provide. @@ -505,6 +519,7 @@ export const putReportDefinition: API.OperationMethod< ReportLimitReachedException, ResourceNotFoundException, ValidationException, + ReportBucketNotVerified, ], operationName: "PutReportDefinition", })); diff --git a/packages/aws/src/services/cost-explorer.ts b/packages/aws/src/services/cost-explorer.ts index 919fe5b4bc..e1c304012c 100644 --- a/packages/aws/src/services/cost-explorer.ts +++ b/packages/aws/src/services/cost-explorer.ts @@ -4022,10 +4022,26 @@ export class LimitExceededException extends S.TaggedErrorClass()( + "AnomalyMonitorAlreadyExists", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "same monitor name as an existing monitor" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} export class UnknownMonitorException extends S.TaggedErrorClass()( "UnknownMonitorException", { Message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class AnomalySubscriptionAlreadyExists extends S.TaggedErrorClass()( + "AnomalySubscriptionAlreadyExists", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "same subscription name as an existing subscription" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.optional(S.String) }, @@ -4080,7 +4096,10 @@ export class TooManyTagsException extends S.TaggedErrorClass = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateAnomalyMonitorRequest, output: CreateAnomalyMonitorResponse, - errors: [LimitExceededException], + errors: [LimitExceededException, AnomalyMonitorAlreadyExists], operationName: "CreateAnomalyMonitor", })); export type CreateAnomalySubscriptionError = | LimitExceededException | UnknownMonitorException + | AnomalySubscriptionAlreadyExists | CommonErrors; /** * Adds an alert subscription to a cost anomaly detection monitor. You can use each @@ -4113,7 +4133,11 @@ export const createAnomalySubscription: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateAnomalySubscriptionRequest, output: CreateAnomalySubscriptionResponse, - errors: [LimitExceededException, UnknownMonitorException], + errors: [ + LimitExceededException, + UnknownMonitorException, + AnomalySubscriptionAlreadyExists, + ], operationName: "CreateAnomalySubscription", })); export type CreateCostCategoryDefinitionError = diff --git a/packages/aws/src/services/databrew.ts b/packages/aws/src/services/databrew.ts index a2f6786bf5..d4c6a853c4 100644 --- a/packages/aws/src/services/databrew.ts +++ b/packages/aws/src/services/databrew.ts @@ -2740,6 +2740,10 @@ export class ValidationException extends S.TaggedErrorClass "ValidationException", { Message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class TooManyRequestsException extends S.TaggedErrorClass()( + "TooManyRequestsException", + {}, +).pipe(C.withThrottlingError, C.withRetryableError) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, @@ -2748,6 +2752,14 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "DataBrewRoleNotAssumable", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "is not a trusted entity for the data access role" }, + }), +).pipe(C.withBadRequestError, C.withRetryableError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.optional(S.String) }, @@ -2758,6 +2770,7 @@ export type BatchDeleteRecipeVersionError = | ConflictException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes one or more versions of a recipe at a time. @@ -2798,7 +2811,12 @@ export const batchDeleteRecipeVersion: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: BatchDeleteRecipeVersionRequest, output: BatchDeleteRecipeVersionResponse, - errors: [ConflictException, ResourceNotFoundException, ValidationException], + errors: [ + ConflictException, + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "BatchDeleteRecipeVersion", })); export type CreateDatasetError = @@ -2806,6 +2824,7 @@ export type CreateDatasetError = | ConflictException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Creates a new DataBrew dataset. @@ -2823,6 +2842,7 @@ export const createDataset: API.OperationMethod< ConflictException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "CreateDataset", })); @@ -2832,6 +2852,8 @@ export type CreateProfileJobError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException + | DataBrewRoleNotAssumable | CommonErrors; /** * Creates a new job to analyze a dataset and create its data profile. @@ -2850,6 +2872,8 @@ export const createProfileJob: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, + DataBrewRoleNotAssumable, ], operationName: "CreateProfileJob", })); @@ -2858,6 +2882,8 @@ export type CreateProjectError = | InternalServerException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException + | DataBrewRoleNotAssumable | CommonErrors; /** * Creates a new DataBrew project. @@ -2875,6 +2901,8 @@ export const createProject: API.OperationMethod< InternalServerException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, + DataBrewRoleNotAssumable, ], operationName: "CreateProject", })); @@ -2882,6 +2910,7 @@ export type CreateRecipeError = | ConflictException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Creates a new DataBrew recipe. @@ -2898,6 +2927,7 @@ export const createRecipe: API.OperationMethod< ConflictException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "CreateRecipe", })); @@ -2907,6 +2937,8 @@ export type CreateRecipeJobError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException + | DataBrewRoleNotAssumable | CommonErrors; /** * Creates a new job to transform input data, using steps defined in an existing Glue DataBrew recipe @@ -2925,6 +2957,8 @@ export const createRecipeJob: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, + DataBrewRoleNotAssumable, ], operationName: "CreateRecipeJob", })); @@ -2932,6 +2966,7 @@ export type CreateRulesetError = | ConflictException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Creates a new ruleset that can be used in a profile job to validate @@ -2949,6 +2984,7 @@ export const createRuleset: API.OperationMethod< ConflictException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "CreateRuleset", })); @@ -2956,6 +2992,7 @@ export type CreateScheduleError = | ConflictException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific @@ -2973,6 +3010,7 @@ export const createSchedule: API.OperationMethod< ConflictException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "CreateSchedule", })); @@ -2980,6 +3018,7 @@ export type DeleteDatasetError = | ConflictException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes a dataset from DataBrew. @@ -2992,13 +3031,19 @@ export const deleteDataset: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteDatasetRequest, output: DeleteDatasetResponse, - errors: [ConflictException, ResourceNotFoundException, ValidationException], + errors: [ + ConflictException, + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DeleteDataset", })); export type DeleteJobError = | ConflictException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes the specified DataBrew job. @@ -3011,13 +3056,19 @@ export const deleteJob: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteJobRequest, output: DeleteJobResponse, - errors: [ConflictException, ResourceNotFoundException, ValidationException], + errors: [ + ConflictException, + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DeleteJob", })); export type DeleteProjectError = | ConflictException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes an existing DataBrew project. @@ -3030,13 +3081,19 @@ export const deleteProject: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteProjectRequest, output: DeleteProjectResponse, - errors: [ConflictException, ResourceNotFoundException, ValidationException], + errors: [ + ConflictException, + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DeleteProject", })); export type DeleteRecipeVersionError = | ConflictException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes a single version of a DataBrew recipe. @@ -3049,13 +3106,19 @@ export const deleteRecipeVersion: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteRecipeVersionRequest, output: DeleteRecipeVersionResponse, - errors: [ConflictException, ResourceNotFoundException, ValidationException], + errors: [ + ConflictException, + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DeleteRecipeVersion", })); export type DeleteRulesetError = | ConflictException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes a ruleset. @@ -3068,12 +3131,18 @@ export const deleteRuleset: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteRulesetRequest, output: DeleteRulesetResponse, - errors: [ConflictException, ResourceNotFoundException, ValidationException], + errors: [ + ConflictException, + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DeleteRuleset", })); export type DeleteScheduleError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Deletes the specified DataBrew schedule. @@ -3086,12 +3155,17 @@ export const deleteSchedule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteScheduleRequest, output: DeleteScheduleResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DeleteSchedule", })); export type DescribeDatasetError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Returns the definition of a specific DataBrew dataset. @@ -3104,12 +3178,17 @@ export const describeDataset: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeDatasetRequest, output: DescribeDatasetResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeDataset", })); export type DescribeJobError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Returns the definition of a specific DataBrew job. @@ -3122,12 +3201,17 @@ export const describeJob: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeJobRequest, output: DescribeJobResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeJob", })); export type DescribeJobRunError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Represents one run of a DataBrew job. @@ -3140,12 +3224,17 @@ export const describeJobRun: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeJobRunRequest, output: DescribeJobRunResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeJobRun", })); export type DescribeProjectError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Returns the definition of a specific DataBrew project. @@ -3158,12 +3247,17 @@ export const describeProject: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeProjectRequest, output: DescribeProjectResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeProject", })); export type DescribeRecipeError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Returns the definition of a specific DataBrew recipe corresponding to a particular @@ -3177,12 +3271,17 @@ export const describeRecipe: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeRecipeRequest, output: DescribeRecipeResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeRecipe", })); export type DescribeRulesetError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Retrieves detailed information about the ruleset. @@ -3195,12 +3294,17 @@ export const describeRuleset: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeRulesetRequest, output: DescribeRulesetResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeRuleset", })); export type DescribeScheduleError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Returns the definition of a specific DataBrew schedule. @@ -3213,10 +3317,17 @@ export const describeSchedule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeScheduleRequest, output: DescribeScheduleResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "DescribeSchedule", })); -export type ListDatasetsError = ValidationException | CommonErrors; +export type ListDatasetsError = + | ValidationException + | TooManyRequestsException + | CommonErrors; /** * Lists all of the DataBrew datasets. */ @@ -3243,7 +3354,7 @@ export const listDatasets: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListDatasetsRequest, output: ListDatasetsResponse, - errors: [ValidationException], + errors: [ValidationException, TooManyRequestsException], operationName: "ListDatasets", pagination: { inputToken: "NextToken", @@ -3255,6 +3366,7 @@ export const listDatasets: API.OperationMethod< export type ListJobRunsError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Lists all of the previous runs of a particular DataBrew job. @@ -3282,7 +3394,11 @@ export const listJobRuns: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListJobRunsRequest, output: ListJobRunsResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "ListJobRuns", pagination: { inputToken: "NextToken", @@ -3291,7 +3407,10 @@ export const listJobRuns: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type ListJobsError = ValidationException | CommonErrors; +export type ListJobsError = + | ValidationException + | TooManyRequestsException + | CommonErrors; /** * Lists all of the DataBrew jobs that are defined. */ @@ -3318,7 +3437,7 @@ export const listJobs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListJobsRequest, output: ListJobsResponse, - errors: [ValidationException], + errors: [ValidationException, TooManyRequestsException], operationName: "ListJobs", pagination: { inputToken: "NextToken", @@ -3327,7 +3446,10 @@ export const listJobs: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type ListProjectsError = ValidationException | CommonErrors; +export type ListProjectsError = + | ValidationException + | TooManyRequestsException + | CommonErrors; /** * Lists all of the DataBrew projects that are defined. */ @@ -3354,7 +3476,7 @@ export const listProjects: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListProjectsRequest, output: ListProjectsResponse, - errors: [ValidationException], + errors: [ValidationException, TooManyRequestsException], operationName: "ListProjects", pagination: { inputToken: "NextToken", @@ -3363,7 +3485,10 @@ export const listProjects: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type ListRecipesError = ValidationException | CommonErrors; +export type ListRecipesError = + | ValidationException + | TooManyRequestsException + | CommonErrors; /** * Lists all of the DataBrew recipes that are defined. */ @@ -3390,7 +3515,7 @@ export const listRecipes: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListRecipesRequest, output: ListRecipesResponse, - errors: [ValidationException], + errors: [ValidationException, TooManyRequestsException], operationName: "ListRecipes", pagination: { inputToken: "NextToken", @@ -3399,7 +3524,11 @@ export const listRecipes: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type ListRecipeVersionsError = ValidationException | CommonErrors; +export type ListRecipeVersionsError = + | ValidationException + | TooManyRequestsException + | ResourceNotFoundException + | CommonErrors; /** * Lists the versions of a particular DataBrew recipe, except for * `LATEST_WORKING`. @@ -3427,7 +3556,11 @@ export const listRecipeVersions: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListRecipeVersionsRequest, output: ListRecipeVersionsResponse, - errors: [ValidationException], + errors: [ + ValidationException, + TooManyRequestsException, + ResourceNotFoundException, + ], operationName: "ListRecipeVersions", pagination: { inputToken: "NextToken", @@ -3439,6 +3572,7 @@ export const listRecipeVersions: API.OperationMethod< export type ListRulesetsError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * List all rulesets available in the current account or rulesets associated @@ -3467,7 +3601,11 @@ export const listRulesets: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListRulesetsRequest, output: ListRulesetsResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "ListRulesets", pagination: { inputToken: "NextToken", @@ -3476,7 +3614,10 @@ export const listRulesets: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type ListSchedulesError = ValidationException | CommonErrors; +export type ListSchedulesError = + | ValidationException + | TooManyRequestsException + | CommonErrors; /** * Lists the DataBrew schedules that are defined. */ @@ -3503,7 +3644,7 @@ export const listSchedules: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListSchedulesRequest, output: ListSchedulesResponse, - errors: [ValidationException], + errors: [ValidationException, TooManyRequestsException], operationName: "ListSchedules", pagination: { inputToken: "NextToken", @@ -3516,6 +3657,7 @@ export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Lists all the tags for a DataBrew resource. @@ -3532,6 +3674,7 @@ export const listTagsForResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + TooManyRequestsException, ], operationName: "ListTagsForResource", })); @@ -3539,6 +3682,7 @@ export type PublishRecipeError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Publishes a new version of a DataBrew recipe. @@ -3555,6 +3699,7 @@ export const publishRecipe: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "PublishRecipe", })); @@ -3583,6 +3728,7 @@ export type StartJobRunError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Runs a DataBrew job. @@ -3600,6 +3746,7 @@ export const startJobRun: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "StartJobRun", })); @@ -3632,6 +3779,7 @@ export const startProjectSession: API.OperationMethod< export type StopJobRunError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Stops a particular run of a job. @@ -3644,13 +3792,18 @@ export const stopJobRun: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StopJobRunRequest, output: StopJobRunResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "StopJobRun", })); export type TagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Adds metadata tags to a DataBrew resource, such as a dataset, project, recipe, job, or @@ -3668,6 +3821,7 @@ export const tagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + TooManyRequestsException, ], operationName: "TagResource", })); @@ -3675,6 +3829,7 @@ export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Removes metadata tags from a DataBrew resource. @@ -3691,6 +3846,7 @@ export const untagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + TooManyRequestsException, ], operationName: "UntagResource", })); @@ -3698,6 +3854,7 @@ export type UpdateDatasetError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Modifies the definition of an existing DataBrew dataset. @@ -3714,6 +3871,7 @@ export const updateDataset: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + TooManyRequestsException, ], operationName: "UpdateDataset", })); @@ -3721,6 +3879,8 @@ export type UpdateProfileJobError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | TooManyRequestsException + | DataBrewRoleNotAssumable | CommonErrors; /** * Modifies the definition of an existing profile job. @@ -3737,12 +3897,16 @@ export const updateProfileJob: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + TooManyRequestsException, + DataBrewRoleNotAssumable, ], operationName: "UpdateProfileJob", })); export type UpdateProjectError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException + | DataBrewRoleNotAssumable | CommonErrors; /** * Modifies the definition of an existing DataBrew project. @@ -3755,12 +3919,18 @@ export const updateProject: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateProjectRequest, output: UpdateProjectResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + DataBrewRoleNotAssumable, + ], operationName: "UpdateProject", })); export type UpdateRecipeError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Modifies the definition of the `LATEST_WORKING` version of a DataBrew @@ -3774,13 +3944,19 @@ export const updateRecipe: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateRecipeRequest, output: UpdateRecipeResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "UpdateRecipe", })); export type UpdateRecipeJobError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | TooManyRequestsException + | DataBrewRoleNotAssumable | CommonErrors; /** * Modifies the definition of an existing DataBrew recipe job. @@ -3797,12 +3973,15 @@ export const updateRecipeJob: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + TooManyRequestsException, + DataBrewRoleNotAssumable, ], operationName: "UpdateRecipeJob", })); export type UpdateRulesetError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Updates specified ruleset. @@ -3815,13 +3994,18 @@ export const updateRuleset: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateRulesetRequest, output: UpdateRulesetResponse, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "UpdateRuleset", })); export type UpdateScheduleError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Modifies the definition of an existing DataBrew schedule. @@ -3838,6 +4022,7 @@ export const updateSchedule: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + TooManyRequestsException, ], operationName: "UpdateSchedule", })); diff --git a/packages/aws/src/services/datazone.ts b/packages/aws/src/services/datazone.ts index d031ef710b..0d98d342e7 100644 --- a/packages/aws/src/services/datazone.ts +++ b/packages/aws/src/services/datazone.ts @@ -3660,11 +3660,12 @@ export const CloudFormationProperties = /*@__PURE__*/ /*#__PURE__*/ S.suspend( ).annotate({ identifier: "CloudFormationProperties", }) as any as S.Schema; -export type ProvisioningProperties = { - cloudFormation: CloudFormationProperties; -}; +export type ProvisioningProperties = + | { cloudFormation: CloudFormationProperties; manual?: never } + | { cloudFormation?: never; manual: Record }; export const ProvisioningProperties = /*@__PURE__*/ /*#__PURE__*/ S.Union([ S.Struct({ cloudFormation: CloudFormationProperties }), + S.Struct({ manual: S.Struct({}) }), ]); export interface DeploymentProperties { startTimeoutMinutes?: number; @@ -19664,6 +19665,7 @@ export type ListEnvironmentsError = | InternalServerException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Lists Amazon DataZone environments. @@ -19696,6 +19698,7 @@ export const listEnvironments: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListEnvironments", pagination: { @@ -20038,6 +20041,7 @@ export type ListProjectsError = | InternalServerException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Lists Amazon DataZone projects. @@ -20070,6 +20074,7 @@ export const listProjects: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListProjects", pagination: { @@ -22546,6 +22551,7 @@ export type DeleteEnvironmentBlueprintConfigurationError = | AccessDeniedException | InternalServerException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Deletes the blueprint configuration in Amazon DataZone. @@ -22558,7 +22564,12 @@ export const deleteEnvironmentBlueprintConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteEnvironmentBlueprintConfigurationInput, output: DeleteEnvironmentBlueprintConfigurationOutput, - errors: [AccessDeniedException, InternalServerException, ValidationException], + errors: [ + AccessDeniedException, + InternalServerException, + ValidationException, + ResourceNotFoundException, + ], operationName: "DeleteEnvironmentBlueprintConfiguration", })); export type ListEnvironmentBlueprintConfigurationsError = diff --git a/packages/aws/src/services/docdb-elastic.ts b/packages/aws/src/services/docdb-elastic.ts index a86e6ecd82..76001fa475 100644 --- a/packages/aws/src/services/docdb-elastic.ts +++ b/packages/aws/src/services/docdb-elastic.ts @@ -323,7 +323,7 @@ export interface Cluster { clusterName: string; clusterArn: string; status: string; - clusterEndpoint: string; + clusterEndpoint?: string; createTime: string; adminUserName: string; authType: string; @@ -343,7 +343,7 @@ export const Cluster = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => clusterName: S.String, clusterArn: S.String, status: S.String, - clusterEndpoint: S.String, + clusterEndpoint: S.optional(S.String), createTime: S.String, adminUserName: S.String, authType: S.String, diff --git a/packages/aws/src/services/emr.ts b/packages/aws/src/services/emr.ts index 67d0727e66..8f092bdd1b 100644 --- a/packages/aws/src/services/emr.ts +++ b/packages/aws/src/services/emr.ts @@ -5077,6 +5077,64 @@ export class InternalServerError extends S.TaggedErrorClass {}, T.AwsQueryError({ code: "InternalFailure", httpResponseCode: 500 }), ).pipe(C.withServerError) {} +export class SecurityConfigurationAlreadyExists extends S.TaggedErrorClass()( + "SecurityConfigurationAlreadyExists", + { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "^SecurityConfiguration with name .* already exists" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} +export class StudioServiceRoleNotAssumable extends S.TaggedErrorClass()( + "StudioServiceRoleNotAssumable", + { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { includes: "does not have permissions to assume role" }, + }), +).pipe(C.withRetryableError) {} +export class StudioServiceRoleMissingS3Access extends S.TaggedErrorClass()( + "StudioServiceRoleMissingS3Access", + { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { + includes: "does not have permission to access the 'S3 Location'", + }, + }), +).pipe(C.withRetryableError) {} +export class SecurityConfigurationNotFound extends S.TaggedErrorClass()( + "SecurityConfigurationNotFound", + { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "^Security configuration with name .* does not exist" }, + }), +).pipe(C.withNotFoundError) {} +export class StudioNotFound extends S.TaggedErrorClass()( + "StudioNotFound", + { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { includes: "Studio does not exist" }, + }), +).pipe(C.withNotFoundError) {} +export class ClusterNotFound extends S.TaggedErrorClass()( + "ClusterNotFound", + { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidRequestException", + message: { matches: "^Cluster id .* is not valid" }, + }), +).pipe(C.withNotFoundError) {} +export class JobFlowNotFound extends S.TaggedErrorClass()( + "JobFlowNotFound", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Specified job flow ID not valid" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type AddInstanceFleetError = @@ -5216,6 +5274,7 @@ export const createPersistentAppUI: API.OperationMethod< export type CreateSecurityConfigurationError = | InternalServerException | InvalidRequestException + | SecurityConfigurationAlreadyExists | CommonErrors; /** * Creates a security configuration, which is stored in the service and can be specified @@ -5229,12 +5288,18 @@ export const createSecurityConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateSecurityConfigurationInput, output: CreateSecurityConfigurationOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + SecurityConfigurationAlreadyExists, + ], operationName: "CreateSecurityConfiguration", })); export type CreateStudioError = | InternalServerException | InvalidRequestException + | StudioServiceRoleNotAssumable + | StudioServiceRoleMissingS3Access | CommonErrors; /** * Creates a new Amazon EMR Studio. @@ -5247,7 +5312,12 @@ export const createStudio: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateStudioInput, output: CreateStudioOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + StudioServiceRoleNotAssumable, + StudioServiceRoleMissingS3Access, + ], operationName: "CreateStudio", })); export type CreateStudioSessionMappingError = @@ -5275,6 +5345,7 @@ export const createStudioSessionMapping: API.OperationMethod< export type DeleteSecurityConfigurationError = | InternalServerException | InvalidRequestException + | SecurityConfigurationNotFound | CommonErrors; /** * Deletes a security configuration. @@ -5287,12 +5358,17 @@ export const deleteSecurityConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteSecurityConfigurationInput, output: DeleteSecurityConfigurationOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + SecurityConfigurationNotFound, + ], operationName: "DeleteSecurityConfiguration", })); export type DeleteStudioError = | InternalServerException | InvalidRequestException + | StudioNotFound | CommonErrors; /** * Removes an Amazon EMR Studio from the Studio metadata store. @@ -5305,7 +5381,7 @@ export const deleteStudio: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteStudioInput, output: DeleteStudioResponse, - errors: [InternalServerException, InvalidRequestException], + errors: [InternalServerException, InvalidRequestException, StudioNotFound], operationName: "DeleteStudio", })); export type DeleteStudioSessionMappingError = @@ -5329,6 +5405,7 @@ export const deleteStudioSessionMapping: API.OperationMethod< export type DescribeClusterError = | InternalServerException | InvalidRequestException + | ClusterNotFound | CommonErrors; /** * Provides cluster-level details including status, hardware and software configuration, @@ -5342,7 +5419,7 @@ export const describeCluster: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeClusterInput, output: DescribeClusterOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [InternalServerException, InvalidRequestException, ClusterNotFound], operationName: "DescribeCluster", })); export type DescribeJobFlowsError = InternalServerError | CommonErrors; @@ -5438,6 +5515,7 @@ export const describeReleaseLabel: API.OperationMethod< export type DescribeSecurityConfigurationError = | InternalServerException | InvalidRequestException + | SecurityConfigurationNotFound | CommonErrors; /** * Provides the details of a security configuration by returning the configuration @@ -5451,7 +5529,11 @@ export const describeSecurityConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSecurityConfigurationInput, output: DescribeSecurityConfigurationOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [ + InternalServerException, + InvalidRequestException, + SecurityConfigurationNotFound, + ], operationName: "DescribeSecurityConfiguration", })); export type DescribeStepError = @@ -5475,6 +5557,7 @@ export const describeStep: API.OperationMethod< export type DescribeStudioError = | InternalServerException | InvalidRequestException + | StudioNotFound | CommonErrors; /** * Returns details for the specified Amazon EMR Studio including ID, Name, VPC, @@ -5488,7 +5571,7 @@ export const describeStudio: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeStudioInput, output: DescribeStudioOutput, - errors: [InternalServerException, InvalidRequestException], + errors: [InternalServerException, InvalidRequestException, StudioNotFound], operationName: "DescribeStudio", })); export type GetAutoTerminationPolicyError = CommonErrors; @@ -6434,7 +6517,10 @@ export const setKeepJobFlowAliveWhenNoSteps: API.OperationMethod< errors: [InternalServerError], operationName: "SetKeepJobFlowAliveWhenNoSteps", })); -export type SetTerminationProtectionError = InternalServerError | CommonErrors; +export type SetTerminationProtectionError = + | InternalServerError + | JobFlowNotFound + | CommonErrors; /** * SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances * in the cluster cannot be terminated by user intervention, an API call, or in the event of a @@ -6464,7 +6550,7 @@ export const setTerminationProtection: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: SetTerminationProtectionInput, output: SetTerminationProtectionResponse, - errors: [InternalServerError], + errors: [InternalServerError, JobFlowNotFound], operationName: "SetTerminationProtection", })); export type SetUnhealthyNodeReplacementError = @@ -6579,7 +6665,10 @@ export const stopNotebookExecution: API.OperationMethod< errors: [InternalServerError, InvalidRequestException], operationName: "StopNotebookExecution", })); -export type TerminateJobFlowsError = InternalServerError | CommonErrors; +export type TerminateJobFlowsError = + | InternalServerError + | JobFlowNotFound + | CommonErrors; /** * TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut * down, any step not yet completed is canceled and the Amazon EC2 instances on which @@ -6598,7 +6687,7 @@ export const terminateJobFlows: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: TerminateJobFlowsInput, output: TerminateJobFlowsResponse, - errors: [InternalServerError], + errors: [InternalServerError, JobFlowNotFound], operationName: "TerminateJobFlows", })); export type TerminateSessionError = @@ -6622,6 +6711,7 @@ export const terminateSession: API.OperationMethod< export type UpdateStudioError = | InternalServerException | InvalidRequestException + | StudioNotFound | CommonErrors; /** * Updates an Amazon EMR Studio configuration, including attributes such as name, @@ -6635,7 +6725,7 @@ export const updateStudio: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateStudioInput, output: UpdateStudioResponse, - errors: [InternalServerException, InvalidRequestException], + errors: [InternalServerException, InvalidRequestException, StudioNotFound], operationName: "UpdateStudio", })); export type UpdateStudioSessionMappingError = diff --git a/packages/aws/src/services/internetmonitor.ts b/packages/aws/src/services/internetmonitor.ts index 2099ae623b..0548dbfd50 100644 --- a/packages/aws/src/services/internetmonitor.ts +++ b/packages/aws/src/services/internetmonitor.ts @@ -1096,8 +1096,8 @@ export class LimitExceededException extends S.TaggedErrorClass()( "ResourceNotFoundException", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} + {}, +).pipe(C.withNotFoundError) {} //# Operations export type ListTagsForResourceError = @@ -1312,6 +1312,7 @@ export type GetMonitorError = | InternalServerException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information returned includes the Amazon Resource Name (ARN), create time, @@ -1330,6 +1331,7 @@ export const getMonitor: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "GetMonitor", })); @@ -1371,6 +1373,7 @@ export type DeleteMonitorError = | InternalServerException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Deletes a monitor in Amazon CloudWatch Internet Monitor. @@ -1388,6 +1391,7 @@ export const deleteMonitor: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "DeleteMonitor", })); diff --git a/packages/aws/src/services/kendra.ts b/packages/aws/src/services/kendra.ts index 08fe5dc558..3e970f7065 100644 --- a/packages/aws/src/services/kendra.ts +++ b/packages/aws/src/services/kendra.ts @@ -7354,6 +7354,7 @@ export type ListTagsForResourceError = | ResourceUnavailableException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Gets a list of tags associated with a resource. Indexes, FAQs, data sources, and @@ -7373,6 +7374,7 @@ export const listTagsForResource: API.OperationMethod< ResourceUnavailableException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListTagsForResource", })); diff --git a/packages/aws/src/services/kinesis-video.ts b/packages/aws/src/services/kinesis-video.ts index 6e81c237f3..ab37850031 100644 --- a/packages/aws/src/services/kinesis-video.ts +++ b/packages/aws/src/services/kinesis-video.ts @@ -1727,6 +1727,14 @@ export class NoDataRetentionException extends S.TaggedErrorClass()( + "StreamNotActive", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "ResourceNotFoundException", + message: { includes: "not active" }, + }), +).pipe(C.withConflictError, C.withRetryableError) {} //# Operations export type CreateSignalingChannelError = @@ -2452,6 +2460,7 @@ export type TagResourceError = | InvalidArgumentException | ResourceNotFoundException | TagsPerResourceExceededLimitException + | StreamNotActive | CommonErrors; /** * Adds one or more tags to a signaling channel. A *tag* is a @@ -2475,6 +2484,7 @@ export const tagResource: API.OperationMethod< InvalidArgumentException, ResourceNotFoundException, TagsPerResourceExceededLimitException, + StreamNotActive, ], operationName: "TagResource", })); @@ -2485,6 +2495,7 @@ export type TagStreamError = | NotAuthorizedException | ResourceNotFoundException | TagsPerResourceExceededLimitException + | StreamNotActive | CommonErrors; /** * Adds one or more tags to a stream. A *tag* is a key-value pair @@ -2516,6 +2527,7 @@ export const tagStream: API.OperationMethod< NotAuthorizedException, ResourceNotFoundException, TagsPerResourceExceededLimitException, + StreamNotActive, ], operationName: "TagStream", })); @@ -2524,6 +2536,7 @@ export type UntagResourceError = | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException + | StreamNotActive | CommonErrors; /** * Removes one or more tags from a signaling channel. In the request, specify only a tag @@ -2543,6 +2556,7 @@ export const untagResource: API.OperationMethod< ClientLimitExceededException, InvalidArgumentException, ResourceNotFoundException, + StreamNotActive, ], operationName: "UntagResource", })); @@ -2552,6 +2566,7 @@ export type UntagStreamError = | InvalidResourceFormatException | NotAuthorizedException | ResourceNotFoundException + | StreamNotActive | CommonErrors; /** * Removes one or more tags from a stream. In the request, specify only a tag key or @@ -2575,6 +2590,7 @@ export const untagStream: API.OperationMethod< InvalidResourceFormatException, NotAuthorizedException, ResourceNotFoundException, + StreamNotActive, ], operationName: "UntagStream", })); @@ -2585,6 +2601,7 @@ export type UpdateDataRetentionError = | ResourceInUseException | ResourceNotFoundException | VersionMismatchException + | StreamNotActive | CommonErrors; /** * Increases or decreases the stream's data retention period by the value that you @@ -2623,6 +2640,7 @@ export const updateDataRetention: API.OperationMethod< ResourceInUseException, ResourceNotFoundException, VersionMismatchException, + StreamNotActive, ], operationName: "UpdateDataRetention", })); @@ -2733,6 +2751,7 @@ export type UpdateSignalingChannelError = | ResourceInUseException | ResourceNotFoundException | VersionMismatchException + | StreamNotActive | CommonErrors; /** * Updates the existing signaling channel. This is an asynchronous operation and takes @@ -2758,6 +2777,7 @@ export const updateSignalingChannel: API.OperationMethod< ResourceInUseException, ResourceNotFoundException, VersionMismatchException, + StreamNotActive, ], operationName: "UpdateSignalingChannel", })); @@ -2768,6 +2788,7 @@ export type UpdateStreamError = | ResourceInUseException | ResourceNotFoundException | VersionMismatchException + | StreamNotActive | CommonErrors; /** * Updates stream metadata, such as the device name and media type. @@ -2798,6 +2819,7 @@ export const updateStream: API.OperationMethod< ResourceInUseException, ResourceNotFoundException, VersionMismatchException, + StreamNotActive, ], operationName: "UpdateStream", })); diff --git a/packages/aws/src/services/lakeformation.ts b/packages/aws/src/services/lakeformation.ts index 0f3752649e..57b8702d82 100644 --- a/packages/aws/src/services/lakeformation.ts +++ b/packages/aws/src/services/lakeformation.ts @@ -3182,6 +3182,14 @@ export class ResourceNotReadyException extends S.TaggedErrorClass()( + "LastServiceLinkedRoleRegistration", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidInputException", + message: { includes: "Must manually delete service-linked role" }, + }), +).pipe(C.withConflictError) {} export class ExpiredException extends S.TaggedErrorClass()( "ExpiredException", { Message: S.optional(S.String) }, @@ -3211,6 +3219,14 @@ export class WorkUnitsNotReadyYetException extends S.TaggedErrorClass()( + "InvalidLakeFormationPrincipal", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidInputException", + message: { includes: "Invalid principal" }, + }), +).pipe(C.withBadRequestError, C.withRetryableError) {} //# Operations export type AddLFTagsToResourceError = @@ -3726,6 +3742,7 @@ export type DeregisterResourceError = | InternalServiceException | InvalidInputException | OperationTimeoutException + | LastServiceLinkedRoleRegistration | CommonErrors; /** * Deregisters the resource as managed by the Data Catalog. @@ -3745,6 +3762,7 @@ export const deregisterResource: API.OperationMethod< InternalServiceException, InvalidInputException, OperationTimeoutException, + LastServiceLinkedRoleRegistration, ], operationName: "DeregisterResource", })); @@ -4053,6 +4071,7 @@ export const getQueryState: API.OperationMethod< InvalidInputException, ], operationName: "GetQueryState", + endpointHostPrefix: "query-", })); export type GetQueryStatisticsError = | AccessDeniedException @@ -4082,6 +4101,7 @@ export const getQueryStatistics: API.OperationMethod< ThrottledException, ], operationName: "GetQueryStatistics", + endpointHostPrefix: "query-", })); export type GetResourceLFTagsError = | AccessDeniedException @@ -4299,6 +4319,7 @@ export const getWorkUnitResults: API.OperationMethod< ThrottledException, ], operationName: "GetWorkUnitResults", + endpointHostPrefix: "data-", })); export type GetWorkUnitsError = | AccessDeniedException @@ -4341,6 +4362,7 @@ export const getWorkUnits: API.OperationMethod< WorkUnitsNotReadyYetException, ], operationName: "GetWorkUnits", + endpointHostPrefix: "query-", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -4352,6 +4374,7 @@ export type GrantPermissionsError = | ConcurrentModificationException | EntityNotFoundException | InvalidInputException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. @@ -4370,6 +4393,7 @@ export const grantPermissions: API.OperationMethod< ConcurrentModificationException, EntityNotFoundException, InvalidInputException, + InvalidLakeFormationPrincipal, ], operationName: "GrantPermissions", })); @@ -4564,6 +4588,7 @@ export type ListPermissionsError = | InternalServiceException | InvalidInputException | OperationTimeoutException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER. @@ -4601,6 +4626,7 @@ export const listPermissions: API.OperationMethod< InternalServiceException, InvalidInputException, OperationTimeoutException, + InvalidLakeFormationPrincipal, ], operationName: "ListPermissions", pagination: { @@ -4745,6 +4771,7 @@ export const listTransactions: API.OperationMethod< export type PutDataLakeSettingsError = | InternalServiceException | InvalidInputException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see Granting Lake Formation Permissions. @@ -4759,7 +4786,11 @@ export const putDataLakeSettings: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutDataLakeSettingsRequest, output: PutDataLakeSettingsResponse, - errors: [InternalServiceException, InvalidInputException], + errors: [ + InternalServiceException, + InvalidInputException, + InvalidLakeFormationPrincipal, + ], operationName: "PutDataLakeSettings", })); export type RegisterResourceError = @@ -4839,6 +4870,7 @@ export type RevokePermissionsError = | ConcurrentModificationException | EntityNotFoundException | InvalidInputException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. @@ -4855,6 +4887,7 @@ export const revokePermissions: API.OperationMethod< ConcurrentModificationException, EntityNotFoundException, InvalidInputException, + InvalidLakeFormationPrincipal, ], operationName: "RevokePermissions", })); @@ -4984,6 +5017,7 @@ export const startQueryPlanning: API.OperationMethod< ThrottledException, ], operationName: "StartQueryPlanning", + endpointHostPrefix: "query-", })); export type StartTransactionError = | InternalServiceException diff --git a/packages/aws/src/services/license-manager.ts b/packages/aws/src/services/license-manager.ts index d1c1d8d433..2557f61e6c 100644 --- a/packages/aws/src/services/license-manager.ts +++ b/packages/aws/src/services/license-manager.ts @@ -3672,6 +3672,14 @@ export class UnsupportedDigitalSignatureMethodException extends S.TaggedErrorCla "UnsupportedDigitalSignatureMethodException", { Message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class LicenseConfigurationNotFound extends S.TaggedErrorClass()( + "LicenseConfigurationNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidParameterValueException", + message: { includes: "Invalid license configuration ARN" }, + }), +).pipe(C.withNotFoundError) {} export class FilterLimitExceededException extends S.TaggedErrorClass()( "FilterLimitExceededException", { Message: S.optional(S.String) }, @@ -4286,6 +4294,7 @@ export type DeleteLicenseConfigurationError = | InvalidParameterValueException | RateLimitExceededException | ServerInternalException + | LicenseConfigurationNotFound | CommonErrors; /** * Deletes the specified license configuration. @@ -4306,6 +4315,7 @@ export const deleteLicenseConfiguration: API.OperationMethod< InvalidParameterValueException, RateLimitExceededException, ServerInternalException, + LicenseConfigurationNotFound, ], operationName: "DeleteLicenseConfiguration", })); @@ -4559,6 +4569,7 @@ export type GetLicenseConfigurationError = | InvalidParameterValueException | RateLimitExceededException | ServerInternalException + | LicenseConfigurationNotFound | CommonErrors; /** * Gets detailed information about the specified license configuration. @@ -4577,6 +4588,7 @@ export const getLicenseConfiguration: API.OperationMethod< InvalidParameterValueException, RateLimitExceededException, ServerInternalException, + LicenseConfigurationNotFound, ], operationName: "GetLicenseConfiguration", })); @@ -5482,6 +5494,7 @@ export type UpdateLicenseConfigurationError = | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException + | LicenseConfigurationNotFound | CommonErrors; /** * Modifies the attributes of an existing license configuration. @@ -5502,6 +5515,7 @@ export const updateLicenseConfiguration: API.OperationMethod< RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, + LicenseConfigurationNotFound, ], operationName: "UpdateLicenseConfiguration", })); diff --git a/packages/aws/src/services/observabilityadmin.ts b/packages/aws/src/services/observabilityadmin.ts index 9bbb68dc8a..403afe12d3 100644 --- a/packages/aws/src/services/observabilityadmin.ts +++ b/packages/aws/src/services/observabilityadmin.ts @@ -946,7 +946,14 @@ export interface GetTelemetryEnrichmentStatusRequest {} export const GetTelemetryEnrichmentStatusRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/GetTelemetryEnrichmentStatus" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetTelemetryEnrichmentStatusRequest", @@ -974,7 +981,14 @@ export interface GetTelemetryEvaluationStatusRequest {} export const GetTelemetryEvaluationStatusRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/GetTelemetryEvaluationStatus" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetTelemetryEvaluationStatusRequest", @@ -1026,7 +1040,17 @@ export interface GetTelemetryEvaluationStatusForOrganizationRequest {} export const GetTelemetryEvaluationStatusForOrganizationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ + method: "POST", + uri: "/GetTelemetryEvaluationStatusForOrganization", + }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetTelemetryEvaluationStatusForOrganizationRequest", @@ -1535,7 +1559,14 @@ export interface StartTelemetryEnrichmentRequest {} export const StartTelemetryEnrichmentRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/StartTelemetryEnrichment" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "StartTelemetryEnrichmentRequest", @@ -1614,7 +1645,14 @@ export interface StopTelemetryEnrichmentRequest {} export const StopTelemetryEnrichmentRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/StopTelemetryEnrichment" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "StopTelemetryEnrichmentRequest", @@ -1632,7 +1670,14 @@ export interface StopTelemetryEvaluationRequest {} export const StopTelemetryEvaluationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/StopTelemetryEvaluation" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "StopTelemetryEvaluationRequest", @@ -1646,7 +1691,17 @@ export interface StopTelemetryEvaluationForOrganizationRequest {} export const StopTelemetryEvaluationForOrganizationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ + method: "POST", + uri: "/StopTelemetryEvaluationForOrganization", + }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "StopTelemetryEvaluationForOrganizationRequest", diff --git a/packages/aws/src/services/resource-explorer-2.ts b/packages/aws/src/services/resource-explorer-2.ts index a2aefda74d..ed94762daa 100644 --- a/packages/aws/src/services/resource-explorer-2.ts +++ b/packages/aws/src/services/resource-explorer-2.ts @@ -264,7 +264,14 @@ export interface DisassociateDefaultViewRequest {} export const DisassociateDefaultViewRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/DisassociateDefaultView" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "DisassociateDefaultViewRequest", @@ -278,7 +285,14 @@ export interface GetAccountLevelServiceConfigurationRequest {} export const GetAccountLevelServiceConfigurationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/GetAccountLevelServiceConfiguration" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetAccountLevelServiceConfigurationRequest", @@ -307,7 +321,14 @@ export const GetAccountLevelServiceConfigurationOutput = export interface GetDefaultViewRequest {} export const GetDefaultViewRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/GetDefaultView" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetDefaultViewRequest", @@ -323,7 +344,14 @@ export const GetDefaultViewOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export interface GetIndexRequest {} export const GetIndexRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/GetIndex" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetIndexRequest", @@ -511,7 +539,14 @@ export interface GetServiceIndexRequest {} export const GetServiceIndexRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/GetServiceIndex" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetServiceIndexRequest", diff --git a/packages/aws/src/services/resource-groups.ts b/packages/aws/src/services/resource-groups.ts index e65fc3689b..78ef22b55e 100644 --- a/packages/aws/src/services/resource-groups.ts +++ b/packages/aws/src/services/resource-groups.ts @@ -277,14 +277,14 @@ export const GroupConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => identifier: "GroupConfiguration", }) as any as S.Schema; export interface CreateGroupOutput { - Group?: Group; + Group: Group; ResourceQuery?: ResourceQuery; Tags?: { [key: string]: string | undefined }; GroupConfiguration?: GroupConfiguration; } export const CreateGroupOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - Group: S.optional(Group), + Group: Group, ResourceQuery: S.optional(ResourceQuery), Tags: S.optional(Tags), GroupConfiguration: S.optional(GroupConfiguration), @@ -387,10 +387,10 @@ export const GetGroupInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ), ).annotate({ identifier: "GetGroupInput" }) as any as S.Schema; export interface GetGroupOutput { - Group?: Group; + Group: Group; } export const GetGroupOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ Group: S.optional(Group) }), + S.Struct({ Group: Group }), ).annotate({ identifier: "GetGroupOutput" }) as any as S.Schema; export interface GetGroupConfigurationInput { Group?: string; @@ -1287,6 +1287,14 @@ export class UnauthorizedException extends S.TaggedErrorClass()( + "GroupAlreadyExists", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "BadRequestException", + message: { includes: "group already exists" }, + }), +).pipe(C.withAlreadyExistsError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { Message: S.optional(S.String) }, @@ -1336,6 +1344,7 @@ export type CreateGroupError = | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException + | GroupAlreadyExists | CommonErrors; /** * Creates a resource group with the specified name and description. You can optionally @@ -1364,6 +1373,7 @@ export const createGroup: API.OperationMethod< InternalServerErrorException, MethodNotAllowedException, TooManyRequestsException, + GroupAlreadyExists, ], operationName: "CreateGroup", })); diff --git a/packages/aws/src/services/rolesanywhere.ts b/packages/aws/src/services/rolesanywhere.ts index 5ee705ec7d..9e3f848918 100644 --- a/packages/aws/src/services/rolesanywhere.ts +++ b/packages/aws/src/services/rolesanywhere.ts @@ -322,11 +322,11 @@ export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "TagResourceResponse", }) as any as S.Schema; -export type TagKeyList = string | redacted.Redacted[]; +export type TagKeyList = (string | redacted.Redacted)[]; export const TagKeyList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface UntagResourceRequest { resourceArn: string; - tagKeys: string | redacted.Redacted[]; + tagKeys: (string | redacted.Redacted)[]; } export const UntagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ resourceArn: S.String, tagKeys: TagKeyList }).pipe( @@ -415,7 +415,7 @@ export interface ScalarCrlRequest { export const ScalarCrlRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ crlId: S.String.pipe(T.HttpLabel("crlId")) }).pipe( T.all( - T.Http({ method: "GET", uri: "/crl/{crlId}" }), + T.Http({ method: "DELETE", uri: "/crl/{crlId}" }), svc, auth, proto, @@ -426,6 +426,10 @@ export const ScalarCrlRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "ScalarCrlRequest", }) as any as S.Schema; +export interface GetCrlRequest extends ScalarCrlRequest {} +export const GetCrlRequest = /*@__PURE__*/ /*#__PURE__*/ ScalarCrlRequest.pipe( + T.Http({ method: "GET", uri: "/crl/{crlId}" }), +).annotate({ identifier: "GetCrlRequest" }) as any as S.Schema; export interface UpdateCrlRequest { crlId: string; name?: string; @@ -459,7 +463,7 @@ export const ListRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => pageSize: S.optional(S.Number).pipe(T.HttpQuery("pageSize")), }).pipe( T.all( - T.Http({ method: "GET", uri: "/trustanchors" }), + T.Http({ method: "GET", uri: "/crls" }), svc, auth, proto, @@ -479,6 +483,20 @@ export const ListCrlsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "ListCrlsResponse", }) as any as S.Schema; +export interface DisableCrlRequest extends ScalarCrlRequest {} +export const DisableCrlRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarCrlRequest.pipe( + T.Http({ method: "POST", uri: "/crl/{crlId}/disable" }), + ).annotate({ + identifier: "DisableCrlRequest", + }) as any as S.Schema; +export interface EnableCrlRequest extends ScalarCrlRequest {} +export const EnableCrlRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarCrlRequest.pipe( + T.Http({ method: "POST", uri: "/crl/{crlId}/enable" }), + ).annotate({ + identifier: "EnableCrlRequest", + }) as any as S.Schema; export type RoleArnList = string[]; export const RoleArnList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export type ManagedPolicyList = string[]; @@ -593,7 +611,7 @@ export interface ScalarProfileRequest { export const ScalarProfileRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ profileId: S.String.pipe(T.HttpLabel("profileId")) }).pipe( T.all( - T.Http({ method: "GET", uri: "/profile/{profileId}" }), + T.Http({ method: "DELETE", uri: "/profile/{profileId}" }), svc, auth, proto, @@ -604,6 +622,13 @@ export const ScalarProfileRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "ScalarProfileRequest", }) as any as S.Schema; +export interface GetProfileRequest extends ScalarProfileRequest {} +export const GetProfileRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarProfileRequest.pipe( + T.Http({ method: "GET", uri: "/profile/{profileId}" }), + ).annotate({ + identifier: "GetProfileRequest", + }) as any as S.Schema; export interface UpdateProfileRequest { profileId: string; name?: string; @@ -635,6 +660,12 @@ export const UpdateProfileRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "UpdateProfileRequest", }) as any as S.Schema; +export interface ListProfilesRequest extends ListRequest {} +export const ListProfilesRequest = /*@__PURE__*/ /*#__PURE__*/ ListRequest.pipe( + T.Http({ method: "GET", uri: "/profiles" }), +).annotate({ + identifier: "ListProfilesRequest", +}) as any as S.Schema; export type ProfileDetails = ProfileDetail[]; export const ProfileDetails = /*@__PURE__*/ /*#__PURE__*/ S.Array(ProfileDetail); @@ -685,6 +716,20 @@ export const DeleteAttributeMappingResponse = ).annotate({ identifier: "DeleteAttributeMappingResponse", }) as any as S.Schema; +export interface DisableProfileRequest extends ScalarProfileRequest {} +export const DisableProfileRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarProfileRequest.pipe( + T.Http({ method: "POST", uri: "/profile/{profileId}/disable" }), + ).annotate({ + identifier: "DisableProfileRequest", + }) as any as S.Schema; +export interface EnableProfileRequest extends ScalarProfileRequest {} +export const EnableProfileRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarProfileRequest.pipe( + T.Http({ method: "POST", uri: "/profile/{profileId}/enable" }), + ).annotate({ + identifier: "EnableProfileRequest", + }) as any as S.Schema; export interface PutAttributeMappingRequest { profileId: string; certificateField: string; @@ -818,6 +863,12 @@ export const SubjectDetailResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "SubjectDetailResponse", }) as any as S.Schema; +export interface ListSubjectsRequest extends ListRequest {} +export const ListSubjectsRequest = /*@__PURE__*/ /*#__PURE__*/ ListRequest.pipe( + T.Http({ method: "GET", uri: "/subjects" }), +).annotate({ + identifier: "ListSubjectsRequest", +}) as any as S.Schema; export interface SubjectSummary { subjectArn?: string; subjectId?: string; @@ -904,7 +955,7 @@ export const ScalarTrustAnchorRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( trustAnchorId: S.String.pipe(T.HttpLabel("trustAnchorId")), }).pipe( T.all( - T.Http({ method: "GET", uri: "/trustanchor/{trustAnchorId}" }), + T.Http({ method: "DELETE", uri: "/trustanchor/{trustAnchorId}" }), svc, auth, proto, @@ -915,6 +966,13 @@ export const ScalarTrustAnchorRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( ).annotate({ identifier: "ScalarTrustAnchorRequest", }) as any as S.Schema; +export interface GetTrustAnchorRequest extends ScalarTrustAnchorRequest {} +export const GetTrustAnchorRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarTrustAnchorRequest.pipe( + T.Http({ method: "GET", uri: "/trustanchor/{trustAnchorId}" }), + ).annotate({ + identifier: "GetTrustAnchorRequest", + }) as any as S.Schema; export interface UpdateTrustAnchorRequest { trustAnchorId: string; name?: string; @@ -939,6 +997,13 @@ export const UpdateTrustAnchorRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( ).annotate({ identifier: "UpdateTrustAnchorRequest", }) as any as S.Schema; +export interface ListTrustAnchorsRequest extends ListRequest {} +export const ListTrustAnchorsRequest = + /*@__PURE__*/ /*#__PURE__*/ ListRequest.pipe( + T.Http({ method: "GET", uri: "/trustanchors" }), + ).annotate({ + identifier: "ListTrustAnchorsRequest", + }) as any as S.Schema; export type TrustAnchorDetails = TrustAnchorDetail[]; export const TrustAnchorDetails = /*@__PURE__*/ /*#__PURE__*/ S.Array(TrustAnchorDetail); @@ -955,6 +1020,20 @@ export const ListTrustAnchorsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( ).annotate({ identifier: "ListTrustAnchorsResponse", }) as any as S.Schema; +export interface DisableTrustAnchorRequest extends ScalarTrustAnchorRequest {} +export const DisableTrustAnchorRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarTrustAnchorRequest.pipe( + T.Http({ method: "POST", uri: "/trustanchor/{trustAnchorId}/disable" }), + ).annotate({ + identifier: "DisableTrustAnchorRequest", + }) as any as S.Schema; +export interface EnableTrustAnchorRequest extends ScalarTrustAnchorRequest {} +export const EnableTrustAnchorRequest = + /*@__PURE__*/ /*#__PURE__*/ ScalarTrustAnchorRequest.pipe( + T.Http({ method: "POST", uri: "/trustanchor/{trustAnchorId}/enable" }), + ).annotate({ + identifier: "EnableTrustAnchorRequest", + }) as any as S.Schema; //# Errors export class AccessDeniedException extends S.TaggedErrorClass()( @@ -1131,12 +1210,12 @@ export type GetCrlError = ResourceNotFoundException | CommonErrors; * **Required permissions: ** `rolesanywhere:GetCrl`. */ export const getCrl: API.OperationMethod< - ScalarCrlRequest, + GetCrlRequest, CrlDetailResponse, GetCrlError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarCrlRequest, + input: GetCrlRequest, output: CrlDetailResponse, errors: [ResourceNotFoundException], operationName: "GetCrl", @@ -1236,12 +1315,12 @@ export type DisableCrlError = * **Required permissions: ** `rolesanywhere:DisableCrl`. */ export const disableCrl: API.OperationMethod< - ScalarCrlRequest, + DisableCrlRequest, CrlDetailResponse, DisableCrlError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarCrlRequest, + input: DisableCrlRequest, output: CrlDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "DisableCrl", @@ -1256,12 +1335,12 @@ export type EnableCrlError = * **Required permissions: ** `rolesanywhere:EnableCrl`. */ export const enableCrl: API.OperationMethod< - ScalarCrlRequest, + EnableCrlRequest, CrlDetailResponse, EnableCrlError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarCrlRequest, + input: EnableCrlRequest, output: CrlDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "EnableCrl", @@ -1296,12 +1375,12 @@ export type GetProfileError = * **Required permissions: ** `rolesanywhere:GetProfile`. */ export const getProfile: API.OperationMethod< - ScalarProfileRequest, + GetProfileRequest, ProfileDetailResponse, GetProfileError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarProfileRequest, + input: GetProfileRequest, output: ProfileDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "GetProfile", @@ -1361,27 +1440,27 @@ export type ListProfilesError = * **Required permissions: ** `rolesanywhere:ListProfiles`. */ export const listProfiles: API.OperationMethod< - ListRequest, + ListProfilesRequest, ListProfilesResponse, ListProfilesError, Credentials | Region | HttpClient.HttpClient > & { pages: ( - input: ListRequest, + input: ListProfilesRequest, ) => stream.Stream< ListProfilesResponse, ListProfilesError, Credentials | Region | HttpClient.HttpClient >; items: ( - input: ListRequest, + input: ListProfilesRequest, ) => stream.Stream< ProfileDetail, ListProfilesError, Credentials | Region | HttpClient.HttpClient >; } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListRequest, + input: ListProfilesRequest, output: ListProfilesResponse, errors: [AccessDeniedException, ValidationException], operationName: "ListProfiles", @@ -1424,12 +1503,12 @@ export type DisableProfileError = * **Required permissions: ** `rolesanywhere:DisableProfile`. */ export const disableProfile: API.OperationMethod< - ScalarProfileRequest, + DisableProfileRequest, ProfileDetailResponse, DisableProfileError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarProfileRequest, + input: DisableProfileRequest, output: ProfileDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "DisableProfile", @@ -1444,12 +1523,12 @@ export type EnableProfileError = * **Required permissions: ** `rolesanywhere:EnableProfile`. */ export const enableProfile: API.OperationMethod< - ScalarProfileRequest, + EnableProfileRequest, ProfileDetailResponse, EnableProfileError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarProfileRequest, + input: EnableProfileRequest, output: ProfileDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "EnableProfile", @@ -1507,27 +1586,27 @@ export type ListSubjectsError = * **Required permissions: ** `rolesanywhere:ListSubjects`. */ export const listSubjects: API.OperationMethod< - ListRequest, + ListSubjectsRequest, ListSubjectsResponse, ListSubjectsError, Credentials | Region | HttpClient.HttpClient > & { pages: ( - input: ListRequest, + input: ListSubjectsRequest, ) => stream.Stream< ListSubjectsResponse, ListSubjectsError, Credentials | Region | HttpClient.HttpClient >; items: ( - input: ListRequest, + input: ListSubjectsRequest, ) => stream.Stream< SubjectSummary, ListSubjectsError, Credentials | Region | HttpClient.HttpClient >; } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListRequest, + input: ListSubjectsRequest, output: ListSubjectsResponse, errors: [AccessDeniedException, ValidationException], operationName: "ListSubjects", @@ -1568,12 +1647,12 @@ export type GetTrustAnchorError = * **Required permissions: ** `rolesanywhere:GetTrustAnchor`. */ export const getTrustAnchor: API.OperationMethod< - ScalarTrustAnchorRequest, + GetTrustAnchorRequest, TrustAnchorDetailResponse, GetTrustAnchorError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarTrustAnchorRequest, + input: GetTrustAnchorRequest, output: TrustAnchorDetailResponse, errors: [ AccessDeniedException, @@ -1637,27 +1716,27 @@ export type ListTrustAnchorsError = * **Required permissions: ** `rolesanywhere:ListTrustAnchors`. */ export const listTrustAnchors: API.OperationMethod< - ListRequest, + ListTrustAnchorsRequest, ListTrustAnchorsResponse, ListTrustAnchorsError, Credentials | Region | HttpClient.HttpClient > & { pages: ( - input: ListRequest, + input: ListTrustAnchorsRequest, ) => stream.Stream< ListTrustAnchorsResponse, ListTrustAnchorsError, Credentials | Region | HttpClient.HttpClient >; items: ( - input: ListRequest, + input: ListTrustAnchorsRequest, ) => stream.Stream< TrustAnchorDetail, ListTrustAnchorsError, Credentials | Region | HttpClient.HttpClient >; } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListRequest, + input: ListTrustAnchorsRequest, output: ListTrustAnchorsResponse, errors: [AccessDeniedException, ValidationException], operationName: "ListTrustAnchors", @@ -1677,12 +1756,12 @@ export type DisableTrustAnchorError = * **Required permissions: ** `rolesanywhere:DisableTrustAnchor`. */ export const disableTrustAnchor: API.OperationMethod< - ScalarTrustAnchorRequest, + DisableTrustAnchorRequest, TrustAnchorDetailResponse, DisableTrustAnchorError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarTrustAnchorRequest, + input: DisableTrustAnchorRequest, output: TrustAnchorDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "DisableTrustAnchor", @@ -1697,12 +1776,12 @@ export type EnableTrustAnchorError = * **Required permissions: ** `rolesanywhere:EnableTrustAnchor`. */ export const enableTrustAnchor: API.OperationMethod< - ScalarTrustAnchorRequest, + EnableTrustAnchorRequest, TrustAnchorDetailResponse, EnableTrustAnchorError, Credentials | Region | HttpClient.HttpClient > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ScalarTrustAnchorRequest, + input: EnableTrustAnchorRequest, output: TrustAnchorDetailResponse, errors: [AccessDeniedException, ResourceNotFoundException], operationName: "EnableTrustAnchor", diff --git a/packages/aws/src/services/s3-control.ts b/packages/aws/src/services/s3-control.ts index b541ec29e6..7f0db81264 100644 --- a/packages/aws/src/services/s3-control.ts +++ b/packages/aws/src/services/s3-control.ts @@ -5588,7 +5588,7 @@ export const StorageLensGroupLevel = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface AccountLevel { ActivityMetrics?: ActivityMetrics; - BucketLevel: BucketLevel; + BucketLevel?: BucketLevel; AdvancedCostOptimizationMetrics?: AdvancedCostOptimizationMetrics; AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics; DetailedStatusCodesMetrics?: DetailedStatusCodesMetrics; @@ -5598,7 +5598,7 @@ export interface AccountLevel { export const AccountLevel = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ActivityMetrics: S.optional(ActivityMetrics), - BucketLevel: BucketLevel, + BucketLevel: S.optional(BucketLevel), AdvancedCostOptimizationMetrics: S.optional( AdvancedCostOptimizationMetrics, ), @@ -7673,6 +7673,28 @@ export const UpdateStorageLensGroupResponse = }) as any as S.Schema; //# Errors +export class AccessPointAlreadyOwnedByYou extends S.TaggedErrorClass()( + "AccessPointAlreadyOwnedByYou", + {}, +).pipe(C.withAlreadyExistsError) {} +export class InvalidRequest extends S.TaggedErrorClass()( + "InvalidRequest", + {}, +).pipe(C.withBadRequestError) {} +export class NoSuchAccessPoint extends S.TaggedErrorClass()( + "NoSuchAccessPoint", + {}, +).pipe(C.withNotFoundError) {} +export class ObjectLambdaNotAvailable extends S.TaggedErrorClass()( + "ObjectLambdaNotAvailable", + {}, + T.SyntheticError({ + from: "AccessDenied", + message: { + includes: "Object Lambda is available only to existing customers", + }, + }), +).pipe(C.withAuthError) {} export class BucketAlreadyExists extends S.TaggedErrorClass()( "BucketAlreadyExists", {}, @@ -7697,10 +7719,22 @@ export class TooManyRequestsException extends S.TaggedErrorClass()( + "NoSuchAccessPointPolicy", + {}, +).pipe(C.withNotFoundError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { Message: S.optional(S.String) }, ) {} +export class NoSuchMultiRegionAccessPoint extends S.TaggedErrorClass()( + "NoSuchMultiRegionAccessPoint", + {}, +).pipe(C.withNotFoundError) {} +export class NoSuchConfiguration extends S.TaggedErrorClass()( + "NoSuchConfiguration", + {}, +).pipe(C.withNotFoundError) {} export class NoSuchPublicAccessBlockConfiguration extends S.TaggedErrorClass()( "NoSuchPublicAccessBlockConfiguration", { Message: S.optional(S.String) }, @@ -7713,10 +7747,18 @@ export class InvalidRequestException extends S.TaggedErrorClass()( + "MalformedPolicy", + {}, +).pipe(C.withBadRequestError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String) }, ) {} +export class MissingBucketLevelActivityMetrics extends S.TaggedErrorClass()( + "MissingBucketLevelActivityMetrics", + {}, +).pipe(C.withBadRequestError) {} export class JobStatusException extends S.TaggedErrorClass()( "JobStatusException", { Message: S.optional(S.String) }, @@ -7745,6 +7787,7 @@ export const associateAccessGrantsIdentityCenter: API.OperationMethod< output: AssociateAccessGrantsIdentityCenterResponse, errors: [], operationName: "AssociateAccessGrantsIdentityCenter", + endpointHostPrefix: "{AccountId}.", })); export type CreateAccessGrantError = CommonErrors; /** @@ -7772,6 +7815,7 @@ export const createAccessGrant: API.OperationMethod< output: CreateAccessGrantResult, errors: [], operationName: "CreateAccessGrant", + endpointHostPrefix: "{AccountId}.", })); export type CreateAccessGrantsInstanceError = CommonErrors; /** @@ -7795,6 +7839,7 @@ export const createAccessGrantsInstance: API.OperationMethod< output: CreateAccessGrantsInstanceResult, errors: [], operationName: "CreateAccessGrantsInstance", + endpointHostPrefix: "{AccountId}.", })); export type CreateAccessGrantsLocationError = CommonErrors; /** @@ -7826,8 +7871,12 @@ export const createAccessGrantsLocation: API.OperationMethod< output: CreateAccessGrantsLocationResult, errors: [], operationName: "CreateAccessGrantsLocation", + endpointHostPrefix: "{AccountId}.", })); -export type CreateAccessPointError = CommonErrors; +export type CreateAccessPointError = + | AccessPointAlreadyOwnedByYou + | InvalidRequest + | CommonErrors; /** * Creates an access point and associates it to a specified bucket. For more information, see * Managing @@ -7864,10 +7913,16 @@ export const createAccessPoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateAccessPointRequest, output: CreateAccessPointResult, - errors: [], + errors: [AccessPointAlreadyOwnedByYou, InvalidRequest], operationName: "CreateAccessPoint", + endpointHostPrefix: "{AccountId}.", })); -export type CreateAccessPointForObjectLambdaError = CommonErrors; +export type CreateAccessPointForObjectLambdaError = + | AccessPointAlreadyOwnedByYou + | InvalidRequest + | NoSuchAccessPoint + | ObjectLambdaNotAvailable + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -7891,8 +7946,14 @@ export const createAccessPointForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateAccessPointForObjectLambdaRequest, output: CreateAccessPointForObjectLambdaResult, - errors: [], + errors: [ + AccessPointAlreadyOwnedByYou, + InvalidRequest, + NoSuchAccessPoint, + ObjectLambdaNotAvailable, + ], operationName: "CreateAccessPointForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); export type CreateBucketError = | BucketAlreadyExists @@ -7993,8 +8054,9 @@ export const createJob: API.OperationMethod< TooManyRequestsException, ], operationName: "CreateJob", + endpointHostPrefix: "{AccountId}.", })); -export type CreateMultiRegionAccessPointError = CommonErrors; +export type CreateMultiRegionAccessPointError = InvalidRequest | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8028,8 +8090,9 @@ export const createMultiRegionAccessPoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateMultiRegionAccessPointRequest, output: CreateMultiRegionAccessPointResult, - errors: [], + errors: [InvalidRequest], operationName: "CreateMultiRegionAccessPoint", + endpointHostPrefix: "{AccountId}.", })); export type CreateStorageLensGroupError = CommonErrors; /** @@ -8059,6 +8122,7 @@ export const createStorageLensGroup: API.OperationMethod< output: CreateStorageLensGroupResponse, errors: [], operationName: "CreateStorageLensGroup", + endpointHostPrefix: "{AccountId}.", })); export type DeleteAccessGrantError = CommonErrors; /** @@ -8078,6 +8142,7 @@ export const deleteAccessGrant: API.OperationMethod< output: DeleteAccessGrantResponse, errors: [], operationName: "DeleteAccessGrant", + endpointHostPrefix: "{AccountId}.", })); export type DeleteAccessGrantsInstanceError = CommonErrors; /** @@ -8097,6 +8162,7 @@ export const deleteAccessGrantsInstance: API.OperationMethod< output: DeleteAccessGrantsInstanceResponse, errors: [], operationName: "DeleteAccessGrantsInstance", + endpointHostPrefix: "{AccountId}.", })); export type DeleteAccessGrantsInstanceResourcePolicyError = CommonErrors; /** @@ -8116,6 +8182,7 @@ export const deleteAccessGrantsInstanceResourcePolicy: API.OperationMethod< output: DeleteAccessGrantsInstanceResourcePolicyResponse, errors: [], operationName: "DeleteAccessGrantsInstanceResourcePolicy", + endpointHostPrefix: "{AccountId}.", })); export type DeleteAccessGrantsLocationError = CommonErrors; /** @@ -8135,8 +8202,9 @@ export const deleteAccessGrantsLocation: API.OperationMethod< output: DeleteAccessGrantsLocationResponse, errors: [], operationName: "DeleteAccessGrantsLocation", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteAccessPointError = CommonErrors; +export type DeleteAccessPointError = NoSuchAccessPoint | CommonErrors; /** * Deletes the specified access point. * @@ -8158,10 +8226,13 @@ export const deleteAccessPoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteAccessPointRequest, output: DeleteAccessPointResponse, - errors: [], + errors: [NoSuchAccessPoint], operationName: "DeleteAccessPoint", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteAccessPointForObjectLambdaError = CommonErrors; +export type DeleteAccessPointForObjectLambdaError = + | NoSuchAccessPoint + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8184,10 +8255,14 @@ export const deleteAccessPointForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteAccessPointForObjectLambdaRequest, output: DeleteAccessPointForObjectLambdaResponse, - errors: [], + errors: [NoSuchAccessPoint], operationName: "DeleteAccessPointForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteAccessPointPolicyError = CommonErrors; +export type DeleteAccessPointPolicyError = + | NoSuchAccessPoint + | NoSuchAccessPointPolicy + | CommonErrors; /** * Deletes the access point policy for the specified access point. * @@ -8207,10 +8282,14 @@ export const deleteAccessPointPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteAccessPointPolicyRequest, output: DeleteAccessPointPolicyResponse, - errors: [], + errors: [NoSuchAccessPoint, NoSuchAccessPointPolicy], operationName: "DeleteAccessPointPolicy", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteAccessPointPolicyForObjectLambdaError = CommonErrors; +export type DeleteAccessPointPolicyForObjectLambdaError = + | NoSuchAccessPoint + | NoSuchAccessPointPolicy + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8231,8 +8310,9 @@ export const deleteAccessPointPolicyForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteAccessPointPolicyForObjectLambdaRequest, output: DeleteAccessPointPolicyForObjectLambdaResponse, - errors: [], + errors: [NoSuchAccessPoint, NoSuchAccessPointPolicy], operationName: "DeleteAccessPointPolicyForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); export type DeleteAccessPointScopeError = CommonErrors; /** @@ -8285,6 +8365,7 @@ export const deleteBucket: API.OperationMethod< output: DeleteBucketResponse, errors: [], operationName: "DeleteBucket", + endpointHostPrefix: "{AccountId}.", })); export type DeleteBucketLifecycleConfigurationError = CommonErrors; /** @@ -8323,6 +8404,7 @@ export const deleteBucketLifecycleConfiguration: API.OperationMethod< output: DeleteBucketLifecycleConfigurationResponse, errors: [], operationName: "DeleteBucketLifecycleConfiguration", + endpointHostPrefix: "{AccountId}.", })); export type DeleteBucketPolicyError = CommonErrors; /** @@ -8367,6 +8449,7 @@ export const deleteBucketPolicy: API.OperationMethod< output: DeleteBucketPolicyResponse, errors: [], operationName: "DeleteBucketPolicy", + endpointHostPrefix: "{AccountId}.", })); export type DeleteBucketReplicationError = CommonErrors; /** @@ -8410,6 +8493,7 @@ export const deleteBucketReplication: API.OperationMethod< output: DeleteBucketReplicationResponse, errors: [], operationName: "DeleteBucketReplication", + endpointHostPrefix: "{AccountId}.", })); export type DeleteBucketTaggingError = CommonErrors; /** @@ -8441,6 +8525,7 @@ export const deleteBucketTagging: API.OperationMethod< output: DeleteBucketTaggingResponse, errors: [], operationName: "DeleteBucketTagging", + endpointHostPrefix: "{AccountId}.", })); export type DeleteJobTaggingError = | InternalServiceException @@ -8480,8 +8565,12 @@ export const deleteJobTagging: API.OperationMethod< TooManyRequestsException, ], operationName: "DeleteJobTagging", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteMultiRegionAccessPointError = CommonErrors; +export type DeleteMultiRegionAccessPointError = + | NoSuchMultiRegionAccessPoint + | InvalidRequest + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8515,8 +8604,9 @@ export const deleteMultiRegionAccessPoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteMultiRegionAccessPointRequest, output: DeleteMultiRegionAccessPointResult, - errors: [], + errors: [NoSuchMultiRegionAccessPoint, InvalidRequest], operationName: "DeleteMultiRegionAccessPoint", + endpointHostPrefix: "{AccountId}.", })); export type DeletePublicAccessBlockError = CommonErrors; /** @@ -8546,8 +8636,11 @@ export const deletePublicAccessBlock: API.OperationMethod< output: DeletePublicAccessBlockResponse, errors: [], operationName: "DeletePublicAccessBlock", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteStorageLensConfigurationError = CommonErrors; +export type DeleteStorageLensConfigurationError = + | NoSuchConfiguration + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8568,10 +8661,13 @@ export const deleteStorageLensConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteStorageLensConfigurationRequest, output: DeleteStorageLensConfigurationResponse, - errors: [], + errors: [NoSuchConfiguration], operationName: "DeleteStorageLensConfiguration", + endpointHostPrefix: "{AccountId}.", })); -export type DeleteStorageLensConfigurationTaggingError = CommonErrors; +export type DeleteStorageLensConfigurationTaggingError = + | NoSuchConfiguration + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8593,8 +8689,9 @@ export const deleteStorageLensConfigurationTagging: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteStorageLensConfigurationTaggingRequest, output: DeleteStorageLensConfigurationTaggingResult, - errors: [], + errors: [NoSuchConfiguration], operationName: "DeleteStorageLensConfigurationTagging", + endpointHostPrefix: "{AccountId}.", })); export type DeleteStorageLensGroupError = CommonErrors; /** @@ -8617,6 +8714,7 @@ export const deleteStorageLensGroup: API.OperationMethod< output: DeleteStorageLensGroupResponse, errors: [], operationName: "DeleteStorageLensGroup", + endpointHostPrefix: "{AccountId}.", })); export type DescribeJobError = | BadRequestException @@ -8657,8 +8755,11 @@ export const describeJob: API.OperationMethod< TooManyRequestsException, ], operationName: "DescribeJob", + endpointHostPrefix: "{AccountId}.", })); -export type DescribeMultiRegionAccessPointOperationError = CommonErrors; +export type DescribeMultiRegionAccessPointOperationError = + | InvalidRequest + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8683,8 +8784,9 @@ export const describeMultiRegionAccessPointOperation: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeMultiRegionAccessPointOperationRequest, output: DescribeMultiRegionAccessPointOperationResult, - errors: [], + errors: [InvalidRequest], operationName: "DescribeMultiRegionAccessPointOperation", + endpointHostPrefix: "{AccountId}.", })); export type DissociateAccessGrantsIdentityCenterError = CommonErrors; /** @@ -8708,6 +8810,7 @@ export const dissociateAccessGrantsIdentityCenter: API.OperationMethod< output: DissociateAccessGrantsIdentityCenterResponse, errors: [], operationName: "DissociateAccessGrantsIdentityCenter", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessGrantError = CommonErrors; /** @@ -8727,6 +8830,7 @@ export const getAccessGrant: API.OperationMethod< output: GetAccessGrantResult, errors: [], operationName: "GetAccessGrant", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessGrantsInstanceError = CommonErrors; /** @@ -8748,6 +8852,7 @@ export const getAccessGrantsInstance: API.OperationMethod< output: GetAccessGrantsInstanceResult, errors: [], operationName: "GetAccessGrantsInstance", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessGrantsInstanceForPrefixError = CommonErrors; /** @@ -8771,6 +8876,7 @@ export const getAccessGrantsInstanceForPrefix: API.OperationMethod< output: GetAccessGrantsInstanceForPrefixResult, errors: [], operationName: "GetAccessGrantsInstanceForPrefix", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessGrantsInstanceResourcePolicyError = CommonErrors; /** @@ -8790,6 +8896,7 @@ export const getAccessGrantsInstanceResourcePolicy: API.OperationMethod< output: GetAccessGrantsInstanceResourcePolicyResult, errors: [], operationName: "GetAccessGrantsInstanceResourcePolicy", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessGrantsLocationError = CommonErrors; /** @@ -8809,8 +8916,9 @@ export const getAccessGrantsLocation: API.OperationMethod< output: GetAccessGrantsLocationResult, errors: [], operationName: "GetAccessGrantsLocation", + endpointHostPrefix: "{AccountId}.", })); -export type GetAccessPointError = CommonErrors; +export type GetAccessPointError = NoSuchAccessPoint | CommonErrors; /** * Returns configuration information about the specified access point. * @@ -8832,10 +8940,13 @@ export const getAccessPoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetAccessPointRequest, output: GetAccessPointResult, - errors: [], + errors: [NoSuchAccessPoint], operationName: "GetAccessPoint", + endpointHostPrefix: "{AccountId}.", })); -export type GetAccessPointConfigurationForObjectLambdaError = CommonErrors; +export type GetAccessPointConfigurationForObjectLambdaError = + | NoSuchAccessPoint + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8854,10 +8965,13 @@ export const getAccessPointConfigurationForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetAccessPointConfigurationForObjectLambdaRequest, output: GetAccessPointConfigurationForObjectLambdaResult, - errors: [], + errors: [NoSuchAccessPoint], operationName: "GetAccessPointConfigurationForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); -export type GetAccessPointForObjectLambdaError = CommonErrors; +export type GetAccessPointForObjectLambdaError = + | NoSuchAccessPoint + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8879,10 +8993,14 @@ export const getAccessPointForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetAccessPointForObjectLambdaRequest, output: GetAccessPointForObjectLambdaResult, - errors: [], + errors: [NoSuchAccessPoint], operationName: "GetAccessPointForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); -export type GetAccessPointPolicyError = CommonErrors; +export type GetAccessPointPolicyError = + | NoSuchAccessPoint + | NoSuchAccessPointPolicy + | CommonErrors; /** * Returns the access point policy associated with the specified access point. * @@ -8900,10 +9018,14 @@ export const getAccessPointPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetAccessPointPolicyRequest, output: GetAccessPointPolicyResult, - errors: [], + errors: [NoSuchAccessPoint, NoSuchAccessPointPolicy], operationName: "GetAccessPointPolicy", + endpointHostPrefix: "{AccountId}.", })); -export type GetAccessPointPolicyForObjectLambdaError = CommonErrors; +export type GetAccessPointPolicyForObjectLambdaError = + | NoSuchAccessPoint + | NoSuchAccessPointPolicy + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8924,10 +9046,14 @@ export const getAccessPointPolicyForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetAccessPointPolicyForObjectLambdaRequest, output: GetAccessPointPolicyForObjectLambdaResult, - errors: [], + errors: [NoSuchAccessPoint, NoSuchAccessPointPolicy], operationName: "GetAccessPointPolicyForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); -export type GetAccessPointPolicyStatusError = CommonErrors; +export type GetAccessPointPolicyStatusError = + | NoSuchAccessPoint + | NoSuchAccessPointPolicy + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -8943,8 +9069,9 @@ export const getAccessPointPolicyStatus: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetAccessPointPolicyStatusRequest, output: GetAccessPointPolicyStatusResult, - errors: [], + errors: [NoSuchAccessPoint, NoSuchAccessPointPolicy], operationName: "GetAccessPointPolicyStatus", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessPointPolicyStatusForObjectLambdaError = CommonErrors; /** @@ -8962,6 +9089,7 @@ export const getAccessPointPolicyStatusForObjectLambda: API.OperationMethod< output: GetAccessPointPolicyStatusForObjectLambdaResult, errors: [], operationName: "GetAccessPointPolicyStatusForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); export type GetAccessPointScopeError = CommonErrors; /** @@ -9018,6 +9146,7 @@ export const getBucket: API.OperationMethod< output: GetBucketResult, errors: [], operationName: "GetBucket", + endpointHostPrefix: "{AccountId}.", })); export type GetBucketLifecycleConfigurationError = CommonErrors; /** @@ -9064,6 +9193,7 @@ export const getBucketLifecycleConfiguration: API.OperationMethod< output: GetBucketLifecycleConfigurationResult, errors: [], operationName: "GetBucketLifecycleConfiguration", + endpointHostPrefix: "{AccountId}.", })); export type GetBucketPolicyError = CommonErrors; /** @@ -9111,6 +9241,7 @@ export const getBucketPolicy: API.OperationMethod< output: GetBucketPolicyResult, errors: [], operationName: "GetBucketPolicy", + endpointHostPrefix: "{AccountId}.", })); export type GetBucketReplicationError = CommonErrors; /** @@ -9162,6 +9293,7 @@ export const getBucketReplication: API.OperationMethod< output: GetBucketReplicationResult, errors: [], operationName: "GetBucketReplication", + endpointHostPrefix: "{AccountId}.", })); export type GetBucketTaggingError = CommonErrors; /** @@ -9200,6 +9332,7 @@ export const getBucketTagging: API.OperationMethod< output: GetBucketTaggingResult, errors: [], operationName: "GetBucketTagging", + endpointHostPrefix: "{AccountId}.", })); export type GetBucketVersioningError = CommonErrors; /** @@ -9244,6 +9377,7 @@ export const getBucketVersioning: API.OperationMethod< output: GetBucketVersioningResult, errors: [], operationName: "GetBucketVersioning", + endpointHostPrefix: "{AccountId}.", })); export type GetDataAccessError = CommonErrors; /** @@ -9267,6 +9401,7 @@ export const getDataAccess: API.OperationMethod< output: GetDataAccessResult, errors: [], operationName: "GetDataAccess", + endpointHostPrefix: "{AccountId}.", })); export type GetJobTaggingError = | InternalServiceException @@ -9306,8 +9441,11 @@ export const getJobTagging: API.OperationMethod< TooManyRequestsException, ], operationName: "GetJobTagging", + endpointHostPrefix: "{AccountId}.", })); -export type GetMultiRegionAccessPointError = CommonErrors; +export type GetMultiRegionAccessPointError = + | NoSuchMultiRegionAccessPoint + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -9335,10 +9473,13 @@ export const getMultiRegionAccessPoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetMultiRegionAccessPointRequest, output: GetMultiRegionAccessPointResult, - errors: [], + errors: [NoSuchMultiRegionAccessPoint], operationName: "GetMultiRegionAccessPoint", + endpointHostPrefix: "{AccountId}.", })); -export type GetMultiRegionAccessPointPolicyError = CommonErrors; +export type GetMultiRegionAccessPointPolicyError = + | NoSuchMultiRegionAccessPoint + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -9363,8 +9504,9 @@ export const getMultiRegionAccessPointPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetMultiRegionAccessPointPolicyRequest, output: GetMultiRegionAccessPointPolicyResult, - errors: [], + errors: [NoSuchMultiRegionAccessPoint], operationName: "GetMultiRegionAccessPointPolicy", + endpointHostPrefix: "{AccountId}.", })); export type GetMultiRegionAccessPointPolicyStatusError = CommonErrors; /** @@ -9394,6 +9536,7 @@ export const getMultiRegionAccessPointPolicyStatus: API.OperationMethod< output: GetMultiRegionAccessPointPolicyStatusResult, errors: [], operationName: "GetMultiRegionAccessPointPolicyStatus", + endpointHostPrefix: "{AccountId}.", })); export type GetMultiRegionAccessPointRoutesError = CommonErrors; /** @@ -9425,6 +9568,7 @@ export const getMultiRegionAccessPointRoutes: API.OperationMethod< output: GetMultiRegionAccessPointRoutesResult, errors: [], operationName: "GetMultiRegionAccessPointRoutes", + endpointHostPrefix: "{AccountId}.", })); export type GetPublicAccessBlockError = | NoSuchPublicAccessBlockConfiguration @@ -9453,8 +9597,11 @@ export const getPublicAccessBlock: API.OperationMethod< output: GetPublicAccessBlockOutput, errors: [NoSuchPublicAccessBlockConfiguration], operationName: "GetPublicAccessBlock", + endpointHostPrefix: "{AccountId}.", })); -export type GetStorageLensConfigurationError = CommonErrors; +export type GetStorageLensConfigurationError = + | NoSuchConfiguration + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -9474,10 +9621,13 @@ export const getStorageLensConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetStorageLensConfigurationRequest, output: GetStorageLensConfigurationResult, - errors: [], + errors: [NoSuchConfiguration], operationName: "GetStorageLensConfiguration", + endpointHostPrefix: "{AccountId}.", })); -export type GetStorageLensConfigurationTaggingError = CommonErrors; +export type GetStorageLensConfigurationTaggingError = + | NoSuchConfiguration + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -9499,8 +9649,9 @@ export const getStorageLensConfigurationTagging: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetStorageLensConfigurationTaggingRequest, output: GetStorageLensConfigurationTaggingResult, - errors: [], + errors: [NoSuchConfiguration], operationName: "GetStorageLensConfigurationTagging", + endpointHostPrefix: "{AccountId}.", })); export type GetStorageLensGroupError = CommonErrors; /** @@ -9523,6 +9674,7 @@ export const getStorageLensGroup: API.OperationMethod< output: GetStorageLensGroupResult, errors: [], operationName: "GetStorageLensGroup", + endpointHostPrefix: "{AccountId}.", })); export type ListAccessGrantsError = CommonErrors; /** @@ -9557,6 +9709,7 @@ export const listAccessGrants: API.OperationMethod< output: ListAccessGrantsResult, errors: [], operationName: "ListAccessGrants", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9596,6 +9749,7 @@ export const listAccessGrantsInstances: API.OperationMethod< output: ListAccessGrantsInstancesResult, errors: [], operationName: "ListAccessGrantsInstances", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9635,6 +9789,7 @@ export const listAccessGrantsLocations: API.OperationMethod< output: ListAccessGrantsLocationsResult, errors: [], operationName: "ListAccessGrantsLocations", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9688,6 +9843,7 @@ export const listAccessPoints: API.OperationMethod< output: ListAccessPointsResult, errors: [], operationName: "ListAccessPoints", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9779,6 +9935,7 @@ export const listAccessPointsForObjectLambda: API.OperationMethod< output: ListAccessPointsForObjectLambdaResult, errors: [], operationName: "ListAccessPointsForObjectLambda", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9819,6 +9976,7 @@ export const listCallerAccessGrants: API.OperationMethod< output: ListCallerAccessGrantsResult, errors: [], operationName: "ListCallerAccessGrants", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9880,6 +10038,7 @@ export const listJobs: API.OperationMethod< InvalidRequestException, ], operationName: "ListJobs", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9933,6 +10092,7 @@ export const listMultiRegionAccessPoints: API.OperationMethod< output: ListMultiRegionAccessPointsResult, errors: [], operationName: "ListMultiRegionAccessPoints", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -9975,6 +10135,7 @@ export const listRegionalBuckets: API.OperationMethod< output: ListRegionalBucketsResult, errors: [], operationName: "ListRegionalBuckets", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken", @@ -10020,6 +10181,7 @@ export const listStorageLensConfigurations: API.OperationMethod< output: ListStorageLensConfigurationsResult, errors: [], operationName: "ListStorageLensConfigurations", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken" } as const, })); export type ListStorageLensGroupsError = CommonErrors; @@ -10058,9 +10220,10 @@ export const listStorageLensGroups: API.OperationMethod< output: ListStorageLensGroupsResult, errors: [], operationName: "ListStorageLensGroups", + endpointHostPrefix: "{AccountId}.", pagination: { inputToken: "NextToken", outputToken: "NextToken" } as const, })); -export type ListTagsForResourceError = CommonErrors; +export type ListTagsForResourceError = NoSuchAccessPoint | CommonErrors; /** * This operation allows you to list all of the tags for a specified resource. Each tag is a label consisting of a key and value. Tags can help you organize, track costs for, and control access to resources. * @@ -10100,8 +10263,9 @@ export const listTagsForResource: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ListTagsForResourceRequest, output: ListTagsForResourceResult, - errors: [], + errors: [NoSuchAccessPoint], operationName: "ListTagsForResource", + endpointHostPrefix: "{AccountId}.", })); export type PutAccessGrantsInstanceResourcePolicyError = CommonErrors; /** @@ -10121,8 +10285,12 @@ export const putAccessGrantsInstanceResourcePolicy: API.OperationMethod< output: PutAccessGrantsInstanceResourcePolicyResult, errors: [], operationName: "PutAccessGrantsInstanceResourcePolicy", + endpointHostPrefix: "{AccountId}.", })); -export type PutAccessPointConfigurationForObjectLambdaError = CommonErrors; +export type PutAccessPointConfigurationForObjectLambdaError = + | NoSuchAccessPoint + | InvalidRequest + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -10141,10 +10309,14 @@ export const putAccessPointConfigurationForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutAccessPointConfigurationForObjectLambdaRequest, output: PutAccessPointConfigurationForObjectLambdaResponse, - errors: [], + errors: [NoSuchAccessPoint, InvalidRequest], operationName: "PutAccessPointConfigurationForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); -export type PutAccessPointPolicyError = CommonErrors; +export type PutAccessPointPolicyError = + | NoSuchAccessPoint + | MalformedPolicy + | CommonErrors; /** * Associates an access policy with the specified access point. Each access point can have only one policy, * so a request made to this API replaces any existing policy associated with the specified @@ -10166,10 +10338,14 @@ export const putAccessPointPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutAccessPointPolicyRequest, output: PutAccessPointPolicyResponse, - errors: [], + errors: [NoSuchAccessPoint, MalformedPolicy], operationName: "PutAccessPointPolicy", + endpointHostPrefix: "{AccountId}.", })); -export type PutAccessPointPolicyForObjectLambdaError = CommonErrors; +export type PutAccessPointPolicyForObjectLambdaError = + | NoSuchAccessPoint + | MalformedPolicy + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -10190,8 +10366,9 @@ export const putAccessPointPolicyForObjectLambda: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutAccessPointPolicyForObjectLambdaRequest, output: PutAccessPointPolicyForObjectLambdaResponse, - errors: [], + errors: [NoSuchAccessPoint, MalformedPolicy], operationName: "PutAccessPointPolicyForObjectLambda", + endpointHostPrefix: "{AccountId}.", })); export type PutAccessPointScopeError = CommonErrors; /** @@ -10244,6 +10421,7 @@ export const putBucketLifecycleConfiguration: API.OperationMethod< output: PutBucketLifecycleConfigurationResponse, errors: [], operationName: "PutBucketLifecycleConfiguration", + endpointHostPrefix: "{AccountId}.", })); export type PutBucketPolicyError = CommonErrors; /** @@ -10289,6 +10467,7 @@ export const putBucketPolicy: API.OperationMethod< output: PutBucketPolicyResponse, errors: [], operationName: "PutBucketPolicy", + endpointHostPrefix: "{AccountId}.", })); export type PutBucketReplicationError = CommonErrors; /** @@ -10376,6 +10555,7 @@ export const putBucketReplication: API.OperationMethod< output: PutBucketReplicationResponse, errors: [], operationName: "PutBucketReplication", + endpointHostPrefix: "{AccountId}.", })); export type PutBucketTaggingError = CommonErrors; /** @@ -10445,6 +10625,7 @@ export const putBucketTagging: API.OperationMethod< output: PutBucketTaggingResponse, errors: [], operationName: "PutBucketTagging", + endpointHostPrefix: "{AccountId}.", })); export type PutBucketVersioningError = CommonErrors; /** @@ -10509,6 +10690,7 @@ export const putBucketVersioning: API.OperationMethod< output: PutBucketVersioningResponse, errors: [], operationName: "PutBucketVersioning", + endpointHostPrefix: "{AccountId}.", })); export type PutJobTaggingError = | InternalServiceException @@ -10577,8 +10759,12 @@ export const putJobTagging: API.OperationMethod< TooManyTagsException, ], operationName: "PutJobTagging", + endpointHostPrefix: "{AccountId}.", })); -export type PutMultiRegionAccessPointPolicyError = CommonErrors; +export type PutMultiRegionAccessPointPolicyError = + | NoSuchMultiRegionAccessPoint + | InvalidRequest + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -10605,8 +10791,9 @@ export const putMultiRegionAccessPointPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutMultiRegionAccessPointPolicyRequest, output: PutMultiRegionAccessPointPolicyResult, - errors: [], + errors: [NoSuchMultiRegionAccessPoint, InvalidRequest], operationName: "PutMultiRegionAccessPointPolicy", + endpointHostPrefix: "{AccountId}.", })); export type PutPublicAccessBlockError = CommonErrors; /** @@ -10637,8 +10824,12 @@ export const putPublicAccessBlock: API.OperationMethod< output: PutPublicAccessBlockResponse, errors: [], operationName: "PutPublicAccessBlock", + endpointHostPrefix: "{AccountId}.", })); -export type PutStorageLensConfigurationError = CommonErrors; +export type PutStorageLensConfigurationError = + | InvalidRequest + | MissingBucketLevelActivityMetrics + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -10657,10 +10848,13 @@ export const putStorageLensConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutStorageLensConfigurationRequest, output: PutStorageLensConfigurationResponse, - errors: [], + errors: [InvalidRequest, MissingBucketLevelActivityMetrics], operationName: "PutStorageLensConfiguration", + endpointHostPrefix: "{AccountId}.", })); -export type PutStorageLensConfigurationTaggingError = CommonErrors; +export type PutStorageLensConfigurationTaggingError = + | NoSuchConfiguration + | CommonErrors; /** * This operation is not supported by directory buckets. * @@ -10681,8 +10875,9 @@ export const putStorageLensConfigurationTagging: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutStorageLensConfigurationTaggingRequest, output: PutStorageLensConfigurationTaggingResult, - errors: [], + errors: [NoSuchConfiguration], operationName: "PutStorageLensConfigurationTagging", + endpointHostPrefix: "{AccountId}.", })); export type SubmitMultiRegionAccessPointRoutesError = CommonErrors; /** @@ -10726,8 +10921,9 @@ export const submitMultiRegionAccessPointRoutes: API.OperationMethod< output: SubmitMultiRegionAccessPointRoutesResult, errors: [], operationName: "SubmitMultiRegionAccessPointRoutes", + endpointHostPrefix: "{AccountId}.", })); -export type TagResourceError = CommonErrors; +export type TagResourceError = NoSuchAccessPoint | CommonErrors; /** * Creates a new user-defined tag or updates an existing tag. Each tag is a label consisting of a key and value that is applied to your resource. Tags can help you organize, track costs for, and control access to your resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource. * @@ -10767,10 +10963,11 @@ export const tagResource: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: TagResourceRequest, output: TagResourceResult, - errors: [], + errors: [NoSuchAccessPoint], operationName: "TagResource", + endpointHostPrefix: "{AccountId}.", })); -export type UntagResourceError = CommonErrors; +export type UntagResourceError = NoSuchAccessPoint | CommonErrors; /** * This operation removes the specified user-defined tags from an S3 resource. You can pass one or more tag keys. * @@ -10811,8 +11008,9 @@ export const untagResource: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UntagResourceRequest, output: UntagResourceResult, - errors: [], + errors: [NoSuchAccessPoint], operationName: "UntagResource", + endpointHostPrefix: "{AccountId}.", })); export type UpdateAccessGrantsLocationError = CommonErrors; /** @@ -10836,6 +11034,7 @@ export const updateAccessGrantsLocation: API.OperationMethod< output: UpdateAccessGrantsLocationResult, errors: [], operationName: "UpdateAccessGrantsLocation", + endpointHostPrefix: "{AccountId}.", })); export type UpdateJobPriorityError = | BadRequestException @@ -10877,6 +11076,7 @@ export const updateJobPriority: API.OperationMethod< TooManyRequestsException, ], operationName: "UpdateJobPriority", + endpointHostPrefix: "{AccountId}.", })); export type UpdateJobStatusError = | BadRequestException @@ -10921,6 +11121,7 @@ export const updateJobStatus: API.OperationMethod< TooManyRequestsException, ], operationName: "UpdateJobStatus", + endpointHostPrefix: "{AccountId}.", })); export type UpdateStorageLensGroupError = CommonErrors; /** @@ -10943,4 +11144,5 @@ export const updateStorageLensGroup: API.OperationMethod< output: UpdateStorageLensGroupResponse, errors: [], operationName: "UpdateStorageLensGroup", + endpointHostPrefix: "{AccountId}.", })); diff --git a/packages/aws/src/services/securitylake.ts b/packages/aws/src/services/securitylake.ts index 3b3348c99f..05e32b5ae7 100644 --- a/packages/aws/src/services/securitylake.ts +++ b/packages/aws/src/services/securitylake.ts @@ -1540,6 +1540,10 @@ export class ThrottlingException extends S.TaggedErrorClass }, T.Retryable({ throttling: true }), ).pipe(C.withThrottlingError, C.withRetryableError) {} +export class UnauthorizedException extends S.TaggedErrorClass()( + "UnauthorizedException", + {}, +).pipe(C.withAuthError) {} //# Operations export type CreateDataLakeExceptionSubscriptionError = @@ -1720,6 +1724,7 @@ export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Retrieves the tags (keys and values) that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for @@ -1740,6 +1745,7 @@ export const listTagsForResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "ListTagsForResource", })); @@ -1781,6 +1787,7 @@ export type TagResourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your @@ -1807,6 +1814,7 @@ export const tagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "TagResource", })); @@ -1817,6 +1825,7 @@ export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your @@ -1837,6 +1846,7 @@ export const untagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "UntagResource", })); @@ -1877,6 +1887,7 @@ export type CreateAwsLogSourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Adds a natively supported Amazon Web Services service as an Amazon Security Lake source. Enables @@ -1903,6 +1914,7 @@ export const createAwsLogSource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "CreateAwsLogSource", })); @@ -1948,6 +1960,7 @@ export type CreateDataLakeError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Initializes an Amazon Security Lake instance with the provided (or default) configuration. You @@ -1981,6 +1994,7 @@ export const createDataLake: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "CreateDataLake", })); @@ -2024,6 +2038,7 @@ export type DeleteAwsLogSourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Removes a natively supported Amazon Web Services service as an Amazon Security Lake source. You @@ -2050,6 +2065,7 @@ export const deleteAwsLogSource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteAwsLogSource", })); @@ -2090,6 +2106,7 @@ export type DeleteDataLakeError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * When you disable Amazon Security Lake from your account, Security Lake is disabled in all Amazon Web Services Regions and it stops collecting data from your sources. Also, this API @@ -2117,6 +2134,7 @@ export const deleteDataLake: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteDataLake", })); @@ -2240,6 +2258,7 @@ export type ListDataLakesError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Retrieves the Amazon Security Lake configuration object for the specified Amazon Web Services Regions. You can use this operation to determine whether @@ -2260,6 +2279,7 @@ export const listDataLakes: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "ListDataLakes", })); @@ -2270,6 +2290,7 @@ export type ListLogSourcesError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Retrieves the log sources. @@ -2304,6 +2325,7 @@ export const listLogSources: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "ListLogSources", pagination: { @@ -2320,6 +2342,7 @@ export type UpdateDataLakeError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * You can use `UpdateDataLake` to specify where to store your security data, how it should @@ -2351,6 +2374,7 @@ export const updateDataLake: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "UpdateDataLake", })); @@ -2361,6 +2385,7 @@ export type CreateSubscriberError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Creates a subscriber for accounts that are already enabled in Amazon Security Lake. You can @@ -2381,6 +2406,7 @@ export const createSubscriber: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "CreateSubscriber", })); @@ -2391,6 +2417,7 @@ export type GetSubscriberError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Retrieves the subscription information for the specified subscription ID. You can get @@ -2411,6 +2438,7 @@ export const getSubscriber: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "GetSubscriber", })); @@ -2421,6 +2449,7 @@ export type UpdateSubscriberError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Updates an existing subscription for the given Amazon Security Lake account ID. You can update @@ -2441,6 +2470,7 @@ export const updateSubscriber: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "UpdateSubscriber", })); @@ -2451,6 +2481,7 @@ export type DeleteSubscriberError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Deletes the subscription permission and all notification settings for accounts that are @@ -2473,6 +2504,7 @@ export const deleteSubscriber: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteSubscriber", })); @@ -2483,6 +2515,7 @@ export type ListSubscribersError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Lists all subscribers for the specific Amazon Security Lake account ID. You can retrieve a list @@ -2518,6 +2551,7 @@ export const listSubscribers: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "ListSubscribers", pagination: { diff --git a/packages/aws/src/services/shield.ts b/packages/aws/src/services/shield.ts index 503e8b33cb..9f91aa626c 100644 --- a/packages/aws/src/services/shield.ts +++ b/packages/aws/src/services/shield.ts @@ -1676,6 +1676,14 @@ export class ResourceAlreadyExistsException extends S.TaggedErrorClass()( + "SubscriptionNotFound", + { message: S.optional(S.String), resourceType: S.optional(S.String) }, + T.SyntheticError({ + from: "ResourceNotFoundException", + message: "The subscription does not exist.", + }), +).pipe(C.withNotFoundError) {} export class LockedSubscriptionException extends S.TaggedErrorClass()( "LockedSubscriptionException", { message: S.optional(S.String) }, @@ -1838,6 +1846,7 @@ export type CreateProtectionError = | OptimisticLockException | ResourceAlreadyExistsException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses. @@ -1865,6 +1874,7 @@ export const createProtection: API.OperationMethod< OptimisticLockException, ResourceAlreadyExistsException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "CreateProtection", })); @@ -1875,6 +1885,7 @@ export type CreateProtectionGroupError = | OptimisticLockException | ResourceAlreadyExistsException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Creates a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. @@ -1894,6 +1905,7 @@ export const createProtectionGroup: API.OperationMethod< OptimisticLockException, ResourceAlreadyExistsException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "CreateProtectionGroup", })); @@ -1924,6 +1936,7 @@ export type DeleteProtectionError = | InternalErrorException | OptimisticLockException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Deletes an Shield Advanced Protection. @@ -1940,6 +1953,7 @@ export const deleteProtection: API.OperationMethod< InternalErrorException, OptimisticLockException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "DeleteProtection", })); @@ -1947,6 +1961,7 @@ export type DeleteProtectionGroupError = | InternalErrorException | OptimisticLockException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Removes the specified protection group. @@ -1963,6 +1978,7 @@ export const deleteProtectionGroup: API.OperationMethod< InternalErrorException, OptimisticLockException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "DeleteProtectionGroup", })); @@ -1970,6 +1986,7 @@ export type DeleteSubscriptionError = | InternalErrorException | LockedSubscriptionException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Removes Shield Advanced from an account. Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment. @@ -1986,6 +2003,7 @@ export const deleteSubscription: API.OperationMethod< InternalErrorException, LockedSubscriptionException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "DeleteSubscription", })); @@ -2068,6 +2086,7 @@ export type DescribeProtectionError = | InternalErrorException | InvalidParameterException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Lists the details of a Protection object. @@ -2084,12 +2103,14 @@ export const describeProtection: API.OperationMethod< InternalErrorException, InvalidParameterException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "DescribeProtection", })); export type DescribeProtectionGroupError = | InternalErrorException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Returns the specification for the specified protection group. @@ -2102,12 +2123,17 @@ export const describeProtectionGroup: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeProtectionGroupRequest, output: DescribeProtectionGroupResponse, - errors: [InternalErrorException, ResourceNotFoundException], + errors: [ + InternalErrorException, + ResourceNotFoundException, + SubscriptionNotFound, + ], operationName: "DescribeProtectionGroup", })); export type DescribeSubscriptionError = | InternalErrorException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Provides details about the Shield Advanced subscription for an account. @@ -2120,7 +2146,11 @@ export const describeSubscription: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSubscriptionRequest, output: DescribeSubscriptionResponse, - errors: [InternalErrorException, ResourceNotFoundException], + errors: [ + InternalErrorException, + ResourceNotFoundException, + SubscriptionNotFound, + ], operationName: "DescribeSubscription", })); export type DisableApplicationLayerAutomaticResponseError = @@ -2395,6 +2425,7 @@ export type ListProtectionGroupsError = | InternalErrorException | InvalidPaginationTokenException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Retrieves ProtectionGroup objects for the account. You can retrieve all protection groups or you can provide @@ -2427,6 +2458,7 @@ export const listProtectionGroups: API.OperationMethod< InternalErrorException, InvalidPaginationTokenException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "ListProtectionGroups", pagination: { @@ -2439,6 +2471,7 @@ export type ListProtectionsError = | InternalErrorException | InvalidPaginationTokenException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Retrieves Protection objects for the account. You can retrieve all protections or you can provide @@ -2471,6 +2504,7 @@ export const listProtections: API.OperationMethod< InternalErrorException, InvalidPaginationTokenException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "ListProtections", pagination: { @@ -2527,6 +2561,7 @@ export type ListTagsForResourceError = | InternalErrorException | InvalidResourceException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in Shield. @@ -2543,6 +2578,7 @@ export const listTagsForResource: API.OperationMethod< InternalErrorException, InvalidResourceException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "ListTagsForResource", })); @@ -2551,6 +2587,7 @@ export type TagResourceError = | InvalidParameterException | InvalidResourceException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Adds or updates tags for a resource in Shield. @@ -2568,6 +2605,7 @@ export const tagResource: API.OperationMethod< InvalidParameterException, InvalidResourceException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "TagResource", })); @@ -2576,6 +2614,7 @@ export type UntagResourceError = | InvalidParameterException | InvalidResourceException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Removes tags from a resource in Shield. @@ -2593,6 +2632,7 @@ export const untagResource: API.OperationMethod< InvalidParameterException, InvalidResourceException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "UntagResource", })); @@ -2653,6 +2693,7 @@ export type UpdateProtectionGroupError = | InvalidParameterException | OptimisticLockException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Updates an existing protection group. A protection group is a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. @@ -2670,6 +2711,7 @@ export const updateProtectionGroup: API.OperationMethod< InvalidParameterException, OptimisticLockException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "UpdateProtectionGroup", })); @@ -2679,6 +2721,7 @@ export type UpdateSubscriptionError = | LockedSubscriptionException | OptimisticLockException | ResourceNotFoundException + | SubscriptionNotFound | CommonErrors; /** * Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated. @@ -2700,6 +2743,7 @@ export const updateSubscription: API.OperationMethod< LockedSubscriptionException, OptimisticLockException, ResourceNotFoundException, + SubscriptionNotFound, ], operationName: "UpdateSubscription", })); diff --git a/packages/aws/src/services/signer.ts b/packages/aws/src/services/signer.ts index 6ecb416b09..af842a4012 100644 --- a/packages/aws/src/services/signer.ts +++ b/packages/aws/src/services/signer.ts @@ -1245,6 +1245,14 @@ export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String), code: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class SigningProfileAlreadyExists extends S.TaggedErrorClass()( + "SigningProfileAlreadyExists", + { message: S.optional(S.String), code: S.optional(S.String) }, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "already exists" }, + }), +).pipe(C.withAlreadyExistsError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String), code: S.optional(S.String) }, @@ -1361,6 +1369,7 @@ export const getRevocationStatus: API.OperationMethod< ValidationException, ], operationName: "GetRevocationStatus", + endpointHostPrefix: "data-", })); export type GetSigningPlatformError = | AccessDeniedException @@ -1622,6 +1631,7 @@ export type PutSigningProfileError = | ResourceNotFoundException | TooManyRequestsException | ValidationException + | SigningProfileAlreadyExists | CommonErrors; /** * Creates a signing profile. A signing profile is a code-signing template that can be used to @@ -1641,6 +1651,7 @@ export const putSigningProfile: API.OperationMethod< ResourceNotFoundException, TooManyRequestsException, ValidationException, + SigningProfileAlreadyExists, ], operationName: "PutSigningProfile", })); diff --git a/packages/aws/src/services/ssm-contacts.ts b/packages/aws/src/services/ssm-contacts.ts index 66e87cb0a1..9e4fc68351 100644 --- a/packages/aws/src/services/ssm-contacts.ts +++ b/packages/aws/src/services/ssm-contacts.ts @@ -1629,6 +1629,18 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "IncidentManagerNotOnboarded", + { + Message: S.String, + Reason: S.optional(ValidationExceptionReason), + Fields: S.optional(ValidationExceptionFieldList), + }, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Account not found for the request" }, + }), +).pipe(C.withBadRequestError) {} //# Operations export type AcceptPageError = @@ -1694,6 +1706,7 @@ export type CreateContactError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Contacts are either the contacts that Incident Manager engages during an incident or the @@ -1716,6 +1729,7 @@ export const createContact: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "CreateContact", })); @@ -1726,6 +1740,7 @@ export type CreateContactChannelError = | InternalServerException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * A contact channel is the method that Incident Manager uses to engage your contact. @@ -1745,6 +1760,7 @@ export const createContactChannel: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "CreateContactChannel", })); @@ -1755,6 +1771,8 @@ export type CreateRotationError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | ConflictException + | IncidentManagerNotOnboarded | CommonErrors; /** * Creates a rotation in an on-call schedule. @@ -1774,6 +1792,8 @@ export const createRotation: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + ConflictException, + IncidentManagerNotOnboarded, ], operationName: "CreateRotation", })); @@ -1841,6 +1861,7 @@ export type DeleteContactError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * To remove a contact from Incident Manager, you can delete the contact. However, deleting a @@ -1864,6 +1885,7 @@ export const deleteContact: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "DeleteContact", })); @@ -1873,6 +1895,7 @@ export type DeleteContactChannelError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * To stop receiving engagements on a contact channel, you can delete the channel from a @@ -1895,6 +1918,7 @@ export const deleteContactChannel: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "DeleteContactChannel", })); @@ -1905,6 +1929,7 @@ export type DeleteRotationError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Deletes a rotation from the system. If a rotation belongs to more than one on-call @@ -1925,6 +1950,7 @@ export const deleteRotation: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "DeleteRotation", })); @@ -2021,6 +2047,7 @@ export type GetContactError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Retrieves information about the specified contact or escalation plan. @@ -2040,6 +2067,7 @@ export const getContact: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "GetContact", })); @@ -2050,6 +2078,7 @@ export type GetContactChannelError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * List details about a specific contact channel. @@ -2069,6 +2098,7 @@ export const getContactChannel: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "GetContactChannel", })); @@ -2106,6 +2136,7 @@ export type GetRotationError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Retrieves information about an on-call rotation. @@ -2124,6 +2155,7 @@ export const getRotation: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "GetRotation", })); @@ -2161,6 +2193,7 @@ export type ListContactChannelsError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Lists all contact channels for the specified contact. @@ -2195,6 +2228,7 @@ export const listContactChannels: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "ListContactChannels", pagination: { @@ -2209,6 +2243,7 @@ export type ListContactsError = | InternalServerException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Lists all contacts and escalation plans in Incident Manager. @@ -2241,6 +2276,7 @@ export const listContacts: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "ListContacts", pagination: { @@ -2593,6 +2629,7 @@ export type ListRotationsError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Retrieves a list of on-call rotations. @@ -2626,6 +2663,7 @@ export const listRotations: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "ListRotations", pagination: { @@ -2691,6 +2729,7 @@ export type ListTagsForResourceError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Lists the tags of a contact, escalation plan, rotation, or on-call schedule. @@ -2709,6 +2748,7 @@ export const listTagsForResource: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "ListTagsForResource", })); @@ -2841,6 +2881,7 @@ export type TagResourceError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Tags a contact or escalation plan. You can tag only contacts and escalation plans in the @@ -2861,6 +2902,7 @@ export const tagResource: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "TagResource", })); @@ -2870,6 +2912,7 @@ export type UntagResourceError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Removes tags from the specified resource. @@ -2888,6 +2931,7 @@ export const untagResource: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "UntagResource", })); @@ -2899,6 +2943,7 @@ export type UpdateContactError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Updates the contact or escalation plan specified. @@ -2919,6 +2964,7 @@ export const updateContact: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "UpdateContact", })); @@ -2930,6 +2976,7 @@ export type UpdateContactChannelError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Updates a contact's contact channel. @@ -2950,6 +2997,7 @@ export const updateContactChannel: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "UpdateContactChannel", })); @@ -2960,6 +3008,7 @@ export type UpdateRotationError = | ResourceNotFoundException | ThrottlingException | ValidationException + | IncidentManagerNotOnboarded | CommonErrors; /** * Updates the information specified for an on-call rotation. @@ -2979,6 +3028,7 @@ export const updateRotation: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + IncidentManagerNotOnboarded, ], operationName: "UpdateRotation", })); diff --git a/packages/aws/src/services/ssm-incidents.ts b/packages/aws/src/services/ssm-incidents.ts index 7b4092fe7d..b372951a4c 100644 --- a/packages/aws/src/services/ssm-incidents.ts +++ b/packages/aws/src/services/ssm-incidents.ts @@ -1771,6 +1771,10 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "UnsupportedOperationException", + {}, +).pipe(C.withBadRequestError) {} //# Operations export type BatchGetIncidentFindingsError = @@ -1810,6 +1814,7 @@ export type CreateReplicationSetError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | UnsupportedOperationException | CommonErrors; /** * A replication set replicates and encrypts your data to the provided Regions with the @@ -1830,6 +1835,7 @@ export const createReplicationSet: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + UnsupportedOperationException, ], operationName: "CreateReplicationSet", })); diff --git a/packages/aws/src/services/synthetics.ts b/packages/aws/src/services/synthetics.ts index 8659b625c8..e20a262b5b 100644 --- a/packages/aws/src/services/synthetics.ts +++ b/packages/aws/src/services/synthetics.ts @@ -1906,6 +1906,7 @@ export const disassociateResource: API.OperationMethod< export type GetCanaryError = | InternalServerException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Retrieves complete information about one canary. You must specify @@ -1920,7 +1921,11 @@ export const getCanary: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetCanaryRequest, output: GetCanaryResponse, - errors: [InternalServerException, ValidationException], + errors: [ + InternalServerException, + ValidationException, + ResourceNotFoundException, + ], operationName: "GetCanary", })); export type GetCanaryRunsError = diff --git a/packages/aws/src/util/error.ts b/packages/aws/src/util/error.ts index 5cf52c1ebf..330b443473 100644 --- a/packages/aws/src/util/error.ts +++ b/packages/aws/src/util/error.ts @@ -25,8 +25,12 @@ * @returns The sanitized error code */ export function sanitizeErrorCode(value: string): string { + // 0. Repeated `x-amzn-errortype` headers are joined with ", " by the + // fetch Headers API — e.g. resource-explorer-2 throttling responds + // with "ThrottlingException, TooManyRequestsException". Take the + // first entry. // 1. Take before first ':' - let code = value.split(":")[0]; + let code = value.split(",")[0].trim().split(":")[0]; // 2. Take after first '#' const hashIndex = code.indexOf("#"); if (hashIndex >= 0) { From 1ebc4a41ecafc6608e143b2daf6a618651be7f55 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 10 Jul 2026 18:32:47 -0700 Subject: [PATCH 09/63] feat(aws): SigV2 auth + typed-error coverage for media/iot/ai T2 services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Core client work: - SigV2 auth support (traits.ts AwsAuthSigv2 + api.ts HMAC-SHA256 SigV2 signing branch) — classic SimpleDB is the last SigV2-only AWS service; hand-written simpledb service module (no Smithy model exists for the classic Query API) - aws-query.ts: fallback for SimpleDB's legacy error wrapper - rest-json.ts + util/stream.ts: geo-maps/places/routes data-plane fixes - generate.ts + traits.ts + response-parser.ts + rest-json.ts: iot-managed- integrations (newer service) protocol coverage Patches + regenerated services for E1/E2: ivs(+realtime/chat), imagebuilder, mediatailor, medialive, iotsitewise, lex-models-v2, bedrock-agentcore(+control), sagemaker(+featurestore-runtime), qbusiness, route-53-domains, omics, repostspace — resource-specific typed error tags + synthetic message-matched errors verified against the live APIs. Co-Authored-By: Claude Opus 4.8 --- .../patches/bedrock-agentcore-control.json | 9 + packages/aws/patches/bedrock-agentcore.json | 9 + packages/aws/patches/imagebuilder.json | 42 +++ packages/aws/patches/ivs-realtime.json | 12 + packages/aws/patches/ivs.json | 20 ++ packages/aws/patches/ivschat.json | 17 + packages/aws/patches/lex-models-v2.json | 13 + packages/aws/patches/medialive.json | 16 + packages/aws/patches/mediatailor.json | 21 ++ packages/aws/patches/qbusiness.json | 9 + packages/aws/patches/route-53-domains.json | 20 ++ .../sagemaker-featurestore-runtime.json | 34 ++ packages/aws/patches/sagemaker.json | 114 +++++++ packages/aws/scripts/generate.ts | 7 + packages/aws/src/client/api.ts | 105 +++++- packages/aws/src/client/response-parser.ts | 38 ++- packages/aws/src/protocols/aws-query.ts | 21 ++ packages/aws/src/protocols/rest-json.ts | 47 ++- .../src/services/bedrock-agentcore-control.ts | 20 +- .../aws/src/services/bedrock-agentcore.ts | 19 +- packages/aws/src/services/imagebuilder.ts | 70 +++- packages/aws/src/services/index.ts | 1 + .../src/services/iot-managed-integrations.ts | 16 +- packages/aws/src/services/iotsitewise.ts | 104 ++++++ packages/aws/src/services/ivs-realtime.ts | 33 +- packages/aws/src/services/ivs.ts | 50 ++- packages/aws/src/services/ivschat.ts | 43 ++- packages/aws/src/services/lex-models-v2.ts | 13 + packages/aws/src/services/medialive.ts | 22 ++ packages/aws/src/services/mediatailor.ts | 14 +- packages/aws/src/services/omics.ts | 120 ++++++- packages/aws/src/services/qbusiness.ts | 14 +- packages/aws/src/services/repostspace.ts | 15 +- packages/aws/src/services/route-53-domains.ts | 24 +- .../sagemaker-featurestore-runtime.ts | 19 ++ packages/aws/src/services/sagemaker.ts | 108 ++++-- packages/aws/src/services/simpledb.ts | 320 ++++++++++++++++++ packages/aws/src/traits.ts | 22 ++ packages/aws/src/util/stream.ts | 15 + 39 files changed, 1547 insertions(+), 69 deletions(-) create mode 100644 packages/aws/patches/bedrock-agentcore-control.json create mode 100644 packages/aws/patches/bedrock-agentcore.json create mode 100644 packages/aws/patches/imagebuilder.json create mode 100644 packages/aws/patches/ivs-realtime.json create mode 100644 packages/aws/patches/ivs.json create mode 100644 packages/aws/patches/ivschat.json create mode 100644 packages/aws/patches/lex-models-v2.json create mode 100644 packages/aws/patches/medialive.json create mode 100644 packages/aws/patches/mediatailor.json create mode 100644 packages/aws/patches/qbusiness.json create mode 100644 packages/aws/patches/route-53-domains.json create mode 100644 packages/aws/patches/sagemaker-featurestore-runtime.json create mode 100644 packages/aws/patches/sagemaker.json create mode 100644 packages/aws/src/services/simpledb.ts diff --git a/packages/aws/patches/bedrock-agentcore-control.json b/packages/aws/patches/bedrock-agentcore-control.json new file mode 100644 index 0000000000..c70d94be41 --- /dev/null +++ b/packages/aws/patches/bedrock-agentcore-control.json @@ -0,0 +1,9 @@ +{ + "structures": { + "WorkloadIdentityDetails": { + "members": { + "workloadIdentityArn": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/bedrock-agentcore.json b/packages/aws/patches/bedrock-agentcore.json new file mode 100644 index 0000000000..a91f73b64f --- /dev/null +++ b/packages/aws/patches/bedrock-agentcore.json @@ -0,0 +1,9 @@ +{ + "structures": { + "Event": { + "members": { + "payload": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/imagebuilder.json b/packages/aws/patches/imagebuilder.json new file mode 100644 index 0000000000..4ce84a4aa8 --- /dev/null +++ b/packages/aws/patches/imagebuilder.json @@ -0,0 +1,42 @@ +{ + "operations": { + "getComponent": { "errors": ["ResourceNotFoundException"] }, + "getImageRecipe": { "errors": ["ResourceNotFoundException"] }, + "getImagePipeline": { "errors": ["ResourceNotFoundException"] }, + "getInfrastructureConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "getDistributionConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "deleteComponent": { "errors": ["ResourceNotFoundException"] }, + "deleteImageRecipe": { "errors": ["ResourceNotFoundException"] }, + "deleteImagePipeline": { "errors": ["ResourceNotFoundException"] }, + "deleteInfrastructureConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "deleteDistributionConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "updateImagePipeline": { "errors": ["ResourceNotFoundException"] }, + "updateDistributionConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "listComponentBuildVersions": { "errors": ["ResourceNotFoundException"] }, + "listTagsForResource": { "errors": ["ResourceNotFoundException"] }, + "createInfrastructureConfiguration": { + "errors": ["InvalidParameterValueException"] + }, + "updateInfrastructureConfiguration": { + "errors": ["ResourceNotFoundException", "InvalidParameterValueException"] + } + }, + "structures": { + "DistributionConfiguration": { + "members": { "timeoutMinutes": { "optional": true } } + } + }, + "errors": { + "InvalidParameterValueException": { "message": { "type": "string" } } + } +} diff --git a/packages/aws/patches/ivs-realtime.json b/packages/aws/patches/ivs-realtime.json new file mode 100644 index 0000000000..e12253b783 --- /dev/null +++ b/packages/aws/patches/ivs-realtime.json @@ -0,0 +1,12 @@ +{ + "operations": { + "createStage": { "errors": ["ThrottlingException"] }, + "deleteStage": { "errors": ["ThrottlingException"] }, + "getStage": { "errors": ["ThrottlingException"] }, + "listStages": { "errors": ["ThrottlingException"] }, + "listTagsForResource": { "errors": ["ThrottlingException"] }, + "tagResource": { "errors": ["ThrottlingException"] }, + "untagResource": { "errors": ["ThrottlingException"] }, + "updateStage": { "errors": ["ThrottlingException"] } + } +} diff --git a/packages/aws/patches/ivs.json b/packages/aws/patches/ivs.json new file mode 100644 index 0000000000..4ac8ad5b3f --- /dev/null +++ b/packages/aws/patches/ivs.json @@ -0,0 +1,20 @@ +{ + "operations": { + "createChannel": { "errors": ["ThrottlingException"] }, + "createStreamKey": { "errors": ["ThrottlingException"] }, + "deleteChannel": { "errors": ["ThrottlingException"] }, + "deletePlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "deleteStreamKey": { "errors": ["ThrottlingException"] }, + "getChannel": { "errors": ["ThrottlingException"] }, + "getPlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "getStreamKey": { "errors": ["ThrottlingException"] }, + "importPlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "listChannels": { "errors": ["ThrottlingException"] }, + "listPlaybackKeyPairs": { "errors": ["ThrottlingException"] }, + "listStreamKeys": { "errors": ["ThrottlingException"] }, + "listTagsForResource": { "errors": ["ThrottlingException"] }, + "tagResource": { "errors": ["ThrottlingException"] }, + "untagResource": { "errors": ["ThrottlingException"] }, + "updateChannel": { "errors": ["ThrottlingException"] } + } +} diff --git a/packages/aws/patches/ivschat.json b/packages/aws/patches/ivschat.json new file mode 100644 index 0000000000..c87976d813 --- /dev/null +++ b/packages/aws/patches/ivschat.json @@ -0,0 +1,17 @@ +{ + "operations": { + "createLoggingConfiguration": { "errors": ["ThrottlingException"] }, + "createRoom": { "errors": ["ThrottlingException"] }, + "deleteLoggingConfiguration": { "errors": ["ThrottlingException"] }, + "deleteRoom": { "errors": ["ThrottlingException"] }, + "getLoggingConfiguration": { "errors": ["ThrottlingException"] }, + "getRoom": { "errors": ["ThrottlingException"] }, + "listLoggingConfigurations": { "errors": ["ThrottlingException"] }, + "listRooms": { "errors": ["ThrottlingException"] }, + "listTagsForResource": { "errors": ["ThrottlingException"] }, + "tagResource": { "errors": ["ThrottlingException"] }, + "untagResource": { "errors": ["ThrottlingException"] }, + "updateLoggingConfiguration": { "errors": ["ThrottlingException"] }, + "updateRoom": { "errors": ["ThrottlingException"] } + } +} diff --git a/packages/aws/patches/lex-models-v2.json b/packages/aws/patches/lex-models-v2.json new file mode 100644 index 0000000000..eb3e961695 --- /dev/null +++ b/packages/aws/patches/lex-models-v2.json @@ -0,0 +1,13 @@ +{ + "operations": { + "listBotAliases": { + "errors": ["ResourceNotFoundException"] + }, + "listIntents": { + "errors": ["ResourceNotFoundException"] + }, + "listSlotTypes": { + "errors": ["ResourceNotFoundException"] + } + } +} diff --git a/packages/aws/patches/medialive.json b/packages/aws/patches/medialive.json new file mode 100644 index 0000000000..9918c4dbfd --- /dev/null +++ b/packages/aws/patches/medialive.json @@ -0,0 +1,16 @@ +{ + "operations": { + "createChannel": { + "syntheticErrors": [ + { + "name": "MediaLiveRoleNotYetTrusted", + "from": "UnprocessableEntityException", + "message": { "includes": "is a trusted service" } + } + ] + } + }, + "errorCategories": { + "MediaLiveRoleNotYetTrusted": ["RetryableError"] + } +} diff --git a/packages/aws/patches/mediatailor.json b/packages/aws/patches/mediatailor.json new file mode 100644 index 0000000000..d2846da315 --- /dev/null +++ b/packages/aws/patches/mediatailor.json @@ -0,0 +1,21 @@ +{ + "operations": { + "getPlaybackConfiguration": { + "syntheticErrors": [ + { + "name": "PlaybackConfigurationNotFound", + "from": "NotFoundException", + "message": { "includes": "not found" } + } + ] + } + }, + "errors": { + "PlaybackConfigurationNotFound": { + "message": { "type": "string" } + } + }, + "errorCategories": { + "PlaybackConfigurationNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/qbusiness.json b/packages/aws/patches/qbusiness.json new file mode 100644 index 0000000000..82fb251a49 --- /dev/null +++ b/packages/aws/patches/qbusiness.json @@ -0,0 +1,9 @@ +{ + "structures": { + "AutoSubscriptionConfiguration": { + "members": { + "autoSubscribe": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/route-53-domains.json b/packages/aws/patches/route-53-domains.json new file mode 100644 index 0000000000..af9e56b4b6 --- /dev/null +++ b/packages/aws/patches/route-53-domains.json @@ -0,0 +1,20 @@ +{ + "operations": { + "getDomainDetail": { + "syntheticErrors": [ + { + "name": "DomainNotFound", + "from": "InvalidInput", + "message": { + "includes": "not found in account" + } + } + ] + } + }, + "errorCategories": { + "DomainNotFound": [ + "NotFoundError" + ] + } +} diff --git a/packages/aws/patches/sagemaker-featurestore-runtime.json b/packages/aws/patches/sagemaker-featurestore-runtime.json new file mode 100644 index 0000000000..3ebc7f7d28 --- /dev/null +++ b/packages/aws/patches/sagemaker-featurestore-runtime.json @@ -0,0 +1,34 @@ +{ + "operations": { + "getRecord": { + "syntheticErrors": [ + { + "name": "FeatureGroupNotFound", + "from": "ValidationError", + "message": { "includes": "Resource Not Found" } + } + ] + }, + "putRecord": { + "syntheticErrors": [ + { + "name": "FeatureGroupNotFound", + "from": "ValidationError", + "message": { "includes": "Resource Not Found" } + } + ] + }, + "deleteRecord": { + "syntheticErrors": [ + { + "name": "FeatureGroupNotFound", + "from": "ValidationError", + "message": { "includes": "Resource Not Found" } + } + ] + } + }, + "errorCategories": { + "FeatureGroupNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/patches/sagemaker.json b/packages/aws/patches/sagemaker.json new file mode 100644 index 0000000000..23e5716cc4 --- /dev/null +++ b/packages/aws/patches/sagemaker.json @@ -0,0 +1,114 @@ +{ + "operations": { + "createModel": { + "syntheticErrors": [ + { + "name": "ModelAlreadyExists", + "from": "ValidationException", + "message": { "includes": "Cannot create already existing model" } + } + ] + }, + "describeModel": { + "syntheticErrors": [ + { + "name": "ModelNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find model" } + } + ] + }, + "deleteModel": { + "syntheticErrors": [ + { + "name": "ModelNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find model" } + } + ] + }, + "createEndpointConfig": { + "syntheticErrors": [ + { + "name": "EndpointConfigAlreadyExists", + "from": "ValidationException", + "message": { + "includes": "Cannot create already existing endpoint configuration" + } + } + ] + }, + "describeEndpointConfig": { + "syntheticErrors": [ + { + "name": "EndpointConfigNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint configuration" } + } + ] + }, + "deleteEndpointConfig": { + "syntheticErrors": [ + { + "name": "EndpointConfigNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint configuration" } + } + ] + }, + "createEndpoint": { + "syntheticErrors": [ + { + "name": "EndpointConfigNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint configuration" } + }, + { + "name": "EndpointAlreadyExists", + "from": "ValidationException", + "message": { "includes": "Cannot create already existing endpoint" } + } + ] + }, + "describeEndpoint": { + "syntheticErrors": [ + { + "name": "EndpointNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint \"" } + } + ] + }, + "deleteEndpoint": { + "syntheticErrors": [ + { + "name": "EndpointNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint \"" } + } + ] + }, + "updateEndpoint": { + "syntheticErrors": [ + { + "name": "EndpointConfigNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint configuration" } + }, + { + "name": "EndpointNotFound", + "from": "ValidationException", + "message": { "includes": "Could not find endpoint \"" } + } + ] + } + }, + "errorCategories": { + "ModelNotFound": ["NotFoundError"], + "ModelAlreadyExists": ["AlreadyExistsError", "ConflictError"], + "EndpointConfigNotFound": ["NotFoundError"], + "EndpointConfigAlreadyExists": ["AlreadyExistsError", "ConflictError"], + "EndpointNotFound": ["NotFoundError"], + "EndpointAlreadyExists": ["AlreadyExistsError", "ConflictError"] + } +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index 3d22875059..7cb182309c 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -2521,6 +2521,13 @@ const addError = Effect.fn(function* (error: { ); } + // Add httpError annotation if present (smithy.api#httpError). The + // response parser uses it as a status-based fallback for services whose + // error responses carry no error code (e.g. IoT Managed Integrations). + if (errorTraits?.httpError) { + annotations.push(`T.HttpError(${errorTraits.httpError})`); + } + // Add retryable annotation if present (smithy.api#retryable) if (errorTraits?.retryable) { if (errorTraits.retryable.throttling) { diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index eb1d44179f..873dacdd91 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -13,7 +13,12 @@ import { SingleShotGen } from "effect/Utils"; import { makeDefault, Retry } from "../retry.ts"; import { makeEndpointResolver } from "../rules-engine/endpoint-resolver.ts"; -import { getAwsApiService, getAwsAuthSigv4, getPath } from "../traits.ts"; +import { + getAwsApiService, + getAwsAuthSigv2, + getAwsAuthSigv4, + getPath, +} from "../traits.ts"; import { getIdentifier } from "../util/ast.ts"; import type { Operation } from "./operation.ts"; import { makeRequestBuilder } from "./request-builder.ts"; @@ -66,6 +71,10 @@ export const make = >( // Get SigV4 service name from annotations const sigv4 = getAwsAuthSigv4(inputAst); + // Legacy SigV2 (SimpleDB only) — when present it takes precedence and + // the request is signed via body parameters instead of headers. + const sigv2 = getAwsAuthSigv2(inputAst); + // Create rules resolver (if rule set available) const resolveEndpoint = makeEndpointResolver(op); @@ -73,6 +82,7 @@ export const make = >( buildRequest, parseResponse, sigv4, + sigv2, resolveEndpoint, serviceSdkId, operationName, @@ -84,6 +94,7 @@ export const make = >( buildRequest, parseResponse, sigv4, + sigv2, resolveEndpoint: rulesResolver, serviceSdkId: _serviceSdkId, operationName: _operationName, @@ -187,6 +198,98 @@ export const make = >( ? `${resolvedRequest.path}?${queryString}` : resolvedRequest.path; + // Legacy Signature Version 2 (SimpleDB is the sole remaining SigV2-only + // service). The signature is an HMAC-SHA256 over the sorted, + // RFC3986-encoded form parameters and travels IN the form-encoded body — + // there is no Authorization header. The classic endpoint rejects SigV4 + // with `AuthFailure: access credentials are missing`. + if (sigv2) { + const rfc3986 = (s: string) => + encodeURIComponent(s).replace( + /[!'()*]/g, + (c) => "%" + c.charCodeAt(0).toString(16).toUpperCase(), + ); + const pairs: Array<[string, string]> = []; + const bodyStr = + typeof resolvedRequest.body === "string" ? resolvedRequest.body : ""; + for (const part of bodyStr.split("&")) { + if (!part) continue; + const eq = part.indexOf("="); + pairs.push([ + decodeURIComponent(eq === -1 ? part : part.slice(0, eq)), + eq === -1 ? "" : decodeURIComponent(part.slice(eq + 1)), + ]); + } + pairs.push( + ["AWSAccessKeyId", Redacted.value(credentials.accessKeyId)], + ["SignatureVersion", "2"], + ["SignatureMethod", "HmacSHA256"], + ["Timestamp", new Date().toISOString().replace(/\.\d{3}/, "")], + ); + if (credentials.sessionToken) { + pairs.push(["SecurityToken", Redacted.value(credentials.sessionToken)]); + } + const canonical = pairs + .map(([k, v]) => [rfc3986(k), rfc3986(v)] as const) + .sort(([a, av], [b, bv]) => + a < b ? -1 : a > b ? 1 : av < bv ? -1 : av > bv ? 1 : 0, + ) + .map(([k, v]) => `${k}=${v}`) + .join("&"); + const requestUrl = new URL(`${endpoint}${fullPath}`); + const stringToSign = [ + resolvedRequest.method, + requestUrl.host, + requestUrl.pathname || "/", + canonical, + ].join("\n"); + const signatureBytes = yield* Effect.promise(async () => { + const key = await crypto.subtle.importKey( + "raw", + new TextEncoder().encode(Redacted.value(credentials.secretAccessKey)), + { name: "HMAC", hash: "SHA-256" }, + false, + ["sign"], + ); + return crypto.subtle.sign( + "HMAC", + key, + new TextEncoder().encode(stringToSign), + ); + }); + const signature = Buffer.from(signatureBytes).toString("base64"); + const signedBody = `${canonical}&Signature=${rfc3986(signature)}`; + const contentTypeV2 = + resolvedRequest.headers["Content-Type"] ?? + resolvedRequest.headers["content-type"] ?? + "application/x-www-form-urlencoded"; + + const httpRequestV2 = pipe( + HttpClientRequest.make( + resolvedRequest.method as "GET" | "POST" | "PUT" | "DELETE", + )(requestUrl.toString()), + HttpClientRequest.setHeaders(resolvedRequest.headers), + HttpClientRequest.setBody(HttpBody.text(signedBody, contentTypeV2)), + ); + + const clientV2 = yield* HttpClient.HttpClient; + const rawResponseV2 = yield* clientV2.execute(httpRequestV2); + const responseHeadersV2 = rawResponseV2.headers as Record; + const isEmptyBodyV2 = + responseHeadersV2["content-length"] === "0" || + rawResponseV2.status === 204; + const responseBodyV2 = isEmptyBodyV2 + ? new ReadableStream({ start: (c) => c.close() }) + : yield* Stream.toReadableStreamEffect(rawResponseV2.stream); + + return yield* parseResponse({ + status: rawResponseV2.status, + statusText: "OK", + headers: responseHeadersV2, + body: responseBodyV2, + }); + } + // For streaming bodies (ReadableStream), we can't compute a hash // so we use UNSIGNED-PAYLOAD and don't pass the body to the signer const isStreamingBody = resolvedRequest.body instanceof ReadableStream; diff --git a/packages/aws/src/client/response-parser.ts b/packages/aws/src/client/response-parser.ts index ea45c65e3e..221c1da723 100644 --- a/packages/aws/src/client/response-parser.ts +++ b/packages/aws/src/client/response-parser.ts @@ -13,9 +13,10 @@ import * as Effect from "effect/Effect"; import * as Schema from "effect/Schema"; import * as SchemaIssue from "effect/SchemaIssue"; -import { COMMON_ERRORS, UnknownAwsError } from "../errors.ts"; +import { COMMON_ERRORS, ParseError, UnknownAwsError } from "../errors.ts"; import { getAwsQueryError, + getHttpError, getHttpHeader, getProtocol, getSyntheticError, @@ -217,6 +218,24 @@ export const makeResponseParser = ( } errorSchema ??= errorSchemas.get(errorCode); + // Status-based fallback: rest-json returns an empty error code when the + // response carries none (no X-Amzn-Errortype header, no __type/code body + // field — e.g. IoT Managed Integrations). Match the operation's declared + // errors by their smithy.api#httpError status, but only when exactly one + // declared error carries the response status. + if (errorSchema === undefined && errorCode === "") { + const statusMatches = (operation.errors ?? []).filter( + (err) => getHttpError(err.ast) === response.status, + ); + if (statusMatches.length === 1) { + errorSchema = statusMatches[0]; + } else { + return yield* new ParseError({ + message: `No error code found in response and ${statusMatches.length} declared errors match status ${response.status}. Data: ${JSON.stringify(data)}`, + }); + } + } + if (errorSchema) { // Extract headers for error members with HttpHeader traits // This handles error fields not in the body (e.g., x-amz-bucket-region) @@ -231,6 +250,23 @@ export const makeResponseParser = ( } } + // REST-JSON services with jsonName-renamed error members (e.g. + // MediaLive) send camelCase wire keys ("message", "validationErrors") + // while the generated error class declares the Smithy member names + // ("Message", "ValidationErrors") without a key mapping. Backfill the + // schema-cased key from its camelCase wire twin so the decode keeps + // the payload instead of silently dropping every field. + for (const prop of errorProps) { + const name = String(prop.name); + const record = data as Record; + if (record[name] === undefined) { + const wireName = name.charAt(0).toLowerCase() + name.slice(1); + if (wireName !== name && record[wireName] !== undefined) { + record[name] = record[wireName]; + } + } + } + // Get the schema identifier to use as _tag (may differ from wire errorCode) // e.g., wire code "EntityAlreadyExists" maps to schema tag "EntityAlreadyExistsException" const schemaTag = getIdentifier(errorSchema.ast) ?? errorCode; diff --git a/packages/aws/src/protocols/aws-query.ts b/packages/aws/src/protocols/aws-query.ts index 0a19ea7380..86e36bd097 100644 --- a/packages/aws/src/protocols/aws-query.ts +++ b/packages/aws/src/protocols/aws-query.ts @@ -181,6 +181,27 @@ export const awsQueryProtocol: Protocol = ( } } + // Legacy query services (SimpleDB) wrap errors EC2-style: + // ...... + if ( + !errorContent && + parsed.Response && + typeof parsed.Response === "object" + ) { + const responseObj = parsed.Response as Record; + if (typeof responseObj.RequestID === "string") { + requestId = responseObj.RequestID; + } + if (responseObj.Errors && typeof responseObj.Errors === "object") { + const errors = responseObj.Errors as Record; + if (errors.Error && typeof errors.Error === "object") { + errorContent = ( + Array.isArray(errors.Error) ? errors.Error[0] : errors.Error + ) as Record; + } + } + } + if (!errorContent) { return yield* new ParseError({ message: `Could not find Error element in XML response: ${bodyText}`, diff --git a/packages/aws/src/protocols/rest-json.ts b/packages/aws/src/protocols/rest-json.ts index dea8f7e5fd..aaa801b9fd 100644 --- a/packages/aws/src/protocols/rest-json.ts +++ b/packages/aws/src/protocols/rest-json.ts @@ -51,6 +51,7 @@ import { } from "../traits.ts"; import { getEncodedPropertySignatures, + getIdentifier, isBooleanAST, isNumberAST, } from "../util/ast.ts"; @@ -65,6 +66,7 @@ import { convertStreamingInput, isEffectStream, readableToEffectStream, + readStreamAsBytes, readStreamAsText, } from "../util/stream.ts"; @@ -98,6 +100,7 @@ export const restJson1Protocol: Protocol = ( name: string; isStreaming: boolean; isRaw: boolean; + isBlob: boolean; isEventStream: boolean; eventSchema?: Schema.Schema; }; @@ -132,6 +135,7 @@ export const restJson1Protocol: Protocol = ( name, isStreaming: isStreamingType(prop.type), isRaw: isRawPayload(prop.type), + isBlob: isBlobPayload(prop.type), isEventStream, eventSchema: isEventStream ? getEventSchema(prop.type) : undefined, }; @@ -142,6 +146,7 @@ export const restJson1Protocol: Protocol = ( name, isStreaming: true, isRaw: false, + isBlob: false, isEventStream, eventSchema: isEventStream ? getEventSchema(prop.type) : undefined, }; @@ -324,6 +329,18 @@ export const restJson1Protocol: Protocol = ( return result; } + // Non-streaming blob payload (e.g. geo-maps GetTile / GetStaticMap): + // the raw body bytes ARE the payload. Read them as bytes and re-encode + // to the wire (base64 string) form the Blob schema decodes from. + // The body is binary, not a JSON document, so JSON parsing is skipped. + if (outputPayloadProp?.isBlob) { + const bytes = yield* readStreamAsBytes(response.body); + if (bytes.byteLength > 0) { + result[outputPayloadProp.name] = bytesToBase64(bytes); + } + return result; + } + // Non-streaming response - read body as text const bodyText = yield* readStreamAsText(response.body); @@ -379,9 +396,12 @@ export const restJson1Protocol: Protocol = ( extractJsonErrorCode(body); if (!rawErrorCode) { - return yield* new ParseError({ - message: `No error code found in response. Headers: ${JSON.stringify(response.headers)}, Body: ${bodyText}`, - }); + // Some services (API Gateway-fronted, e.g. IoT Managed Integrations) + // return error responses with no error code at all — no + // X-Amzn-Errortype header and no __type/code body field. Return an + // empty error code so the response parser can fall back to matching + // the operation's declared errors by smithy.api#httpError status. + return { errorCode: "", data: extractJsonErrorData(body) }; } // Sanitize the error code @@ -404,3 +424,24 @@ function isRawPayload(ast: AST.AST): boolean { if (AST.isUnion(ast)) return ast.types.some(isRawPayload); return false; } + +/** + * Check if AST represents a non-streaming blob payload (T.Blob — decoded + * Uint8Array with a base64-string wire form). For httpPayload bindings the + * HTTP body carries the raw bytes directly, so the deserializer must read + * bytes instead of JSON-parsing the body. + */ +function isBlobPayload(ast: AST.AST): boolean { + if (AST.isUnion(ast)) return ast.types.some(isBlobPayload); + return getIdentifier(ast) === "Blob"; +} + +/** Base64-encode bytes without blowing the stack on large payloads. */ +function bytesToBase64(bytes: Uint8Array): string { + let binary = ""; + const chunkSize = 0x2000; + for (let i = 0; i < bytes.length; i += chunkSize) { + binary += String.fromCharCode(...bytes.subarray(i, i + chunkSize)); + } + return btoa(binary); +} diff --git a/packages/aws/src/services/bedrock-agentcore-control.ts b/packages/aws/src/services/bedrock-agentcore-control.ts index ebd49e8768..535db1f5d0 100644 --- a/packages/aws/src/services/bedrock-agentcore-control.ts +++ b/packages/aws/src/services/bedrock-agentcore-control.ts @@ -1302,10 +1302,10 @@ export const CreateAgentRuntimeRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( identifier: "CreateAgentRuntimeRequest", }) as any as S.Schema; export interface WorkloadIdentityDetails { - workloadIdentityArn: string; + workloadIdentityArn?: string; } export const WorkloadIdentityDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ workloadIdentityArn: S.String }), + () => S.Struct({ workloadIdentityArn: S.optional(S.String) }), ).annotate({ identifier: "WorkloadIdentityDetails", }) as any as S.Schema; @@ -13421,18 +13421,22 @@ export const ListWorkloadIdentitiesResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -13441,44 +13445,52 @@ export class ValidationException extends S.TaggedErrorClass reason: ValidationExceptionReason, fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ConcurrentModificationException extends S.TaggedErrorClass()( "ConcurrentModificationException", { message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class DecryptionFailure extends S.TaggedErrorClass()( "DecryptionFailure", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class EncryptionFailure extends S.TaggedErrorClass()( "EncryptionFailure", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceLimitExceededException extends S.TaggedErrorClass()( "ResourceLimitExceededException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceException extends S.TaggedErrorClass()( "ServiceException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ThrottledException extends S.TaggedErrorClass()( "ThrottledException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} //# Operations diff --git a/packages/aws/src/services/bedrock-agentcore.ts b/packages/aws/src/services/bedrock-agentcore.ts index 6a59381aaf..a11b79107b 100644 --- a/packages/aws/src/services/bedrock-agentcore.ts +++ b/packages/aws/src/services/bedrock-agentcore.ts @@ -5648,7 +5648,7 @@ export interface Event { sessionId: string; eventId: string; eventTimestamp: Date; - payload: PayloadType[]; + payload?: PayloadType[]; branch?: Branch; metadata?: { [key: string]: MetadataValue | undefined }; } @@ -5659,7 +5659,7 @@ export const Event = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => sessionId: S.String, eventId: S.String, eventTimestamp: S.Date.pipe(T.TimestampFormat("epoch-seconds")), - payload: PayloadTypeList, + payload: S.optional(PayloadTypeList), branch: S.optional(Branch), metadata: S.optional(MetadataMap), }), @@ -7319,22 +7319,27 @@ export const SearchRegistryRecordsResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -7343,39 +7348,47 @@ export class ValidationException extends S.TaggedErrorClass reason: ValidationExceptionReason, fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class RuntimeClientError extends S.TaggedErrorClass()( "RuntimeClientError", { message: S.optional(S.String) }, + T.HttpError(424), ) {} export class RetryableConflictException extends S.TaggedErrorClass()( "RetryableConflictException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(409), T.Retryable()), ).pipe(C.withConflictError, C.withRetryableError) {} export class DuplicateIdException extends S.TaggedErrorClass()( "DuplicateIdException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceException extends S.TaggedErrorClass()( "ServiceException", { message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ThrottledException extends S.TaggedErrorClass()( "ThrottledException", { message: S.String }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class InvalidInputException extends S.TaggedErrorClass()( "InvalidInputException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/imagebuilder.ts b/packages/aws/src/services/imagebuilder.ts index 7706e456cb..492743d4d3 100644 --- a/packages/aws/src/services/imagebuilder.ts +++ b/packages/aws/src/services/imagebuilder.ts @@ -2116,7 +2116,7 @@ export interface DistributionConfiguration { name?: string; description?: string; distributions?: Distribution[]; - timeoutMinutes: number; + timeoutMinutes?: number; dateCreated?: string; dateUpdated?: string; tags?: { [key: string]: string | undefined }; @@ -2128,7 +2128,7 @@ export const DistributionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( name: S.optional(S.String), description: S.optional(S.String), distributions: S.optional(DistributionList), - timeoutMinutes: S.Number, + timeoutMinutes: S.optional(S.Number), dateCreated: S.optional(S.String), dateUpdated: S.optional(S.String), tags: S.optional(TagMap), @@ -5586,82 +5586,100 @@ export const UpdateLifecyclePolicyResponse = export class CallRateLimitExceededException extends S.TaggedErrorClass()( "CallRateLimitExceededException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ClientException extends S.TaggedErrorClass()( "ClientException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class IdempotentParameterMismatchException extends S.TaggedErrorClass()( "IdempotentParameterMismatchException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceInUseException extends S.TaggedErrorClass()( "ResourceInUseException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceException extends S.TaggedErrorClass()( "ServiceException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class DryRunOperationException extends S.TaggedErrorClass()( "DryRunOperationException", { message: S.optional(S.String) }, + T.HttpError(412), ) {} export class InvalidParameterCombinationException extends S.TaggedErrorClass()( "InvalidParameterCombinationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidVersionNumberException extends S.TaggedErrorClass()( "InvalidVersionNumberException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ResourceAlreadyExistsException extends S.TaggedErrorClass()( "ResourceAlreadyExistsException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} +export class InvalidParameterValueException extends S.TaggedErrorClass()( + "InvalidParameterValueException", + { message: S.optional(S.String) }, +) {} export class ResourceDependencyException extends S.TaggedErrorClass()( "ResourceDependencyException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} +export class ResourceNotFoundException extends S.TaggedErrorClass()( + "ResourceNotFoundException", + {}, +) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} -export class ResourceNotFoundException extends S.TaggedErrorClass()( - "ResourceNotFoundException", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class InvalidPaginationTokenException extends S.TaggedErrorClass()( "InvalidPaginationTokenException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidParameterException extends S.TaggedErrorClass()( "InvalidParameterException", { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} -export class InvalidParameterValueException extends S.TaggedErrorClass()( - "InvalidParameterValueException", - { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations @@ -5987,6 +6005,7 @@ export type CreateInfrastructureConfigurationError = | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException + | InvalidParameterValueException | CommonErrors; /** * Creates a new infrastructure configuration. An infrastructure configuration defines @@ -6011,6 +6030,7 @@ export const createInfrastructureConfiguration: API.OperationMethod< ServiceException, ServiceQuotaExceededException, ServiceUnavailableException, + InvalidParameterValueException, ], operationName: "CreateInfrastructureConfiguration", })); @@ -6100,6 +6120,7 @@ export type DeleteComponentError = | ResourceDependencyException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Deletes a component build version. @@ -6120,6 +6141,7 @@ export const deleteComponent: API.OperationMethod< ResourceDependencyException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "DeleteComponent", })); @@ -6162,6 +6184,7 @@ export type DeleteDistributionConfigurationError = | ResourceDependencyException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Deletes a distribution configuration. @@ -6182,6 +6205,7 @@ export const deleteDistributionConfiguration: API.OperationMethod< ResourceDependencyException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "DeleteDistributionConfiguration", })); @@ -6240,6 +6264,7 @@ export type DeleteImagePipelineError = | ResourceDependencyException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Deletes an image pipeline. @@ -6260,6 +6285,7 @@ export const deleteImagePipeline: API.OperationMethod< ResourceDependencyException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "DeleteImagePipeline", })); @@ -6271,6 +6297,7 @@ export type DeleteImageRecipeError = | ResourceDependencyException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Deletes an image recipe. @@ -6291,6 +6318,7 @@ export const deleteImageRecipe: API.OperationMethod< ResourceDependencyException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "DeleteImageRecipe", })); @@ -6302,6 +6330,7 @@ export type DeleteInfrastructureConfigurationError = | ResourceDependencyException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Deletes an infrastructure configuration. @@ -6322,6 +6351,7 @@ export const deleteInfrastructureConfiguration: API.OperationMethod< ResourceDependencyException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "DeleteInfrastructureConfiguration", })); @@ -6437,6 +6467,7 @@ export type GetComponentError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Gets a component object. @@ -6456,6 +6487,7 @@ export const getComponent: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "GetComponent", })); @@ -6553,6 +6585,7 @@ export type GetDistributionConfigurationError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Gets a distribution configuration. @@ -6572,6 +6605,7 @@ export const getDistributionConfiguration: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "GetDistributionConfiguration", })); @@ -6611,6 +6645,7 @@ export type GetImagePipelineError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Gets an image pipeline. @@ -6630,6 +6665,7 @@ export const getImagePipeline: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "GetImagePipeline", })); @@ -6669,6 +6705,7 @@ export type GetImageRecipeError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Gets an image recipe. @@ -6688,6 +6725,7 @@ export const getImageRecipe: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "GetImageRecipe", })); @@ -6727,6 +6765,7 @@ export type GetInfrastructureConfigurationError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Gets an infrastructure configuration. @@ -6746,6 +6785,7 @@ export const getInfrastructureConfiguration: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "GetInfrastructureConfiguration", })); @@ -7028,6 +7068,7 @@ export type ListComponentBuildVersionsError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Returns the list of component build versions for the specified component @@ -7064,6 +7105,7 @@ export const listComponentBuildVersions: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "ListComponentBuildVersions", pagination: { @@ -8511,6 +8553,7 @@ export type UpdateDistributionConfigurationError = | ResourceInUseException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Updates a new distribution configuration. Distribution configurations define and @@ -8534,6 +8577,7 @@ export const updateDistributionConfiguration: API.OperationMethod< ResourceInUseException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "UpdateDistributionConfiguration", })); @@ -8546,6 +8590,7 @@ export type UpdateImagePipelineError = | ResourceInUseException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Updates an image pipeline. Image pipelines enable you to automate the creation and @@ -8573,6 +8618,7 @@ export const updateImagePipeline: API.OperationMethod< ResourceInUseException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "UpdateImagePipeline", })); @@ -8585,6 +8631,8 @@ export type UpdateInfrastructureConfigurationError = | ResourceInUseException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException + | InvalidParameterValueException | CommonErrors; /** * Updates a new infrastructure configuration. An infrastructure configuration defines @@ -8607,6 +8655,8 @@ export const updateInfrastructureConfiguration: API.OperationMethod< ResourceInUseException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, + InvalidParameterValueException, ], operationName: "UpdateInfrastructureConfiguration", })); diff --git a/packages/aws/src/services/index.ts b/packages/aws/src/services/index.ts index c507166cd8..610f517275 100644 --- a/packages/aws/src/services/index.ts +++ b/packages/aws/src/services/index.ts @@ -373,6 +373,7 @@ export * as Shield from "./shield.ts"; export * as SignerData from "./signer-data.ts"; export * as Signer from "./signer.ts"; export * as Signin from "./signin.ts"; +export * as Simpledb from "./simpledb.ts"; export * as Simpledbv2 from "./simpledbv2.ts"; export * as Simspaceweaver from "./simspaceweaver.ts"; export * as SnowDeviceManagement from "./snow-device-management.ts"; diff --git a/packages/aws/src/services/iot-managed-integrations.ts b/packages/aws/src/services/iot-managed-integrations.ts index 51276c6cce..250d969bea 100644 --- a/packages/aws/src/services/iot-managed-integrations.ts +++ b/packages/aws/src/services/iot-managed-integrations.ts @@ -1748,7 +1748,7 @@ export const CustomProtocolDetail = /*@__PURE__*/ /*#__PURE__*/ S.Record( ); export type DiscoveryAuthMaterialType = "ZWAVE_INSTALL_CODE" | (string & {}); export const DiscoveryAuthMaterialType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export type ConnectorDeviceIdList = string | redacted.Redacted[]; +export type ConnectorDeviceIdList = (string | redacted.Redacted)[]; export const ConnectorDeviceIdList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export type ProtocolType = "ZWAVE" | "ZIGBEE" | "CUSTOM" | (string & {}); @@ -1763,7 +1763,7 @@ export interface StartDeviceDiscoveryRequest { AuthenticationMaterialType?: DiscoveryAuthMaterialType; ClientToken?: string; Tags?: { [key: string]: string | undefined }; - ConnectorDeviceIdList?: string | redacted.Redacted[]; + ConnectorDeviceIdList?: (string | redacted.Redacted)[]; Protocol?: ProtocolType; EndDeviceIdentifier?: string; } @@ -4600,10 +4600,12 @@ export const ListSchemaVersionsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -4612,42 +4614,52 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ServiceUnavailableException", { Message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { Message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class InternalFailureException extends S.TaggedErrorClass()( "InternalFailureException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { Message: S.optional(S.String) }, + T.HttpError(410), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/iotsitewise.ts b/packages/aws/src/services/iotsitewise.ts index 9ffad665b1..0243aa276d 100644 --- a/packages/aws/src/services/iotsitewise.ts +++ b/packages/aws/src/services/iotsitewise.ts @@ -7227,6 +7227,7 @@ export const associateAssets: API.OperationMethod< ThrottlingException, ], operationName: "AssociateAssets", + endpointHostPrefix: "api.", })); export type AssociateTimeSeriesToAssetPropertyError = | ConflictingOperationException @@ -7254,6 +7255,7 @@ export const associateTimeSeriesToAssetProperty: API.OperationMethod< ThrottlingException, ], operationName: "AssociateTimeSeriesToAssetProperty", + endpointHostPrefix: "api.", })); export type BatchAssociateProjectAssetsError = | InternalFailureException @@ -7281,6 +7283,7 @@ export const batchAssociateProjectAssets: API.OperationMethod< ThrottlingException, ], operationName: "BatchAssociateProjectAssets", + endpointHostPrefix: "monitor.", })); export type BatchDisassociateProjectAssetsError = | InternalFailureException @@ -7306,6 +7309,7 @@ export const batchDisassociateProjectAssets: API.OperationMethod< ThrottlingException, ], operationName: "BatchDisassociateProjectAssets", + endpointHostPrefix: "monitor.", })); export type BatchGetAssetPropertyAggregatesError = | InternalFailureException @@ -7348,6 +7352,7 @@ export const batchGetAssetPropertyAggregates: API.OperationMethod< ThrottlingException, ], operationName: "BatchGetAssetPropertyAggregates", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7394,6 +7399,7 @@ export const batchGetAssetPropertyValue: API.OperationMethod< ThrottlingException, ], operationName: "BatchGetAssetPropertyValue", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken" } as const, })); export type BatchGetAssetPropertyValueHistoryError = @@ -7436,6 +7442,7 @@ export const batchGetAssetPropertyValueHistory: API.OperationMethod< ThrottlingException, ], operationName: "BatchGetAssetPropertyValueHistory", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7494,6 +7501,7 @@ export const batchPutAssetPropertyValue: API.OperationMethod< ThrottlingException, ], operationName: "BatchPutAssetPropertyValue", + endpointHostPrefix: "data.", })); export type CreateAccessPolicyError = | InternalFailureException @@ -7524,6 +7532,7 @@ export const createAccessPolicy: API.OperationMethod< ThrottlingException, ], operationName: "CreateAccessPolicy", + endpointHostPrefix: "monitor.", })); export type CreateAssetError = | ConflictingOperationException @@ -7556,6 +7565,7 @@ export const createAsset: API.OperationMethod< ThrottlingException, ], operationName: "CreateAsset", + endpointHostPrefix: "api.", })); export type CreateAssetModelError = | ConflictingOperationException @@ -7605,6 +7615,7 @@ export const createAssetModel: API.OperationMethod< ThrottlingException, ], operationName: "CreateAssetModel", + endpointHostPrefix: "api.", })); export type CreateAssetModelCompositeModelError = | ConflictingOperationException @@ -7658,6 +7669,7 @@ export const createAssetModelCompositeModel: API.OperationMethod< ThrottlingException, ], operationName: "CreateAssetModelCompositeModel", + endpointHostPrefix: "api.", })); export type CreateBulkImportJobError = | ConflictingOperationException @@ -7702,6 +7714,7 @@ export const createBulkImportJob: API.OperationMethod< ThrottlingException, ], operationName: "CreateBulkImportJob", + endpointHostPrefix: "data.", })); export type CreateComputationModelError = | ConflictingOperationException @@ -7733,6 +7746,7 @@ export const createComputationModel: API.OperationMethod< ThrottlingException, ], operationName: "CreateComputationModel", + endpointHostPrefix: "api.", })); export type CreateDashboardError = | InternalFailureException @@ -7760,6 +7774,7 @@ export const createDashboard: API.OperationMethod< ThrottlingException, ], operationName: "CreateDashboard", + endpointHostPrefix: "monitor.", })); export type CreateDatasetError = | ConflictingOperationException @@ -7791,6 +7806,7 @@ export const createDataset: API.OperationMethod< ThrottlingException, ], operationName: "CreateDataset", + endpointHostPrefix: "api.", })); export type CreateGatewayError = | InternalFailureException @@ -7820,6 +7836,7 @@ export const createGateway: API.OperationMethod< ThrottlingException, ], operationName: "CreateGateway", + endpointHostPrefix: "api.", })); export type CreatePortalError = | InternalFailureException @@ -7852,6 +7869,7 @@ export const createPortal: API.OperationMethod< ThrottlingException, ], operationName: "CreatePortal", + endpointHostPrefix: "monitor.", })); export type CreateProjectError = | InternalFailureException @@ -7882,6 +7900,7 @@ export const createProject: API.OperationMethod< ThrottlingException, ], operationName: "CreateProject", + endpointHostPrefix: "monitor.", })); export type DeleteAccessPolicyError = | InternalFailureException @@ -7909,6 +7928,7 @@ export const deleteAccessPolicy: API.OperationMethod< ThrottlingException, ], operationName: "DeleteAccessPolicy", + endpointHostPrefix: "monitor.", })); export type DeleteAssetError = | ConflictingOperationException @@ -7940,6 +7960,7 @@ export const deleteAsset: API.OperationMethod< ThrottlingException, ], operationName: "DeleteAsset", + endpointHostPrefix: "api.", })); export type DeleteAssetModelError = | ConflictingOperationException @@ -7973,6 +7994,7 @@ export const deleteAssetModel: API.OperationMethod< ThrottlingException, ], operationName: "DeleteAssetModel", + endpointHostPrefix: "api.", })); export type DeleteAssetModelCompositeModelError = | ConflictingOperationException @@ -8006,6 +8028,7 @@ export const deleteAssetModelCompositeModel: API.OperationMethod< ThrottlingException, ], operationName: "DeleteAssetModelCompositeModel", + endpointHostPrefix: "api.", })); export type DeleteAssetModelInterfaceRelationshipError = | ConflictingOperationException @@ -8034,6 +8057,7 @@ export const deleteAssetModelInterfaceRelationship: API.OperationMethod< ThrottlingException, ], operationName: "DeleteAssetModelInterfaceRelationship", + endpointHostPrefix: "api.", })); export type DeleteComputationModelError = | ConflictingOperationException @@ -8061,6 +8085,7 @@ export const deleteComputationModel: API.OperationMethod< ThrottlingException, ], operationName: "DeleteComputationModel", + endpointHostPrefix: "api.", })); export type DeleteDashboardError = | InternalFailureException @@ -8086,6 +8111,7 @@ export const deleteDashboard: API.OperationMethod< ThrottlingException, ], operationName: "DeleteDashboard", + endpointHostPrefix: "monitor.", })); export type DeleteDatasetError = | ConflictingOperationException @@ -8113,6 +8139,7 @@ export const deleteDataset: API.OperationMethod< ThrottlingException, ], operationName: "DeleteDataset", + endpointHostPrefix: "api.", })); export type DeleteGatewayError = | ConflictingOperationException @@ -8141,6 +8168,7 @@ export const deleteGateway: API.OperationMethod< ThrottlingException, ], operationName: "DeleteGateway", + endpointHostPrefix: "api.", })); export type DeletePortalError = | ConflictingOperationException @@ -8168,6 +8196,7 @@ export const deletePortal: API.OperationMethod< ThrottlingException, ], operationName: "DeletePortal", + endpointHostPrefix: "monitor.", })); export type DeleteProjectError = | InternalFailureException @@ -8193,6 +8222,7 @@ export const deleteProject: API.OperationMethod< ThrottlingException, ], operationName: "DeleteProject", + endpointHostPrefix: "monitor.", })); export type DeleteTimeSeriesError = | ConflictingOperationException @@ -8234,6 +8264,7 @@ export const deleteTimeSeries: API.OperationMethod< ThrottlingException, ], operationName: "DeleteTimeSeries", + endpointHostPrefix: "api.", })); export type DescribeAccessPolicyError = | InternalFailureException @@ -8260,6 +8291,7 @@ export const describeAccessPolicy: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAccessPolicy", + endpointHostPrefix: "monitor.", })); export type DescribeActionError = | InternalFailureException @@ -8285,6 +8317,7 @@ export const describeAction: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAction", + endpointHostPrefix: "api.", })); export type DescribeAssetError = | InternalFailureException @@ -8310,6 +8343,7 @@ export const describeAsset: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAsset", + endpointHostPrefix: "api.", })); export type DescribeAssetCompositeModelError = | InternalFailureException @@ -8338,6 +8372,7 @@ export const describeAssetCompositeModel: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAssetCompositeModel", + endpointHostPrefix: "api.", })); export type DescribeAssetModelError = | InternalFailureException @@ -8365,6 +8400,7 @@ export const describeAssetModel: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAssetModel", + endpointHostPrefix: "api.", })); export type DescribeAssetModelCompositeModelError = | InternalFailureException @@ -8392,6 +8428,7 @@ export const describeAssetModelCompositeModel: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAssetModelCompositeModel", + endpointHostPrefix: "api.", })); export type DescribeAssetModelInterfaceRelationshipError = | InternalFailureException @@ -8418,6 +8455,7 @@ export const describeAssetModelInterfaceRelationship: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAssetModelInterfaceRelationship", + endpointHostPrefix: "api.", })); export type DescribeAssetPropertyError = | InternalFailureException @@ -8450,6 +8488,7 @@ export const describeAssetProperty: API.OperationMethod< ThrottlingException, ], operationName: "DescribeAssetProperty", + endpointHostPrefix: "api.", })); export type DescribeBulkImportJobError = | InternalFailureException @@ -8476,6 +8515,7 @@ export const describeBulkImportJob: API.OperationMethod< ThrottlingException, ], operationName: "DescribeBulkImportJob", + endpointHostPrefix: "data.", })); export type DescribeComputationModelError = | InternalFailureException @@ -8501,6 +8541,7 @@ export const describeComputationModel: API.OperationMethod< ThrottlingException, ], operationName: "DescribeComputationModel", + endpointHostPrefix: "api.", })); export type DescribeComputationModelExecutionSummaryError = | InternalFailureException @@ -8526,6 +8567,7 @@ export const describeComputationModelExecutionSummary: API.OperationMethod< ThrottlingException, ], operationName: "DescribeComputationModelExecutionSummary", + endpointHostPrefix: "api.", })); export type DescribeDashboardError = | InternalFailureException @@ -8551,6 +8593,7 @@ export const describeDashboard: API.OperationMethod< ThrottlingException, ], operationName: "DescribeDashboard", + endpointHostPrefix: "monitor.", })); export type DescribeDatasetError = | InternalFailureException @@ -8576,6 +8619,7 @@ export const describeDataset: API.OperationMethod< ThrottlingException, ], operationName: "DescribeDataset", + endpointHostPrefix: "api.", })); export type DescribeDefaultEncryptionConfigurationError = | InternalFailureException @@ -8601,6 +8645,7 @@ export const describeDefaultEncryptionConfiguration: API.OperationMethod< ThrottlingException, ], operationName: "DescribeDefaultEncryptionConfiguration", + endpointHostPrefix: "api.", })); export type DescribeExecutionError = | InternalFailureException @@ -8626,6 +8671,7 @@ export const describeExecution: API.OperationMethod< ThrottlingException, ], operationName: "DescribeExecution", + endpointHostPrefix: "api.", })); export type DescribeGatewayError = | InternalFailureException @@ -8651,6 +8697,7 @@ export const describeGateway: API.OperationMethod< ThrottlingException, ], operationName: "DescribeGateway", + endpointHostPrefix: "api.", })); export type DescribeGatewayCapabilityConfigurationError = | InternalFailureException @@ -8688,6 +8735,7 @@ export const describeGatewayCapabilityConfiguration: API.OperationMethod< ThrottlingException, ], operationName: "DescribeGatewayCapabilityConfiguration", + endpointHostPrefix: "api.", })); export type DescribeLoggingOptionsError = | InternalFailureException @@ -8713,6 +8761,7 @@ export const describeLoggingOptions: API.OperationMethod< ThrottlingException, ], operationName: "DescribeLoggingOptions", + endpointHostPrefix: "api.", })); export type DescribePortalError = | InternalFailureException @@ -8738,6 +8787,7 @@ export const describePortal: API.OperationMethod< ThrottlingException, ], operationName: "DescribePortal", + endpointHostPrefix: "monitor.", })); export type DescribeProjectError = | InternalFailureException @@ -8763,6 +8813,7 @@ export const describeProject: API.OperationMethod< ThrottlingException, ], operationName: "DescribeProject", + endpointHostPrefix: "monitor.", })); export type DescribeStorageConfigurationError = | ConflictingOperationException @@ -8792,6 +8843,7 @@ export const describeStorageConfiguration: API.OperationMethod< ThrottlingException, ], operationName: "DescribeStorageConfiguration", + endpointHostPrefix: "api.", })); export type DescribeTimeSeriesError = | InternalFailureException @@ -8829,6 +8881,7 @@ export const describeTimeSeries: API.OperationMethod< ThrottlingException, ], operationName: "DescribeTimeSeries", + endpointHostPrefix: "api.", })); export type DisassociateAssetsError = | ConflictingOperationException @@ -8857,6 +8910,7 @@ export const disassociateAssets: API.OperationMethod< ThrottlingException, ], operationName: "DisassociateAssets", + endpointHostPrefix: "api.", })); export type DisassociateTimeSeriesFromAssetPropertyError = | ConflictingOperationException @@ -8884,6 +8938,7 @@ export const disassociateTimeSeriesFromAssetProperty: API.OperationMethod< ThrottlingException, ], operationName: "DisassociateTimeSeriesFromAssetProperty", + endpointHostPrefix: "api.", })); export type ExecuteActionError = | ConflictingOperationException @@ -8913,6 +8968,7 @@ export const executeAction: API.OperationMethod< ThrottlingException, ], operationName: "ExecuteAction", + endpointHostPrefix: "api.", })); export type ExecuteQueryError = | AccessDeniedException @@ -8960,6 +9016,7 @@ export const executeQuery: API.OperationMethod< ValidationException, ], operationName: "ExecuteQuery", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9016,6 +9073,7 @@ export const getAssetPropertyAggregates: API.OperationMethod< ThrottlingException, ], operationName: "GetAssetPropertyAggregates", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9057,6 +9115,7 @@ export const getAssetPropertyValue: API.OperationMethod< ThrottlingException, ], operationName: "GetAssetPropertyValue", + endpointHostPrefix: "data.", })); export type GetAssetPropertyValueHistoryError = | InternalFailureException @@ -9107,6 +9166,7 @@ export const getAssetPropertyValueHistory: API.OperationMethod< ThrottlingException, ], operationName: "GetAssetPropertyValueHistory", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9167,6 +9227,7 @@ export const getInterpolatedAssetPropertyValues: API.OperationMethod< ThrottlingException, ], operationName: "GetInterpolatedAssetPropertyValues", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9204,6 +9265,7 @@ export const invokeAssistant: API.OperationMethod< ThrottlingException, ], operationName: "InvokeAssistant", + endpointHostPrefix: "data.", })); export type ListAccessPoliciesError = | InternalFailureException @@ -9243,6 +9305,7 @@ export const listAccessPolicies: API.OperationMethod< ThrottlingException, ], operationName: "ListAccessPolicies", + endpointHostPrefix: "monitor.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9289,6 +9352,7 @@ export const listActions: API.OperationMethod< ThrottlingException, ], operationName: "ListActions", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9335,6 +9399,7 @@ export const listAssetModelCompositeModels: API.OperationMethod< ThrottlingException, ], operationName: "ListAssetModelCompositeModels", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9383,6 +9448,7 @@ export const listAssetModelProperties: API.OperationMethod< ThrottlingException, ], operationName: "ListAssetModelProperties", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9427,6 +9493,7 @@ export const listAssetModels: API.OperationMethod< ThrottlingException, ], operationName: "ListAssetModels", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9475,6 +9542,7 @@ export const listAssetProperties: API.OperationMethod< ThrottlingException, ], operationName: "ListAssetProperties", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9523,6 +9591,7 @@ export const listAssetRelationships: API.OperationMethod< ThrottlingException, ], operationName: "ListAssetRelationships", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9579,6 +9648,7 @@ export const listAssets: API.OperationMethod< ThrottlingException, ], operationName: "ListAssets", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9631,6 +9701,7 @@ export const listAssociatedAssets: API.OperationMethod< ThrottlingException, ], operationName: "ListAssociatedAssets", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9678,6 +9749,7 @@ export const listBulkImportJobs: API.OperationMethod< ThrottlingException, ], operationName: "ListBulkImportJobs", + endpointHostPrefix: "data.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9725,6 +9797,7 @@ export const listCompositionRelationships: API.OperationMethod< ThrottlingException, ], operationName: "ListCompositionRelationships", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9771,6 +9844,7 @@ export const listComputationModelDataBindingUsages: API.OperationMethod< ThrottlingException, ], operationName: "ListComputationModelDataBindingUsages", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9818,6 +9892,7 @@ export const listComputationModelResolveToResources: API.OperationMethod< ThrottlingException, ], operationName: "ListComputationModelResolveToResources", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9862,6 +9937,7 @@ export const listComputationModels: API.OperationMethod< ThrottlingException, ], operationName: "ListComputationModels", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9906,6 +9982,7 @@ export const listDashboards: API.OperationMethod< ThrottlingException, ], operationName: "ListDashboards", + endpointHostPrefix: "monitor.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9950,6 +10027,7 @@ export const listDatasets: API.OperationMethod< ThrottlingException, ], operationName: "ListDatasets", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9996,6 +10074,7 @@ export const listExecutions: API.OperationMethod< ThrottlingException, ], operationName: "ListExecutions", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10040,6 +10119,7 @@ export const listGateways: API.OperationMethod< ThrottlingException, ], operationName: "ListGateways", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10087,6 +10167,7 @@ export const listInterfaceRelationships: API.OperationMethod< ThrottlingException, ], operationName: "ListInterfaceRelationships", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10131,6 +10212,7 @@ export const listPortals: API.OperationMethod< ThrottlingException, ], operationName: "ListPortals", + endpointHostPrefix: "monitor.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10175,6 +10257,7 @@ export const listProjectAssets: API.OperationMethod< ThrottlingException, ], operationName: "ListProjectAssets", + endpointHostPrefix: "monitor.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10219,6 +10302,7 @@ export const listProjects: API.OperationMethod< ThrottlingException, ], operationName: "ListProjects", + endpointHostPrefix: "monitor.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10256,6 +10340,7 @@ export const listTagsForResource: API.OperationMethod< UnauthorizedException, ], operationName: "ListTagsForResource", + endpointHostPrefix: "api.", })); export type ListTimeSeriesError = | InternalFailureException @@ -10296,6 +10381,7 @@ export const listTimeSeries: API.OperationMethod< ThrottlingException, ], operationName: "ListTimeSeries", + endpointHostPrefix: "api.", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10332,6 +10418,7 @@ export const putAssetModelInterfaceRelationship: API.OperationMethod< ThrottlingException, ], operationName: "PutAssetModelInterfaceRelationship", + endpointHostPrefix: "api.", })); export type PutDefaultEncryptionConfigurationError = | ConflictingOperationException @@ -10361,6 +10448,7 @@ export const putDefaultEncryptionConfiguration: API.OperationMethod< ThrottlingException, ], operationName: "PutDefaultEncryptionConfiguration", + endpointHostPrefix: "api.", })); export type PutLoggingOptionsError = | ConflictingOperationException @@ -10388,6 +10476,7 @@ export const putLoggingOptions: API.OperationMethod< ThrottlingException, ], operationName: "PutLoggingOptions", + endpointHostPrefix: "api.", })); export type PutStorageConfigurationError = | ConflictingOperationException @@ -10419,6 +10508,7 @@ export const putStorageConfiguration: API.OperationMethod< ThrottlingException, ], operationName: "PutStorageConfiguration", + endpointHostPrefix: "api.", })); export type TagResourceError = | ConflictingOperationException @@ -10453,6 +10543,7 @@ export const tagResource: API.OperationMethod< UnauthorizedException, ], operationName: "TagResource", + endpointHostPrefix: "api.", })); export type UntagResourceError = | ConflictingOperationException @@ -10484,6 +10575,7 @@ export const untagResource: API.OperationMethod< UnauthorizedException, ], operationName: "UntagResource", + endpointHostPrefix: "api.", })); export type UpdateAccessPolicyError = | InternalFailureException @@ -10510,6 +10602,7 @@ export const updateAccessPolicy: API.OperationMethod< ThrottlingException, ], operationName: "UpdateAccessPolicy", + endpointHostPrefix: "monitor.", })); export type UpdateAssetError = | ConflictingOperationException @@ -10540,6 +10633,7 @@ export const updateAsset: API.OperationMethod< ThrottlingException, ], operationName: "UpdateAsset", + endpointHostPrefix: "api.", })); export type UpdateAssetModelError = | ConflictingOperationException @@ -10589,6 +10683,7 @@ export const updateAssetModel: API.OperationMethod< ThrottlingException, ], operationName: "UpdateAssetModel", + endpointHostPrefix: "api.", })); export type UpdateAssetModelCompositeModelError = | ConflictingOperationException @@ -10638,6 +10733,7 @@ export const updateAssetModelCompositeModel: API.OperationMethod< ThrottlingException, ], operationName: "UpdateAssetModelCompositeModel", + endpointHostPrefix: "api.", })); export type UpdateAssetPropertyError = | ConflictingOperationException @@ -10669,6 +10765,7 @@ export const updateAssetProperty: API.OperationMethod< ThrottlingException, ], operationName: "UpdateAssetProperty", + endpointHostPrefix: "api.", })); export type UpdateComputationModelError = | ConflictingOperationException @@ -10700,6 +10797,7 @@ export const updateComputationModel: API.OperationMethod< ThrottlingException, ], operationName: "UpdateComputationModel", + endpointHostPrefix: "api.", })); export type UpdateDashboardError = | InternalFailureException @@ -10725,6 +10823,7 @@ export const updateDashboard: API.OperationMethod< ThrottlingException, ], operationName: "UpdateDashboard", + endpointHostPrefix: "monitor.", })); export type UpdateDatasetError = | ConflictingOperationException @@ -10754,6 +10853,7 @@ export const updateDataset: API.OperationMethod< ThrottlingException, ], operationName: "UpdateDataset", + endpointHostPrefix: "api.", })); export type UpdateGatewayError = | ConflictingOperationException @@ -10781,6 +10881,7 @@ export const updateGateway: API.OperationMethod< ThrottlingException, ], operationName: "UpdateGateway", + endpointHostPrefix: "api.", })); export type UpdateGatewayCapabilityConfigurationError = | ConflictingOperationException @@ -10826,6 +10927,7 @@ export const updateGatewayCapabilityConfiguration: API.OperationMethod< ThrottlingException, ], operationName: "UpdateGatewayCapabilityConfiguration", + endpointHostPrefix: "api.", })); export type UpdatePortalError = | ConflictingOperationException @@ -10853,6 +10955,7 @@ export const updatePortal: API.OperationMethod< ThrottlingException, ], operationName: "UpdatePortal", + endpointHostPrefix: "monitor.", })); export type UpdateProjectError = | InternalFailureException @@ -10878,4 +10981,5 @@ export const updateProject: API.OperationMethod< ThrottlingException, ], operationName: "UpdateProject", + endpointHostPrefix: "monitor.", })); diff --git a/packages/aws/src/services/ivs-realtime.ts b/packages/aws/src/services/ivs-realtime.ts index 6ea8b61574..16f556e336 100644 --- a/packages/aws/src/services/ivs-realtime.ts +++ b/packages/aws/src/services/ivs-realtime.ts @@ -2350,6 +2350,7 @@ export class AccessDeniedException extends S.TaggedErrorClass()( "ConflictException", @@ -2374,6 +2375,7 @@ export class ConflictException extends S.TaggedErrorClass()( xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -2398,6 +2400,7 @@ export class InternalServerException extends S.TaggedErrorClass()( "PendingVerification", @@ -2422,6 +2425,7 @@ export class PendingVerification extends S.TaggedErrorClass xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -2446,6 +2450,7 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -2470,6 +2475,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ValidationException", @@ -2494,7 +2500,12 @@ export class ValidationException extends S.TaggedErrorClass xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} +export class ThrottlingException extends S.TaggedErrorClass()( + "ThrottlingException", + {}, +) {} //# Operations export type CreateEncoderConfigurationError = @@ -2590,6 +2601,7 @@ export type CreateStageError = | PendingVerification | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Creates a new stage (and optionally participant tokens). @@ -2607,6 +2619,7 @@ export const createStage: API.OperationMethod< PendingVerification, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "CreateStage", })); @@ -2734,6 +2747,7 @@ export type DeleteStageError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Shuts down and deletes the specified stage (disconnecting all participants). This operation also @@ -2754,6 +2768,7 @@ export const deleteStage: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteStage", })); @@ -2948,6 +2963,7 @@ export type GetStageError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets information for the specified stage. @@ -2964,6 +2980,7 @@ export const getStage: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetStage", })); @@ -3340,6 +3357,7 @@ export type ListStagesError = | AccessDeniedException | ConflictException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about all stages in your account, in the AWS region where the @@ -3368,7 +3386,12 @@ export const listStages: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListStagesRequest, output: ListStagesResponse, - errors: [AccessDeniedException, ConflictException, ValidationException], + errors: [ + AccessDeniedException, + ConflictException, + ValidationException, + ThrottlingException, + ], operationName: "ListStages", pagination: { inputToken: "nextToken", @@ -3466,6 +3489,7 @@ export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets information about AWS tags for the specified ARN. @@ -3482,6 +3506,7 @@ export const listTagsForResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "ListTagsForResource", })); @@ -3623,6 +3648,7 @@ export type TagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Adds or updates tags for the AWS resource with the specified ARN. @@ -3639,6 +3665,7 @@ export const tagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "TagResource", })); @@ -3646,6 +3673,7 @@ export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Removes tags from the resource with the specified ARN. @@ -3662,6 +3690,7 @@ export const untagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "UntagResource", })); @@ -3699,6 +3728,7 @@ export type UpdateStageError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Updates a stage’s configuration. @@ -3718,6 +3748,7 @@ export const updateStage: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "UpdateStage", })); diff --git a/packages/aws/src/services/ivs.ts b/packages/aws/src/services/ivs.ts index 5abe91dc73..7e38503ab1 100644 --- a/packages/aws/src/services/ivs.ts +++ b/packages/aws/src/services/ivs.ts @@ -2153,6 +2153,7 @@ export class AccessDeniedException extends S.TaggedErrorClass()( "ServiceUnavailable", @@ -2177,6 +2178,7 @@ export class ServiceUnavailable extends S.TaggedErrorClass() xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(503), ).pipe(C.withServerError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -2201,6 +2203,7 @@ export class ValidationException extends S.TaggedErrorClass xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class PendingVerification extends S.TaggedErrorClass()( "PendingVerification", @@ -2225,6 +2228,7 @@ export class PendingVerification extends S.TaggedErrorClass xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -2249,6 +2253,7 @@ export class ThrottlingException extends S.TaggedErrorClass xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -2273,6 +2278,7 @@ export class ConflictException extends S.TaggedErrorClass()( xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -2297,6 +2303,7 @@ export class InternalServerException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -2321,6 +2328,7 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -2345,6 +2353,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ChannelNotBroadcasting", @@ -2369,6 +2378,7 @@ export class ChannelNotBroadcasting extends S.TaggedErrorClass()( "StreamUnavailable", @@ -2393,6 +2403,7 @@ export class StreamUnavailable extends S.TaggedErrorClass()( xAmznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), exceptionMessage: S.optional(S.String), }, + T.HttpError(503), ).pipe(C.withServerError) {} //# Operations @@ -2498,6 +2509,7 @@ export type CreateChannelError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Creates a new channel and an associated stream key to start streaming. @@ -2516,6 +2528,7 @@ export const createChannel: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "CreateChannel", })); @@ -2585,6 +2598,7 @@ export type CreateStreamKeyError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Creates a stream key, used to initiate a stream, for the specified channel ARN. @@ -2605,6 +2619,7 @@ export const createStreamKey: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "CreateStreamKey", })); @@ -2641,6 +2656,7 @@ export type DeleteChannelError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the specified channel and its associated stream keys. @@ -2661,6 +2677,7 @@ export const deleteChannel: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteChannel", })); @@ -2669,6 +2686,7 @@ export type DeletePlaybackKeyPairError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s `privateKey`. For more information, see Setting Up Private Channels in the *Amazon IVS User Guide*. @@ -2686,6 +2704,7 @@ export const deletePlaybackKeyPair: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeletePlaybackKeyPair", })); @@ -2750,6 +2769,7 @@ export type DeleteStreamKeyError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the stream key for the specified ARN, so it can no longer be used to stream. @@ -2767,6 +2787,7 @@ export const deleteStreamKey: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteStreamKey", })); @@ -2799,6 +2820,7 @@ export type GetChannelError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets the channel configuration for the specified channel ARN. See also BatchGetChannel. @@ -2815,6 +2837,7 @@ export const getChannel: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetChannel", })); @@ -2822,6 +2845,7 @@ export type GetPlaybackKeyPairError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets a specified playback authorization key pair and returns the `arn` and `fingerprint`. The `privateKey` held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see Setting Up Private Channels in the *Amazon IVS User Guide*. @@ -2838,6 +2862,7 @@ export const getPlaybackKeyPair: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetPlaybackKeyPair", })); @@ -2920,6 +2945,7 @@ export type GetStreamKeyError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets stream-key information for a specified ARN. @@ -2936,6 +2962,7 @@ export const getStreamKey: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetStreamKey", })); @@ -2968,6 +2995,7 @@ export type ImportPlaybackKeyPairError = | PendingVerification | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Imports the public portion of a new key pair and returns its `arn` and `fingerprint`. The `privateKey` can then be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see Setting Up Private Channels in the *Amazon IVS User Guide*. @@ -2986,6 +3014,7 @@ export const importPlaybackKeyPair: API.OperationMethod< PendingVerification, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "ImportPlaybackKeyPair", })); @@ -3066,6 +3095,7 @@ export type ListChannelsError = | AccessDeniedException | ConflictException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 ConflictException). @@ -3093,7 +3123,12 @@ export const listChannels: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListChannelsRequest, output: ListChannelsResponse, - errors: [AccessDeniedException, ConflictException, ValidationException], + errors: [ + AccessDeniedException, + ConflictException, + ValidationException, + ThrottlingException, + ], operationName: "ListChannels", pagination: { inputToken: "nextToken", @@ -3104,6 +3139,7 @@ export const listChannels: API.OperationMethod< export type ListPlaybackKeyPairsError = | AccessDeniedException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about playback key pairs. For more information, see Setting Up Private Channels in the *Amazon IVS User Guide*. @@ -3131,7 +3167,7 @@ export const listPlaybackKeyPairs: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListPlaybackKeyPairsRequest, output: ListPlaybackKeyPairsResponse, - errors: [AccessDeniedException, ValidationException], + errors: [AccessDeniedException, ValidationException, ThrottlingException], operationName: "ListPlaybackKeyPairs", pagination: { inputToken: "nextToken", @@ -3227,6 +3263,7 @@ export type ListStreamKeysError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about stream keys for the specified channel. @@ -3258,6 +3295,7 @@ export const listStreamKeys: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "ListStreamKeys", pagination: { @@ -3351,6 +3389,7 @@ export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets information about Amazon Web Services tags for the specified ARN. @@ -3367,6 +3406,7 @@ export const listTagsForResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "ListTagsForResource", })); @@ -3459,6 +3499,7 @@ export type TagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Adds or updates tags for the Amazon Web Services resource with the specified ARN. @@ -3475,6 +3516,7 @@ export const tagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "TagResource", })); @@ -3482,6 +3524,7 @@ export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Removes tags from the resource with the specified ARN. @@ -3498,6 +3541,7 @@ export const untagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "UntagResource", })); @@ -3540,6 +3584,7 @@ export type UpdateChannelError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect. @@ -3558,6 +3603,7 @@ export const updateChannel: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "UpdateChannel", })); diff --git a/packages/aws/src/services/ivschat.ts b/packages/aws/src/services/ivschat.ts index 14f8ef6aec..8edeb86c4e 100644 --- a/packages/aws/src/services/ivschat.ts +++ b/packages/aws/src/services/ivschat.ts @@ -951,14 +951,17 @@ export const UpdateRoomResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class PendingVerification extends S.TaggedErrorClass()( "PendingVerification", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -967,10 +970,12 @@ export class ValidationException extends S.TaggedErrorClass reason: S.String, fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -980,19 +985,16 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ThrottlingException", - { - message: S.String, - resourceId: S.String, - resourceType: S.String, - limit: S.Number, - }, -).pipe(C.withThrottlingError) {} + {}, +) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} //# Operations @@ -1042,6 +1044,7 @@ export type CreateLoggingConfigurationError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Creates a logging configuration that allows clients to store and record sent @@ -1062,6 +1065,7 @@ export const createLoggingConfiguration: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "CreateLoggingConfiguration", })); @@ -1072,6 +1076,7 @@ export type CreateRoomError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Creates a room that allows clients to connect and pass messages. @@ -1091,6 +1096,7 @@ export const createRoom: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "CreateRoom", })); @@ -1100,6 +1106,7 @@ export type DeleteLoggingConfigurationError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the specified logging configuration. @@ -1118,6 +1125,7 @@ export const deleteLoggingConfiguration: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteLoggingConfiguration", })); @@ -1156,6 +1164,7 @@ export type DeleteRoomError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the specified room. @@ -1173,6 +1182,7 @@ export const deleteRoom: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteRoom", })); @@ -1209,6 +1219,7 @@ export type GetLoggingConfigurationError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets the specified logging configuration. @@ -1225,6 +1236,7 @@ export const getLoggingConfiguration: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetLoggingConfiguration", })); @@ -1232,6 +1244,7 @@ export type GetRoomError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets the specified room. @@ -1248,12 +1261,14 @@ export const getRoom: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetRoom", })); export type ListLoggingConfigurationsError = | AccessDeniedException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about all your logging configurations in the AWS region where @@ -1282,7 +1297,7 @@ export const listLoggingConfigurations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListLoggingConfigurationsRequest, output: ListLoggingConfigurationsResponse, - errors: [AccessDeniedException, ValidationException], + errors: [AccessDeniedException, ValidationException, ThrottlingException], operationName: "ListLoggingConfigurations", pagination: { inputToken: "nextToken", @@ -1294,6 +1309,7 @@ export type ListRoomsError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about all your rooms in the AWS region where the API request is @@ -1326,6 +1342,7 @@ export const listRooms: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "ListRooms", pagination: { @@ -1338,6 +1355,7 @@ export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets information about AWS tags for the specified ARN. @@ -1354,6 +1372,7 @@ export const listTagsForResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "ListTagsForResource", })); @@ -1390,6 +1409,7 @@ export type TagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Adds or updates tags for the AWS resource with the specified ARN. @@ -1406,6 +1426,7 @@ export const tagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "TagResource", })); @@ -1413,6 +1434,7 @@ export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Removes tags from the resource with the specified ARN. @@ -1429,6 +1451,7 @@ export const untagResource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "UntagResource", })); @@ -1438,6 +1461,7 @@ export type UpdateLoggingConfigurationError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Updates a specified logging configuration. @@ -1456,6 +1480,7 @@ export const updateLoggingConfiguration: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "UpdateLoggingConfiguration", })); @@ -1464,6 +1489,7 @@ export type UpdateRoomError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Updates a room’s configuration. @@ -1481,6 +1507,7 @@ export const updateRoom: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "UpdateRoom", })); diff --git a/packages/aws/src/services/lex-models-v2.ts b/packages/aws/src/services/lex-models-v2.ts index 3493b672fe..126c60a83c 100644 --- a/packages/aws/src/services/lex-models-v2.ts +++ b/packages/aws/src/services/lex-models-v2.ts @@ -10334,14 +10334,17 @@ export const UpdateTestSetResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -10349,18 +10352,22 @@ export class ThrottlingException extends S.TaggedErrorClass retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), message: S.optional(S.String), }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class PreconditionFailedException extends S.TaggedErrorClass()( "PreconditionFailedException", { message: S.optional(S.String) }, + T.HttpError(412), ) {} //# Operations @@ -12075,6 +12082,7 @@ export type ListBotAliasesError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Gets a list of aliases for the specified bot. @@ -12107,6 +12115,7 @@ export const listBotAliases: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListBotAliases", pagination: { @@ -12835,6 +12844,7 @@ export type ListIntentsError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Get a list of intents that meet the specified criteria. @@ -12867,6 +12877,7 @@ export const listIntents: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListIntents", pagination: { @@ -13143,6 +13154,7 @@ export type ListSlotTypesError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Gets a list of slot types that match the specified criteria. @@ -13175,6 +13187,7 @@ export const listSlotTypes: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListSlotTypes", pagination: { diff --git a/packages/aws/src/services/medialive.ts b/packages/aws/src/services/medialive.ts index a27042b66e..426a7b1caa 100644 --- a/packages/aws/src/services/medialive.ts +++ b/packages/aws/src/services/medialive.ts @@ -20155,34 +20155,42 @@ export const UpdateSdiSourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class BadGatewayException extends S.TaggedErrorClass()( "BadGatewayException", { Message: S.optional(S.String) }, + T.HttpError(502), ).pipe(C.withServerError) {} export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class GatewayTimeoutException extends S.TaggedErrorClass()( "GatewayTimeoutException", { Message: S.optional(S.String) }, + T.HttpError(504), ).pipe(C.withTimeoutError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnprocessableEntityException extends S.TaggedErrorClass()( "UnprocessableEntityException", @@ -20190,7 +20198,19 @@ export class UnprocessableEntityException extends S.TaggedErrorClass()( + "MediaLiveRoleNotYetTrusted", + { + Message: S.optional(S.String), + ValidationErrors: S.optional(__listOfValidationError), + }, + T.SyntheticError({ + from: "UnprocessableEntityException", + message: { includes: "is a trusted service" }, + }), +).pipe(C.withRetryableError) {} //# Operations export type AcceptInputDeviceTransferError = @@ -20437,6 +20457,7 @@ export type CreateChannelError = | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException + | MediaLiveRoleNotYetTrusted | CommonErrors; /** * Creates a new channel @@ -20458,6 +20479,7 @@ export const createChannel: API.OperationMethod< InternalServerErrorException, TooManyRequestsException, UnprocessableEntityException, + MediaLiveRoleNotYetTrusted, ], operationName: "CreateChannel", })); diff --git a/packages/aws/src/services/mediatailor.ts b/packages/aws/src/services/mediatailor.ts index fea0bc022e..489fb16042 100644 --- a/packages/aws/src/services/mediatailor.ts +++ b/packages/aws/src/services/mediatailor.ts @@ -3546,6 +3546,14 @@ export class BadRequestException extends S.TaggedErrorClass "BadRequestException", { Message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class PlaybackConfigurationNotFound extends S.TaggedErrorClass()( + "PlaybackConfigurationNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "NotFoundException", + message: { includes: "not found" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type ConfigureLogsForPlaybackConfigurationError = CommonErrors; @@ -4118,7 +4126,9 @@ export const putPlaybackConfiguration: API.OperationMethod< errors: [], operationName: "PutPlaybackConfiguration", })); -export type GetPlaybackConfigurationError = CommonErrors; +export type GetPlaybackConfigurationError = + | PlaybackConfigurationNotFound + | CommonErrors; /** * Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor. */ @@ -4130,7 +4140,7 @@ export const getPlaybackConfiguration: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetPlaybackConfigurationRequest, output: GetPlaybackConfigurationResponse, - errors: [], + errors: [PlaybackConfigurationNotFound], operationName: "GetPlaybackConfiguration", })); export type DeletePlaybackConfigurationError = CommonErrors; diff --git a/packages/aws/src/services/omics.ts b/packages/aws/src/services/omics.ts index 0830a9632d..1f9f6249ee 100644 --- a/packages/aws/src/services/omics.ts +++ b/packages/aws/src/services/omics.ts @@ -6749,45 +6749,52 @@ export const ListWorkflowVersionsResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class NotSupportedOperationException extends S.TaggedErrorClass()( "NotSupportedOperationException", { message: S.String }, + T.HttpError(405), ).pipe(C.withBadRequestError) {} export class RequestTimeoutException extends S.TaggedErrorClass()( "RequestTimeoutException", { message: S.String }, + T.HttpError(408), ).pipe(C.withTimeoutError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.String }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class RangeNotSatisfiableException extends S.TaggedErrorClass()( "RangeNotSatisfiableException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(416), T.Retryable()), ).pipe(C.withRetryableError) {} //# Operations @@ -6821,6 +6828,7 @@ export const deleteS3AccessPolicy: API.OperationMethod< ValidationException, ], operationName: "DeleteS3AccessPolicy", + endpointHostPrefix: "control-storage-", })); export type GetS3AccessPolicyError = | AccessDeniedException @@ -6854,6 +6862,7 @@ export const getS3AccessPolicy: API.OperationMethod< ValidationException, ], operationName: "GetS3AccessPolicy", + endpointHostPrefix: "control-storage-", })); export type PutS3AccessPolicyError = | AccessDeniedException @@ -6885,6 +6894,7 @@ export const putS3AccessPolicy: API.OperationMethod< ValidationException, ], operationName: "PutS3AccessPolicy", + endpointHostPrefix: "control-storage-", })); export type StartAnnotationImportJobError = | AccessDeniedException @@ -6916,6 +6926,7 @@ export const startAnnotationImportJob: API.OperationMethod< ValidationException, ], operationName: "StartAnnotationImportJob", + endpointHostPrefix: "analytics-", })); export type GetAnnotationImportJobError = | AccessDeniedException @@ -6945,6 +6956,7 @@ export const getAnnotationImportJob: API.OperationMethod< ValidationException, ], operationName: "GetAnnotationImportJob", + endpointHostPrefix: "analytics-", })); export type CancelAnnotationImportJobError = | AccessDeniedException @@ -6974,6 +6986,7 @@ export const cancelAnnotationImportJob: API.OperationMethod< ValidationException, ], operationName: "CancelAnnotationImportJob", + endpointHostPrefix: "analytics-", })); export type ListAnnotationImportJobsError = | AccessDeniedException @@ -7018,6 +7031,7 @@ export const listAnnotationImportJobs: API.OperationMethod< ValidationException, ], operationName: "ListAnnotationImportJobs", + endpointHostPrefix: "analytics-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7057,6 +7071,7 @@ export const createAnnotationStore: API.OperationMethod< ValidationException, ], operationName: "CreateAnnotationStore", + endpointHostPrefix: "analytics-", })); export type GetAnnotationStoreError = | AccessDeniedException @@ -7086,6 +7101,7 @@ export const getAnnotationStore: API.OperationMethod< ValidationException, ], operationName: "GetAnnotationStore", + endpointHostPrefix: "analytics-", })); export type UpdateAnnotationStoreError = | AccessDeniedException @@ -7115,6 +7131,7 @@ export const updateAnnotationStore: API.OperationMethod< ValidationException, ], operationName: "UpdateAnnotationStore", + endpointHostPrefix: "analytics-", })); export type DeleteAnnotationStoreError = | AccessDeniedException @@ -7146,6 +7163,7 @@ export const deleteAnnotationStore: API.OperationMethod< ValidationException, ], operationName: "DeleteAnnotationStore", + endpointHostPrefix: "analytics-", })); export type ListAnnotationStoresError = | AccessDeniedException @@ -7190,6 +7208,7 @@ export const listAnnotationStores: API.OperationMethod< ValidationException, ], operationName: "ListAnnotationStores", + endpointHostPrefix: "analytics-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7227,6 +7246,7 @@ export const createAnnotationStoreVersion: API.OperationMethod< ValidationException, ], operationName: "CreateAnnotationStoreVersion", + endpointHostPrefix: "analytics-", })); export type GetAnnotationStoreVersionError = | AccessDeniedException @@ -7254,6 +7274,7 @@ export const getAnnotationStoreVersion: API.OperationMethod< ValidationException, ], operationName: "GetAnnotationStoreVersion", + endpointHostPrefix: "analytics-", })); export type UpdateAnnotationStoreVersionError = | AccessDeniedException @@ -7281,6 +7302,7 @@ export const updateAnnotationStoreVersion: API.OperationMethod< ValidationException, ], operationName: "UpdateAnnotationStoreVersion", + endpointHostPrefix: "analytics-", })); export type ListAnnotationStoreVersionsError = | AccessDeniedException @@ -7323,6 +7345,7 @@ export const listAnnotationStoreVersions: API.OperationMethod< ValidationException, ], operationName: "ListAnnotationStoreVersions", + endpointHostPrefix: "analytics-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7358,6 +7381,7 @@ export const deleteAnnotationStoreVersions: API.OperationMethod< ValidationException, ], operationName: "DeleteAnnotationStoreVersions", + endpointHostPrefix: "analytics-", })); export type CreateConfigurationError = | AccessDeniedException @@ -7391,6 +7415,7 @@ export const createConfiguration: API.OperationMethod< ValidationException, ], operationName: "CreateConfiguration", + endpointHostPrefix: "workflows-", })); export type GetConfigurationError = | AccessDeniedException @@ -7424,6 +7449,7 @@ export const getConfiguration: API.OperationMethod< ValidationException, ], operationName: "GetConfiguration", + endpointHostPrefix: "workflows-", })); export type DeleteConfigurationError = | AccessDeniedException @@ -7457,6 +7483,7 @@ export const deleteConfiguration: API.OperationMethod< ValidationException, ], operationName: "DeleteConfiguration", + endpointHostPrefix: "workflows-", })); export type ListConfigurationsError = | AccessDeniedException @@ -7505,6 +7532,7 @@ export const listConfigurations: API.OperationMethod< ValidationException, ], operationName: "ListConfigurations", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -7542,6 +7570,7 @@ export const createReferenceStore: API.OperationMethod< ValidationException, ], operationName: "CreateReferenceStore", + endpointHostPrefix: "control-storage-", })); export type GetReferenceStoreError = | AccessDeniedException @@ -7571,6 +7600,7 @@ export const getReferenceStore: API.OperationMethod< ValidationException, ], operationName: "GetReferenceStore", + endpointHostPrefix: "control-storage-", })); export type DeleteReferenceStoreError = | AccessDeniedException @@ -7604,6 +7634,7 @@ export const deleteReferenceStore: API.OperationMethod< ValidationException, ], operationName: "DeleteReferenceStore", + endpointHostPrefix: "control-storage-", })); export type ListReferenceStoresError = | AccessDeniedException @@ -7648,6 +7679,7 @@ export const listReferenceStores: API.OperationMethod< ValidationException, ], operationName: "ListReferenceStores", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7683,6 +7715,7 @@ export const getReferenceImportJob: API.OperationMethod< ValidationException, ], operationName: "GetReferenceImportJob", + endpointHostPrefix: "control-storage-", })); export type ListReferenceImportJobsError = | AccessDeniedException @@ -7727,6 +7760,7 @@ export const listReferenceImportJobs: API.OperationMethod< ValidationException, ], operationName: "ListReferenceImportJobs", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7764,6 +7798,7 @@ export const startReferenceImportJob: API.OperationMethod< ValidationException, ], operationName: "StartReferenceImportJob", + endpointHostPrefix: "control-storage-", })); export type GetReferenceMetadataError = | AccessDeniedException @@ -7793,6 +7828,7 @@ export const getReferenceMetadata: API.OperationMethod< ValidationException, ], operationName: "GetReferenceMetadata", + endpointHostPrefix: "control-storage-", })); export type DeleteReferenceError = | AccessDeniedException @@ -7826,6 +7862,7 @@ export const deleteReference: API.OperationMethod< ValidationException, ], operationName: "DeleteReference", + endpointHostPrefix: "control-storage-", })); export type ListReferencesError = | AccessDeniedException @@ -7872,6 +7909,7 @@ export const listReferences: API.OperationMethod< ValidationException, ], operationName: "ListReferences", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -7911,6 +7949,7 @@ export const getReference: API.OperationMethod< ValidationException, ], operationName: "GetReference", + endpointHostPrefix: "storage-", })); export type StartRunBatchError = | AccessDeniedException @@ -7946,6 +7985,7 @@ export const startRunBatch: API.OperationMethod< ValidationException, ], operationName: "StartRunBatch", + endpointHostPrefix: "workflows-", })); export type GetBatchError = | AccessDeniedException @@ -7975,6 +8015,7 @@ export const getBatch: API.OperationMethod< ValidationException, ], operationName: "GetBatch", + endpointHostPrefix: "workflows-", })); export type DeleteBatchError = | AccessDeniedException @@ -8010,6 +8051,7 @@ export const deleteBatch: API.OperationMethod< ValidationException, ], operationName: "DeleteBatch", + endpointHostPrefix: "workflows-", })); export type ListBatchError = | AccessDeniedException @@ -8052,6 +8094,7 @@ export const listBatch: API.OperationMethod< ValidationException, ], operationName: "ListBatch", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -8093,6 +8136,7 @@ export const cancelRunBatch: API.OperationMethod< ValidationException, ], operationName: "CancelRunBatch", + endpointHostPrefix: "workflows-", })); export type DeleteRunBatchError = | AccessDeniedException @@ -8128,6 +8172,7 @@ export const deleteRunBatch: API.OperationMethod< ValidationException, ], operationName: "DeleteRunBatch", + endpointHostPrefix: "workflows-", })); export type ListRunsInBatchError = | AccessDeniedException @@ -8176,6 +8221,7 @@ export const listRunsInBatch: API.OperationMethod< ValidationException, ], operationName: "ListRunsInBatch", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -8217,6 +8263,7 @@ export const createRunCache: API.OperationMethod< ValidationException, ], operationName: "CreateRunCache", + endpointHostPrefix: "workflows-", })); export type GetRunCacheError = | AccessDeniedException @@ -8252,6 +8299,7 @@ export const getRunCache: API.OperationMethod< ValidationException, ], operationName: "GetRunCache", + endpointHostPrefix: "workflows-", })); export type UpdateRunCacheError = | AccessDeniedException @@ -8287,6 +8335,7 @@ export const updateRunCache: API.OperationMethod< ValidationException, ], operationName: "UpdateRunCache", + endpointHostPrefix: "workflows-", })); export type DeleteRunCacheError = | AccessDeniedException @@ -8322,6 +8371,7 @@ export const deleteRunCache: API.OperationMethod< ValidationException, ], operationName: "DeleteRunCache", + endpointHostPrefix: "workflows-", })); export type ListRunCachesError = | AccessDeniedException @@ -8370,6 +8420,7 @@ export const listRunCaches: API.OperationMethod< ValidationException, ], operationName: "ListRunCaches", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -8409,6 +8460,7 @@ export const createRunGroup: API.OperationMethod< ValidationException, ], operationName: "CreateRunGroup", + endpointHostPrefix: "workflows-", })); export type GetRunGroupError = | AccessDeniedException @@ -8442,6 +8494,7 @@ export const getRunGroup: API.OperationMethod< ValidationException, ], operationName: "GetRunGroup", + endpointHostPrefix: "workflows-", })); export type UpdateRunGroupError = | AccessDeniedException @@ -8489,6 +8542,7 @@ export const updateRunGroup: API.OperationMethod< ValidationException, ], operationName: "UpdateRunGroup", + endpointHostPrefix: "workflows-", })); export type DeleteRunGroupError = | AccessDeniedException @@ -8528,6 +8582,7 @@ export const deleteRunGroup: API.OperationMethod< ValidationException, ], operationName: "DeleteRunGroup", + endpointHostPrefix: "workflows-", })); export type ListRunGroupsError = | AccessDeniedException @@ -8576,6 +8631,7 @@ export const listRunGroups: API.OperationMethod< ValidationException, ], operationName: "ListRunGroups", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -8647,6 +8703,7 @@ export const startRun: API.OperationMethod< ValidationException, ], operationName: "StartRun", + endpointHostPrefix: "workflows-", })); export type GetRunError = | AccessDeniedException @@ -8682,6 +8739,7 @@ export const getRun: API.OperationMethod< ValidationException, ], operationName: "GetRun", + endpointHostPrefix: "workflows-", })); export type DeleteRunError = | AccessDeniedException @@ -8721,6 +8779,7 @@ export const deleteRun: API.OperationMethod< ValidationException, ], operationName: "DeleteRun", + endpointHostPrefix: "workflows-", })); export type ListRunsError = | AccessDeniedException @@ -8771,6 +8830,7 @@ export const listRuns: API.OperationMethod< ValidationException, ], operationName: "ListRuns", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -8810,6 +8870,7 @@ export const cancelRun: API.OperationMethod< ValidationException, ], operationName: "CancelRun", + endpointHostPrefix: "workflows-", })); export type GetRunTaskError = | AccessDeniedException @@ -8843,6 +8904,7 @@ export const getRunTask: API.OperationMethod< ValidationException, ], operationName: "GetRunTask", + endpointHostPrefix: "workflows-", })); export type ListRunTasksError = | AccessDeniedException @@ -8891,6 +8953,7 @@ export const listRunTasks: API.OperationMethod< ValidationException, ], operationName: "ListRunTasks", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -8940,6 +9003,7 @@ export const createSequenceStore: API.OperationMethod< ValidationException, ], operationName: "CreateSequenceStore", + endpointHostPrefix: "control-storage-", })); export type GetSequenceStoreError = | AccessDeniedException @@ -8969,6 +9033,7 @@ export const getSequenceStore: API.OperationMethod< ValidationException, ], operationName: "GetSequenceStore", + endpointHostPrefix: "control-storage-", })); export type UpdateSequenceStoreError = | AccessDeniedException @@ -9000,6 +9065,7 @@ export const updateSequenceStore: API.OperationMethod< ValidationException, ], operationName: "UpdateSequenceStore", + endpointHostPrefix: "control-storage-", })); export type DeleteSequenceStoreError = | AccessDeniedException @@ -9035,6 +9101,7 @@ export const deleteSequenceStore: API.OperationMethod< ValidationException, ], operationName: "DeleteSequenceStore", + endpointHostPrefix: "control-storage-", })); export type ListSequenceStoresError = | AccessDeniedException @@ -9079,6 +9146,7 @@ export const listSequenceStores: API.OperationMethod< ValidationException, ], operationName: "ListSequenceStores", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9118,6 +9186,7 @@ export const abortMultipartReadSetUpload: API.OperationMethod< ValidationException, ], operationName: "AbortMultipartReadSetUpload", + endpointHostPrefix: "control-storage-", })); export type CompleteMultipartReadSetUploadError = | AccessDeniedException @@ -9153,6 +9222,7 @@ export const completeMultipartReadSetUpload: API.OperationMethod< ValidationException, ], operationName: "CompleteMultipartReadSetUpload", + endpointHostPrefix: "storage-", })); export type CreateMultipartReadSetUploadError = | AccessDeniedException @@ -9196,6 +9266,7 @@ export const createMultipartReadSetUpload: API.OperationMethod< ValidationException, ], operationName: "CreateMultipartReadSetUpload", + endpointHostPrefix: "control-storage-", })); export type GetReadSetActivationJobError = | AccessDeniedException @@ -9225,6 +9296,7 @@ export const getReadSetActivationJob: API.OperationMethod< ValidationException, ], operationName: "GetReadSetActivationJob", + endpointHostPrefix: "control-storage-", })); export type GetReadSetExportJobError = | AccessDeniedException @@ -9254,6 +9326,7 @@ export const getReadSetExportJob: API.OperationMethod< ValidationException, ], operationName: "GetReadSetExportJob", + endpointHostPrefix: "control-storage-", })); export type GetReadSetImportJobError = | AccessDeniedException @@ -9283,6 +9356,7 @@ export const getReadSetImportJob: API.OperationMethod< ValidationException, ], operationName: "GetReadSetImportJob", + endpointHostPrefix: "control-storage-", })); export type ListMultipartReadSetUploadsError = | AccessDeniedException @@ -9331,6 +9405,7 @@ export const listMultipartReadSetUploads: API.OperationMethod< ValidationException, ], operationName: "ListMultipartReadSetUploads", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9381,6 +9456,7 @@ export const listReadSetActivationJobs: API.OperationMethod< ValidationException, ], operationName: "ListReadSetActivationJobs", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9431,6 +9507,7 @@ export const listReadSetExportJobs: API.OperationMethod< ValidationException, ], operationName: "ListReadSetExportJobs", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9481,6 +9558,7 @@ export const listReadSetImportJobs: API.OperationMethod< ValidationException, ], operationName: "ListReadSetImportJobs", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9535,6 +9613,7 @@ export const listReadSetUploadParts: API.OperationMethod< ValidationException, ], operationName: "ListReadSetUploadParts", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9574,6 +9653,7 @@ export const startReadSetActivationJob: API.OperationMethod< ValidationException, ], operationName: "StartReadSetActivationJob", + endpointHostPrefix: "control-storage-", })); export type StartReadSetExportJobError = | AccessDeniedException @@ -9607,6 +9687,7 @@ export const startReadSetExportJob: API.OperationMethod< ValidationException, ], operationName: "StartReadSetExportJob", + endpointHostPrefix: "control-storage-", })); export type StartReadSetImportJobError = | AccessDeniedException @@ -9638,6 +9719,7 @@ export const startReadSetImportJob: API.OperationMethod< ValidationException, ], operationName: "StartReadSetImportJob", + endpointHostPrefix: "control-storage-", })); export type UploadReadSetPartError = | AccessDeniedException @@ -9673,6 +9755,7 @@ export const uploadReadSetPart: API.OperationMethod< ValidationException, ], operationName: "UploadReadSetPart", + endpointHostPrefix: "storage-", })); export type GetReadSetMetadataError = | AccessDeniedException @@ -9702,6 +9785,7 @@ export const getReadSetMetadata: API.OperationMethod< ValidationException, ], operationName: "GetReadSetMetadata", + endpointHostPrefix: "control-storage-", })); export type ListReadSetsError = | AccessDeniedException @@ -9746,6 +9830,7 @@ export const listReadSets: API.OperationMethod< ValidationException, ], operationName: "ListReadSets", + endpointHostPrefix: "control-storage-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -9785,6 +9870,7 @@ export const getReadSet: API.OperationMethod< ValidationException, ], operationName: "GetReadSet", + endpointHostPrefix: "storage-", })); export type BatchDeleteReadSetError = | AccessDeniedException @@ -9814,6 +9900,7 @@ export const batchDeleteReadSet: API.OperationMethod< ValidationException, ], operationName: "BatchDeleteReadSet", + endpointHostPrefix: "control-storage-", })); export type CreateShareError = | AccessDeniedException @@ -9853,6 +9940,7 @@ export const createShare: API.OperationMethod< ValidationException, ], operationName: "CreateShare", + endpointHostPrefix: "analytics-", })); export type GetShareError = | AccessDeniedException @@ -9884,6 +9972,7 @@ export const getShare: API.OperationMethod< ValidationException, ], operationName: "GetShare", + endpointHostPrefix: "analytics-", })); export type AcceptShareError = | AccessDeniedException @@ -9915,6 +10004,7 @@ export const acceptShare: API.OperationMethod< ValidationException, ], operationName: "AcceptShare", + endpointHostPrefix: "analytics-", })); export type DeleteShareError = | AccessDeniedException @@ -9946,6 +10036,7 @@ export const deleteShare: API.OperationMethod< ValidationException, ], operationName: "DeleteShare", + endpointHostPrefix: "analytics-", })); export type ListSharesError = | AccessDeniedException @@ -9992,6 +10083,7 @@ export const listShares: API.OperationMethod< ValidationException, ], operationName: "ListShares", + endpointHostPrefix: "analytics-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10031,6 +10123,7 @@ export const listTagsForResource: API.OperationMethod< ValidationException, ], operationName: "ListTagsForResource", + endpointHostPrefix: "tags-", })); export type TagResourceError = | AccessDeniedException @@ -10064,6 +10157,7 @@ export const tagResource: API.OperationMethod< ValidationException, ], operationName: "TagResource", + endpointHostPrefix: "tags-", })); export type UntagResourceError = | AccessDeniedException @@ -10097,6 +10191,7 @@ export const untagResource: API.OperationMethod< ValidationException, ], operationName: "UntagResource", + endpointHostPrefix: "tags-", })); export type StartVariantImportJobError = | AccessDeniedException @@ -10128,6 +10223,7 @@ export const startVariantImportJob: API.OperationMethod< ValidationException, ], operationName: "StartVariantImportJob", + endpointHostPrefix: "analytics-", })); export type GetVariantImportJobError = | AccessDeniedException @@ -10157,6 +10253,7 @@ export const getVariantImportJob: API.OperationMethod< ValidationException, ], operationName: "GetVariantImportJob", + endpointHostPrefix: "analytics-", })); export type CancelVariantImportJobError = | AccessDeniedException @@ -10186,6 +10283,7 @@ export const cancelVariantImportJob: API.OperationMethod< ValidationException, ], operationName: "CancelVariantImportJob", + endpointHostPrefix: "analytics-", })); export type ListVariantImportJobsError = | AccessDeniedException @@ -10230,6 +10328,7 @@ export const listVariantImportJobs: API.OperationMethod< ValidationException, ], operationName: "ListVariantImportJobs", + endpointHostPrefix: "analytics-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10269,6 +10368,7 @@ export const createVariantStore: API.OperationMethod< ValidationException, ], operationName: "CreateVariantStore", + endpointHostPrefix: "analytics-", })); export type GetVariantStoreError = | AccessDeniedException @@ -10298,6 +10398,7 @@ export const getVariantStore: API.OperationMethod< ValidationException, ], operationName: "GetVariantStore", + endpointHostPrefix: "analytics-", })); export type UpdateVariantStoreError = | AccessDeniedException @@ -10327,6 +10428,7 @@ export const updateVariantStore: API.OperationMethod< ValidationException, ], operationName: "UpdateVariantStore", + endpointHostPrefix: "analytics-", })); export type DeleteVariantStoreError = | AccessDeniedException @@ -10358,6 +10460,7 @@ export const deleteVariantStore: API.OperationMethod< ValidationException, ], operationName: "DeleteVariantStore", + endpointHostPrefix: "analytics-", })); export type ListVariantStoresError = | AccessDeniedException @@ -10402,6 +10505,7 @@ export const listVariantStores: API.OperationMethod< ValidationException, ], operationName: "ListVariantStores", + endpointHostPrefix: "analytics-", pagination: { inputToken: "nextToken", outputToken: "nextToken", @@ -10453,6 +10557,7 @@ export const createWorkflow: API.OperationMethod< ValidationException, ], operationName: "CreateWorkflow", + endpointHostPrefix: "workflows-", })); export type GetWorkflowError = | AccessDeniedException @@ -10490,6 +10595,7 @@ export const getWorkflow: API.OperationMethod< ValidationException, ], operationName: "GetWorkflow", + endpointHostPrefix: "workflows-", })); export type UpdateWorkflowError = | AccessDeniedException @@ -10537,6 +10643,7 @@ export const updateWorkflow: API.OperationMethod< ValidationException, ], operationName: "UpdateWorkflow", + endpointHostPrefix: "workflows-", })); export type DeleteWorkflowError = | AccessDeniedException @@ -10576,6 +10683,7 @@ export const deleteWorkflow: API.OperationMethod< ValidationException, ], operationName: "DeleteWorkflow", + endpointHostPrefix: "workflows-", })); export type ListWorkflowsError = | AccessDeniedException @@ -10624,6 +10732,7 @@ export const listWorkflows: API.OperationMethod< ValidationException, ], operationName: "ListWorkflows", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", @@ -10671,6 +10780,7 @@ export const createWorkflowVersion: API.OperationMethod< ValidationException, ], operationName: "CreateWorkflowVersion", + endpointHostPrefix: "workflows-", })); export type GetWorkflowVersionError = | AccessDeniedException @@ -10704,6 +10814,7 @@ export const getWorkflowVersion: API.OperationMethod< ValidationException, ], operationName: "GetWorkflowVersion", + endpointHostPrefix: "workflows-", })); export type UpdateWorkflowVersionError = | AccessDeniedException @@ -10737,6 +10848,7 @@ export const updateWorkflowVersion: API.OperationMethod< ValidationException, ], operationName: "UpdateWorkflowVersion", + endpointHostPrefix: "workflows-", })); export type DeleteWorkflowVersionError = | AccessDeniedException @@ -10772,6 +10884,7 @@ export const deleteWorkflowVersion: API.OperationMethod< ValidationException, ], operationName: "DeleteWorkflowVersion", + endpointHostPrefix: "workflows-", })); export type ListWorkflowVersionsError = | AccessDeniedException @@ -10820,6 +10933,7 @@ export const listWorkflowVersions: API.OperationMethod< ValidationException, ], operationName: "ListWorkflowVersions", + endpointHostPrefix: "workflows-", pagination: { inputToken: "startingToken", outputToken: "nextToken", diff --git a/packages/aws/src/services/qbusiness.ts b/packages/aws/src/services/qbusiness.ts index 093b1841d8..0e4554ca4b 100644 --- a/packages/aws/src/services/qbusiness.ts +++ b/packages/aws/src/services/qbusiness.ts @@ -4033,13 +4033,13 @@ export const AppliedAttachmentsConfiguration = export type AutoSubscriptionStatus = "ENABLED" | "DISABLED" | (string & {}); export const AutoSubscriptionStatus = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface AutoSubscriptionConfiguration { - autoSubscribe: AutoSubscriptionStatus; + autoSubscribe?: AutoSubscriptionStatus; defaultSubscriptionType?: SubscriptionType; } export const AutoSubscriptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - autoSubscribe: AutoSubscriptionStatus, + autoSubscribe: S.optional(AutoSubscriptionStatus), defaultSubscriptionType: S.optional(SubscriptionType), }), ).annotate({ @@ -6224,26 +6224,32 @@ export const ListWebExperiencesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.String }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -6252,18 +6258,22 @@ export class ValidationException extends S.TaggedErrorClass reason: ValidationExceptionReason, fields: S.optional(ValidationExceptionFields), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ExternalResourceException extends S.TaggedErrorClass()( "ExternalResourceException", { message: S.String }, + T.HttpError(424), ) {} export class LicenseNotFoundException extends S.TaggedErrorClass()( "LicenseNotFoundException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class MediaTooLargeException extends S.TaggedErrorClass()( "MediaTooLargeException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/repostspace.ts b/packages/aws/src/services/repostspace.ts index dcf8f46094..77e73d52a6 100644 --- a/packages/aws/src/services/repostspace.ts +++ b/packages/aws/src/services/repostspace.ts @@ -344,12 +344,12 @@ export const Tags = /*@__PURE__*/ /*#__PURE__*/ S.Record( ); export type FeatureEnableParameter = "ENABLED" | "DISABLED" | (string & {}); export const FeatureEnableParameter = /*@__PURE__*/ /*#__PURE__*/ S.String; -export type AllowedDomainsList = string | redacted.Redacted[]; +export type AllowedDomainsList = (string | redacted.Redacted)[]; export const AllowedDomainsList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface SupportedEmailDomainsParameters { enabled?: FeatureEnableParameter; - allowedDomains?: string | redacted.Redacted[]; + allowedDomains?: (string | redacted.Redacted)[]; } export const SupportedEmailDomainsParameters = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -556,7 +556,7 @@ export type FeatureEnableStatus = export const FeatureEnableStatus = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface SupportedEmailDomainsStatus { enabled?: FeatureEnableStatus; - allowedDomains?: string | redacted.Redacted[]; + allowedDomains?: (string | redacted.Redacted)[]; } export const SupportedEmailDomainsStatus = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -967,6 +967,7 @@ export const UpdateSpaceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -974,11 +975,12 @@ export class InternalServerException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -988,7 +990,7 @@ export class ThrottlingException extends S.TaggedErrorClass quotaCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -997,10 +999,12 @@ export class ValidationException extends S.TaggedErrorClass reason: ValidationExceptionReason, fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -1011,6 +1015,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass export class DomainLimitExceeded extends S.TaggedErrorClass()( "DomainLimitExceeded", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class InvalidInput extends S.TaggedErrorClass()( "InvalidInput", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class OperationLimitExceeded extends S.TaggedErrorClass()( "OperationLimitExceeded", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class UnsupportedTLD extends S.TaggedErrorClass()( "UnsupportedTLD", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class DnssecLimitExceeded extends S.TaggedErrorClass()( "DnssecLimitExceeded", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class DuplicateRequest extends S.TaggedErrorClass()( "DuplicateRequest", { requestId: S.optional(S.String), message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TLDRulesViolation extends S.TaggedErrorClass()( "TLDRulesViolation", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TLDInMaintenance extends S.TaggedErrorClass()( "TLDInMaintenance", { message: S.optional(S.String), tld: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} +export class DomainNotFound extends S.TaggedErrorClass()( + "DomainNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidInput", + message: { includes: "not found in account" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type AcceptDomainTransferFromAnotherAwsAccountError = @@ -2316,7 +2332,11 @@ export const getContactReachabilityStatus: API.OperationMethod< errors: [InvalidInput, OperationLimitExceeded, UnsupportedTLD], operationName: "GetContactReachabilityStatus", })); -export type GetDomainDetailError = InvalidInput | UnsupportedTLD | CommonErrors; +export type GetDomainDetailError = + | InvalidInput + | UnsupportedTLD + | DomainNotFound + | CommonErrors; /** * This operation returns detailed information about a specified domain that is * associated with the current Amazon Web Services account. Contact information for the @@ -2330,7 +2350,7 @@ export const getDomainDetail: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetDomainDetailRequest, output: GetDomainDetailResponse, - errors: [InvalidInput, UnsupportedTLD], + errors: [InvalidInput, UnsupportedTLD, DomainNotFound], operationName: "GetDomainDetail", })); export type GetDomainSuggestionsError = diff --git a/packages/aws/src/services/sagemaker-featurestore-runtime.ts b/packages/aws/src/services/sagemaker-featurestore-runtime.ts index 98aa1818b0..f51d3e7fed 100644 --- a/packages/aws/src/services/sagemaker-featurestore-runtime.ts +++ b/packages/aws/src/services/sagemaker-featurestore-runtime.ts @@ -496,23 +496,36 @@ export const PutRecordResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessForbidden extends S.TaggedErrorClass()( "AccessForbidden", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalFailure extends S.TaggedErrorClass()( "InternalFailure", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ServiceUnavailable extends S.TaggedErrorClass()( "ServiceUnavailable", { Message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class ValidationError extends S.TaggedErrorClass()( "ValidationError", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFound extends S.TaggedErrorClass()( "ResourceNotFound", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} +export class FeatureGroupNotFound extends S.TaggedErrorClass()( + "FeatureGroupNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "ValidationError", + message: { includes: "Resource Not Found" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type BatchGetRecordError = @@ -579,6 +592,7 @@ export type DeleteRecordError = | InternalFailure | ServiceUnavailable | ValidationError + | FeatureGroupNotFound | CommonErrors; /** * Deletes a `Record` from a `FeatureGroup` in the @@ -626,6 +640,7 @@ export const deleteRecord: API.OperationMethod< InternalFailure, ServiceUnavailable, ValidationError, + FeatureGroupNotFound, ], operationName: "DeleteRecord", })); @@ -635,6 +650,7 @@ export type GetRecordError = | ResourceNotFound | ServiceUnavailable | ValidationError + | FeatureGroupNotFound | CommonErrors; /** * Use for `OnlineStore` serving from a `FeatureStore`. Only the @@ -655,6 +671,7 @@ export const getRecord: API.OperationMethod< ResourceNotFound, ServiceUnavailable, ValidationError, + FeatureGroupNotFound, ], operationName: "GetRecord", })); @@ -713,6 +730,7 @@ export type PutRecordError = | InternalFailure | ServiceUnavailable | ValidationError + | FeatureGroupNotFound | CommonErrors; /** * The `PutRecord` API is used to ingest a list of `Records` into @@ -748,6 +766,7 @@ export const putRecord: API.OperationMethod< InternalFailure, ServiceUnavailable, ValidationError, + FeatureGroupNotFound, ], operationName: "PutRecord", })); diff --git a/packages/aws/src/services/sagemaker.ts b/packages/aws/src/services/sagemaker.ts index 26395bef72..fc51bcabac 100644 --- a/packages/aws/src/services/sagemaker.ts +++ b/packages/aws/src/services/sagemaker.ts @@ -38807,6 +38807,56 @@ export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, ) {} +export class EndpointConfigNotFound extends S.TaggedErrorClass()( + "EndpointConfigNotFound", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Could not find endpoint configuration" }, + }), +).pipe(C.withNotFoundError) {} +export class EndpointAlreadyExists extends S.TaggedErrorClass()( + "EndpointAlreadyExists", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Cannot create already existing endpoint" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} +export class EndpointConfigAlreadyExists extends S.TaggedErrorClass()( + "EndpointConfigAlreadyExists", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { + includes: "Cannot create already existing endpoint configuration", + }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} +export class ModelAlreadyExists extends S.TaggedErrorClass()( + "ModelAlreadyExists", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Cannot create already existing model" }, + }), +).pipe(C.withAlreadyExistsError, C.withConflictError) {} +export class EndpointNotFound extends S.TaggedErrorClass()( + "EndpointNotFound", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: 'Could not find endpoint "' }, + }), +).pipe(C.withNotFoundError) {} +export class ModelNotFound extends S.TaggedErrorClass()( + "ModelNotFound", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Could not find model" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type AddAssociationError = @@ -39426,7 +39476,11 @@ export const createEdgePackagingJob: API.OperationMethod< errors: [ResourceLimitExceeded], operationName: "CreateEdgePackagingJob", })); -export type CreateEndpointError = ResourceLimitExceeded | CommonErrors; +export type CreateEndpointError = + | ResourceLimitExceeded + | EndpointConfigNotFound + | EndpointAlreadyExists + | CommonErrors; /** * Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. * @@ -39470,10 +39524,17 @@ export const createEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateEndpointInput, output: CreateEndpointOutput, - errors: [ResourceLimitExceeded], + errors: [ + ResourceLimitExceeded, + EndpointConfigNotFound, + EndpointAlreadyExists, + ], operationName: "CreateEndpoint", })); -export type CreateEndpointConfigError = ResourceLimitExceeded | CommonErrors; +export type CreateEndpointConfigError = + | ResourceLimitExceeded + | EndpointConfigAlreadyExists + | CommonErrors; /** * Creates an endpoint configuration that SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the `CreateModel` API, to deploy and the resources that you want SageMaker to provision. Then you call the CreateEndpoint API. * @@ -39493,7 +39554,7 @@ export const createEndpointConfig: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateEndpointConfigInput, output: CreateEndpointConfigOutput, - errors: [ResourceLimitExceeded], + errors: [ResourceLimitExceeded, EndpointConfigAlreadyExists], operationName: "CreateEndpointConfig", })); export type CreateExperimentError = ResourceLimitExceeded | CommonErrors; @@ -39877,7 +39938,10 @@ export const createMlflowTrackingServer: API.OperationMethod< errors: [ResourceLimitExceeded], operationName: "CreateMlflowTrackingServer", })); -export type CreateModelError = ResourceLimitExceeded | CommonErrors; +export type CreateModelError = + | ResourceLimitExceeded + | ModelAlreadyExists + | CommonErrors; /** * Creates a model in SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions. * @@ -39897,7 +39961,7 @@ export const createModel: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateModelInput, output: CreateModelOutput, - errors: [ResourceLimitExceeded], + errors: [ResourceLimitExceeded, ModelAlreadyExists], operationName: "CreateModel", })); export type CreateModelBiasJobDefinitionError = @@ -40876,7 +40940,7 @@ export const deleteEdgeDeploymentStage: API.OperationMethod< errors: [ResourceInUse], operationName: "DeleteEdgeDeploymentStage", })); -export type DeleteEndpointError = CommonErrors; +export type DeleteEndpointError = EndpointNotFound | CommonErrors; /** * Deletes an endpoint. SageMaker frees up all of the resources that were deployed when the endpoint was created. * @@ -40892,10 +40956,10 @@ export const deleteEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteEndpointInput, output: DeleteEndpointResponse, - errors: [], + errors: [EndpointNotFound], operationName: "DeleteEndpoint", })); -export type DeleteEndpointConfigError = CommonErrors; +export type DeleteEndpointConfigError = EndpointConfigNotFound | CommonErrors; /** * Deletes an endpoint configuration. The `DeleteEndpointConfig` API deletes only the specified configuration. It does not delete endpoints created using the configuration. * @@ -40909,7 +40973,7 @@ export const deleteEndpointConfig: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteEndpointConfigInput, output: DeleteEndpointConfigResponse, - errors: [], + errors: [EndpointConfigNotFound], operationName: "DeleteEndpointConfig", })); export type DeleteExperimentError = ResourceNotFound | CommonErrors; @@ -41165,7 +41229,7 @@ export const deleteMlflowTrackingServer: API.OperationMethod< errors: [ResourceNotFound], operationName: "DeleteMlflowTrackingServer", })); -export type DeleteModelError = CommonErrors; +export type DeleteModelError = ModelNotFound | CommonErrors; /** * Deletes a model. The `DeleteModel` API deletes only the model entry that was created in SageMaker when you called the `CreateModel` API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model. */ @@ -41177,7 +41241,7 @@ export const deleteModel: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteModelInput, output: DeleteModelResponse, - errors: [], + errors: [ModelNotFound], operationName: "DeleteModel", })); export type DeleteModelBiasJobDefinitionError = ResourceNotFound | CommonErrors; @@ -41962,7 +42026,7 @@ export const describeEdgePackagingJob: API.OperationMethod< errors: [ResourceNotFound], operationName: "DescribeEdgePackagingJob", })); -export type DescribeEndpointError = CommonErrors; +export type DescribeEndpointError = EndpointNotFound | CommonErrors; /** * Returns the description of an endpoint. */ @@ -41974,10 +42038,10 @@ export const describeEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeEndpointInput, output: DescribeEndpointOutput, - errors: [], + errors: [EndpointNotFound], operationName: "DescribeEndpoint", })); -export type DescribeEndpointConfigError = CommonErrors; +export type DescribeEndpointConfigError = EndpointConfigNotFound | CommonErrors; /** * Returns the description of an endpoint configuration created using the `CreateEndpointConfig` API. */ @@ -41989,7 +42053,7 @@ export const describeEndpointConfig: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeEndpointConfigInput, output: DescribeEndpointConfigOutput, - errors: [], + errors: [EndpointConfigNotFound], operationName: "DescribeEndpointConfig", })); export type DescribeExperimentError = ResourceNotFound | CommonErrors; @@ -42297,7 +42361,7 @@ export const describeMlflowTrackingServer: API.OperationMethod< errors: [ResourceNotFound], operationName: "DescribeMlflowTrackingServer", })); -export type DescribeModelError = CommonErrors; +export type DescribeModelError = ModelNotFound | CommonErrors; /** * Describes a model that you created using the `CreateModel` API. */ @@ -42309,7 +42373,7 @@ export const describeModel: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeModelInput, output: DescribeModelOutput, - errors: [], + errors: [ModelNotFound], operationName: "DescribeModel", })); export type DescribeModelBiasJobDefinitionError = @@ -47095,7 +47159,11 @@ export const updateDomain: API.OperationMethod< errors: [ResourceInUse, ResourceLimitExceeded, ResourceNotFound], operationName: "UpdateDomain", })); -export type UpdateEndpointError = ResourceLimitExceeded | CommonErrors; +export type UpdateEndpointError = + | ResourceLimitExceeded + | EndpointConfigNotFound + | EndpointNotFound + | CommonErrors; /** * Deploys the `EndpointConfig` specified in the request to a new fleet of instances. SageMaker shifts endpoint traffic to the new instances with the updated endpoint configuration and then deletes the old instances using the previous `EndpointConfig` (there is no availability loss). For more information about how to control the update and traffic shifting process, see Update models in production. * @@ -47113,7 +47181,7 @@ export const updateEndpoint: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateEndpointInput, output: UpdateEndpointOutput, - errors: [ResourceLimitExceeded], + errors: [ResourceLimitExceeded, EndpointConfigNotFound, EndpointNotFound], operationName: "UpdateEndpoint", })); export type UpdateEndpointWeightsAndCapacitiesError = diff --git a/packages/aws/src/services/simpledb.ts b/packages/aws/src/services/simpledb.ts new file mode 100644 index 0000000000..f663f30134 --- /dev/null +++ b/packages/aws/src/services/simpledb.ts @@ -0,0 +1,320 @@ +/** + * Amazon SimpleDB (classic, 2009-04-15) — HAND-WRITTEN service module. + * + * AWS never published a Smithy model for classic SimpleDB (it exists only in + * SDK v2 / botocore), so this module cannot be generated from + * `specs/api-models-aws` and must not be regenerated. The modern + * "SimpleDBv2" Smithy model (`simpledbv2.ts`) covers ONLY the domain-export + * migration API; domain management (CreateDomain / DeleteDomain / + * DomainMetadata / ListDomains) lives here. + * + * Protocol notes (verified against the live endpoint): + * - awsQuery wire shape with `{Op}Result` response wrappers. + * - Signature Version 2 ONLY (`T.AwsAuthSigv2`) — the endpoint rejects SigV4 + * with `AuthFailure: access credentials are missing`. + * - Errors are wrapped EC2-style: + * `..` + * (handled by the aws-query protocol's legacy fallback). + */ +import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as S from "@distilled.cloud/core/schema"; +import * as stream from "effect/Stream"; +import * as API from "../client/api.ts"; +import * as T from "../traits.ts"; +import * as C from "../category.ts"; +import type { Credentials } from "../credentials.ts"; +import type { CommonErrors } from "../errors.ts"; +import type { Region } from "../region.ts"; +const ns = T.XmlNamespace("http://sdb.amazonaws.com/doc/2009-04-15/"); +const svc = T.AwsApiService({ + sdkId: "SimpleDB", + serviceShapeName: "AmazonSimpleDB", +}); +const auth = T.AwsAuthSigv2({ name: "sdb" }); +const ver = T.ServiceVersion("2009-04-15"); +const proto = T.AwsProtocolsAwsQuery(); +const rules = T.EndpointResolver((p, _) => { + const { UseDualStack = false, UseFIPS = false, Endpoint, Region } = p; + const e = (u: unknown, p = {}, h = {}): T.EndpointResolverResult => ({ + type: "endpoint" as const, + endpoint: { url: u as string, properties: p, headers: h }, + }); + const err = (m: unknown): T.EndpointResolverResult => ({ + type: "error" as const, + message: m as string, + }); + if (Endpoint != null) { + if (UseFIPS === true) { + return err( + "Invalid Configuration: FIPS and custom endpoint are not supported", + ); + } + if (UseDualStack === true) { + return err( + "Invalid Configuration: Dualstack and custom endpoint are not supported", + ); + } + return e(Endpoint); + } + if (Region != null) { + if (Region === "us-east-1") { + return e("https://sdb.amazonaws.com"); + } + return e(`https://sdb.${Region}.amazonaws.com`); + } + return err("Invalid Configuration: Missing Region"); +}); + +//# Newtypes +export type DomainName = string; + +//# Schemas +export interface CreateDomainRequest { + DomainName: string; +} +export const CreateDomainRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ DomainName: S.String }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "CreateDomainRequest", +}) as any as S.Schema; +export interface CreateDomainResponse {} +export const CreateDomainResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "CreateDomainResponse", +}) as any as S.Schema; + +export interface DeleteDomainRequest { + DomainName: string; +} +export const DeleteDomainRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ DomainName: S.String }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "DeleteDomainRequest", +}) as any as S.Schema; +export interface DeleteDomainResponse {} +export const DeleteDomainResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteDomainResponse", +}) as any as S.Schema; + +export interface DomainMetadataRequest { + DomainName: string; +} +export const DomainMetadataRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ DomainName: S.String }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "DomainMetadataRequest", +}) as any as S.Schema; +export interface DomainMetadataResponse { + ItemCount?: number; + ItemNamesSizeBytes?: number; + AttributeNameCount?: number; + AttributeNamesSizeBytes?: number; + AttributeValueCount?: number; + AttributeValuesSizeBytes?: number; + Timestamp?: number; +} +export const DomainMetadataResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + ItemCount: S.optional(S.Number), + ItemNamesSizeBytes: S.optional(S.Number), + AttributeNameCount: S.optional(S.Number), + AttributeNamesSizeBytes: S.optional(S.Number), + AttributeValueCount: S.optional(S.Number), + AttributeValuesSizeBytes: S.optional(S.Number), + Timestamp: S.optional(S.Number), + }), +).annotate({ + identifier: "DomainMetadataResponse", +}) as any as S.Schema; + +export interface ListDomainsRequest { + MaxNumberOfDomains?: number; + NextToken?: string; +} +export const ListDomainsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + MaxNumberOfDomains: S.optional(S.Number), + NextToken: S.optional(S.String), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "ListDomainsRequest", +}) as any as S.Schema; +export type DomainNameList = string[]; +export const DomainNameList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); +export interface ListDomainsResponse { + DomainNames?: string[]; + NextToken?: string; +} +export const ListDomainsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + // SimpleDB returns a flattened list of repeated elements + DomainNames: S.optional(DomainNameList).pipe( + T.XmlName("DomainName"), + T.XmlFlattened(), + ), + NextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListDomainsResponse", +}) as any as S.Schema; + +//# Errors +export class NoSuchDomain extends S.TaggedErrorClass()( + "NoSuchDomain", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError, C.withNotFoundError) {} +export class InvalidParameterValue extends S.TaggedErrorClass()( + "InvalidParameterValue", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class MissingParameter extends S.TaggedErrorClass()( + "MissingParameter", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class NumberDomainsExceeded extends S.TaggedErrorClass()( + "NumberDomainsExceeded", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withQuotaError) {} +export class InvalidNextToken extends S.TaggedErrorClass()( + "InvalidNextToken", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} + +//# Operations +export type CreateDomainError = + | InvalidParameterValue + | MissingParameter + | NumberDomainsExceeded + | CommonErrors; +/** + * Creates a new SimpleDB domain. Idempotent — creating an existing domain + * succeeds without error. + */ +export const createDomain: API.OperationMethod< + CreateDomainRequest, + CreateDomainResponse, + CreateDomainError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: CreateDomainRequest, + output: CreateDomainResponse, + errors: [InvalidParameterValue, MissingParameter, NumberDomainsExceeded], + operationName: "CreateDomain", +})); +export type DeleteDomainError = MissingParameter | CommonErrors; +/** + * Deletes a SimpleDB domain and all of its items. Idempotent — deleting a + * missing domain succeeds without error. + */ +export const deleteDomain: API.OperationMethod< + DeleteDomainRequest, + DeleteDomainResponse, + DeleteDomainError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DeleteDomainRequest, + output: DeleteDomainResponse, + errors: [MissingParameter], + operationName: "DeleteDomain", +})); +export type DomainMetadataError = + | MissingParameter + | NoSuchDomain + | CommonErrors; +/** + * Returns information about a SimpleDB domain (item count, sizes, timestamp). + */ +export const domainMetadata: API.OperationMethod< + DomainMetadataRequest, + DomainMetadataResponse, + DomainMetadataError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DomainMetadataRequest, + output: DomainMetadataResponse, + errors: [MissingParameter, NoSuchDomain], + operationName: "DomainMetadata", +})); +export type ListDomainsError = + | InvalidNextToken + | InvalidParameterValue + | CommonErrors; +/** + * Lists all SimpleDB domains in the account/region. Paginated. + */ +export const listDomains: API.OperationMethod< + ListDomainsRequest, + ListDomainsResponse, + ListDomainsError, + Credentials | Region | HttpClient.HttpClient +> & { + pages: ( + input: ListDomainsRequest, + ) => stream.Stream< + ListDomainsResponse, + ListDomainsError, + Credentials | Region | HttpClient.HttpClient + >; + items: ( + input: ListDomainsRequest, + ) => stream.Stream< + string, + ListDomainsError, + Credentials | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: ListDomainsRequest, + output: ListDomainsResponse, + errors: [InvalidNextToken, InvalidParameterValue], + operationName: "ListDomains", + pagination: { + inputToken: "NextToken", + outputToken: "NextToken", + items: "DomainNames", + pageSize: "MaxNumberOfDomains", + } as const, +})); diff --git a/packages/aws/src/traits.ts b/packages/aws/src/traits.ts index ffb63bb874..679dee1724 100644 --- a/packages/aws/src/traits.ts +++ b/packages/aws/src/traits.ts @@ -291,6 +291,21 @@ export interface AwsAuthSigv4Trait { export const AwsAuthSigv4 = (trait: AwsAuthSigv4Trait) => makeAnnotation(awsAuthSigv4Symbol, trait); +/** + * Legacy Signature Version 2 authentication. SimpleDB (2009-04-15) is the + * sole remaining SigV2-only service: its endpoint rejects SigV4 + * Authorization headers outright (`AuthFailure: access credentials are + * missing`). SigV2 auth parameters ride in the form-encoded request body + * (`AWSAccessKeyId`, `SignatureVersion=2`, `SignatureMethod=HmacSHA256`, + * `Timestamp`, `SecurityToken`, `Signature`) rather than in headers. + */ +export const awsAuthSigv2Symbol = "distilled-aws/aws.auth#sigv2" as const; +export interface AwsAuthSigv2Trait { + name: string; +} +export const AwsAuthSigv2 = (trait: AwsAuthSigv2Trait) => + makeAnnotation(awsAuthSigv2Symbol, trait); + // ============================================================================= // AWS Protocol Traits (aws.protocols#*) // Each protocol annotation embeds its implementation for optimal tree-shaking @@ -1036,6 +1051,9 @@ export const getAwsApiService = ( export const getAwsAuthSigv4 = (ast: AST.AST): AwsAuthSigv4Trait | undefined => getAnnotationUnwrap(ast, awsAuthSigv4Symbol); +export const getAwsAuthSigv2 = (ast: AST.AST): AwsAuthSigv2Trait | undefined => + getAnnotationUnwrap(ast, awsAuthSigv2Symbol); + export const getServiceVersion = (ast: AST.AST): string | undefined => getAnnotationUnwrap(ast, serviceVersionSymbol); @@ -1073,6 +1091,10 @@ export const getAwsQueryError = ( ): AwsQueryErrorTrait | undefined => getAnnotationUnwrap(ast, awsQueryErrorSymbol); +/** smithy.api#httpError status code declared on an error shape */ +export const getHttpError = (ast: AST.AST): number | undefined => + getAnnotationUnwrap(ast, httpErrorSymbol); + export const getSyntheticError = ( ast: AST.AST, ): SyntheticErrorTrait | undefined => diff --git a/packages/aws/src/util/stream.ts b/packages/aws/src/util/stream.ts index 9c489c57c0..5b90164ab7 100644 --- a/packages/aws/src/util/stream.ts +++ b/packages/aws/src/util/stream.ts @@ -23,6 +23,21 @@ export const readStreamAsText = ( ? Effect.succeed(stream) : Effect.promise(() => new globalThis.Response(stream).text()); +/** + * Read a ReadableStream fully as raw bytes (for non-streaming binary + * responses such as httpPayload blobs). + * This is lazy - only consumes when called. + */ +export const readStreamAsBytes = ( + stream: string | ReadableStream, +): Effect.Effect => + typeof stream === "string" + ? Effect.succeed(new TextEncoder().encode(stream)) + : Effect.promise(async () => { + const buffer = await new globalThis.Response(stream).arrayBuffer(); + return new Uint8Array(buffer); + }); + /** * Convert Effect Stream to ReadableStream for fetch. */ From 926dfde567dd26833bbf10dd999419961760d16d Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 10 Jul 2026 19:29:45 -0700 Subject: [PATCH 10/63] feat(aws): typed-error + protocol coverage for final T2 tail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - response-parser.ts + rest-json.ts core fixes for deadline/finspace response shapes - deadline: ResourceNotFoundException on delete ops; regenerated - finspace(+finspace-data): regenerated for the kdb/environment API - patches for mailmanager (reverted — deletes are natively idempotent) and deadline Services: devops-guru, mailmanager, healthlake, finspace, deadline, qapps, mwaa-serverless, socialmessaging, s3files. Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/deadline.json | 19 +++ packages/aws/src/client/response-parser.ts | 19 ++- packages/aws/src/protocols/rest-json.ts | 9 +- packages/aws/src/services/deadline.ts | 163 ++++++++++++++++++++- packages/aws/src/services/finspace-data.ts | 7 + packages/aws/src/services/finspace.ts | 10 ++ packages/aws/src/services/mailmanager.ts | 14 +- 7 files changed, 230 insertions(+), 11 deletions(-) create mode 100644 packages/aws/patches/deadline.json diff --git a/packages/aws/patches/deadline.json b/packages/aws/patches/deadline.json new file mode 100644 index 0000000000..76a18acc30 --- /dev/null +++ b/packages/aws/patches/deadline.json @@ -0,0 +1,19 @@ +{ + "operations": { + "createQueue": { "errors": ["ConflictException"] }, + "createStorageProfile": { "errors": ["ConflictException"] }, + "createBudget": { "errors": ["ConflictException"] }, + "createFleet": { "errors": ["ConflictException"] }, + "createMonitor": { "errors": ["ConflictException"] }, + "updateFarm": { "errors": ["ConflictException"] }, + "updateStorageProfile": { "errors": ["ConflictException"] }, + "updateBudget": { "errors": ["ConflictException"] }, + "updateMonitor": { "errors": ["ConflictException"] }, + "deleteFarm": { "errors": ["ConflictException"] }, + "deleteBudget": { "errors": ["ConflictException"] }, + "deleteStorageProfile": { + "errors": ["ConflictException", "ResourceNotFoundException"] + }, + "deleteMonitor": { "errors": ["ConflictException"] } + } +} diff --git a/packages/aws/src/client/response-parser.ts b/packages/aws/src/client/response-parser.ts index 221c1da723..06517cf1d2 100644 --- a/packages/aws/src/client/response-parser.ts +++ b/packages/aws/src/client/response-parser.ts @@ -22,7 +22,12 @@ import { getSyntheticError, type SyntheticErrorTrait, } from "../traits.ts"; -import { getIdentifier, getPropertySignatures } from "../util/ast.ts"; +import { + getIdentifier, + getPropertySignatures, + isBooleanAST, + isNumberAST, +} from "../util/ast.ts"; import type { Operation } from "./operation.ts"; import type { Protocol, ProtocolHandler } from "./protocol.ts"; import type { Response } from "./response.ts"; @@ -245,7 +250,17 @@ export const makeResponseParser = ( if (headerName) { const headerValue = response.headers[headerName.toLowerCase()]; if (headerValue !== undefined) { - (data as Record)[String(prop.name)] = headerValue; + // Coerce string header values to the member's declared type — + // e.g. ThrottlingException.retryAfterSeconds (S.Number) bound to + // the Retry-After header. Without coercion the decode fails and + // the error degrades to a plain object, losing its error class + // and retry/throttling categorization. + (data as Record)[String(prop.name)] = + isNumberAST(prop.type) + ? Number(headerValue) + : isBooleanAST(prop.type) + ? headerValue === "true" + : headerValue; } } } diff --git a/packages/aws/src/protocols/rest-json.ts b/packages/aws/src/protocols/rest-json.ts index aaa801b9fd..7f5b72f418 100644 --- a/packages/aws/src/protocols/rest-json.ts +++ b/packages/aws/src/protocols/rest-json.ts @@ -383,9 +383,12 @@ export const restJson1Protocol: Protocol = ( body = parsed as Record; } } catch { - return yield* new ParseError({ - message: `Failed to parse error JSON body: ${bodyText}`, - }); + // Some API Gateway-fronted services (e.g. FinSpace Data) return + // plain-text error bodies ("Failed to retrieve environment"). + // Treat the text as the error message and fall back to matching + // the operation's declared errors by httpError status instead of + // failing the deserializer. + return { errorCode: "", data: { message: bodyText } }; } } diff --git a/packages/aws/src/services/deadline.ts b/packages/aws/src/services/deadline.ts index a35d1bc3b3..9556ec93a5 100644 --- a/packages/aws/src/services/deadline.ts +++ b/packages/aws/src/services/deadline.ts @@ -9134,6 +9134,7 @@ export const UpdateMonitorSettingsResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String, context: S.optional(ExceptionContext) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", @@ -9141,7 +9142,7 @@ export class InternalServerErrorException extends S.TaggedErrorClass()( "ThrottlingException", @@ -9152,7 +9153,7 @@ export class ThrottlingException extends S.TaggedErrorClass retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), context: S.optional(ExceptionContext), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -9162,6 +9163,7 @@ export class ValidationException extends S.TaggedErrorClass fieldList: S.optional(ValidationExceptionFieldList), context: S.optional(ExceptionContext), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -9171,6 +9173,7 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ConflictException", @@ -9181,6 +9184,7 @@ export class ConflictException extends S.TaggedErrorClass()( resourceType: S.String, context: S.optional(ExceptionContext), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -9193,6 +9197,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String), reason: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String), reason: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", {}, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String), reason: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/finspace.ts b/packages/aws/src/services/finspace.ts index 497a2eb824..3a21d187ca 100644 --- a/packages/aws/src/services/finspace.ts +++ b/packages/aws/src/services/finspace.ts @@ -3484,42 +3484,52 @@ export const UpdateKxVolumeResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String), reason: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ResourceAlreadyExistsException extends S.TaggedErrorClass()( "ResourceAlreadyExistsException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/mailmanager.ts b/packages/aws/src/services/mailmanager.ts index 59ac4fcdfd..086b0107c0 100644 --- a/packages/aws/src/services/mailmanager.ts +++ b/packages/aws/src/services/mailmanager.ts @@ -2230,13 +2230,13 @@ export type RuleStringOperator = | "CONTAINS" | (string & {}); export const RuleStringOperator = /*@__PURE__*/ /*#__PURE__*/ S.String; -export type RuleStringList = string | redacted.Redacted[]; +export type RuleStringList = (string | redacted.Redacted)[]; export const RuleStringList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface RuleStringExpression { Evaluate: RuleStringToEvaluate; Operator: RuleStringOperator; - Values: string | redacted.Redacted[]; + Values: (string | redacted.Redacted)[]; } export const RuleStringExpression = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ @@ -2479,10 +2479,10 @@ export const AddHeaderAction = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "AddHeaderAction", }) as any as S.Schema; -export type Recipients = string | redacted.Redacted[]; +export type Recipients = (string | redacted.Redacted)[]; export const Recipients = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface ReplaceRecipientAction { - ReplaceWith?: string | redacted.Redacted[]; + ReplaceWith?: (string | redacted.Redacted)[]; } export const ReplaceRecipientAction = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ ReplaceWith: S.optional(Recipients) }), @@ -3297,26 +3297,32 @@ export const ListTrafficPoliciesResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} //# Operations From 41b7d2e91e81b9f435056dc660dae5ea22763729 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Sat, 11 Jul 2026 00:18:22 -0700 Subject: [PATCH 11/63] feat(aws): SimpleDB data-plane ops in the hand-written service module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds getAttributes/putAttributes/deleteAttributes/batchPut/batchDelete/select + 12 typed errors (flattened Attribute.N / Item.N wire shapes) to the hand-written simpledb module (no Smithy model exists — never regenerate). Backs the new AWS.SimpleDB per-operation bindings. Co-Authored-By: Claude Opus 4.8 --- packages/aws/src/services/simpledb.ts | 580 ++++++++++++++++++++++++++ 1 file changed, 580 insertions(+) diff --git a/packages/aws/src/services/simpledb.ts b/packages/aws/src/services/simpledb.ts index f663f30134..2ad811896a 100644 --- a/packages/aws/src/services/simpledb.ts +++ b/packages/aws/src/services/simpledb.ts @@ -202,6 +202,352 @@ export const ListDomainsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => identifier: "ListDomainsResponse", }) as any as S.Schema; +//# Schemas — data plane (Select / GetAttributes / PutAttributes / +//# DeleteAttributes / BatchPutAttributes / BatchDeleteAttributes) +// +// Wire shapes verified against the SimpleDB API reference and the SDK v2 / +// botocore `sdb-2009-04-15` model: all lists are FLATTENED with singular +// locationNames (`Attribute.N.*`, `Item.N.*`, `AttributeName.N`), and batch +// item structures use the `ItemName` member on the wire. +export interface Attribute { + Name: string; + AlternateNameEncoding?: string; + Value: string; + AlternateValueEncoding?: string; +} +export const Attribute = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + Name: S.String, + AlternateNameEncoding: S.optional(S.String), + Value: S.String, + AlternateValueEncoding: S.optional(S.String), + }), +).annotate({ + identifier: "Attribute", +}) as any as S.Schema; +export type AttributeList = Attribute[]; +export const AttributeList = /*@__PURE__*/ /*#__PURE__*/ S.Array(Attribute); + +export interface ReplaceableAttribute { + Name: string; + Value: string; + Replace?: boolean; +} +export const ReplaceableAttribute = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + Name: S.String, + Value: S.String, + Replace: S.optional(S.Boolean), + }), +).annotate({ + identifier: "ReplaceableAttribute", +}) as any as S.Schema; +export type ReplaceableAttributeList = ReplaceableAttribute[]; +export const ReplaceableAttributeList = + /*@__PURE__*/ /*#__PURE__*/ S.Array(ReplaceableAttribute); + +export interface DeletableAttribute { + Name: string; + Value?: string; +} +export const DeletableAttribute = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + Name: S.String, + Value: S.optional(S.String), + }), +).annotate({ + identifier: "DeletableAttribute", +}) as any as S.Schema; +export type DeletableAttributeList = DeletableAttribute[]; +export const DeletableAttributeList = + /*@__PURE__*/ /*#__PURE__*/ S.Array(DeletableAttribute); + +export interface UpdateCondition { + Name?: string; + Value?: string; + Exists?: boolean; +} +export const UpdateCondition = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + Name: S.optional(S.String), + Value: S.optional(S.String), + Exists: S.optional(S.Boolean), + }), +).annotate({ + identifier: "UpdateCondition", +}) as any as S.Schema; + +export interface ReplaceableItem { + ItemName: string; + Attributes: ReplaceableAttribute[]; +} +export const ReplaceableItem = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + ItemName: S.String, + Attributes: ReplaceableAttributeList.pipe( + T.XmlName("Attribute"), + T.XmlFlattened(), + ), + }), +).annotate({ + identifier: "ReplaceableItem", +}) as any as S.Schema; +export type ReplaceableItemList = ReplaceableItem[]; +export const ReplaceableItemList = + /*@__PURE__*/ /*#__PURE__*/ S.Array(ReplaceableItem); + +export interface DeletableItem { + ItemName: string; + Attributes?: DeletableAttribute[]; +} +export const DeletableItem = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + ItemName: S.String, + Attributes: S.optional(DeletableAttributeList).pipe( + T.XmlName("Attribute"), + T.XmlFlattened(), + ), + }), +).annotate({ + identifier: "DeletableItem", +}) as any as S.Schema; +export type DeletableItemList = DeletableItem[]; +export const DeletableItemList = + /*@__PURE__*/ /*#__PURE__*/ S.Array(DeletableItem); + +export interface Item { + Name: string; + AlternateNameEncoding?: string; + Attributes?: Attribute[]; +} +export const Item = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + Name: S.String, + AlternateNameEncoding: S.optional(S.String), + Attributes: S.optional(AttributeList).pipe( + T.XmlName("Attribute"), + T.XmlFlattened(), + ), + }), +).annotate({ + identifier: "Item", +}) as any as S.Schema; +export type ItemList = Item[]; +export const ItemList = /*@__PURE__*/ /*#__PURE__*/ S.Array(Item); + +export interface GetAttributesRequest { + DomainName: string; + ItemName: string; + AttributeNames?: string[]; + ConsistentRead?: boolean; +} +export const GetAttributesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + DomainName: S.String, + ItemName: S.String, + AttributeNames: S.optional(S.Array(S.String)).pipe( + T.XmlName("AttributeName"), + T.XmlFlattened(), + ), + ConsistentRead: S.optional(S.Boolean), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "GetAttributesRequest", +}) as any as S.Schema; +export interface GetAttributesResponse { + Attributes?: Attribute[]; +} +export const GetAttributesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + // SimpleDB returns a flattened list of repeated elements + Attributes: S.optional(AttributeList).pipe( + T.XmlName("Attribute"), + T.XmlFlattened(), + ), + }), +).annotate({ + identifier: "GetAttributesResponse", +}) as any as S.Schema; + +export interface PutAttributesRequest { + DomainName: string; + ItemName: string; + Attributes: ReplaceableAttribute[]; + Expected?: UpdateCondition; +} +export const PutAttributesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + DomainName: S.String, + ItemName: S.String, + Attributes: ReplaceableAttributeList.pipe( + T.XmlName("Attribute"), + T.XmlFlattened(), + ), + Expected: S.optional(UpdateCondition), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "PutAttributesRequest", +}) as any as S.Schema; +export interface PutAttributesResponse {} +export const PutAttributesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "PutAttributesResponse", +}) as any as S.Schema; + +export interface DeleteAttributesRequest { + DomainName: string; + ItemName: string; + Attributes?: DeletableAttribute[]; + Expected?: UpdateCondition; +} +export const DeleteAttributesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + DomainName: S.String, + ItemName: S.String, + Attributes: S.optional(DeletableAttributeList).pipe( + T.XmlName("Attribute"), + T.XmlFlattened(), + ), + Expected: S.optional(UpdateCondition), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "DeleteAttributesRequest", +}) as any as S.Schema; +export interface DeleteAttributesResponse {} +export const DeleteAttributesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => S.Struct({}), +).annotate({ + identifier: "DeleteAttributesResponse", +}) as any as S.Schema; + +export interface BatchPutAttributesRequest { + DomainName: string; + Items: ReplaceableItem[]; +} +export const BatchPutAttributesRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + DomainName: S.String, + Items: ReplaceableItemList.pipe(T.XmlName("Item"), T.XmlFlattened()), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "BatchPutAttributesRequest", + }) as any as S.Schema; +export interface BatchPutAttributesResponse {} +export const BatchPutAttributesResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({ + identifier: "BatchPutAttributesResponse", + }) as any as S.Schema; + +export interface BatchDeleteAttributesRequest { + DomainName: string; + Items: DeletableItem[]; +} +export const BatchDeleteAttributesRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + DomainName: S.String, + Items: DeletableItemList.pipe(T.XmlName("Item"), T.XmlFlattened()), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "BatchDeleteAttributesRequest", + }) as any as S.Schema; +export interface BatchDeleteAttributesResponse {} +export const BatchDeleteAttributesResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({ + identifier: "BatchDeleteAttributesResponse", + }) as any as S.Schema; + +export interface SelectRequest { + SelectExpression: string; + NextToken?: string; + ConsistentRead?: boolean; +} +export const SelectRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + SelectExpression: S.String, + NextToken: S.optional(S.String), + ConsistentRead: S.optional(S.Boolean), + }).pipe( + T.all( + ns, + T.Http({ method: "POST", uri: "/" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "SelectRequest", +}) as any as S.Schema; +export interface SelectResponse { + Items?: Item[]; + NextToken?: string; +} +export const SelectResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + // SimpleDB returns a flattened list of repeated elements + Items: S.optional(ItemList).pipe(T.XmlName("Item"), T.XmlFlattened()), + NextToken: S.optional(S.String), + }), +).annotate({ + identifier: "SelectResponse", +}) as any as S.Schema; + //# Errors export class NoSuchDomain extends S.TaggedErrorClass()( "NoSuchDomain", @@ -223,6 +569,54 @@ export class InvalidNextToken extends S.TaggedErrorClass()( "InvalidNextToken", { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} +export class AttributeDoesNotExist extends S.TaggedErrorClass()( + "AttributeDoesNotExist", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withNotFoundError) {} +export class DuplicateItemName extends S.TaggedErrorClass()( + "DuplicateItemName", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class InvalidNumberPredicates extends S.TaggedErrorClass()( + "InvalidNumberPredicates", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class InvalidNumberValueTests extends S.TaggedErrorClass()( + "InvalidNumberValueTests", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class InvalidQueryExpression extends S.TaggedErrorClass()( + "InvalidQueryExpression", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class TooManyRequestedAttributes extends S.TaggedErrorClass()( + "TooManyRequestedAttributes", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class RequestTimeout extends S.TaggedErrorClass()( + "RequestTimeout", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withTimeoutError) {} +export class NumberDomainAttributesExceeded extends S.TaggedErrorClass()( + "NumberDomainAttributesExceeded", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withQuotaError) {} +export class NumberDomainBytesExceeded extends S.TaggedErrorClass()( + "NumberDomainBytesExceeded", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withQuotaError) {} +export class NumberItemAttributesExceeded extends S.TaggedErrorClass()( + "NumberItemAttributesExceeded", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withQuotaError) {} +export class NumberSubmittedAttributesExceeded extends S.TaggedErrorClass()( + "NumberSubmittedAttributesExceeded", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withQuotaError) {} +export class NumberSubmittedItemsExceeded extends S.TaggedErrorClass()( + "NumberSubmittedItemsExceeded", + { message: S.optional(S.String), BoxUsage: S.optional(S.String) }, +).pipe(C.withQuotaError) {} //# Operations export type CreateDomainError = @@ -318,3 +712,189 @@ export const listDomains: API.OperationMethod< pageSize: "MaxNumberOfDomains", } as const, })); +export type GetAttributesError = + | InvalidParameterValue + | MissingParameter + | NoSuchDomain + | CommonErrors; +/** + * Returns all (or the requested subset of) attributes of a SimpleDB item. + * Reads are eventually consistent unless `ConsistentRead` is set. + */ +export const getAttributes: API.OperationMethod< + GetAttributesRequest, + GetAttributesResponse, + GetAttributesError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: GetAttributesRequest, + output: GetAttributesResponse, + errors: [InvalidParameterValue, MissingParameter, NoSuchDomain], + operationName: "GetAttributes", +})); +export type PutAttributesError = + | AttributeDoesNotExist + | InvalidParameterValue + | MissingParameter + | NoSuchDomain + | NumberDomainAttributesExceeded + | NumberDomainBytesExceeded + | NumberItemAttributesExceeded + | CommonErrors; +/** + * Creates or replaces attributes of a SimpleDB item. With `Replace: true` an + * attribute's existing values are overwritten; otherwise values accumulate. + */ +export const putAttributes: API.OperationMethod< + PutAttributesRequest, + PutAttributesResponse, + PutAttributesError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: PutAttributesRequest, + output: PutAttributesResponse, + errors: [ + AttributeDoesNotExist, + InvalidParameterValue, + MissingParameter, + NoSuchDomain, + NumberDomainAttributesExceeded, + NumberDomainBytesExceeded, + NumberItemAttributesExceeded, + ], + operationName: "PutAttributes", +})); +export type DeleteAttributesError = + | AttributeDoesNotExist + | InvalidParameterValue + | MissingParameter + | NoSuchDomain + | CommonErrors; +/** + * Deletes one or more attributes of a SimpleDB item — or the whole item when + * no attributes are named. Idempotent: deleting a missing attribute/item + * succeeds. + */ +export const deleteAttributes: API.OperationMethod< + DeleteAttributesRequest, + DeleteAttributesResponse, + DeleteAttributesError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DeleteAttributesRequest, + output: DeleteAttributesResponse, + errors: [ + AttributeDoesNotExist, + InvalidParameterValue, + MissingParameter, + NoSuchDomain, + ], + operationName: "DeleteAttributes", +})); +export type BatchPutAttributesError = + | DuplicateItemName + | InvalidParameterValue + | MissingParameter + | NoSuchDomain + | NumberDomainAttributesExceeded + | NumberDomainBytesExceeded + | NumberItemAttributesExceeded + | NumberSubmittedAttributesExceeded + | NumberSubmittedItemsExceeded + | CommonErrors; +/** + * Puts attributes on up to 25 items in a single call. + */ +export const batchPutAttributes: API.OperationMethod< + BatchPutAttributesRequest, + BatchPutAttributesResponse, + BatchPutAttributesError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: BatchPutAttributesRequest, + output: BatchPutAttributesResponse, + errors: [ + DuplicateItemName, + InvalidParameterValue, + MissingParameter, + NoSuchDomain, + NumberDomainAttributesExceeded, + NumberDomainBytesExceeded, + NumberItemAttributesExceeded, + NumberSubmittedAttributesExceeded, + NumberSubmittedItemsExceeded, + ], + operationName: "BatchPutAttributes", +})); +export type BatchDeleteAttributesError = CommonErrors; +/** + * Deletes attributes (or whole items) on up to 25 items in a single call. + * Idempotent — missing items/attributes are not an error. + */ +export const batchDeleteAttributes: API.OperationMethod< + BatchDeleteAttributesRequest, + BatchDeleteAttributesResponse, + BatchDeleteAttributesError, + Credentials | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: BatchDeleteAttributesRequest, + output: BatchDeleteAttributesResponse, + errors: [], + operationName: "BatchDeleteAttributes", +})); +export type SelectError = + | InvalidNextToken + | InvalidNumberPredicates + | InvalidNumberValueTests + | InvalidParameterValue + | InvalidQueryExpression + | MissingParameter + | NoSuchDomain + | RequestTimeout + | TooManyRequestedAttributes + | CommonErrors; +/** + * Runs a SimpleDB select expression (`select output_list from domain + * [where ...]`). Paginated via `NextToken`. + */ +export const select: API.OperationMethod< + SelectRequest, + SelectResponse, + SelectError, + Credentials | Region | HttpClient.HttpClient +> & { + pages: ( + input: SelectRequest, + ) => stream.Stream< + SelectResponse, + SelectError, + Credentials | Region | HttpClient.HttpClient + >; + items: ( + input: SelectRequest, + ) => stream.Stream< + Item, + SelectError, + Credentials | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: SelectRequest, + output: SelectResponse, + errors: [ + InvalidNextToken, + InvalidNumberPredicates, + InvalidNumberValueTests, + InvalidParameterValue, + InvalidQueryExpression, + MissingParameter, + NoSuchDomain, + RequestTimeout, + TooManyRequestedAttributes, + ], + operationName: "Select", + pagination: { + inputToken: "NextToken", + outputToken: "NextToken", + items: "Items", + } as const, +})); From 2cac096baf85d460364bb8de83a2a1dff0f00c49 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Mon, 13 Jul 2026 00:54:02 -0700 Subject: [PATCH 12/63] fix(aws): typed-error + optional-field patches from live AWS test wave - cloudfront: FunctionConfig.Comment optional (omitted in listFunctions for comment-less functions) - rds: InvalidParameterValue/InvalidParameterCombination on createDBCluster/modifyDBCluster (non-retryable validation) - s3tables: GetTableResponse.modifiedBy optional (omitted on fresh tables) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/cloudfront.json | 2 +- packages/aws/patches/rds.json | 6 + packages/aws/patches/s3tables.json | 11 + packages/aws/src/services/cloudfront.ts | 152 +++ packages/aws/src/services/rds.ts | 1360 +++++++++++++++-------- packages/aws/src/services/s3tables.ts | 12 +- 6 files changed, 1107 insertions(+), 436 deletions(-) create mode 100644 packages/aws/patches/s3tables.json diff --git a/packages/aws/patches/cloudfront.json b/packages/aws/patches/cloudfront.json index db250c3caa..223932caa1 100644 --- a/packages/aws/patches/cloudfront.json +++ b/packages/aws/patches/cloudfront.json @@ -119,4 +119,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/aws/patches/rds.json b/packages/aws/patches/rds.json index c482e39da1..a1a282f49c 100644 --- a/packages/aws/patches/rds.json +++ b/packages/aws/patches/rds.json @@ -5,6 +5,12 @@ }, "modifyDBInstance": { "errors": ["InvalidParameterCombination", "InvalidParameterValue"] + }, + "createDBCluster": { + "errors": ["InvalidParameterCombination", "InvalidParameterValue"] + }, + "modifyDBCluster": { + "errors": ["InvalidParameterCombination", "InvalidParameterValue"] } }, "errors": { diff --git a/packages/aws/patches/s3tables.json b/packages/aws/patches/s3tables.json new file mode 100644 index 0000000000..0dd8e56618 --- /dev/null +++ b/packages/aws/patches/s3tables.json @@ -0,0 +1,11 @@ +{ + "structures": { + "GetTableResponse": { + "members": { + "modifiedBy": { + "optional": true + } + } + } + } +} diff --git a/packages/aws/src/services/cloudfront.ts b/packages/aws/src/services/cloudfront.ts index cfc3f2d1cb..a81ab1fc7d 100644 --- a/packages/aws/src/services/cloudfront.ts +++ b/packages/aws/src/services/cloudfront.ts @@ -10191,610 +10191,762 @@ export const VerifyDnsConfigurationResult = export class AccessDenied extends S.TaggedErrorClass()( "AccessDenied", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class IllegalUpdate extends S.TaggedErrorClass()( "IllegalUpdate", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidArgument extends S.TaggedErrorClass()( "InvalidArgument", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NoSuchDistribution extends S.TaggedErrorClass()( "NoSuchDistribution", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyDistributionCNAMEs extends S.TaggedErrorClass()( "TooManyDistributionCNAMEs", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class EntityLimitExceeded extends S.TaggedErrorClass()( "EntityLimitExceeded", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class EntityNotFound extends S.TaggedErrorClass()( "EntityNotFound", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidIfMatchVersion extends S.TaggedErrorClass()( "InvalidIfMatchVersion", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class PreconditionFailed extends S.TaggedErrorClass()( "PreconditionFailed", { Message: S.optional(S.String) }, + T.HttpError(412), ) {} export class CNAMEAlreadyExists extends S.TaggedErrorClass()( "CNAMEAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class DistributionAlreadyExists extends S.TaggedErrorClass()( "DistributionAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior extends S.TaggedErrorClass()( "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InconsistentQuantities extends S.TaggedErrorClass()( "InconsistentQuantities", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidDefaultRootObject extends S.TaggedErrorClass()( "InvalidDefaultRootObject", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidErrorCode extends S.TaggedErrorClass()( "InvalidErrorCode", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidForwardCookies extends S.TaggedErrorClass()( "InvalidForwardCookies", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidFunctionAssociation extends S.TaggedErrorClass()( "InvalidFunctionAssociation", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidGeoRestrictionParameter extends S.TaggedErrorClass()( "InvalidGeoRestrictionParameter", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidHeadersForS3Origin extends S.TaggedErrorClass()( "InvalidHeadersForS3Origin", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidLambdaFunctionAssociation extends S.TaggedErrorClass()( "InvalidLambdaFunctionAssociation", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidLocationCode extends S.TaggedErrorClass()( "InvalidLocationCode", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidMinimumProtocolVersion extends S.TaggedErrorClass()( "InvalidMinimumProtocolVersion", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidOrigin extends S.TaggedErrorClass()( "InvalidOrigin", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidOriginAccessControl extends S.TaggedErrorClass()( "InvalidOriginAccessControl", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidOriginAccessIdentity extends S.TaggedErrorClass()( "InvalidOriginAccessIdentity", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidOriginKeepaliveTimeout extends S.TaggedErrorClass()( "InvalidOriginKeepaliveTimeout", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidOriginReadTimeout extends S.TaggedErrorClass()( "InvalidOriginReadTimeout", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidProtocolSettings extends S.TaggedErrorClass()( "InvalidProtocolSettings", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidQueryStringParameters extends S.TaggedErrorClass()( "InvalidQueryStringParameters", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidRelativePath extends S.TaggedErrorClass()( "InvalidRelativePath", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidRequiredProtocol extends S.TaggedErrorClass()( "InvalidRequiredProtocol", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidResponseCode extends S.TaggedErrorClass()( "InvalidResponseCode", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidTTLOrder extends S.TaggedErrorClass()( "InvalidTTLOrder", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidViewerCertificate extends S.TaggedErrorClass()( "InvalidViewerCertificate", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidWebACLId extends S.TaggedErrorClass()( "InvalidWebACLId", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class MissingBody extends S.TaggedErrorClass()( "MissingBody", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NoSuchCachePolicy extends S.TaggedErrorClass()( "NoSuchCachePolicy", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchFieldLevelEncryptionConfig extends S.TaggedErrorClass()( "NoSuchFieldLevelEncryptionConfig", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchOrigin extends S.TaggedErrorClass()( "NoSuchOrigin", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchOriginRequestPolicy extends S.TaggedErrorClass()( "NoSuchOriginRequestPolicy", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchRealtimeLogConfig extends S.TaggedErrorClass()( "NoSuchRealtimeLogConfig", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchResponseHeadersPolicy extends S.TaggedErrorClass()( "NoSuchResponseHeadersPolicy", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class RealtimeLogConfigOwnerMismatch extends S.TaggedErrorClass()( "RealtimeLogConfigOwnerMismatch", { Message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class TooManyCacheBehaviors extends S.TaggedErrorClass()( "TooManyCacheBehaviors", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyCertificates extends S.TaggedErrorClass()( "TooManyCertificates", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyCookieNamesInWhiteList extends S.TaggedErrorClass()( "TooManyCookieNamesInWhiteList", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributions extends S.TaggedErrorClass()( "TooManyDistributions", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class EntityAlreadyExists extends S.TaggedErrorClass()( "EntityAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class InvalidTagging extends S.TaggedErrorClass()( "InvalidTagging", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnsupportedOperation extends S.TaggedErrorClass()( "UnsupportedOperation", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class CachePolicyAlreadyExists extends S.TaggedErrorClass()( "CachePolicyAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyCachePolicies extends S.TaggedErrorClass()( "TooManyCachePolicies", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyCookiesInCachePolicy extends S.TaggedErrorClass()( "TooManyCookiesInCachePolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyHeadersInCachePolicy extends S.TaggedErrorClass()( "TooManyHeadersInCachePolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyQueryStringsInCachePolicy extends S.TaggedErrorClass()( "TooManyQueryStringsInCachePolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class CloudFrontOriginAccessIdentityAlreadyExists extends S.TaggedErrorClass()( "CloudFrontOriginAccessIdentityAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyCloudFrontOriginAccessIdentities extends S.TaggedErrorClass()( "TooManyCloudFrontOriginAccessIdentities", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class EntitySizeLimitExceeded extends S.TaggedErrorClass()( "EntitySizeLimitExceeded", { Message: S.optional(S.String) }, + T.HttpError(413), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class ContinuousDeploymentPolicyAlreadyExists extends S.TaggedErrorClass()( "ContinuousDeploymentPolicyAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class StagingDistributionInUse extends S.TaggedErrorClass()( "StagingDistributionInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class TooManyContinuousDeploymentPolicies extends S.TaggedErrorClass()( "TooManyContinuousDeploymentPolicies", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ContinuousDeploymentPolicyInUse extends S.TaggedErrorClass()( "ContinuousDeploymentPolicyInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class IllegalOriginAccessConfiguration extends S.TaggedErrorClass()( "IllegalOriginAccessConfiguration", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidDomainNameForOriginAccessControl extends S.TaggedErrorClass()( "InvalidDomainNameForOriginAccessControl", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NoSuchContinuousDeploymentPolicy extends S.TaggedErrorClass()( "NoSuchContinuousDeploymentPolicy", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidAssociation extends S.TaggedErrorClass()( "InvalidAssociation", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class FieldLevelEncryptionConfigAlreadyExists extends S.TaggedErrorClass()( "FieldLevelEncryptionConfigAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class NoSuchFieldLevelEncryptionProfile extends S.TaggedErrorClass()( "NoSuchFieldLevelEncryptionProfile", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class QueryArgProfileEmpty extends S.TaggedErrorClass()( "QueryArgProfileEmpty", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyFieldLevelEncryptionConfigs extends S.TaggedErrorClass()( "TooManyFieldLevelEncryptionConfigs", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyFieldLevelEncryptionContentTypeProfiles extends S.TaggedErrorClass()( "TooManyFieldLevelEncryptionContentTypeProfiles", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyFieldLevelEncryptionQueryArgProfiles extends S.TaggedErrorClass()( "TooManyFieldLevelEncryptionQueryArgProfiles", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class FieldLevelEncryptionProfileAlreadyExists extends S.TaggedErrorClass()( "FieldLevelEncryptionProfileAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class FieldLevelEncryptionProfileSizeExceeded extends S.TaggedErrorClass()( "FieldLevelEncryptionProfileSizeExceeded", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NoSuchPublicKey extends S.TaggedErrorClass()( "NoSuchPublicKey", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyFieldLevelEncryptionEncryptionEntities extends S.TaggedErrorClass()( "TooManyFieldLevelEncryptionEncryptionEntities", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyFieldLevelEncryptionFieldPatterns extends S.TaggedErrorClass()( "TooManyFieldLevelEncryptionFieldPatterns", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyFieldLevelEncryptionProfiles extends S.TaggedErrorClass()( "TooManyFieldLevelEncryptionProfiles", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class FunctionAlreadyExists extends S.TaggedErrorClass()( "FunctionAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class FunctionSizeLimitExceeded extends S.TaggedErrorClass()( "FunctionSizeLimitExceeded", { Message: S.optional(S.String) }, + T.HttpError(413), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class TooManyFunctions extends S.TaggedErrorClass()( "TooManyFunctions", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class BatchTooLarge extends S.TaggedErrorClass()( "BatchTooLarge", { Message: S.optional(S.String) }, + T.HttpError(413), ).pipe(C.withBadRequestError) {} export class TooManyInvalidationsInProgress extends S.TaggedErrorClass()( "TooManyInvalidationsInProgress", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class KeyGroupAlreadyExists extends S.TaggedErrorClass()( "KeyGroupAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyKeyGroups extends S.TaggedErrorClass()( "TooManyKeyGroups", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyPublicKeysInKeyGroup extends S.TaggedErrorClass()( "TooManyPublicKeysInKeyGroup", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class MonitoringSubscriptionAlreadyExists extends S.TaggedErrorClass()( "MonitoringSubscriptionAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class OriginAccessControlAlreadyExists extends S.TaggedErrorClass()( "OriginAccessControlAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyOriginAccessControls extends S.TaggedErrorClass()( "TooManyOriginAccessControls", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class OriginRequestPolicyAlreadyExists extends S.TaggedErrorClass()( "OriginRequestPolicyAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyCookiesInOriginRequestPolicy extends S.TaggedErrorClass()( "TooManyCookiesInOriginRequestPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyHeadersInOriginRequestPolicy extends S.TaggedErrorClass()( "TooManyHeadersInOriginRequestPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyOriginRequestPolicies extends S.TaggedErrorClass()( "TooManyOriginRequestPolicies", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyQueryStringsInOriginRequestPolicy extends S.TaggedErrorClass()( "TooManyQueryStringsInOriginRequestPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class PublicKeyAlreadyExists extends S.TaggedErrorClass()( "PublicKeyAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyPublicKeys extends S.TaggedErrorClass()( "TooManyPublicKeys", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class RealtimeLogConfigAlreadyExists extends S.TaggedErrorClass()( "RealtimeLogConfigAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyRealtimeLogConfigs extends S.TaggedErrorClass()( "TooManyRealtimeLogConfigs", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResponseHeadersPolicyAlreadyExists extends S.TaggedErrorClass()( "ResponseHeadersPolicyAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooLongCSPInResponseHeadersPolicy extends S.TaggedErrorClass()( "TooLongCSPInResponseHeadersPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyCustomHeadersInResponseHeadersPolicy extends S.TaggedErrorClass()( "TooManyCustomHeadersInResponseHeadersPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyRemoveHeadersInResponseHeadersPolicy extends S.TaggedErrorClass()( "TooManyRemoveHeadersInResponseHeadersPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyResponseHeadersPolicies extends S.TaggedErrorClass()( "TooManyResponseHeadersPolicies", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class StreamingDistributionAlreadyExists extends S.TaggedErrorClass()( "StreamingDistributionAlreadyExists", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class TooManyStreamingDistributionCNAMEs extends S.TaggedErrorClass()( "TooManyStreamingDistributionCNAMEs", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyStreamingDistributions extends S.TaggedErrorClass()( "TooManyStreamingDistributions", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyTrustedSigners extends S.TaggedErrorClass()( "TooManyTrustedSigners", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TrustedSignerDoesNotExist extends S.TaggedErrorClass()( "TrustedSignerDoesNotExist", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class CannotDeleteEntityWhileInUse extends S.TaggedErrorClass()( "CannotDeleteEntityWhileInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class IllegalDelete extends S.TaggedErrorClass()( "IllegalDelete", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class CachePolicyInUse extends S.TaggedErrorClass()( "CachePolicyInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class CloudFrontOriginAccessIdentityInUse extends S.TaggedErrorClass()( "CloudFrontOriginAccessIdentityInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class NoSuchCloudFrontOriginAccessIdentity extends S.TaggedErrorClass()( "NoSuchCloudFrontOriginAccessIdentity", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ResourceNotDisabled extends S.TaggedErrorClass()( "ResourceNotDisabled", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class DistributionNotDisabled extends S.TaggedErrorClass()( "DistributionNotDisabled", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ResourceInUse extends S.TaggedErrorClass()( "ResourceInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class FieldLevelEncryptionConfigInUse extends S.TaggedErrorClass()( "FieldLevelEncryptionConfigInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class FieldLevelEncryptionProfileInUse extends S.TaggedErrorClass()( "FieldLevelEncryptionProfileInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class FunctionInUse extends S.TaggedErrorClass()( "FunctionInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class NoSuchFunctionExists extends S.TaggedErrorClass()( "NoSuchFunctionExists", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchResource extends S.TaggedErrorClass()( "NoSuchResource", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchMonitoringSubscription extends S.TaggedErrorClass()( "NoSuchMonitoringSubscription", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchOriginAccessControl extends S.TaggedErrorClass()( "NoSuchOriginAccessControl", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class OriginAccessControlInUse extends S.TaggedErrorClass()( "OriginAccessControlInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class OriginRequestPolicyInUse extends S.TaggedErrorClass()( "OriginRequestPolicyInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class PublicKeyInUse extends S.TaggedErrorClass()( "PublicKeyInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class RealtimeLogConfigInUse extends S.TaggedErrorClass()( "RealtimeLogConfigInUse", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} export class ResponseHeadersPolicyInUse extends S.TaggedErrorClass()( "ResponseHeadersPolicyInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class NoSuchStreamingDistribution extends S.TaggedErrorClass()( "NoSuchStreamingDistribution", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class StreamingDistributionNotDisabled extends S.TaggedErrorClass()( "StreamingDistributionNotDisabled", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class NoSuchInvalidation extends S.TaggedErrorClass()( "NoSuchInvalidation", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TestFunctionFailed extends S.TaggedErrorClass()( "TestFunctionFailed", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class CannotChangeImmutablePublicKeyFields extends S.TaggedErrorClass()( "CannotChangeImmutablePublicKeyFields", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class CannotUpdateEntityWhileInUse extends S.TaggedErrorClass()( "CannotUpdateEntityWhileInUse", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError, C.withDependencyViolationError) {} export class TooManyDistributionsAssociatedToCachePolicy extends S.TaggedErrorClass()( "TooManyDistributionsAssociatedToCachePolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsAssociatedToFieldLevelEncryptionConfig extends S.TaggedErrorClass()( "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsAssociatedToKeyGroup extends S.TaggedErrorClass()( "TooManyDistributionsAssociatedToKeyGroup", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsAssociatedToOriginAccessControl extends S.TaggedErrorClass()( "TooManyDistributionsAssociatedToOriginAccessControl", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsAssociatedToOriginRequestPolicy extends S.TaggedErrorClass()( "TooManyDistributionsAssociatedToOriginRequestPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsAssociatedToResponseHeadersPolicy extends S.TaggedErrorClass()( "TooManyDistributionsAssociatedToResponseHeadersPolicy", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsWithFunctionAssociations extends S.TaggedErrorClass()( "TooManyDistributionsWithFunctionAssociations", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsWithLambdaAssociations extends S.TaggedErrorClass()( "TooManyDistributionsWithLambdaAssociations", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyDistributionsWithSingleFunctionARN extends S.TaggedErrorClass()( "TooManyDistributionsWithSingleFunctionARN", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyFunctionAssociations extends S.TaggedErrorClass()( "TooManyFunctionAssociations", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyHeadersInForwardedValues extends S.TaggedErrorClass()( "TooManyHeadersInForwardedValues", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyKeyGroupsAssociatedToDistribution extends S.TaggedErrorClass()( "TooManyKeyGroupsAssociatedToDistribution", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyLambdaFunctionAssociations extends S.TaggedErrorClass()( "TooManyLambdaFunctionAssociations", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyOriginCustomHeaders extends S.TaggedErrorClass()( "TooManyOriginCustomHeaders", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyOriginGroupsPerDistribution extends S.TaggedErrorClass()( "TooManyOriginGroupsPerDistribution", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyOrigins extends S.TaggedErrorClass()( "TooManyOrigins", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyQueryStringParameters extends S.TaggedErrorClass()( "TooManyQueryStringParameters", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TrustedKeyGroupDoesNotExist extends S.TaggedErrorClass()( "TrustedKeyGroupDoesNotExist", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/rds.ts b/packages/aws/src/services/rds.ts index 93a2bc6a95..32faed88db 100644 --- a/packages/aws/src/services/rds.ts +++ b/packages/aws/src/services/rds.ts @@ -11078,1019 +11078,1505 @@ export const SwitchoverReadReplicaResult = export class DBClusterNotFoundFault extends S.TaggedErrorClass()( "DBClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBClusterNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBClusterNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withNotFoundError) {} export class DBClusterRoleAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterRoleAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterRoleAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterRoleAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterRoleQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterRoleQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterRoleQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterRoleQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterStateFault extends S.TaggedErrorClass()( "InvalidDBClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withConflictError, C.withRetryableError) {} export class DBInstanceNotFoundFault extends S.TaggedErrorClass()( "DBInstanceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBInstanceNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceRoleAlreadyExistsFault extends S.TaggedErrorClass()( "DBInstanceRoleAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBInstanceRoleAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBInstanceRoleAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBInstanceRoleQuotaExceededFault extends S.TaggedErrorClass()( "DBInstanceRoleQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBInstanceRoleQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBInstanceRoleQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBInstanceStateFault extends S.TaggedErrorClass()( "InvalidDBInstanceStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBInstanceState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidDBInstanceState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SourceNotFoundFault extends S.TaggedErrorClass()( "SourceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SourceNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SourceNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionNotFoundFault extends S.TaggedErrorClass()( "SubscriptionNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubscriptionNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SubscriptionNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class BlueGreenDeploymentNotFoundFault extends S.TaggedErrorClass()( "BlueGreenDeploymentNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "BlueGreenDeploymentNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "BlueGreenDeploymentNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBProxyEndpointNotFoundFault extends S.TaggedErrorClass()( "DBProxyEndpointNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBProxyEndpointNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBProxyEndpointNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBProxyNotFoundFault extends S.TaggedErrorClass()( "DBProxyNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBProxyNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBProxyNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBProxyTargetGroupNotFoundFault extends S.TaggedErrorClass()( "DBProxyTargetGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBProxyTargetGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBProxyTargetGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBShardGroupNotFoundFault extends S.TaggedErrorClass()( "DBShardGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBShardGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBShardGroupNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotNotFoundFault extends S.TaggedErrorClass()( "DBSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSnapshotNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBSnapshotNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotTenantDatabaseNotFoundFault extends S.TaggedErrorClass()( "DBSnapshotTenantDatabaseNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSnapshotTenantDatabaseNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBSnapshotTenantDatabaseNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class IntegrationNotFoundFault extends S.TaggedErrorClass()( "IntegrationNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "IntegrationNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "IntegrationNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterEndpointStateFault extends S.TaggedErrorClass()( "InvalidDBClusterEndpointStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterEndpointStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterEndpointStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TenantDatabaseNotFoundFault extends S.TaggedErrorClass()( "TenantDatabaseNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "TenantDatabaseNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "TenantDatabaseNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundFault extends S.TaggedErrorClass()( "ResourceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ResourceNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ResourceNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class AuthorizationAlreadyExistsFault extends S.TaggedErrorClass()( "AuthorizationAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "AuthorizationAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "AuthorizationAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class AuthorizationQuotaExceededFault extends S.TaggedErrorClass()( "AuthorizationQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "AuthorizationQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "AuthorizationQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSecurityGroupNotFoundFault extends S.TaggedErrorClass()( "DBSecurityGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSecurityGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBSecurityGroupNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withNotFoundError) {} export class InvalidDBSecurityGroupStateFault extends S.TaggedErrorClass()( "InvalidDBSecurityGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBSecurityGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSecurityGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ExportTaskNotFoundFault extends S.TaggedErrorClass()( "ExportTaskNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ExportTaskNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ExportTaskNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidExportTaskStateFault extends S.TaggedErrorClass()( "InvalidExportTaskStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidExportTaskStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidExportTaskStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBParameterGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBParameterGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBParameterGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBParameterGroupNotFoundFault extends S.TaggedErrorClass()( "DBParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBParameterGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withNotFoundError) {} export class DBParameterGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBParameterGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBParameterGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterSnapshotAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterSnapshotAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterSnapshotNotFoundFault extends S.TaggedErrorClass()( "DBClusterSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterSnapshotNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterSnapshotNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterSnapshotStateFault extends S.TaggedErrorClass()( "InvalidDBClusterSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterSnapshotStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterSnapshotStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class KMSKeyNotAccessibleFault extends S.TaggedErrorClass()( "KMSKeyNotAccessibleFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "KMSKeyNotAccessibleFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "KMSKeyNotAccessibleFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SnapshotQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SnapshotQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CustomAvailabilityZoneNotFoundFault extends S.TaggedErrorClass()( "CustomAvailabilityZoneNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CustomAvailabilityZoneNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "CustomAvailabilityZoneNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "DBSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSnapshotAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBSnapshotAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class InvalidDBSnapshotStateFault extends S.TaggedErrorClass()( "InvalidDBSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSnapshotState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidDBSnapshotState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class OptionGroupAlreadyExistsFault extends S.TaggedErrorClass()( "OptionGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "OptionGroupAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "OptionGroupAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class OptionGroupNotFoundFault extends S.TaggedErrorClass()( "OptionGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "OptionGroupNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "OptionGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class OptionGroupQuotaExceededFault extends S.TaggedErrorClass()( "OptionGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "OptionGroupQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "OptionGroupQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class BlueGreenDeploymentAlreadyExistsFault extends S.TaggedErrorClass()( "BlueGreenDeploymentAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "BlueGreenDeploymentAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "BlueGreenDeploymentAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterParameterGroupNotFoundFault extends S.TaggedErrorClass()( "DBClusterParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterParameterGroupNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBClusterQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterQuotaExceededFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterQuotaExceededFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError, C.withQuotaError) {} export class InstanceQuotaExceededFault extends S.TaggedErrorClass()( "InstanceQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InstanceQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InstanceQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SourceClusterNotSupportedFault extends S.TaggedErrorClass()( "SourceClusterNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SourceClusterNotSupportedFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SourceClusterNotSupportedFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SourceDatabaseNotSupportedFault extends S.TaggedErrorClass()( "SourceDatabaseNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SourceDatabaseNotSupportedFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SourceDatabaseNotSupportedFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageQuotaExceededFault extends S.TaggedErrorClass()( "StorageQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "StorageQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "StorageQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CreateCustomDBEngineVersionFault extends S.TaggedErrorClass()( "CreateCustomDBEngineVersionFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CreateCustomDBEngineVersionFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CreateCustomDBEngineVersionFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CustomDBEngineVersionAlreadyExistsFault extends S.TaggedErrorClass()( "CustomDBEngineVersionAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CustomDBEngineVersionAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CustomDBEngineVersionAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class CustomDBEngineVersionNotFoundFault extends S.TaggedErrorClass()( "CustomDBEngineVersionNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CustomDBEngineVersionNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "CustomDBEngineVersionNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class CustomDBEngineVersionQuotaExceededFault extends S.TaggedErrorClass()( "CustomDBEngineVersionQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CustomDBEngineVersionQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CustomDBEngineVersionQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class Ec2ImagePropertiesNotSupportedFault extends S.TaggedErrorClass()( "Ec2ImagePropertiesNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "Ec2ImagePropertiesNotSupportedFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "Ec2ImagePropertiesNotSupportedFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidCustomDBEngineVersionStateFault extends S.TaggedErrorClass()( "InvalidCustomDBEngineVersionStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidCustomDBEngineVersionStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidCustomDBEngineVersionStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withConflictError, C.withAlreadyExistsError) {} export class DBSubnetGroupDoesNotCoverEnoughAZs extends S.TaggedErrorClass()( "DBSubnetGroupDoesNotCoverEnoughAZs", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupDoesNotCoverEnoughAZs", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupDoesNotCoverEnoughAZs", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupNotFoundFault extends S.TaggedErrorClass()( "DBSubnetGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withNotFoundError) {} export class DomainNotFoundFault extends S.TaggedErrorClass()( "DomainNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DomainNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DomainNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class GlobalClusterNotFoundFault extends S.TaggedErrorClass()( "GlobalClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InsufficientDBInstanceCapacityFault extends S.TaggedErrorClass()( "InsufficientDBInstanceCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientDBInstanceCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientDBInstanceCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientStorageClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientStorageClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientStorageClusterCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientStorageClusterCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSubnetGroupFault extends S.TaggedErrorClass()( "InvalidDBSubnetGroupFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSubnetGroupFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetGroupFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSubnetGroupStateFault extends S.TaggedErrorClass()( "InvalidDBSubnetGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBSubnetGroupStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetGroupStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidGlobalClusterStateFault extends S.TaggedErrorClass()( "InvalidGlobalClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidGlobalClusterStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidGlobalClusterStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSubnet extends S.TaggedErrorClass()( "InvalidSubnet", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidVPCNetworkStateFault extends S.TaggedErrorClass()( "InvalidVPCNetworkStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidVPCNetworkStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidVPCNetworkStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NetworkTypeNotSupported extends S.TaggedErrorClass()( "NetworkTypeNotSupported", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "NetworkTypeNotSupported", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "NetworkTypeNotSupported", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageTypeNotSupportedFault extends S.TaggedErrorClass()( "StorageTypeNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "StorageTypeNotSupported", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "StorageTypeNotSupported", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class VpcEncryptionControlViolationException extends S.TaggedErrorClass()( "VpcEncryptionControlViolationException", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "VpcEncryptionControlViolationException", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "VpcEncryptionControlViolationException", + httpResponseCode: 400, + }), + T.HttpError(400), + ), +).pipe(C.withBadRequestError) {} +export class InvalidParameterCombination extends S.TaggedErrorClass()( + "InvalidParameterCombination", + { message: S.optional(S.String) }, +).pipe(C.withBadRequestError) {} +export class InvalidParameterValue extends S.TaggedErrorClass()( + "InvalidParameterValue", + { message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} export class DBClusterEndpointAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterEndpointAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterEndpointAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterEndpointAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterEndpointQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterEndpointQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterEndpointQuotaExceededFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterEndpointQuotaExceededFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class AuthorizationNotFoundFault extends S.TaggedErrorClass()( "AuthorizationNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class BackupPolicyNotFoundFault extends S.TaggedErrorClass()( "BackupPolicyNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "BackupPolicyNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "BackupPolicyNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class CertificateNotFoundFault extends S.TaggedErrorClass()( "CertificateNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceAlreadyExistsFault extends S.TaggedErrorClass()( "DBInstanceAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBInstanceAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ProvisionedIopsNotAvailableInAZFault extends S.TaggedErrorClass()( "ProvisionedIopsNotAvailableInAZFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ProvisionedIopsNotAvailableInAZFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ProvisionedIopsNotAvailableInAZFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withQuotaError) {} export class TenantDatabaseQuotaExceededFault extends S.TaggedErrorClass()( "TenantDatabaseQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TenantDatabaseQuotaExceeded", - httpResponseCode: 400, - }), -).pipe(C.withBadRequestError) {} -export class InvalidParameterCombination extends S.TaggedErrorClass()( - "InvalidParameterCombination", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} -export class InvalidParameterValue extends S.TaggedErrorClass()( - "InvalidParameterValue", - { message: S.optional(S.String) }, + T.all( + T.AwsQueryError({ + code: "TenantDatabaseQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupNotAllowedFault extends S.TaggedErrorClass()( "DBSubnetGroupNotAllowedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupNotAllowedFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupNotAllowedFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBProxyAlreadyExistsFault extends S.TaggedErrorClass()( "DBProxyAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBProxyAlreadyExistsFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "DBProxyAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBProxyQuotaExceededFault extends S.TaggedErrorClass()( "DBProxyQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBProxyQuotaExceededFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "DBProxyQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBProxyEndpointAlreadyExistsFault extends S.TaggedErrorClass()( "DBProxyEndpointAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBProxyEndpointAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBProxyEndpointAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBProxyEndpointQuotaExceededFault extends S.TaggedErrorClass()( "DBProxyEndpointQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBProxyEndpointQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBProxyEndpointQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBProxyStateFault extends S.TaggedErrorClass()( "InvalidDBProxyStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBProxyStateFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidDBProxyStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSecurityGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBSecurityGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSecurityGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSecurityGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBSecurityGroupNotSupportedFault extends S.TaggedErrorClass()( "DBSecurityGroupNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSecurityGroupNotSupported", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSecurityGroupNotSupported", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSecurityGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBSecurityGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "QuotaExceeded.DBSecurityGroup", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "QuotaExceeded.DBSecurityGroup", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBShardGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBShardGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBShardGroupAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "DBShardGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class MaxDBShardGroupLimitReached extends S.TaggedErrorClass()( "MaxDBShardGroupLimitReached", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "MaxDBShardGroupLimitReached", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "MaxDBShardGroupLimitReached", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UnsupportedDBEngineVersionFault extends S.TaggedErrorClass()( "UnsupportedDBEngineVersionFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "UnsupportedDBEngineVersion", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "UnsupportedDBEngineVersion", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBSubnetGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBSubnetGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBSubnetGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withQuotaError) {} export class DBSubnetQuotaExceededFault extends S.TaggedErrorClass()( "DBSubnetQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class EventSubscriptionQuotaExceededFault extends S.TaggedErrorClass()( "EventSubscriptionQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "EventSubscriptionQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "EventSubscriptionQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSInvalidTopicFault extends S.TaggedErrorClass()( "SNSInvalidTopicFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSInvalidTopic", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SNSInvalidTopic", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSNoAuthorizationFault extends S.TaggedErrorClass()( "SNSNoAuthorizationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSNoAuthorization", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SNSNoAuthorization", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSTopicArnNotFoundFault extends S.TaggedErrorClass()( "SNSTopicArnNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSTopicArnNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SNSTopicArnNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionAlreadyExistFault extends S.TaggedErrorClass()( "SubscriptionAlreadyExistFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubscriptionAlreadyExist", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "SubscriptionAlreadyExist", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionCategoryNotFoundFault extends S.TaggedErrorClass()( "SubscriptionCategoryNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SubscriptionCategoryNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "SubscriptionCategoryNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class GlobalClusterAlreadyExistsFault extends S.TaggedErrorClass()( "GlobalClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class GlobalClusterQuotaExceededFault extends S.TaggedErrorClass()( "GlobalClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBShardGroupStateFault extends S.TaggedErrorClass()( "InvalidDBShardGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBShardGroupState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidDBShardGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class IntegrationAlreadyExistsFault extends S.TaggedErrorClass()( "IntegrationAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "IntegrationAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "IntegrationAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class IntegrationConflictOperationFault extends S.TaggedErrorClass()( "IntegrationConflictOperationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "IntegrationConflictOperationFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "IntegrationConflictOperationFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class IntegrationQuotaExceededFault extends S.TaggedErrorClass()( "IntegrationQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "IntegrationQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "IntegrationQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TenantDatabaseAlreadyExistsFault extends S.TaggedErrorClass()( "TenantDatabaseAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TenantDatabaseAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TenantDatabaseAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class InvalidBlueGreenDeploymentStateFault extends S.TaggedErrorClass()( "InvalidBlueGreenDeploymentStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidBlueGreenDeploymentStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidBlueGreenDeploymentStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterAutomatedBackupQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterAutomatedBackupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterAutomatedBackupQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterAutomatedBackupQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterAutomatedBackupNotFoundFault extends S.TaggedErrorClass()( "DBClusterAutomatedBackupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterAutomatedBackupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterAutomatedBackupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterAutomatedBackupStateFault extends S.TaggedErrorClass()( "InvalidDBClusterAutomatedBackupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterAutomatedBackupStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterAutomatedBackupStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterEndpointNotFoundFault extends S.TaggedErrorClass()( "DBClusterEndpointNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterEndpointNotFoundFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterEndpointNotFoundFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBParameterGroupStateFault extends S.TaggedErrorClass()( "InvalidDBParameterGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBParameterGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBParameterGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceAutomatedBackupQuotaExceededFault extends S.TaggedErrorClass()( "DBInstanceAutomatedBackupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBInstanceAutomatedBackupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBInstanceAutomatedBackupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceAutomatedBackupNotFoundFault extends S.TaggedErrorClass()( "DBInstanceAutomatedBackupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBInstanceAutomatedBackupNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBInstanceAutomatedBackupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBInstanceAutomatedBackupStateFault extends S.TaggedErrorClass()( "InvalidDBInstanceAutomatedBackupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBInstanceAutomatedBackupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBInstanceAutomatedBackupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBProxyEndpointStateFault extends S.TaggedErrorClass()( "InvalidDBProxyEndpointStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBProxyEndpointStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBProxyEndpointStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSubnetStateFault extends S.TaggedErrorClass()( "InvalidDBSubnetStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSubnetStateFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidEventSubscriptionStateFault extends S.TaggedErrorClass()( "InvalidEventSubscriptionStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidEventSubscriptionState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidEventSubscriptionState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidIntegrationStateFault extends S.TaggedErrorClass()( "InvalidIntegrationStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidIntegrationStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidIntegrationStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidOptionGroupStateFault extends S.TaggedErrorClass()( "InvalidOptionGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidOptionGroupStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidOptionGroupStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBProxyTargetNotFoundFault extends S.TaggedErrorClass()( "DBProxyTargetNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBProxyTargetNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBProxyTargetNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBClusterBacktrackNotFoundFault extends S.TaggedErrorClass()( "DBClusterBacktrackNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterBacktrackNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterBacktrackNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceNotReadyFault extends S.TaggedErrorClass()( "DBInstanceNotReadyFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceNotReady", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBInstanceNotReady", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ReservedDBInstanceNotFoundFault extends S.TaggedErrorClass()( "ReservedDBInstanceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedDBInstanceNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReservedDBInstanceNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ReservedDBInstancesOfferingNotFoundFault extends S.TaggedErrorClass()( "ReservedDBInstancesOfferingNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedDBInstancesOfferingNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReservedDBInstancesOfferingNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidResourceStateFault extends S.TaggedErrorClass()( "InvalidResourceStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidResourceStateFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidResourceStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBLogFileNotFoundFault extends S.TaggedErrorClass()( "DBLogFileNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBLogFileNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBLogFileNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterCapacityFault extends S.TaggedErrorClass()( "InvalidDBClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterCapacityFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterCapacityFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageTypeNotAvailableFault extends S.TaggedErrorClass()( "StorageTypeNotAvailableFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "StorageTypeNotAvailableFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "StorageTypeNotAvailableFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SharedSnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SharedSnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SharedSnapshotQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SharedSnapshotQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBUpgradeDependencyFailureFault extends S.TaggedErrorClass()( "DBUpgradeDependencyFailureFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBUpgradeDependencyFailure", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBUpgradeDependencyFailure", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetAlreadyInUse extends S.TaggedErrorClass()( "SubnetAlreadyInUse", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetAlreadyInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetAlreadyInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} export class ReservedDBInstanceAlreadyExistsFault extends S.TaggedErrorClass()( "ReservedDBInstanceAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedDBInstanceAlreadyExists", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReservedDBInstanceAlreadyExists", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ReservedDBInstanceQuotaExceededFault extends S.TaggedErrorClass()( "ReservedDBInstanceQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedDBInstanceQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ReservedDBInstanceQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBProxyTargetAlreadyRegisteredFault extends S.TaggedErrorClass()( "DBProxyTargetAlreadyRegisteredFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBProxyTargetAlreadyRegisteredFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBProxyTargetAlreadyRegisteredFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientAvailableIPsInSubnetFault extends S.TaggedErrorClass()( "InsufficientAvailableIPsInSubnetFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientAvailableIPsInSubnetFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientAvailableIPsInSubnetFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterRoleNotFoundFault extends S.TaggedErrorClass()( "DBClusterRoleNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBClusterRoleNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBClusterRoleNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceRoleNotFoundFault extends S.TaggedErrorClass()( "DBInstanceRoleNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceRoleNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBInstanceRoleNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidS3BucketFault extends S.TaggedErrorClass()( "InvalidS3BucketFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidS3BucketFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidS3BucketFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientDBClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientDBClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientDBClusterCapacityFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientDBClusterCapacityFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError, C.withQuotaError) {} export class InvalidRestoreFault extends S.TaggedErrorClass()( "InvalidRestoreFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidRestoreFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidRestoreFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class PointInTimeRestoreNotEnabledFault extends S.TaggedErrorClass()( "PointInTimeRestoreNotEnabledFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "PointInTimeRestoreNotEnabled", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "PointInTimeRestoreNotEnabled", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ExportTaskAlreadyExistsFault extends S.TaggedErrorClass()( "ExportTaskAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ExportTaskAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ExportTaskAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class IamRoleMissingPermissionsFault extends S.TaggedErrorClass()( "IamRoleMissingPermissionsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "IamRoleMissingPermissions", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "IamRoleMissingPermissions", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class IamRoleNotFoundFault extends S.TaggedErrorClass()( "IamRoleNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "IamRoleNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "IamRoleNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidExportOnlyFault extends S.TaggedErrorClass()( "InvalidExportOnlyFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidExportOnly", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidExportOnly", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidExportSourceStateFault extends S.TaggedErrorClass()( "InvalidExportSourceStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidExportSourceState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidExportSourceState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} //# Operations @@ -12565,6 +13051,8 @@ export type CreateDBClusterError = | StorageQuotaExceededFault | StorageTypeNotSupportedFault | VpcEncryptionControlViolationException + | InvalidParameterCombination + | InvalidParameterValue | CommonErrors; /** * Creates a new Amazon Aurora DB cluster or Multi-AZ DB cluster. @@ -12610,6 +13098,8 @@ export const createDBCluster: API.OperationMethod< StorageQuotaExceededFault, StorageTypeNotSupportedFault, VpcEncryptionControlViolationException, + InvalidParameterCombination, + InvalidParameterValue, ], operationName: "CreateDBCluster", })); @@ -15770,6 +16260,8 @@ export type ModifyDBClusterError = | StorageTypeNotAvailableFault | StorageTypeNotSupportedFault | VpcEncryptionControlViolationException + | InvalidParameterCombination + | InvalidParameterValue | CommonErrors; /** * Modifies the settings of an Amazon Aurora DB cluster or a Multi-AZ DB cluster. You can change one or more settings by specifying these parameters and the new values in the request. @@ -15808,6 +16300,8 @@ export const modifyDBCluster: API.OperationMethod< StorageTypeNotAvailableFault, StorageTypeNotSupportedFault, VpcEncryptionControlViolationException, + InvalidParameterCombination, + InvalidParameterValue, ], operationName: "ModifyDBCluster", })); diff --git a/packages/aws/src/services/s3tables.ts b/packages/aws/src/services/s3tables.ts index 2fad6b0617..5d7538750d 100644 --- a/packages/aws/src/services/s3tables.ts +++ b/packages/aws/src/services/s3tables.ts @@ -1724,7 +1724,7 @@ export interface GetTableResponse { createdBy: string; managedByService?: string; modifiedAt: Date; - modifiedBy: string; + modifiedBy?: string; ownerAccountId: string; format: OpenTableFormat; tableBucketId?: string; @@ -1744,7 +1744,7 @@ export const GetTableResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => createdBy: S.String, managedByService: S.optional(S.String), modifiedAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), - modifiedBy: S.String, + modifiedBy: S.optional(S.String), ownerAccountId: S.String, format: OpenTableFormat, tableBucketId: S.optional(S.String), @@ -2357,34 +2357,42 @@ export const UpdateTableMetadataLocationResponse = export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class MethodNotAllowedException extends S.TaggedErrorClass()( "MethodNotAllowedException", { message: S.optional(S.String) }, + T.HttpError(405), ).pipe(C.withBadRequestError) {} //# Operations From 8ec1ad6b3c8601e2cc34eae0a90ab0a0e5ee4445 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Mon, 13 Jul 2026 07:16:27 -0700 Subject: [PATCH 13/63] fix(aws): op-scoped typed errors from the full-fleet test wave - wafv2: WAFUnavailableEntityException on disassociateWebACL - s3: BucketHasAccessPointsAttached on deleteBucket (was UnknownAwsError) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/s3.json | 2 ++ packages/aws/patches/wafv2.json | 5 +++++ packages/aws/src/services/s3.ts | 24 ++++++++++++++++++++++++ packages/aws/src/services/wafv2.ts | 2 ++ 4 files changed, 33 insertions(+) create mode 100644 packages/aws/patches/wafv2.json diff --git a/packages/aws/patches/s3.json b/packages/aws/patches/s3.json index 223603aa06..bbfe7f979e 100644 --- a/packages/aws/patches/s3.json +++ b/packages/aws/patches/s3.json @@ -2,6 +2,7 @@ "errorCategories": { "SlowDown": ["ThrottlingError", "RetryableError"], "BucketNotEmpty": ["ConflictError"], + "BucketHasAccessPointsAttached": ["ConflictError"], "BucketAlreadyOwnedByYou": ["AlreadyExistsError"], "MalformedXML": ["BadRequestError"], "MalformedPolicy": ["BadRequestError"], @@ -31,6 +32,7 @@ "RequestLimitExceeded", "SlowDown", "BucketNotEmpty", + "BucketHasAccessPointsAttached", "NoSuchBucket", "PermanentRedirect" ] diff --git a/packages/aws/patches/wafv2.json b/packages/aws/patches/wafv2.json new file mode 100644 index 0000000000..10675075c8 --- /dev/null +++ b/packages/aws/patches/wafv2.json @@ -0,0 +1,5 @@ +{ + "operations": { + "disassociateWebACL": { "errors": ["WAFUnavailableEntityException"] } + } +} diff --git a/packages/aws/src/services/s3.ts b/packages/aws/src/services/s3.ts index 273381cfe5..ef42d2ae5e 100644 --- a/packages/aws/src/services/s3.ts +++ b/packages/aws/src/services/s3.ts @@ -12856,6 +12856,7 @@ export const WriteGetObjectResponseResponse = export class NoSuchUpload extends S.TaggedErrorClass()( "NoSuchUpload", {}, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class RequestLimitExceeded extends S.TaggedErrorClass()( "RequestLimitExceeded", @@ -12873,6 +12874,7 @@ export class NotFound extends S.TaggedErrorClass()("NotFound", {}) {} export class ObjectNotInActiveTierError extends S.TaggedErrorClass()( "ObjectNotInActiveTierError", {}, + T.HttpError(403), ).pipe(C.withAuthError) {} export class PermanentRedirect extends S.TaggedErrorClass()( "PermanentRedirect", @@ -12888,10 +12890,12 @@ export class PermanentRedirect extends S.TaggedErrorClass()( export class BucketAlreadyExists extends S.TaggedErrorClass()( "BucketAlreadyExists", {}, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class BucketAlreadyOwnedByYou extends S.TaggedErrorClass()( "BucketAlreadyOwnedByYou", {}, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class IllegalLocationConstraintException extends S.TaggedErrorClass()( "IllegalLocationConstraintException", @@ -12913,6 +12917,10 @@ export class BucketNotEmpty extends S.TaggedErrorClass()( "BucketNotEmpty", {}, ).pipe(C.withConflictError) {} +export class BucketHasAccessPointsAttached extends S.TaggedErrorClass()( + "BucketHasAccessPointsAttached", + {}, +).pipe(C.withConflictError) {} export class SignatureDoesNotMatch extends S.TaggedErrorClass()( "SignatureDoesNotMatch", {}, @@ -12920,6 +12928,7 @@ export class SignatureDoesNotMatch extends S.TaggedErrorClass()( "NoSuchKey", {}, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class NoSuchConfiguration extends S.TaggedErrorClass()( "NoSuchConfiguration", @@ -12963,10 +12972,12 @@ export class InvalidObjectState extends S.TaggedErrorClass() StorageClass: S.optional(StorageClass), AccessTier: S.optional(IntelligentTieringAccessTier), }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class NoSuchAnnotation extends S.TaggedErrorClass()( "NoSuchAnnotation", {}, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidRequest extends S.TaggedErrorClass()( "InvalidRequest", @@ -12987,6 +12998,7 @@ export class RequestError extends S.TaggedErrorClass()( export class InvalidPrefix extends S.TaggedErrorClass()( "InvalidPrefix", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class MalformedXML extends S.TaggedErrorClass()( "MalformedXML", @@ -13007,14 +13019,17 @@ export class MalformedPolicy extends S.TaggedErrorClass()( export class EncryptionTypeMismatch extends S.TaggedErrorClass()( "EncryptionTypeMismatch", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidWriteOffset extends S.TaggedErrorClass()( "InvalidWriteOffset", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyParts extends S.TaggedErrorClass()( "TooManyParts", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class PreconditionFailed extends S.TaggedErrorClass()( "PreconditionFailed", @@ -13027,18 +13042,22 @@ export class ConditionalRequestConflict extends S.TaggedErrorClass()( "AnnotationLimitExceeded", {}, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withThrottlingError) {} export class AnnotationNameTooLong extends S.TaggedErrorClass()( "AnnotationNameTooLong", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidAnnotationName extends S.TaggedErrorClass()( "InvalidAnnotationName", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnsupportedMediaType extends S.TaggedErrorClass()( "UnsupportedMediaType", {}, + T.HttpError(415), ).pipe(C.withBadRequestError) {} export class InvalidBucketState extends S.TaggedErrorClass()( "InvalidBucketState", @@ -13047,10 +13066,12 @@ export class InvalidBucketState extends S.TaggedErrorClass() export class IdempotencyParameterMismatch extends S.TaggedErrorClass()( "IdempotencyParameterMismatch", {}, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ObjectAlreadyInActiveTierError extends S.TaggedErrorClass()( "ObjectAlreadyInActiveTierError", {}, + T.HttpError(403), ).pipe(C.withAuthError) {} //# Operations @@ -14028,6 +14049,7 @@ export type DeleteBucketError = | RequestLimitExceeded | SlowDown | BucketNotEmpty + | BucketHasAccessPointsAttached | NoSuchBucket | PermanentRedirect | CommonErrors; @@ -14078,6 +14100,7 @@ export const deleteBucket: API.OperationMethod< RequestLimitExceeded, SlowDown, BucketNotEmpty, + BucketHasAccessPointsAttached, NoSuchBucket, PermanentRedirect, ], @@ -20806,4 +20829,5 @@ export const writeGetObjectResponse: API.OperationMethod< output: WriteGetObjectResponseResponse, errors: [], operationName: "WriteGetObjectResponse", + endpointHostPrefix: "{RequestRoute}.", })); diff --git a/packages/aws/src/services/wafv2.ts b/packages/aws/src/services/wafv2.ts index 2b6f07c85c..92f130d405 100644 --- a/packages/aws/src/services/wafv2.ts +++ b/packages/aws/src/services/wafv2.ts @@ -5787,6 +5787,7 @@ export type DisassociateWebACLError = | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException + | WAFUnavailableEntityException | CommonErrors; /** * Disassociates the specified resource from its web ACL @@ -5812,6 +5813,7 @@ export const disassociateWebACL: API.OperationMethod< WAFInvalidOperationException, WAFInvalidParameterException, WAFNonexistentItemException, + WAFUnavailableEntityException, ], operationName: "DisassociateWebACL", })); From 8400a9f134f561a1cd3831ba413f5446323b68c4 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Tue, 14 Jul 2026 22:58:02 -0700 Subject: [PATCH 14/63] chore(aws): sweep patches + regen (snapshot 2026-07-14 22:58) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/amplify.json | 30 +++++++ packages/aws/patches/api-gateway.json | 14 ++++ packages/aws/patches/appflow.json | 48 +++++++++++ packages/aws/patches/appintegrations.json | 38 +++++++++ .../aws/patches/application-auto-scaling.json | 13 +++ packages/aws/patches/application-signals.json | 28 +++++++ packages/aws/patches/athena.json | 18 +++++ packages/aws/patches/bedrock-agentcore.json | 10 +++ packages/aws/patches/codeartifact.json | 9 +++ packages/aws/patches/codepipeline.json | 9 +++ packages/aws/patches/cognito-identity.json | 9 +++ packages/aws/patches/comprehend.json | 29 +++++++ packages/aws/scripts/generate.ts | 15 ++++ packages/aws/scripts/spec-schema.ts | 7 ++ packages/aws/src/errors.ts | 6 +- packages/aws/src/services/amplify.ts | 79 ++++++++++--------- packages/aws/src/services/api-gateway.ts | 17 +++- packages/aws/src/services/appflow.ts | 49 +++++++----- packages/aws/src/services/appintegrations.ts | 58 ++++++++++++++ .../src/services/application-auto-scaling.ts | 67 +++++++++++++--- .../aws/src/services/application-signals.ts | 39 ++++++--- packages/aws/src/services/athena.ts | 12 ++- packages/aws/src/services/backup.ts | 14 +++- .../aws/src/services/bedrock-agentcore.ts | 8 +- packages/aws/src/services/codeartifact.ts | 13 ++- packages/aws/src/services/codepipeline.ts | 5 +- packages/aws/src/services/cognito-identity.ts | 14 +++- packages/aws/src/services/comprehend.ts | 44 +++++++++-- 28 files changed, 596 insertions(+), 106 deletions(-) create mode 100644 packages/aws/patches/api-gateway.json create mode 100644 packages/aws/patches/appintegrations.json create mode 100644 packages/aws/patches/application-auto-scaling.json create mode 100644 packages/aws/patches/application-signals.json create mode 100644 packages/aws/patches/codeartifact.json create mode 100644 packages/aws/patches/codepipeline.json create mode 100644 packages/aws/patches/cognito-identity.json create mode 100644 packages/aws/patches/comprehend.json diff --git a/packages/aws/patches/amplify.json b/packages/aws/patches/amplify.json index e8b25bf620..9e8079fbf2 100644 --- a/packages/aws/patches/amplify.json +++ b/packages/aws/patches/amplify.json @@ -10,6 +10,36 @@ "defaultDomain": { "optional": true }, "platform": { "optional": true } } + }, + "JobSummary": { + "members": { + "commitId": { "optional": true }, + "commitMessage": { "optional": true }, + "commitTime": { "optional": true }, + "jobType": { "optional": true } + } + }, + "CreateDeploymentResult": { + "members": { + "fileUploadUrls": { "optional": true } + } + }, + "Branch": { + "members": { + "description": { "optional": true }, + "displayName": { "optional": true }, + "stage": { "optional": true }, + "enableNotification": { "optional": true }, + "environmentVariables": { "optional": true }, + "enableAutoBuild": { "optional": true }, + "customDomains": { "optional": true }, + "framework": { "optional": true }, + "activeJobId": { "optional": true }, + "totalNumberOfJobs": { "optional": true }, + "enableBasicAuth": { "optional": true }, + "ttl": { "optional": true }, + "enablePullRequestPreview": { "optional": true } + } } } } diff --git a/packages/aws/patches/api-gateway.json b/packages/aws/patches/api-gateway.json new file mode 100644 index 0000000000..0aa5a742c0 --- /dev/null +++ b/packages/aws/patches/api-gateway.json @@ -0,0 +1,14 @@ +{ + "structures": { + "ApiKey": { + "members": { + "value": { "sensitive": true } + } + }, + "CreateApiKeyRequest": { + "members": { + "value": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/appflow.json b/packages/aws/patches/appflow.json index 7af28ca673..6f90e3571d 100644 --- a/packages/aws/patches/appflow.json +++ b/packages/aws/patches/appflow.json @@ -6,5 +6,53 @@ "updateConnectorProfile": { "errors": ["ConnectorServerException"] } + }, + "structures": { + "DatadogConnectorProfileCredentials": { + "members": { + "applicationKey": { "sensitive": true } + } + }, + "DynatraceConnectorProfileCredentials": { + "members": { + "apiToken": { "sensitive": true } + } + }, + "InforNexusConnectorProfileCredentials": { + "members": { + "secretAccessKey": { "sensitive": true }, + "datakey": { "sensitive": true } + } + }, + "GoogleAnalyticsConnectorProfileCredentials": { + "members": { + "refreshToken": { "sensitive": true } + } + }, + "HoneycodeConnectorProfileCredentials": { + "members": { + "refreshToken": { "sensitive": true } + } + }, + "SalesforceConnectorProfileCredentials": { + "members": { + "refreshToken": { "sensitive": true } + } + }, + "OAuth2Credentials": { + "members": { + "refreshToken": { "sensitive": true } + } + }, + "OAuthCredentials": { + "members": { + "refreshToken": { "sensitive": true } + } + }, + "PardotConnectorProfileCredentials": { + "members": { + "refreshToken": { "sensitive": true } + } + } } } diff --git a/packages/aws/patches/appintegrations.json b/packages/aws/patches/appintegrations.json new file mode 100644 index 0000000000..e9fb2ebe75 --- /dev/null +++ b/packages/aws/patches/appintegrations.json @@ -0,0 +1,38 @@ +{ + "errorCategories": { + "TooManyRequestsException": ["ThrottlingError", "RetryableError"] + }, + "operations": { + "createApplication": { "errors": ["TooManyRequestsException"] }, + "createDataIntegration": { "errors": ["TooManyRequestsException"] }, + "createDataIntegrationAssociation": { + "errors": ["TooManyRequestsException"] + }, + "createEventIntegration": { "errors": ["TooManyRequestsException"] }, + "deleteApplication": { "errors": ["TooManyRequestsException"] }, + "deleteDataIntegration": { "errors": ["TooManyRequestsException"] }, + "deleteEventIntegration": { "errors": ["TooManyRequestsException"] }, + "getApplication": { "errors": ["TooManyRequestsException"] }, + "getDataIntegration": { "errors": ["TooManyRequestsException"] }, + "getEventIntegration": { "errors": ["TooManyRequestsException"] }, + "listApplicationAssociations": { "errors": ["TooManyRequestsException"] }, + "listApplications": { "errors": ["TooManyRequestsException"] }, + "listDataIntegrationAssociations": { + "errors": ["TooManyRequestsException"] + }, + "listDataIntegrations": { "errors": ["TooManyRequestsException"] }, + "listEventIntegrationAssociations": { + "errors": ["TooManyRequestsException"] + }, + "listEventIntegrations": { "errors": ["TooManyRequestsException"] }, + "listTagsForResource": { "errors": ["TooManyRequestsException"] }, + "tagResource": { "errors": ["TooManyRequestsException"] }, + "untagResource": { "errors": ["TooManyRequestsException"] }, + "updateApplication": { "errors": ["TooManyRequestsException"] }, + "updateDataIntegration": { "errors": ["TooManyRequestsException"] }, + "updateDataIntegrationAssociation": { + "errors": ["TooManyRequestsException"] + }, + "updateEventIntegration": { "errors": ["TooManyRequestsException"] } + } +} diff --git a/packages/aws/patches/application-auto-scaling.json b/packages/aws/patches/application-auto-scaling.json new file mode 100644 index 0000000000..6b97573b8c --- /dev/null +++ b/packages/aws/patches/application-auto-scaling.json @@ -0,0 +1,13 @@ +{ + "operations": { + "getPredictiveScalingForecast": { + "syntheticErrors": [ + { + "name": "PredictiveScalingForecastNotSupported", + "from": "AccessDeniedException", + "message": { "includes": "GetPredictiveScalingForecast is not supported" } + } + ] + } + } +} diff --git a/packages/aws/patches/application-signals.json b/packages/aws/patches/application-signals.json new file mode 100644 index 0000000000..0944b39e52 --- /dev/null +++ b/packages/aws/patches/application-signals.json @@ -0,0 +1,28 @@ +{ + "structures": { + "ServiceLevelObjectiveBudgetReportError": { + "members": { + "Name": { + "optional": true + } + } + }, + "Service": { + "members": { + "KeyAttributes": { + "optional": true + }, + "MetricReferences": { + "optional": true + } + } + }, + "RecurrenceRule": { + "members": { + "Expression": { + "optional": true + } + } + } + } +} \ No newline at end of file diff --git a/packages/aws/patches/athena.json b/packages/aws/patches/athena.json index c037861282..2832f85c00 100644 --- a/packages/aws/patches/athena.json +++ b/packages/aws/patches/athena.json @@ -45,6 +45,24 @@ } ] }, + "getPreparedStatement": { + "syntheticErrors": [ + { + "name": "WorkGroupNotFound", + "from": "InvalidRequestException", + "message": { "matches": "WorkGroup.*not found" } + } + ] + }, + "deletePreparedStatement": { + "syntheticErrors": [ + { + "name": "WorkGroupNotFound", + "from": "InvalidRequestException", + "message": { "matches": "WorkGroup.*not found" } + } + ] + }, "getDataCatalog": { "syntheticErrors": [ { diff --git a/packages/aws/patches/bedrock-agentcore.json b/packages/aws/patches/bedrock-agentcore.json index a91f73b64f..17785d0c59 100644 --- a/packages/aws/patches/bedrock-agentcore.json +++ b/packages/aws/patches/bedrock-agentcore.json @@ -4,6 +4,16 @@ "members": { "payload": { "optional": true } } + }, + "MemoryRecord": { + "members": { + "memoryStrategyId": { "optional": true } + } + }, + "MemoryRecordSummary": { + "members": { + "memoryStrategyId": { "optional": true } + } } } } diff --git a/packages/aws/patches/codeartifact.json b/packages/aws/patches/codeartifact.json new file mode 100644 index 0000000000..9e8dc13c9e --- /dev/null +++ b/packages/aws/patches/codeartifact.json @@ -0,0 +1,9 @@ +{ + "structures": { + "GetAuthorizationTokenResult": { + "members": { + "authorizationToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/codepipeline.json b/packages/aws/patches/codepipeline.json new file mode 100644 index 0000000000..d70d693e6e --- /dev/null +++ b/packages/aws/patches/codepipeline.json @@ -0,0 +1,9 @@ +{ + "structures": { + "WebhookAuthConfiguration": { + "members": { + "SecretToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/cognito-identity.json b/packages/aws/patches/cognito-identity.json new file mode 100644 index 0000000000..bcf64458aa --- /dev/null +++ b/packages/aws/patches/cognito-identity.json @@ -0,0 +1,9 @@ +{ + "structures": { + "Credentials": { + "members": { + "SessionToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/comprehend.json b/packages/aws/patches/comprehend.json new file mode 100644 index 0000000000..722ae23750 --- /dev/null +++ b/packages/aws/patches/comprehend.json @@ -0,0 +1,29 @@ +{ + "operations": { + "startEventsDetectionJob": { + "errors": ["NotAuthorizedException"] + }, + "stopEventsDetectionJob": { + "errors": ["NotAuthorizedException"] + }, + "describeEventsDetectionJob": { + "errors": ["NotAuthorizedException"] + }, + "listEventsDetectionJobs": { + "errors": ["NotAuthorizedException"] + }, + "classifyDocument": { + "errors": ["NotAuthorizedException"] + } + }, + "errors": { + "NotAuthorizedException": { + "message": { + "type": "string" + } + } + }, + "errorCategories": { + "NotAuthorizedException": ["AuthError"] + } +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index 7cb182309c..26d2279315 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -1907,6 +1907,21 @@ const convertShapeToSchema: ( sdkFile.serviceSpec.structures?.[currentSchemaName]; const memberOverride = structureOverride?.members?.[memberName]; + // Member-level sensitive override from spec patches — the + // Smithy model lacks @sensitive but the field carries secret + // material (e.g. API Gateway ApiKey.value). Swap the wire + // schema for SensitiveString so responses decode to Redacted + // and requests accept raw or Redacted values. + if (memberOverride?.sensitive) { + if (schema !== "S.String") { + return yield* Effect.die( + `sensitive member override on ${currentSchemaName}.${memberName} ` + + `requires a plain string member (schema was ${schema})`, + ); + } + schema = "SensitiveString"; + tsType = "string | redacted.Redacted"; + } // Check if this member is "soft required" (@clientOptional + @required) const hasClientOptional = member.traits?.["smithy.api#clientOptional"] != null; diff --git a/packages/aws/scripts/spec-schema.ts b/packages/aws/scripts/spec-schema.ts index a2c67e6ad7..41e7756ccd 100644 --- a/packages/aws/scripts/spec-schema.ts +++ b/packages/aws/scripts/spec-schema.ts @@ -135,6 +135,13 @@ export const MemberOverride = S.Struct({ * If specified, overrides the Smithy model's required trait. */ optional: S.optional(S.Boolean), + /** + * Marks a string member as sensitive even though the Smithy model lacks + * the `@sensitive` trait (e.g. API Gateway's `ApiKey.value`). The member + * is generated as `SensitiveString`: responses decode to + * `Redacted` and requests accept either a raw or Redacted value. + */ + sensitive: S.optional(S.Boolean), }); export type MemberOverride = typeof MemberOverride.Type; diff --git a/packages/aws/src/errors.ts b/packages/aws/src/errors.ts index ba0bcfdcf1..be5de6c6f0 100644 --- a/packages/aws/src/errors.ts +++ b/packages/aws/src/errors.ts @@ -4,7 +4,11 @@ import * as Category from "./category.ts"; //==== Common AWS Errors ==== export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", - {}, + { + // AWS explains WHICH action/resource was denied in the message — keep it + // so callers (and test logs) can see the actual authorization failure. + Message: S.optional(S.String), + }, ).pipe(Category.withAuthError) {} export class ExpiredTokenException extends S.TaggedErrorClass()( diff --git a/packages/aws/src/services/amplify.ts b/packages/aws/src/services/amplify.ts index b5b11a656c..5c46a780d9 100644 --- a/packages/aws/src/services/amplify.ts +++ b/packages/aws/src/services/amplify.ts @@ -579,28 +579,28 @@ export const AssociatedResources = /*@__PURE__*/ /*#__PURE__*/ S.Array( export interface Branch { branchArn: string; branchName: string; - description: string; + description?: string; tags?: { [key: string]: string | undefined }; - stage: Stage; - displayName: string; - enableNotification: boolean; + stage?: Stage; + displayName?: string; + enableNotification?: boolean; createTime: Date; updateTime: Date; - environmentVariables: { [key: string]: string | undefined }; - enableAutoBuild: boolean; + environmentVariables?: { [key: string]: string | undefined }; + enableAutoBuild?: boolean; enableSkewProtection?: boolean; - customDomains: string[]; - framework: string; - activeJobId: string; - totalNumberOfJobs: string; - enableBasicAuth: boolean; + customDomains?: string[]; + framework?: string; + activeJobId?: string; + totalNumberOfJobs?: string; + enableBasicAuth?: boolean; enablePerformanceMode?: boolean; thumbnailUrl?: string; basicAuthCredentials?: string | redacted.Redacted; buildSpec?: string | redacted.Redacted; - ttl: string; + ttl?: string; associatedResources?: string[]; - enablePullRequestPreview: boolean; + enablePullRequestPreview?: boolean; pullRequestEnvironmentName?: string; destinationBranch?: string; sourceBranch?: string; @@ -612,28 +612,28 @@ export const Branch = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ branchArn: S.String, branchName: S.String, - description: S.String, + description: S.optional(S.String), tags: S.optional(TagMap), - stage: Stage, - displayName: S.String, - enableNotification: S.Boolean, + stage: S.optional(Stage), + displayName: S.optional(S.String), + enableNotification: S.optional(S.Boolean), createTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")), updateTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")), - environmentVariables: EnvironmentVariables, - enableAutoBuild: S.Boolean, + environmentVariables: S.optional(EnvironmentVariables), + enableAutoBuild: S.optional(S.Boolean), enableSkewProtection: S.optional(S.Boolean), - customDomains: CustomDomains, - framework: S.String, - activeJobId: S.String, - totalNumberOfJobs: S.String, - enableBasicAuth: S.Boolean, + customDomains: S.optional(CustomDomains), + framework: S.optional(S.String), + activeJobId: S.optional(S.String), + totalNumberOfJobs: S.optional(S.String), + enableBasicAuth: S.optional(S.Boolean), enablePerformanceMode: S.optional(S.Boolean), thumbnailUrl: S.optional(S.String), basicAuthCredentials: S.optional(SensitiveString), buildSpec: S.optional(SensitiveString), - ttl: S.String, + ttl: S.optional(S.String), associatedResources: S.optional(AssociatedResources), - enablePullRequestPreview: S.Boolean, + enablePullRequestPreview: S.optional(S.Boolean), pullRequestEnvironmentName: S.optional(S.String), destinationBranch: S.optional(S.String), sourceBranch: S.optional(S.String), @@ -690,14 +690,14 @@ export const FileUploadUrls = /*@__PURE__*/ /*#__PURE__*/ S.Record( ); export interface CreateDeploymentResult { jobId?: string; - fileUploadUrls: { [key: string]: string | undefined }; + fileUploadUrls?: { [key: string]: string | undefined }; zipUploadUrl: string; } export const CreateDeploymentResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ jobId: S.optional(S.String), - fileUploadUrls: FileUploadUrls, + fileUploadUrls: S.optional(FileUploadUrls), zipUploadUrl: S.String, }).pipe(ns), ).annotate({ @@ -1080,13 +1080,13 @@ export const SourceUrlType = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface JobSummary { jobArn: string; jobId: string; - commitId: string; - commitMessage: string; - commitTime: Date; + commitId?: string; + commitMessage?: string; + commitTime?: Date; startTime: Date; status: JobStatus; endTime?: Date; - jobType: JobType; + jobType?: JobType; sourceUrl?: string; sourceUrlType?: SourceUrlType; } @@ -1094,13 +1094,13 @@ export const JobSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ jobArn: S.String, jobId: S.String, - commitId: S.String, - commitMessage: S.String, - commitTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")), + commitId: S.optional(S.String), + commitMessage: S.optional(S.String), + commitTime: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), startTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")), status: JobStatus, endTime: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), - jobType: JobType, + jobType: S.optional(JobType), sourceUrl: S.optional(S.String), sourceUrlType: S.optional(SourceUrlType), }), @@ -2110,30 +2110,37 @@ export const UpdateWebhookResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class DependentServiceFailureException extends S.TaggedErrorClass()( "DependentServiceFailureException", { message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class InternalFailureException extends S.TaggedErrorClass()( "InternalFailureException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { code: S.String, message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/api-gateway.ts b/packages/aws/src/services/api-gateway.ts index 65262fbcf5..29a20abb27 100644 --- a/packages/aws/src/services/api-gateway.ts +++ b/packages/aws/src/services/api-gateway.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "API Gateway", serviceShapeName: "BackplaneControlService", @@ -111,7 +113,7 @@ export interface CreateApiKeyRequest { description?: string; enabled?: boolean; generateDistinctId?: boolean; - value?: string; + value?: string | redacted.Redacted; stageKeys?: StageKey[]; customerId?: string; tags?: { [key: string]: string | undefined }; @@ -122,7 +124,7 @@ export const CreateApiKeyRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => description: S.optional(S.String), enabled: S.optional(S.Boolean), generateDistinctId: S.optional(S.Boolean), - value: S.optional(S.String), + value: S.optional(SensitiveString), stageKeys: S.optional(ListOfStageKeys), customerId: S.optional(S.String), tags: S.optional(MapOfStringToString), @@ -143,7 +145,7 @@ export type ListOfString = string[]; export const ListOfString = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export interface ApiKey { id?: string; - value?: string; + value?: string | redacted.Redacted; name?: string; customerId?: string; description?: string; @@ -156,7 +158,7 @@ export interface ApiKey { export const ApiKey = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.String), - value: S.optional(S.String), + value: S.optional(SensitiveString), name: S.optional(S.String), customerId: S.optional(S.String), description: S.optional(S.String), @@ -4885,10 +4887,12 @@ export const UpdateVpcLinkRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", @@ -4896,10 +4900,12 @@ export class LimitExceededException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", @@ -4907,10 +4913,12 @@ export class TooManyRequestsException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", @@ -4918,6 +4926,7 @@ export class ServiceUnavailableException extends S.TaggedErrorClass; export interface DatadogConnectorProfileCredentials { apiKey: string | redacted.Redacted; - applicationKey: string; + applicationKey: string | redacted.Redacted; } export const DatadogConnectorProfileCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ apiKey: SensitiveString, applicationKey: S.String }), + S.Struct({ apiKey: SensitiveString, applicationKey: SensitiveString }), ).annotate({ identifier: "DatadogConnectorProfileCredentials", }) as any as S.Schema; export interface DynatraceConnectorProfileCredentials { - apiToken: string; + apiToken: string | redacted.Redacted; } export const DynatraceConnectorProfileCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ apiToken: S.String }), + S.Struct({ apiToken: SensitiveString }), ).annotate({ identifier: "DynatraceConnectorProfileCredentials", }) as any as S.Schema; @@ -612,7 +612,7 @@ export interface GoogleAnalyticsConnectorProfileCredentials { clientId: string; clientSecret: string | redacted.Redacted; accessToken?: string | redacted.Redacted; - refreshToken?: string; + refreshToken?: string | redacted.Redacted; oAuthRequest?: ConnectorOAuthRequest; } export const GoogleAnalyticsConnectorProfileCredentials = @@ -621,7 +621,7 @@ export const GoogleAnalyticsConnectorProfileCredentials = clientId: S.String, clientSecret: SensitiveString, accessToken: S.optional(SensitiveString), - refreshToken: S.optional(S.String), + refreshToken: S.optional(SensitiveString), oAuthRequest: S.optional(ConnectorOAuthRequest), }), ).annotate({ @@ -629,14 +629,14 @@ export const GoogleAnalyticsConnectorProfileCredentials = }) as any as S.Schema; export interface HoneycodeConnectorProfileCredentials { accessToken?: string | redacted.Redacted; - refreshToken?: string; + refreshToken?: string | redacted.Redacted; oAuthRequest?: ConnectorOAuthRequest; } export const HoneycodeConnectorProfileCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accessToken: S.optional(SensitiveString), - refreshToken: S.optional(S.String), + refreshToken: S.optional(SensitiveString), oAuthRequest: S.optional(ConnectorOAuthRequest), }), ).annotate({ @@ -645,16 +645,16 @@ export const HoneycodeConnectorProfileCredentials = export interface InforNexusConnectorProfileCredentials { accessKeyId: string | redacted.Redacted; userId: string; - secretAccessKey: string; - datakey: string; + secretAccessKey: string | redacted.Redacted; + datakey: string | redacted.Redacted; } export const InforNexusConnectorProfileCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accessKeyId: SensitiveString, userId: S.String, - secretAccessKey: S.String, - datakey: S.String, + secretAccessKey: SensitiveString, + datakey: SensitiveString, }), ).annotate({ identifier: "InforNexusConnectorProfileCredentials", @@ -691,7 +691,7 @@ export const RedshiftConnectorProfileCredentials = }) as any as S.Schema; export interface SalesforceConnectorProfileCredentials { accessToken?: string | redacted.Redacted; - refreshToken?: string; + refreshToken?: string | redacted.Redacted; oAuthRequest?: ConnectorOAuthRequest; clientCredentialsArn?: string | redacted.Redacted; oAuth2GrantType?: OAuth2GrantType; @@ -701,7 +701,7 @@ export const SalesforceConnectorProfileCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accessToken: S.optional(SensitiveString), - refreshToken: S.optional(S.String), + refreshToken: S.optional(SensitiveString), oAuthRequest: S.optional(ConnectorOAuthRequest), clientCredentialsArn: S.optional(SensitiveString), oAuth2GrantType: S.optional(OAuth2GrantType), @@ -714,7 +714,7 @@ export interface OAuth2Credentials { clientId?: string; clientSecret?: string | redacted.Redacted; accessToken?: string | redacted.Redacted; - refreshToken?: string; + refreshToken?: string | redacted.Redacted; oAuthRequest?: ConnectorOAuthRequest; } export const OAuth2Credentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -722,7 +722,7 @@ export const OAuth2Credentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => clientId: S.optional(S.String), clientSecret: S.optional(SensitiveString), accessToken: S.optional(SensitiveString), - refreshToken: S.optional(S.String), + refreshToken: S.optional(SensitiveString), oAuthRequest: S.optional(ConnectorOAuthRequest), }), ).annotate({ @@ -828,7 +828,7 @@ export interface OAuthCredentials { clientId: string; clientSecret: string | redacted.Redacted; accessToken?: string | redacted.Redacted; - refreshToken?: string; + refreshToken?: string | redacted.Redacted; oAuthRequest?: ConnectorOAuthRequest; } export const OAuthCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -836,7 +836,7 @@ export const OAuthCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => clientId: S.String, clientSecret: SensitiveString, accessToken: S.optional(SensitiveString), - refreshToken: S.optional(S.String), + refreshToken: S.optional(SensitiveString), oAuthRequest: S.optional(ConnectorOAuthRequest), }), ).annotate({ @@ -916,7 +916,7 @@ export const CustomConnectorProfileCredentials = }) as any as S.Schema; export interface PardotConnectorProfileCredentials { accessToken?: string | redacted.Redacted; - refreshToken?: string; + refreshToken?: string | redacted.Redacted; oAuthRequest?: ConnectorOAuthRequest; clientCredentialsArn?: string | redacted.Redacted; } @@ -924,7 +924,7 @@ export const PardotConnectorProfileCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accessToken: S.optional(SensitiveString), - refreshToken: S.optional(S.String), + refreshToken: S.optional(SensitiveString), oAuthRequest: S.optional(ConnectorOAuthRequest), clientCredentialsArn: S.optional(SensitiveString), }), @@ -3901,34 +3901,42 @@ export const UpdateFlowResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ConnectorAuthenticationException extends S.TaggedErrorClass()( "ConnectorAuthenticationException", { message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ConnectorServerException extends S.TaggedErrorClass()( "ConnectorServerException", @@ -3937,6 +3945,7 @@ export class ConnectorServerException extends S.TaggedErrorClass()( "UnsupportedOperationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/appintegrations.ts b/packages/aws/src/services/appintegrations.ts index 5a57cb4acc..f816dc399e 100644 --- a/packages/aws/src/services/appintegrations.ts +++ b/packages/aws/src/services/appintegrations.ts @@ -1350,34 +1350,46 @@ export const UpdateEventIntegrationResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class DuplicateResourceException extends S.TaggedErrorClass()( "DuplicateResourceException", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServiceError extends S.TaggedErrorClass()( "InternalServiceError", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceQuotaExceededException extends S.TaggedErrorClass()( "ResourceQuotaExceededException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnsupportedOperationException extends S.TaggedErrorClass()( "UnsupportedOperationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} +export class TooManyRequestsException extends S.TaggedErrorClass()( + "TooManyRequestsException", + {}, +).pipe(C.withThrottlingError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} //# Operations @@ -1389,6 +1401,7 @@ export type CreateApplicationError = | ResourceQuotaExceededException | ThrottlingException | UnsupportedOperationException + | TooManyRequestsException | CommonErrors; /** * Creates and persists an Application resource. @@ -1409,6 +1422,7 @@ export const createApplication: API.OperationMethod< ResourceQuotaExceededException, ThrottlingException, UnsupportedOperationException, + TooManyRequestsException, ], operationName: "CreateApplication", })); @@ -1419,6 +1433,7 @@ export type CreateDataIntegrationError = | InvalidRequestException | ResourceQuotaExceededException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Creates and persists a DataIntegration resource. @@ -1442,6 +1457,7 @@ export const createDataIntegration: API.OperationMethod< InvalidRequestException, ResourceQuotaExceededException, ThrottlingException, + TooManyRequestsException, ], operationName: "CreateDataIntegration", })); @@ -1452,6 +1468,7 @@ export type CreateDataIntegrationAssociationError = | ResourceNotFoundException | ResourceQuotaExceededException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Creates and persists a DataIntegrationAssociation resource. @@ -1471,6 +1488,7 @@ export const createDataIntegrationAssociation: API.OperationMethod< ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, + TooManyRequestsException, ], operationName: "CreateDataIntegrationAssociation", })); @@ -1481,6 +1499,7 @@ export type CreateEventIntegrationError = | InvalidRequestException | ResourceQuotaExceededException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Creates an EventIntegration, given a specified name, description, and a reference to an @@ -1503,6 +1522,7 @@ export const createEventIntegration: API.OperationMethod< InvalidRequestException, ResourceQuotaExceededException, ThrottlingException, + TooManyRequestsException, ], operationName: "CreateEventIntegration", })); @@ -1512,6 +1532,7 @@ export type DeleteApplicationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Deletes the Application. Only Applications that don't have any Application Associations @@ -1531,6 +1552,7 @@ export const deleteApplication: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "DeleteApplication", })); @@ -1540,6 +1562,7 @@ export type DeleteDataIntegrationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Deletes the DataIntegration. Only DataIntegrations that don't have any @@ -1564,6 +1587,7 @@ export const deleteDataIntegration: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "DeleteDataIntegration", })); @@ -1573,6 +1597,7 @@ export type DeleteEventIntegrationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Deletes the specified existing event integration. If the event integration is associated @@ -1592,6 +1617,7 @@ export const deleteEventIntegration: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "DeleteEventIntegration", })); @@ -1601,6 +1627,7 @@ export type GetApplicationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Get an Application resource. @@ -1619,6 +1646,7 @@ export const getApplication: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "GetApplication", })); @@ -1628,6 +1656,7 @@ export type GetDataIntegrationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns information about the DataIntegration. @@ -1650,6 +1679,7 @@ export const getDataIntegration: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "GetDataIntegration", })); @@ -1659,6 +1689,7 @@ export type GetEventIntegrationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns information about the event integration. @@ -1677,6 +1708,7 @@ export const getEventIntegration: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "GetEventIntegration", })); @@ -1686,6 +1718,7 @@ export type ListApplicationAssociationsError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns a paginated list of application associations for an application. @@ -1719,6 +1752,7 @@ export const listApplicationAssociations: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListApplicationAssociations", pagination: { @@ -1733,6 +1767,7 @@ export type ListApplicationsError = | InternalServiceError | InvalidRequestException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Lists applications in the account. @@ -1765,6 +1800,7 @@ export const listApplications: API.OperationMethod< InternalServiceError, InvalidRequestException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListApplications", pagination: { @@ -1780,6 +1816,7 @@ export type ListDataIntegrationAssociationsError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns a paginated list of DataIntegration associations in the account. @@ -1817,6 +1854,7 @@ export const listDataIntegrationAssociations: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListDataIntegrationAssociations", pagination: { @@ -1831,6 +1869,7 @@ export type ListDataIntegrationsError = | InternalServiceError | InvalidRequestException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns a paginated list of DataIntegrations in the account. @@ -1867,6 +1906,7 @@ export const listDataIntegrations: API.OperationMethod< InternalServiceError, InvalidRequestException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListDataIntegrations", pagination: { @@ -1882,6 +1922,7 @@ export type ListEventIntegrationAssociationsError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns a paginated list of event integration associations in the account. @@ -1915,6 +1956,7 @@ export const listEventIntegrationAssociations: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListEventIntegrationAssociations", pagination: { @@ -1929,6 +1971,7 @@ export type ListEventIntegrationsError = | InternalServiceError | InvalidRequestException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Returns a paginated list of event integrations in the account. @@ -1961,6 +2004,7 @@ export const listEventIntegrations: API.OperationMethod< InternalServiceError, InvalidRequestException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListEventIntegrations", pagination: { @@ -1975,6 +2019,7 @@ export type ListTagsForResourceError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Lists the tags for the specified resource. @@ -1992,6 +2037,7 @@ export const listTagsForResource: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "ListTagsForResource", })); @@ -2000,6 +2046,7 @@ export type TagResourceError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Adds the specified tags to the specified resource. @@ -2017,6 +2064,7 @@ export const tagResource: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "TagResource", })); @@ -2025,6 +2073,7 @@ export type UntagResourceError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Removes the specified tags from the specified resource. @@ -2042,6 +2091,7 @@ export const untagResource: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "UntagResource", })); @@ -2052,6 +2102,7 @@ export type UpdateApplicationError = | ResourceNotFoundException | ThrottlingException | UnsupportedOperationException + | TooManyRequestsException | CommonErrors; /** * Updates and persists an Application resource. @@ -2071,6 +2122,7 @@ export const updateApplication: API.OperationMethod< ResourceNotFoundException, ThrottlingException, UnsupportedOperationException, + TooManyRequestsException, ], operationName: "UpdateApplication", })); @@ -2080,6 +2132,7 @@ export type UpdateDataIntegrationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Updates the description of a DataIntegration. @@ -2102,6 +2155,7 @@ export const updateDataIntegration: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "UpdateDataIntegration", })); @@ -2111,6 +2165,7 @@ export type UpdateDataIntegrationAssociationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Updates and persists a DataIntegrationAssociation resource. @@ -2131,6 +2186,7 @@ export const updateDataIntegrationAssociation: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "UpdateDataIntegrationAssociation", })); @@ -2140,6 +2196,7 @@ export type UpdateEventIntegrationError = | InvalidRequestException | ResourceNotFoundException | ThrottlingException + | TooManyRequestsException | CommonErrors; /** * Updates the description of an event integration. @@ -2158,6 +2215,7 @@ export const updateEventIntegration: API.OperationMethod< InvalidRequestException, ResourceNotFoundException, ThrottlingException, + TooManyRequestsException, ], operationName: "UpdateEventIntegration", })); diff --git a/packages/aws/src/services/application-auto-scaling.ts b/packages/aws/src/services/application-auto-scaling.ts index b93c4c334f..3a014789ca 100644 --- a/packages/aws/src/services/application-auto-scaling.ts +++ b/packages/aws/src/services/application-auto-scaling.ts @@ -1248,48 +1248,88 @@ export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class ConcurrentUpdateException extends S.TaggedErrorClass()( "ConcurrentUpdateException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ConcurrentUpdateException", httpResponseCode: 500 }), + T.all( + T.AwsQueryError({ + code: "ConcurrentUpdateException", + httpResponseCode: 500, + }), + T.HttpError(500), + ), ).pipe(C.withServerError) {} export class InternalServiceException extends S.TaggedErrorClass()( "InternalServiceException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InternalServiceException", httpResponseCode: 500 }), + T.all( + T.AwsQueryError({ + code: "InternalServiceException", + httpResponseCode: 500, + }), + T.HttpError(500), + ), ).pipe(C.withServerError) {} export class ObjectNotFoundException extends S.TaggedErrorClass()( "ObjectNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ObjectNotFoundException", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ObjectNotFoundException", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ValidationException", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ValidationException", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidNextTokenException extends S.TaggedErrorClass()( "InvalidNextTokenException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidNextTokenException", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidNextTokenException", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class FailedResourceAccessException extends S.TaggedErrorClass()( "FailedResourceAccessException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "FailedResourceAccessException", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "FailedResourceAccessException", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} +export class PredictiveScalingForecastNotSupported extends S.TaggedErrorClass()( + "PredictiveScalingForecastNotSupported", + {}, + T.SyntheticError({ + from: "AccessDeniedException", + message: { includes: "GetPredictiveScalingForecast is not supported" }, + }), +) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String), ResourceName: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "LimitExceededException", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "LimitExceededException", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String), ResourceName: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations @@ -1589,6 +1629,7 @@ export const describeScheduledActions: API.OperationMethod< export type GetPredictiveScalingForecastError = | InternalServiceException | ValidationException + | PredictiveScalingForecastNotSupported | CommonErrors; /** * Retrieves the forecast data for a predictive scaling policy. @@ -1609,7 +1650,11 @@ export const getPredictiveScalingForecast: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetPredictiveScalingForecastRequest, output: GetPredictiveScalingForecastResponse, - errors: [InternalServiceException, ValidationException], + errors: [ + InternalServiceException, + ValidationException, + PredictiveScalingForecastNotSupported, + ], operationName: "GetPredictiveScalingForecast", })); export type ListTagsForResourceError = ResourceNotFoundException | CommonErrors; diff --git a/packages/aws/src/services/application-signals.ts b/packages/aws/src/services/application-signals.ts index 6e077d59f5..8b34b3c135 100644 --- a/packages/aws/src/services/application-signals.ts +++ b/packages/aws/src/services/application-signals.ts @@ -602,7 +602,7 @@ export type ServiceLevelObjectiveBudgetReports = export const ServiceLevelObjectiveBudgetReports = /*@__PURE__*/ /*#__PURE__*/ S.Array(ServiceLevelObjectiveBudgetReport); export interface ServiceLevelObjectiveBudgetReportError { - Name: string; + Name?: string; Arn: string; ErrorCode: string; ErrorMessage: string; @@ -610,7 +610,7 @@ export interface ServiceLevelObjectiveBudgetReportError { export const ServiceLevelObjectiveBudgetReportError = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - Name: S.String, + Name: S.optional(S.String), Arn: S.String, ErrorCode: S.String, ErrorMessage: S.String, @@ -645,10 +645,10 @@ export const Window = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DurationUnit: DurationUnit, Duration: S.Number }), ).annotate({ identifier: "Window" }) as any as S.Schema; export interface RecurrenceRule { - Expression: string; + Expression?: string; } export const RecurrenceRule = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ Expression: S.String }), + S.Struct({ Expression: S.optional(S.String) }), ).annotate({ identifier: "RecurrenceRule" }) as any as S.Schema; export interface ExclusionWindow { Window: Window; @@ -900,7 +900,14 @@ export interface DeleteGroupingConfigurationRequest {} export const DeleteGroupingConfigurationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "DELETE", uri: "/grouping-configuration" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "DeleteGroupingConfigurationRequest", @@ -1202,18 +1209,18 @@ export type LogGroupReferences = { [key: string]: string | undefined }[]; export const LogGroupReferences = /*@__PURE__*/ /*#__PURE__*/ S.Array(Attributes); export interface Service { - KeyAttributes: { [key: string]: string | undefined }; + KeyAttributes?: { [key: string]: string | undefined }; AttributeMaps?: { [key: string]: string | undefined }[]; ServiceGroups?: ServiceGroup[]; - MetricReferences: MetricReference[]; + MetricReferences?: MetricReference[]; LogGroupReferences?: { [key: string]: string | undefined }[]; } export const Service = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - KeyAttributes: Attributes, + KeyAttributes: S.optional(Attributes), AttributeMaps: S.optional(AttributeMaps), ServiceGroups: S.optional(ServiceGroups), - MetricReferences: MetricReferences, + MetricReferences: S.optional(MetricReferences), LogGroupReferences: S.optional(LogGroupReferences), }), ).annotate({ identifier: "Service" }) as any as S.Schema; @@ -2710,28 +2717,38 @@ export const ListServiceLevelObjectivesOutput = export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.String }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ValidationError", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ValidationError", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { ResourceType: S.String, ResourceId: S.String, Message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "AccessDenied", httpResponseCode: 403 }), + T.all( + T.AwsQueryError({ code: "AccessDenied", httpResponseCode: 403 }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} //# Operations diff --git a/packages/aws/src/services/athena.ts b/packages/aws/src/services/athena.ts index 4c0622faea..c96049aa30 100644 --- a/packages/aws/src/services/athena.ts +++ b/packages/aws/src/services/athena.ts @@ -3301,10 +3301,6 @@ export class NamedQueryNotFound extends S.TaggedErrorClass() message: { matches: "NamedQuery.*does not exist" }, }), ).pipe(C.withNotFoundError) {} -export class MetadataException extends S.TaggedErrorClass()( - "MetadataException", - { Message: S.optional(S.String) }, -) {} export class WorkGroupNotFound extends S.TaggedErrorClass()( "WorkGroupNotFound", { AthenaErrorCode: S.optional(S.String), Message: S.optional(S.String) }, @@ -3313,6 +3309,10 @@ export class WorkGroupNotFound extends S.TaggedErrorClass()( message: { matches: "WorkGroup.*not found" }, }), ).pipe(C.withNotFoundError) {} +export class MetadataException extends S.TaggedErrorClass()( + "MetadataException", + { Message: S.optional(S.String) }, +) {} export class SessionAlreadyExistsException extends S.TaggedErrorClass()( "SessionAlreadyExistsException", { Message: S.optional(S.String) }, @@ -3668,6 +3668,7 @@ export type DeletePreparedStatementError = | InternalServerException | InvalidRequestException | ResourceNotFoundException + | WorkGroupNotFound | CommonErrors; /** * Deletes the prepared statement with the specified name from the specified @@ -3685,6 +3686,7 @@ export const deletePreparedStatement: API.OperationMethod< InternalServerException, InvalidRequestException, ResourceNotFoundException, + WorkGroupNotFound, ], operationName: "DeletePreparedStatement", })); @@ -3929,6 +3931,7 @@ export type GetPreparedStatementError = | InternalServerException | InvalidRequestException | ResourceNotFoundException + | WorkGroupNotFound | CommonErrors; /** * Retrieves the prepared statement with the specified name from the specified @@ -3946,6 +3949,7 @@ export const getPreparedStatement: API.OperationMethod< InternalServerException, InvalidRequestException, ResourceNotFoundException, + WorkGroupNotFound, ], operationName: "GetPreparedStatement", })); diff --git a/packages/aws/src/services/backup.ts b/packages/aws/src/services/backup.ts index f6675fcbd8..4d6a2389c8 100644 --- a/packages/aws/src/services/backup.ts +++ b/packages/aws/src/services/backup.ts @@ -3387,7 +3387,14 @@ export interface GetSupportedResourceTypesRequest {} export const GetSupportedResourceTypesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "GET", uri: "/supported-resource-types" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetSupportedResourceTypesRequest", @@ -6598,7 +6605,10 @@ export class ConflictException extends S.TaggedErrorClass()( Type: S.optional(S.String), Context: S.optional(S.String), }, - T.AwsQueryError({ code: "ConflictException", httpResponseCode: 409 }), + T.all( + T.AwsQueryError({ code: "ConflictException", httpResponseCode: 409 }), + T.HttpError(409), + ), ).pipe(C.withConflictError) {} export class DependencyFailureException extends S.TaggedErrorClass()( "DependencyFailureException", diff --git a/packages/aws/src/services/bedrock-agentcore.ts b/packages/aws/src/services/bedrock-agentcore.ts index a11b79107b..43ad7abfe4 100644 --- a/packages/aws/src/services/bedrock-agentcore.ts +++ b/packages/aws/src/services/bedrock-agentcore.ts @@ -5800,7 +5800,7 @@ export const GetMemoryRecordInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export interface MemoryRecord { memoryRecordId: string; content: MemoryContent; - memoryStrategyId: string; + memoryStrategyId?: string; namespaces: string[]; createdAt: Date; metadata?: { [key: string]: MemoryRecordMetadataValue | undefined }; @@ -5809,7 +5809,7 @@ export const MemoryRecord = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ memoryRecordId: S.String, content: MemoryContent, - memoryStrategyId: S.String, + memoryStrategyId: S.optional(S.String), namespaces: NamespacesList, createdAt: S.Date.pipe(T.TimestampFormat("epoch-seconds")), metadata: S.optional(MemoryRecordMetadataMap), @@ -6139,7 +6139,7 @@ export const ListMemoryRecordsInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export interface MemoryRecordSummary { memoryRecordId: string; content: MemoryContent; - memoryStrategyId: string; + memoryStrategyId?: string; namespaces: string[]; createdAt: Date; score?: number; @@ -6149,7 +6149,7 @@ export const MemoryRecordSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ memoryRecordId: S.String, content: MemoryContent, - memoryStrategyId: S.String, + memoryStrategyId: S.optional(S.String), namespaces: NamespacesList, createdAt: S.Date.pipe(T.TimestampFormat("epoch-seconds")), score: S.optional(S.Number), diff --git a/packages/aws/src/services/codeartifact.ts b/packages/aws/src/services/codeartifact.ts index 2892a2ebf1..a2819b2f75 100644 --- a/packages/aws/src/services/codeartifact.ts +++ b/packages/aws/src/services/codeartifact.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "codeartifact", serviceShapeName: "CodeArtifactControlPlaneService", @@ -1317,13 +1319,13 @@ export const GetAuthorizationTokenRequest = identifier: "GetAuthorizationTokenRequest", }) as any as S.Schema; export interface GetAuthorizationTokenResult { - authorizationToken?: string; + authorizationToken?: string | redacted.Redacted; expiration?: Date; } export const GetAuthorizationTokenResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - authorizationToken: S.optional(S.String), + authorizationToken: S.optional(SensitiveString), expiration: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ @@ -2718,6 +2720,7 @@ export const UpdateRepositoryResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -2726,10 +2729,12 @@ export class ConflictException extends S.TaggedErrorClass()( resourceId: S.optional(S.String), resourceType: S.optional(ResourceType), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -2738,6 +2743,7 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -2746,6 +2752,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ThrottlingException", @@ -2753,10 +2760,12 @@ export class ThrottlingException extends S.TaggedErrorClass message: S.String, retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.String, reason: S.optional(ValidationExceptionReason) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/codepipeline.ts b/packages/aws/src/services/codepipeline.ts index cdf6944a19..e237e1e341 100644 --- a/packages/aws/src/services/codepipeline.ts +++ b/packages/aws/src/services/codepipeline.ts @@ -2802,13 +2802,13 @@ export type WebhookAuthenticationType = export const WebhookAuthenticationType = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface WebhookAuthConfiguration { AllowedIPRange?: string; - SecretToken?: string; + SecretToken?: string | redacted.Redacted; } export const WebhookAuthConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ AllowedIPRange: S.optional(S.String), - SecretToken: S.optional(S.String), + SecretToken: S.optional(SensitiveString), }), ).annotate({ identifier: "WebhookAuthConfiguration", @@ -3700,6 +3700,7 @@ export class ConditionNotOverridableException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class NotLatestPipelineExecutionException extends S.TaggedErrorClass()( "NotLatestPipelineExecutionException", diff --git a/packages/aws/src/services/cognito-identity.ts b/packages/aws/src/services/cognito-identity.ts index 0d5f98151c..31a54c1458 100644 --- a/packages/aws/src/services/cognito-identity.ts +++ b/packages/aws/src/services/cognito-identity.ts @@ -409,14 +409,14 @@ export const GetCredentialsForIdentityInput = export interface Credentials { AccessKeyId?: string; SecretKey?: string | redacted.Redacted; - SessionToken?: string; + SessionToken?: string | redacted.Redacted; Expiration?: Date; } export const Credentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ AccessKeyId: S.optional(S.String), SecretKey: S.optional(SensitiveString), - SessionToken: S.optional(S.String), + SessionToken: S.optional(SensitiveString), Expiration: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ identifier: "Credentials" }) as any as S.Schema; @@ -1077,42 +1077,52 @@ export class InternalErrorException extends S.TaggedErrorClass()( "InvalidParameterException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NotAuthorizedException extends S.TaggedErrorClass()( "NotAuthorizedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ResourceConflictException extends S.TaggedErrorClass()( "ResourceConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ExternalServiceException extends S.TaggedErrorClass()( "ExternalServiceException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidIdentityPoolConfigurationException extends S.TaggedErrorClass()( "InvalidIdentityPoolConfigurationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class DeveloperUserAlreadyRegisteredException extends S.TaggedErrorClass()( "DeveloperUserAlreadyRegisteredException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConcurrentModificationException extends S.TaggedErrorClass()( "ConcurrentModificationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/comprehend.ts b/packages/aws/src/services/comprehend.ts index deb7186f16..2f74c50990 100644 --- a/packages/aws/src/services/comprehend.ts +++ b/packages/aws/src/services/comprehend.ts @@ -128,11 +128,11 @@ export type MaxResultsInteger = number; export type NumberOfTopicsInteger = number; //# Schemas -export type CustomerInputStringList = string | redacted.Redacted[]; +export type CustomerInputStringList = (string | redacted.Redacted)[]; export const CustomerInputStringList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface BatchDetectDominantLanguageRequest { - TextList: string | redacted.Redacted[]; + TextList: (string | redacted.Redacted)[]; } export const BatchDetectDominantLanguageRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -232,7 +232,7 @@ export type LanguageCode = | (string & {}); export const LanguageCode = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface BatchDetectEntitiesRequest { - TextList: string | redacted.Redacted[]; + TextList: (string | redacted.Redacted)[]; LanguageCode: LanguageCode; } export const BatchDetectEntitiesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( @@ -341,7 +341,7 @@ export const BatchDetectEntitiesResponse = identifier: "BatchDetectEntitiesResponse", }) as any as S.Schema; export interface BatchDetectKeyPhrasesRequest { - TextList: string | redacted.Redacted[]; + TextList: (string | redacted.Redacted)[]; LanguageCode: LanguageCode; } export const BatchDetectKeyPhrasesRequest = @@ -402,7 +402,7 @@ export const BatchDetectKeyPhrasesResponse = identifier: "BatchDetectKeyPhrasesResponse", }) as any as S.Schema; export interface BatchDetectSentimentRequest { - TextList: string | redacted.Redacted[]; + TextList: (string | redacted.Redacted)[]; LanguageCode: LanguageCode; } export const BatchDetectSentimentRequest = @@ -479,7 +479,7 @@ export type SyntaxLanguageCode = | (string & {}); export const SyntaxLanguageCode = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface BatchDetectSyntaxRequest { - TextList: string | redacted.Redacted[]; + TextList: (string | redacted.Redacted)[]; LanguageCode: SyntaxLanguageCode; } export const BatchDetectSyntaxRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( @@ -576,7 +576,7 @@ export const BatchDetectSyntaxResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( identifier: "BatchDetectSyntaxResponse", }) as any as S.Schema; export interface BatchDetectTargetedSentimentRequest { - TextList: string | redacted.Redacted[]; + TextList: (string | redacted.Redacted)[]; LanguageCode: LanguageCode; } export const BatchDetectTargetedSentimentRequest = @@ -4821,10 +4821,12 @@ export const UpdateFlywheelResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class BatchSizeLimitExceededException extends S.TaggedErrorClass()( "BatchSizeLimitExceededException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", @@ -4833,58 +4835,76 @@ export class InvalidRequestException extends S.TaggedErrorClass()( "TextSizeLimitExceededException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnsupportedLanguageException extends S.TaggedErrorClass()( "UnsupportedLanguageException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceUnavailableException extends S.TaggedErrorClass()( "ResourceUnavailableException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} +export class NotAuthorizedException extends S.TaggedErrorClass()( + "NotAuthorizedException", + { message: S.optional(S.String) }, +).pipe(C.withAuthError) {} export class ResourceInUseException extends S.TaggedErrorClass()( "ResourceInUseException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceLimitExceededException extends S.TaggedErrorClass()( "ResourceLimitExceededException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class KmsKeyValidationException extends S.TaggedErrorClass()( "KmsKeyValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class JobNotFoundException extends S.TaggedErrorClass()( "JobNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidFilterException extends S.TaggedErrorClass()( "InvalidFilterException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConcurrentModificationException extends S.TaggedErrorClass()( "ConcurrentModificationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyTagKeysException extends S.TaggedErrorClass()( "TooManyTagKeysException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations @@ -5063,6 +5083,7 @@ export type ClassifyDocumentError = | InvalidRequestException | ResourceUnavailableException | TextSizeLimitExceededException + | NotAuthorizedException | CommonErrors; /** * Creates a classification request to analyze a single document in real-time. `ClassifyDocument` @@ -5100,6 +5121,7 @@ export const classifyDocument: API.OperationMethod< InvalidRequestException, ResourceUnavailableException, TextSizeLimitExceededException, + NotAuthorizedException, ], operationName: "ClassifyDocument", })); @@ -5668,6 +5690,7 @@ export type DescribeEventsDetectionJobError = | InvalidRequestException | JobNotFoundException | TooManyRequestsException + | NotAuthorizedException | CommonErrors; /** * Gets the status and details of an events detection job. @@ -5685,6 +5708,7 @@ export const describeEventsDetectionJob: API.OperationMethod< InvalidRequestException, JobNotFoundException, TooManyRequestsException, + NotAuthorizedException, ], operationName: "DescribeEventsDetectionJob", })); @@ -6578,6 +6602,7 @@ export type ListEventsDetectionJobsError = | InvalidFilterException | InvalidRequestException | TooManyRequestsException + | NotAuthorizedException | CommonErrors; /** * Gets a list of the events detection jobs that you have submitted. @@ -6610,6 +6635,7 @@ export const listEventsDetectionJobs: API.OperationMethod< InvalidFilterException, InvalidRequestException, TooManyRequestsException, + NotAuthorizedException, ], operationName: "ListEventsDetectionJobs", pagination: { @@ -7097,6 +7123,7 @@ export type StartEventsDetectionJobError = | ResourceInUseException | TooManyRequestsException | TooManyTagsException + | NotAuthorizedException | CommonErrors; /** * Starts an asynchronous event detection job for a collection of documents. @@ -7116,6 +7143,7 @@ export const startEventsDetectionJob: API.OperationMethod< ResourceInUseException, TooManyRequestsException, TooManyTagsException, + NotAuthorizedException, ], operationName: "StartEventsDetectionJob", })); @@ -7374,6 +7402,7 @@ export type StopEventsDetectionJobError = | InternalServerException | InvalidRequestException | JobNotFoundException + | NotAuthorizedException | CommonErrors; /** * Stops an events detection job in progress. @@ -7390,6 +7419,7 @@ export const stopEventsDetectionJob: API.OperationMethod< InternalServerException, InvalidRequestException, JobNotFoundException, + NotAuthorizedException, ], operationName: "StopEventsDetectionJob", })); From 63cb96d306aa7d8b2345ca265c48dcd58845d750 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Tue, 14 Jul 2026 23:28:41 -0700 Subject: [PATCH 15/63] chore(aws): sweep patches + regen (snapshot 2026-07-14 23:28) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/chatbot.json | 9 ++++++ packages/aws/src/services/chatbot.ts | 47 ++++++++++++++++++++++++---- 2 files changed, 50 insertions(+), 6 deletions(-) diff --git a/packages/aws/patches/chatbot.json b/packages/aws/patches/chatbot.json index a9af346331..a26fb750da 100644 --- a/packages/aws/patches/chatbot.json +++ b/packages/aws/patches/chatbot.json @@ -3,6 +3,15 @@ "getMicrosoftTeamsChannelConfiguration": { "errors": ["ResourceNotFoundException"] }, + "listAssociations": { + "errors": ["InvalidRequestException"] + }, + "associateToConfiguration": { + "errors": ["ResourceNotFoundException"] + }, + "disassociateFromConfiguration": { + "errors": ["ResourceNotFoundException"] + }, "createSlackChannelConfiguration": { "syntheticErrors": [ { diff --git a/packages/aws/src/services/chatbot.ts b/packages/aws/src/services/chatbot.ts index e88129b295..8da2ce1fb8 100644 --- a/packages/aws/src/services/chatbot.ts +++ b/packages/aws/src/services/chatbot.ts @@ -1599,34 +1599,46 @@ export const ListCustomActionsResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class InternalServiceError extends S.TaggedErrorClass()( "InternalServiceError", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} +export class ResourceNotFoundException extends S.TaggedErrorClass()( + "ResourceNotFoundException", + {}, +) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class CreateChimeWebhookConfigurationException extends S.TaggedErrorClass()( "CreateChimeWebhookConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidParameterException extends S.TaggedErrorClass()( "InvalidParameterException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class CreateTeamsChannelConfigurationException extends S.TaggedErrorClass()( "CreateTeamsChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class MicrosoftTeamsTeamNotConfigured extends S.TaggedErrorClass()( "MicrosoftTeamsTeamNotConfigured", @@ -1639,6 +1651,7 @@ export class MicrosoftTeamsTeamNotConfigured extends S.TaggedErrorClass()( "CreateSlackChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class SlackWorkspaceNotAuthorized extends S.TaggedErrorClass()( "SlackWorkspaceNotAuthorized", @@ -1651,94 +1664,112 @@ export class SlackWorkspaceNotAuthorized extends S.TaggedErrorClass()( "DeleteChimeWebhookConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} -export class ResourceNotFoundException extends S.TaggedErrorClass()( - "ResourceNotFoundException", - { Message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} export class DeleteTeamsChannelConfigurationException extends S.TaggedErrorClass()( "DeleteTeamsChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DeleteTeamsConfiguredTeamException extends S.TaggedErrorClass()( "DeleteTeamsConfiguredTeamException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DeleteMicrosoftTeamsUserIdentityException extends S.TaggedErrorClass()( "DeleteMicrosoftTeamsUserIdentityException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DeleteSlackChannelConfigurationException extends S.TaggedErrorClass()( "DeleteSlackChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DeleteSlackUserIdentityException extends S.TaggedErrorClass()( "DeleteSlackUserIdentityException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DeleteSlackWorkspaceAuthorizationFault extends S.TaggedErrorClass()( "DeleteSlackWorkspaceAuthorizationFault", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DescribeChimeWebhookConfigurationsException extends S.TaggedErrorClass()( "DescribeChimeWebhookConfigurationsException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DescribeSlackChannelConfigurationsException extends S.TaggedErrorClass()( "DescribeSlackChannelConfigurationsException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DescribeSlackUserIdentitiesException extends S.TaggedErrorClass()( "DescribeSlackUserIdentitiesException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class DescribeSlackWorkspacesException extends S.TaggedErrorClass()( "DescribeSlackWorkspacesException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class GetAccountPreferencesException extends S.TaggedErrorClass()( "GetAccountPreferencesException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class GetTeamsChannelConfigurationException extends S.TaggedErrorClass()( "GetTeamsChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ListTeamsChannelConfigurationsException extends S.TaggedErrorClass()( "ListTeamsChannelConfigurationsException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ListMicrosoftTeamsConfiguredTeamsException extends S.TaggedErrorClass()( "ListMicrosoftTeamsConfiguredTeamsException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ListMicrosoftTeamsUserIdentitiesException extends S.TaggedErrorClass()( "ListMicrosoftTeamsUserIdentitiesException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError, C.withServerError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UpdateAccountPreferencesException extends S.TaggedErrorClass()( "UpdateAccountPreferencesException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class UpdateChimeWebhookConfigurationException extends S.TaggedErrorClass()( "UpdateChimeWebhookConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class UpdateTeamsChannelConfigurationException extends S.TaggedErrorClass()( "UpdateTeamsChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class UpdateSlackChannelConfigurationException extends S.TaggedErrorClass()( "UpdateSlackChannelConfigurationException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} //# Operations @@ -1746,6 +1777,7 @@ export type AssociateToConfigurationError = | InternalServiceError | InvalidRequestException | UnauthorizedException + | ResourceNotFoundException | CommonErrors; /** * Links a resource (for example, a custom action) to a channel configuration. @@ -1762,6 +1794,7 @@ export const associateToConfiguration: API.OperationMethod< InternalServiceError, InvalidRequestException, UnauthorizedException, + ResourceNotFoundException, ], operationName: "AssociateToConfiguration", })); @@ -2187,6 +2220,7 @@ export type DisassociateFromConfigurationError = | InternalServiceError | InvalidRequestException | UnauthorizedException + | ResourceNotFoundException | CommonErrors; /** * Unlink a resource, for example a custom action, from a channel configuration. @@ -2203,6 +2237,7 @@ export const disassociateFromConfiguration: API.OperationMethod< InternalServiceError, InvalidRequestException, UnauthorizedException, + ResourceNotFoundException, ], operationName: "DisassociateFromConfiguration", })); @@ -2249,7 +2284,7 @@ export const getMicrosoftTeamsChannelConfiguration: API.OperationMethod< ], operationName: "GetMicrosoftTeamsChannelConfiguration", })); -export type ListAssociationsError = CommonErrors; +export type ListAssociationsError = InvalidRequestException | CommonErrors; /** * Lists resources associated with a channel configuration. */ @@ -2276,7 +2311,7 @@ export const listAssociations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListAssociationsRequest, output: ListAssociationsResult, - errors: [], + errors: [InvalidRequestException], operationName: "ListAssociations", pagination: { inputToken: "NextToken", From 9a6d61d8d4e421edb1d524eef3c8f9f15b9a5c99 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Tue, 14 Jul 2026 23:43:47 -0700 Subject: [PATCH 16/63] chore(aws): sweep patches + regen (snapshot 2026-07-14 23:43) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/chatbot.json | 43 ++++++++++++++++++++++------ packages/aws/src/services/chatbot.ts | 7 ++++- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/packages/aws/patches/chatbot.json b/packages/aws/patches/chatbot.json index a26fb750da..744eac026d 100644 --- a/packages/aws/patches/chatbot.json +++ b/packages/aws/patches/chatbot.json @@ -1,23 +1,33 @@ { "operations": { "getMicrosoftTeamsChannelConfiguration": { - "errors": ["ResourceNotFoundException"] + "errors": [ + "ResourceNotFoundException" + ] }, "listAssociations": { - "errors": ["InvalidRequestException"] + "errors": [ + "InvalidRequestException" + ] }, "associateToConfiguration": { - "errors": ["ResourceNotFoundException"] + "errors": [ + "ResourceNotFoundException" + ] }, "disassociateFromConfiguration": { - "errors": ["ResourceNotFoundException"] + "errors": [ + "ResourceNotFoundException" + ] }, "createSlackChannelConfiguration": { "syntheticErrors": [ { "name": "SlackWorkspaceNotAuthorized", "from": "InvalidRequestException", - "message": { "includes": "is not authorized with AWS account" } + "message": { + "includes": "is not authorized with AWS account" + } } ] }, @@ -26,18 +36,33 @@ { "name": "MicrosoftTeamsTeamNotConfigured", "from": "InvalidRequestException", - "message": { "includes": "team id you are using is not configured" } + "message": { + "includes": "team id you are using is not configured" + } } ] + }, + "deleteMicrosoftTeamsConfiguredTeam": { + "errors": [ + "ResourceNotFoundException" + ] } }, "structures": { "CustomActionAttachment": { - "members": { "NotificationType": { "optional": false } } + "members": { + "NotificationType": { + "optional": false + } + } } }, "errorCategories": { - "SlackWorkspaceNotAuthorized": ["BadRequestError"], - "MicrosoftTeamsTeamNotConfigured": ["BadRequestError"] + "SlackWorkspaceNotAuthorized": [ + "BadRequestError" + ], + "MicrosoftTeamsTeamNotConfigured": [ + "BadRequestError" + ] } } diff --git a/packages/aws/src/services/chatbot.ts b/packages/aws/src/services/chatbot.ts index 8da2ce1fb8..1079fd2778 100644 --- a/packages/aws/src/services/chatbot.ts +++ b/packages/aws/src/services/chatbot.ts @@ -1936,6 +1936,7 @@ export const deleteMicrosoftTeamsChannelConfiguration: API.OperationMethod< export type DeleteMicrosoftTeamsConfiguredTeamError = | DeleteTeamsConfiguredTeamException | InvalidParameterException + | ResourceNotFoundException | CommonErrors; /** * Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it. @@ -1948,7 +1949,11 @@ export const deleteMicrosoftTeamsConfiguredTeam: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteTeamsConfiguredTeamRequest, output: DeleteTeamsConfiguredTeamResult, - errors: [DeleteTeamsConfiguredTeamException, InvalidParameterException], + errors: [ + DeleteTeamsConfiguredTeamException, + InvalidParameterException, + ResourceNotFoundException, + ], operationName: "DeleteMicrosoftTeamsConfiguredTeam", })); export type DeleteMicrosoftTeamsUserIdentityError = From 81a56b4955e8a8ed4b9683b2c4a4836fa9fb66d3 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Tue, 14 Jul 2026 23:58:52 -0700 Subject: [PATCH 17/63] chore(aws): sweep patches + regen (snapshot 2026-07-14 23:58) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/codepipeline.json | 12 +++++++++++ packages/aws/patches/dataexchange.json | 19 +++++++++++++++++ packages/aws/patches/datazone.json | 14 +++++++++++++ packages/aws/src/services/codepipeline.ts | 16 +++++++-------- packages/aws/src/services/dataexchange.ts | 22 ++++++++++++++------ packages/aws/src/services/datazone.ts | 25 ++++++++++++++--------- 6 files changed, 84 insertions(+), 24 deletions(-) create mode 100644 packages/aws/patches/dataexchange.json diff --git a/packages/aws/patches/codepipeline.json b/packages/aws/patches/codepipeline.json index d70d693e6e..14cf300c36 100644 --- a/packages/aws/patches/codepipeline.json +++ b/packages/aws/patches/codepipeline.json @@ -4,6 +4,18 @@ "members": { "SecretToken": { "sensitive": true } } + }, + "ActionRevision": { + "members": { + "revisionChangeId": { "optional": true }, + "created": { "optional": true } + } + }, + "RuleRevision": { + "members": { + "revisionChangeId": { "optional": true }, + "created": { "optional": true } + } } } } diff --git a/packages/aws/patches/dataexchange.json b/packages/aws/patches/dataexchange.json new file mode 100644 index 0000000000..0d3e4efa52 --- /dev/null +++ b/packages/aws/patches/dataexchange.json @@ -0,0 +1,19 @@ +{ + "structures": { + "ImportAssetFromApiGatewayApiRequestDetails": { + "members": { + "ApiKey": { "sensitive": true } + } + }, + "ImportAssetFromApiGatewayApiResponseDetails": { + "members": { + "ApiKey": { "sensitive": true } + } + }, + "ApiGatewayApiAsset": { + "members": { + "ApiKey": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/datazone.json b/packages/aws/patches/datazone.json index 6b21c0da6f..9f3ec1e9ee 100644 --- a/packages/aws/patches/datazone.json +++ b/packages/aws/patches/datazone.json @@ -10,6 +10,20 @@ "errors": ["ResourceNotFoundException"] } }, + "structures": { + "GetEnvironmentCredentialsOutput": { + "members": { + "secretAccessKey": { "sensitive": true }, + "sessionToken": { "sensitive": true } + } + }, + "ConnectionCredentials": { + "members": { + "secretAccessKey": { "sensitive": true }, + "sessionToken": { "sensitive": true } + } + } + }, "unions": { "ProvisioningProperties": { "add": { diff --git a/packages/aws/src/services/codepipeline.ts b/packages/aws/src/services/codepipeline.ts index e237e1e341..2cc0626f64 100644 --- a/packages/aws/src/services/codepipeline.ts +++ b/packages/aws/src/services/codepipeline.ts @@ -1648,14 +1648,14 @@ export const TransitionState = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface ActionRevision { revisionId: string; - revisionChangeId: string; - created: Date; + revisionChangeId?: string; + created?: Date; } export const ActionRevision = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ revisionId: S.String, - revisionChangeId: S.String, - created: S.Date.pipe(T.TimestampFormat("epoch-seconds")), + revisionChangeId: S.optional(S.String), + created: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ identifier: "ActionRevision" }) as any as S.Schema; export type ActionExecutionStatus = @@ -1763,14 +1763,14 @@ export const ConditionExecution = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface RuleRevision { revisionId: string; - revisionChangeId: string; - created: Date; + revisionChangeId?: string; + created?: Date; } export const RuleRevision = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ revisionId: S.String, - revisionChangeId: S.String, - created: S.Date.pipe(T.TimestampFormat("epoch-seconds")), + revisionChangeId: S.optional(S.String), + created: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ identifier: "RuleRevision" }) as any as S.Schema; export type RuleExecutionStatus = diff --git a/packages/aws/src/services/dataexchange.ts b/packages/aws/src/services/dataexchange.ts index 627c0cda8e..5ba0b6a94a 100644 --- a/packages/aws/src/services/dataexchange.ts +++ b/packages/aws/src/services/dataexchange.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "DataExchange", serviceShapeName: "DataExchange", @@ -631,7 +633,7 @@ export const ImportAssetsFromRedshiftDataSharesRequestDetails = export interface ImportAssetFromApiGatewayApiRequestDetails { ApiDescription?: string; ApiId: string; - ApiKey?: string; + ApiKey?: string | redacted.Redacted; ApiName: string; ApiSpecificationMd5Hash: string; DataSetId: string; @@ -644,7 +646,7 @@ export const ImportAssetFromApiGatewayApiRequestDetails = S.Struct({ ApiDescription: S.optional(S.String), ApiId: S.String, - ApiKey: S.optional(S.String), + ApiKey: S.optional(SensitiveString), ApiName: S.String, ApiSpecificationMd5Hash: S.String, DataSetId: S.String, @@ -930,7 +932,7 @@ export const ImportAssetsFromRedshiftDataSharesResponseDetails = export interface ImportAssetFromApiGatewayApiResponseDetails { ApiDescription?: string; ApiId: string; - ApiKey?: string; + ApiKey?: string | redacted.Redacted; ApiName: string; ApiSpecificationMd5Hash: string; ApiSpecificationUploadUrl: string; @@ -945,7 +947,7 @@ export const ImportAssetFromApiGatewayApiResponseDetails = S.Struct({ ApiDescription: S.optional(S.String), ApiId: S.String, - ApiKey: S.optional(S.String), + ApiKey: S.optional(SensitiveString), ApiName: S.String, ApiSpecificationMd5Hash: S.String, ApiSpecificationUploadUrl: S.String, @@ -1348,7 +1350,7 @@ export interface ApiGatewayApiAsset { ApiDescription?: string; ApiEndpoint?: string; ApiId?: string; - ApiKey?: string; + ApiKey?: string | redacted.Redacted; ApiName?: string; ApiSpecificationDownloadUrl?: string; ApiSpecificationDownloadUrlExpiresAt?: Date; @@ -1360,7 +1362,7 @@ export const ApiGatewayApiAsset = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ApiDescription: S.optional(S.String), ApiEndpoint: S.optional(S.String), ApiId: S.optional(S.String), - ApiKey: S.optional(S.String), + ApiKey: S.optional(SensitiveString), ApiName: S.optional(S.String), ApiSpecificationDownloadUrl: S.optional(S.String), ApiSpecificationDownloadUrlExpiresAt: S.optional( @@ -2926,6 +2928,7 @@ export const UpdateRevisionResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -2934,10 +2937,12 @@ export class ConflictException extends S.TaggedErrorClass()( ResourceId: S.optional(S.String), ResourceType: S.optional(S.String), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -2946,14 +2951,17 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.String }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.String, ExceptionCause: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceLimitExceededException extends S.TaggedErrorClass()( "ServiceLimitExceededException", @@ -2962,6 +2970,7 @@ export class ServiceLimitExceededException extends S.TaggedErrorClass }) as any as S.Schema; export interface ConnectionCredentials { accessKeyId?: string; - secretAccessKey?: string; - sessionToken?: string; + secretAccessKey?: string | redacted.Redacted; + sessionToken?: string | redacted.Redacted; expiration?: Date; } export const ConnectionCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accessKeyId: S.optional(S.String), - secretAccessKey: S.optional(S.String), - sessionToken: S.optional(S.String), + secretAccessKey: S.optional(SensitiveString), + sessionToken: S.optional(SensitiveString), expiration: S.optional( T.DateFromString.pipe(T.TimestampFormat("date-time")), ), @@ -6068,16 +6068,16 @@ export const GetEnvironmentCredentialsInput = }) as any as S.Schema; export interface GetEnvironmentCredentialsOutput { accessKeyId?: string; - secretAccessKey?: string; - sessionToken?: string; + secretAccessKey?: string | redacted.Redacted; + sessionToken?: string | redacted.Redacted; expiration?: Date; } export const GetEnvironmentCredentialsOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ accessKeyId: S.optional(S.String), - secretAccessKey: S.optional(S.String), - sessionToken: S.optional(S.String), + secretAccessKey: S.optional(SensitiveString), + sessionToken: S.optional(SensitiveString), expiration: S.optional( T.DateFromString.pipe(T.TimestampFormat("date-time")), ), @@ -17223,32 +17223,37 @@ export const ListRulesOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} //# Operations From 19d6958bcb7be23d13ef427cc47ac014a7a9d0bb Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 00:13:57 -0700 Subject: [PATCH 18/63] chore(aws): sweep patches + regen (snapshot 2026-07-15 00:13) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/cost-explorer.json | 11 + packages/aws/patches/docdb.json | 19 + packages/aws/src/services/cost-explorer.ts | 23 +- packages/aws/src/services/docdb.ts | 496 ++++++++++++++------- 4 files changed, 394 insertions(+), 155 deletions(-) create mode 100644 packages/aws/patches/docdb.json diff --git a/packages/aws/patches/cost-explorer.json b/packages/aws/patches/cost-explorer.json index 28188ee4c3..54b3400957 100644 --- a/packages/aws/patches/cost-explorer.json +++ b/packages/aws/patches/cost-explorer.json @@ -21,6 +21,17 @@ } } ] + }, + "getRightsizingRecommendation": { + "syntheticErrors": [ + { + "name": "RightsizingRecommendationNotEnabled", + "from": "AccessDeniedException", + "message": { + "includes": "opt-in only feature" + } + } + ] } }, "errorCategories": { diff --git a/packages/aws/patches/docdb.json b/packages/aws/patches/docdb.json new file mode 100644 index 0000000000..314a9b77cf --- /dev/null +++ b/packages/aws/patches/docdb.json @@ -0,0 +1,19 @@ +{ + "structures": { + "CreateDBClusterMessage": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + }, + "ModifyDBClusterMessage": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + }, + "PendingModifiedValues": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/src/services/cost-explorer.ts b/packages/aws/src/services/cost-explorer.ts index e1c304012c..274b9c56a0 100644 --- a/packages/aws/src/services/cost-explorer.ts +++ b/packages/aws/src/services/cost-explorer.ts @@ -4033,6 +4033,7 @@ export class AnomalyMonitorAlreadyExists extends S.TaggedErrorClass()( "UnknownMonitorException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class AnomalySubscriptionAlreadyExists extends S.TaggedErrorClass()( "AnomalySubscriptionAlreadyExists", @@ -4045,14 +4046,17 @@ export class AnomalySubscriptionAlreadyExists extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class UnknownSubscriptionException extends S.TaggedErrorClass()( "UnknownSubscriptionException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String), ResourceName: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidNextTokenException extends S.TaggedErrorClass()( "InvalidNextTokenException", @@ -4065,6 +4069,7 @@ export class DataUnavailableException extends S.TaggedErrorClass()( "AnalysisNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class BillExpirationException extends S.TaggedErrorClass()( "BillExpirationException", @@ -4078,6 +4083,14 @@ export class RequestChangedException extends S.TaggedErrorClass()( + "RightsizingRecommendationNotEnabled", + {}, + T.SyntheticError({ + from: "AccessDeniedException", + message: { includes: "opt-in only feature" }, + }), +) {} export class UnresolvableUsageUnitException extends S.TaggedErrorClass()( "UnresolvableUsageUnitException", { Message: S.optional(S.String) }, @@ -4085,14 +4098,17 @@ export class UnresolvableUsageUnitException extends S.TaggedErrorClass()( "GenerationExistsException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class BackfillLimitExceededException extends S.TaggedErrorClass()( "BackfillLimitExceededException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String), ResourceName: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations @@ -4830,6 +4846,7 @@ export const getReservationUtilization: API.OperationMethod< export type GetRightsizingRecommendationError = | InvalidNextTokenException | LimitExceededException + | RightsizingRecommendationNotEnabled | CommonErrors; /** * Creates recommendations that help you save cost by identifying idle and underutilized @@ -4862,7 +4879,11 @@ export const getRightsizingRecommendation: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetRightsizingRecommendationRequest, output: GetRightsizingRecommendationResponse, - errors: [InvalidNextTokenException, LimitExceededException], + errors: [ + InvalidNextTokenException, + LimitExceededException, + RightsizingRecommendationNotEnabled, + ], operationName: "GetRightsizingRecommendation", pagination: { inputToken: "NextPageToken", diff --git a/packages/aws/src/services/docdb.ts b/packages/aws/src/services/docdb.ts index 636805a8c6..3f91dcb595 100644 --- a/packages/aws/src/services/docdb.ts +++ b/packages/aws/src/services/docdb.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace("http://rds.amazonaws.com/doc/2014-10-31/"); const svc = T.AwsApiService({ sdkId: "DocDB", @@ -465,7 +467,7 @@ export interface CreateDBClusterMessage { EngineVersion?: string; Port?: number; MasterUsername?: string; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; PreferredBackupWindow?: string; PreferredMaintenanceWindow?: string; Tags?: Tag[]; @@ -494,7 +496,7 @@ export const CreateDBClusterMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( EngineVersion: S.optional(S.String), Port: S.optional(S.Number), MasterUsername: S.optional(S.String), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), PreferredBackupWindow: S.optional(S.String), PreferredMaintenanceWindow: S.optional(S.String), Tags: S.optional(TagList), @@ -901,7 +903,7 @@ export const PendingCloudwatchLogsExports = export interface PendingModifiedValues { DBInstanceClass?: string; AllocatedStorage?: number; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; Port?: number; BackupRetentionPeriod?: number; MultiAZ?: boolean; @@ -918,7 +920,7 @@ export const PendingModifiedValues = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DBInstanceClass: S.optional(S.String), AllocatedStorage: S.optional(S.Number), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), Port: S.optional(S.Number), BackupRetentionPeriod: S.optional(S.Number), MultiAZ: S.optional(S.Boolean), @@ -2541,7 +2543,7 @@ export interface ModifyDBClusterMessage { DBClusterParameterGroupName?: string; VpcSecurityGroupIds?: string[]; Port?: number; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; PreferredBackupWindow?: string; PreferredMaintenanceWindow?: string; CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration; @@ -2565,7 +2567,7 @@ export const ModifyDBClusterMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( DBClusterParameterGroupName: S.optional(S.String), VpcSecurityGroupIds: S.optional(VpcSecurityGroupIdList), Port: S.optional(S.Number), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), PreferredBackupWindow: S.optional(S.String), PreferredMaintenanceWindow: S.optional(S.String), CloudwatchLogsExportConfiguration: S.optional( @@ -3194,382 +3196,568 @@ export const SwitchoverGlobalClusterResult = export class SourceNotFoundFault extends S.TaggedErrorClass()( "SourceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SourceNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SourceNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionNotFoundFault extends S.TaggedErrorClass()( "SubscriptionNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubscriptionNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SubscriptionNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBClusterNotFoundFault extends S.TaggedErrorClass()( "DBClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBClusterNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBClusterNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceNotFoundFault extends S.TaggedErrorClass()( "DBInstanceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBInstanceNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotNotFoundFault extends S.TaggedErrorClass()( "DBSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSnapshotNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBSnapshotNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterStateFault extends S.TaggedErrorClass()( "InvalidDBClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBInstanceStateFault extends S.TaggedErrorClass()( "InvalidDBInstanceStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBInstanceState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidDBInstanceState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundFault extends S.TaggedErrorClass()( "ResourceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ResourceNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ResourceNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBParameterGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBParameterGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBParameterGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBParameterGroupNotFoundFault extends S.TaggedErrorClass()( "DBParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBParameterGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBParameterGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBParameterGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBParameterGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterSnapshotAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterSnapshotAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterSnapshotNotFoundFault extends S.TaggedErrorClass()( "DBClusterSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterSnapshotNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterSnapshotNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterSnapshotStateFault extends S.TaggedErrorClass()( "InvalidDBClusterSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterSnapshotStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterSnapshotStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class KMSKeyNotAccessibleFault extends S.TaggedErrorClass()( "KMSKeyNotAccessibleFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "KMSKeyNotAccessibleFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "KMSKeyNotAccessibleFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SnapshotQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SnapshotQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterParameterGroupNotFoundFault extends S.TaggedErrorClass()( "DBClusterParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterParameterGroupNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBClusterQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterQuotaExceededFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterQuotaExceededFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class DBSubnetGroupDoesNotCoverEnoughAZs extends S.TaggedErrorClass()( "DBSubnetGroupDoesNotCoverEnoughAZs", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupDoesNotCoverEnoughAZs", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupDoesNotCoverEnoughAZs", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupNotFoundFault extends S.TaggedErrorClass()( "DBSubnetGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class GlobalClusterNotFoundFault extends S.TaggedErrorClass()( "GlobalClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InsufficientStorageClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientStorageClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientStorageClusterCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientStorageClusterCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSubnetGroupStateFault extends S.TaggedErrorClass()( "InvalidDBSubnetGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBSubnetGroupStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetGroupStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidGlobalClusterStateFault extends S.TaggedErrorClass()( "InvalidGlobalClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidGlobalClusterStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidGlobalClusterStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSubnet extends S.TaggedErrorClass()( "InvalidSubnet", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidVPCNetworkStateFault extends S.TaggedErrorClass()( "InvalidVPCNetworkStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidVPCNetworkStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidVPCNetworkStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NetworkTypeNotSupported extends S.TaggedErrorClass()( "NetworkTypeNotSupported", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "NetworkTypeNotSupported", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "NetworkTypeNotSupported", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageQuotaExceededFault extends S.TaggedErrorClass()( "StorageQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "StorageQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "StorageQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class AuthorizationNotFoundFault extends S.TaggedErrorClass()( "AuthorizationNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceAlreadyExistsFault extends S.TaggedErrorClass()( "DBInstanceAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBInstanceAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBSecurityGroupNotFoundFault extends S.TaggedErrorClass()( "DBSecurityGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSecurityGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBSecurityGroupNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InstanceQuotaExceededFault extends S.TaggedErrorClass()( "InstanceQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InstanceQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InstanceQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientDBInstanceCapacityFault extends S.TaggedErrorClass()( "InsufficientDBInstanceCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientDBInstanceCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientDBInstanceCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageTypeNotSupportedFault extends S.TaggedErrorClass()( "StorageTypeNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "StorageTypeNotSupported", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "StorageTypeNotSupported", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBSubnetGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBSubnetGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBSubnetGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetQuotaExceededFault extends S.TaggedErrorClass()( "DBSubnetQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class EventSubscriptionQuotaExceededFault extends S.TaggedErrorClass()( "EventSubscriptionQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "EventSubscriptionQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "EventSubscriptionQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSInvalidTopicFault extends S.TaggedErrorClass()( "SNSInvalidTopicFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSInvalidTopic", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SNSInvalidTopic", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSNoAuthorizationFault extends S.TaggedErrorClass()( "SNSNoAuthorizationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSNoAuthorization", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SNSNoAuthorization", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSTopicArnNotFoundFault extends S.TaggedErrorClass()( "SNSTopicArnNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSTopicArnNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SNSTopicArnNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionAlreadyExistFault extends S.TaggedErrorClass()( "SubscriptionAlreadyExistFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubscriptionAlreadyExist", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "SubscriptionAlreadyExist", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionCategoryNotFoundFault extends S.TaggedErrorClass()( "SubscriptionCategoryNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SubscriptionCategoryNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "SubscriptionCategoryNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class GlobalClusterAlreadyExistsFault extends S.TaggedErrorClass()( "GlobalClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class GlobalClusterQuotaExceededFault extends S.TaggedErrorClass()( "GlobalClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBParameterGroupStateFault extends S.TaggedErrorClass()( "InvalidDBParameterGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBParameterGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBParameterGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "DBSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSnapshotAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBSnapshotAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class InvalidDBSubnetStateFault extends S.TaggedErrorClass()( "InvalidDBSubnetStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSubnetStateFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidEventSubscriptionStateFault extends S.TaggedErrorClass()( "InvalidEventSubscriptionStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidEventSubscriptionState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidEventSubscriptionState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CertificateNotFoundFault extends S.TaggedErrorClass()( "CertificateNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSecurityGroupStateFault extends S.TaggedErrorClass()( "InvalidDBSecurityGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBSecurityGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSecurityGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SharedSnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SharedSnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SharedSnapshotQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SharedSnapshotQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBUpgradeDependencyFailureFault extends S.TaggedErrorClass()( "DBUpgradeDependencyFailureFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBUpgradeDependencyFailure", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBUpgradeDependencyFailure", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetAlreadyInUse extends S.TaggedErrorClass()( "SubnetAlreadyInUse", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetAlreadyInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetAlreadyInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} export class InsufficientDBClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientDBClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientDBClusterCapacityFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientDBClusterCapacityFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class InvalidDBSnapshotStateFault extends S.TaggedErrorClass()( "InvalidDBSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSnapshotState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidDBSnapshotState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidRestoreFault extends S.TaggedErrorClass()( "InvalidRestoreFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidRestoreFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidRestoreFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} //# Operations From c36678e1cd750a454de2c6fa28294cb3d394e797 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 00:29:02 -0700 Subject: [PATCH 19/63] chore(aws): sweep patches + regen (snapshot 2026-07-15 00:29) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/ecr-public.json | 9 +++++++++ packages/aws/patches/ecr.json | 7 +++++++ packages/aws/src/services/ecr-public.ts | 6 ++++-- packages/aws/src/services/ecr.ts | 7 +++++-- 4 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 packages/aws/patches/ecr-public.json diff --git a/packages/aws/patches/ecr-public.json b/packages/aws/patches/ecr-public.json new file mode 100644 index 0000000000..56c0db21c5 --- /dev/null +++ b/packages/aws/patches/ecr-public.json @@ -0,0 +1,9 @@ +{ + "structures": { + "AuthorizationData": { + "members": { + "authorizationToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/ecr.json b/packages/aws/patches/ecr.json index 46290e9c72..b80a1c4b34 100644 --- a/packages/aws/patches/ecr.json +++ b/packages/aws/patches/ecr.json @@ -1,4 +1,11 @@ { + "structures": { + "AuthorizationData": { + "members": { + "authorizationToken": { "sensitive": true } + } + } + }, "errorCategories": { "RepositoryAlreadyExistsException": ["ConflictError", "AlreadyExistsError"], "RepositoryNotFoundException": ["NotFoundError"], diff --git a/packages/aws/src/services/ecr-public.ts b/packages/aws/src/services/ecr-public.ts index 9d74399faa..caeafd1bc2 100644 --- a/packages/aws/src/services/ecr-public.ts +++ b/packages/aws/src/services/ecr-public.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace("http://ecr-public.amazonaws.com/doc/2020-12-02/"); const svc = T.AwsApiService({ sdkId: "ECR PUBLIC", @@ -797,12 +799,12 @@ export const GetAuthorizationTokenRequest = identifier: "GetAuthorizationTokenRequest", }) as any as S.Schema; export interface AuthorizationData { - authorizationToken?: string; + authorizationToken?: string | redacted.Redacted; expiresAt?: Date; } export const AuthorizationData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - authorizationToken: S.optional(S.String), + authorizationToken: S.optional(SensitiveString), expiresAt: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ diff --git a/packages/aws/src/services/ecr.ts b/packages/aws/src/services/ecr.ts index 8a4f0f47ab..7ab76a44ec 100644 --- a/packages/aws/src/services/ecr.ts +++ b/packages/aws/src/services/ecr.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region as Rgn } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace("http://ecr.amazonaws.com/doc/2015-09-21/"); const svc = T.AwsApiService({ sdkId: "ECR", @@ -2420,13 +2422,13 @@ export const GetAuthorizationTokenRequest = identifier: "GetAuthorizationTokenRequest", }) as any as S.Schema; export interface AuthorizationData { - authorizationToken?: string; + authorizationToken?: string | redacted.Redacted; expiresAt?: Date; proxyEndpoint?: string; } export const AuthorizationData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - authorizationToken: S.optional(S.String), + authorizationToken: S.optional(SensitiveString), expiresAt: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), proxyEndpoint: S.optional(S.String), }), @@ -3898,6 +3900,7 @@ export class UnableToGetUpstreamImageException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class EmptyUploadException extends S.TaggedErrorClass()( "EmptyUploadException", From 995dcc04f7f4d03c3211bc87cfc0ed282ebd0603 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 00:44:08 -0700 Subject: [PATCH 20/63] chore(aws): sweep patches + regen (snapshot 2026-07-15 00:44) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/eks-auth.json | 10 + .../patches/elastic-load-balancing-v2.json | 9 + packages/aws/patches/elasticache.json | 39 + packages/aws/patches/emr.json | 24 +- packages/aws/scripts/generate.ts | 27 +- packages/aws/src/services/eks-auth.ts | 17 +- .../src/services/elastic-load-balancing-v2.ts | 373 ++++++--- packages/aws/src/services/elasticache.ts | 713 ++++++++++++------ packages/aws/src/services/emr.ts | 24 +- 9 files changed, 887 insertions(+), 349 deletions(-) create mode 100644 packages/aws/patches/eks-auth.json create mode 100644 packages/aws/patches/elastic-load-balancing-v2.json create mode 100644 packages/aws/patches/elasticache.json diff --git a/packages/aws/patches/eks-auth.json b/packages/aws/patches/eks-auth.json new file mode 100644 index 0000000000..7fdb4e2430 --- /dev/null +++ b/packages/aws/patches/eks-auth.json @@ -0,0 +1,10 @@ +{ + "structures": { + "Credentials": { + "members": { + "secretAccessKey": { "sensitive": true }, + "sessionToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/elastic-load-balancing-v2.json b/packages/aws/patches/elastic-load-balancing-v2.json new file mode 100644 index 0000000000..d55518187c --- /dev/null +++ b/packages/aws/patches/elastic-load-balancing-v2.json @@ -0,0 +1,9 @@ +{ + "structures": { + "AuthenticateOidcActionConfig": { + "members": { + "ClientSecret": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/elasticache.json b/packages/aws/patches/elasticache.json new file mode 100644 index 0000000000..fb01a0356b --- /dev/null +++ b/packages/aws/patches/elasticache.json @@ -0,0 +1,39 @@ +{ + "structures": { + "CreateCacheClusterMessage": { + "members": { + "AuthToken": { "sensitive": true } + } + }, + "ModifyCacheClusterMessage": { + "members": { + "AuthToken": { "sensitive": true } + } + }, + "CreateReplicationGroupMessage": { + "members": { + "AuthToken": { "sensitive": true } + } + }, + "ModifyReplicationGroupMessage": { + "members": { + "AuthToken": { "sensitive": true } + } + }, + "AuthenticationMode": { + "members": { + "Passwords": { "sensitive": true } + } + }, + "CreateUserMessage": { + "members": { + "Passwords": { "sensitive": true } + } + }, + "ModifyUserMessage": { + "members": { + "Passwords": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/emr.json b/packages/aws/patches/emr.json index 63ed8bf030..970fcccb9d 100644 --- a/packages/aws/patches/emr.json +++ b/packages/aws/patches/emr.json @@ -1,4 +1,26 @@ { + "structures": { + "UsernamePassword": { + "members": { + "Password": { + "sensitive": true + } + } + }, + "KerberosAttributes": { + "members": { + "KdcAdminPassword": { + "sensitive": true + }, + "CrossRealmTrustPrincipalPassword": { + "sensitive": true + }, + "ADDomainJoinPassword": { + "sensitive": true + } + } + } + }, "operations": { "describeCluster": { "syntheticErrors": [ @@ -142,4 +164,4 @@ "NotFoundError" ] } -} \ No newline at end of file +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index 26d2279315..7510b4e8fc 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -1913,14 +1913,33 @@ const convertShapeToSchema: ( // schema for SensitiveString so responses decode to Redacted // and requests accept raw or Redacted values. if (memberOverride?.sensitive) { - if (schema !== "S.String") { + const listMemberTarget = + memberTargetShape?.type === "list" + ? (memberTargetShape as { member?: { target?: string } }) + .member?.target + : undefined; + const isStringList = + listMemberTarget !== undefined && + (listMemberTarget === "smithy.api#String" || + ( + model.shapes[listMemberTarget] as + | GenericShape + | undefined + )?.type === "string"); + if (schema === "S.String") { + schema = "SensitiveString"; + tsType = "string | redacted.Redacted"; + } else if (isStringList) { + // Sensitive list of strings (e.g. ElastiCache user + // Passwords) — each element decodes to Redacted. + schema = "S.Array(SensitiveString)"; + tsType = "Array>"; + } else { return yield* Effect.die( `sensitive member override on ${currentSchemaName}.${memberName} ` + - `requires a plain string member (schema was ${schema})`, + `requires a plain string or list-of-string member (schema was ${schema})`, ); } - schema = "SensitiveString"; - tsType = "string | redacted.Redacted"; } // Check if this member is "soft required" (@clientOptional + @required) const hasClientOptional = diff --git a/packages/aws/src/services/eks-auth.ts b/packages/aws/src/services/eks-auth.ts index bf4bb30619..0ce400bd55 100644 --- a/packages/aws/src/services/eks-auth.ts +++ b/packages/aws/src/services/eks-auth.ts @@ -127,15 +127,15 @@ export const AssumedRoleUser = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => identifier: "AssumedRoleUser", }) as any as S.Schema; export interface Credentials { - sessionToken: string; - secretAccessKey: string; + sessionToken: string | redacted.Redacted; + secretAccessKey: string | redacted.Redacted; accessKeyId: string; expiration: Date; } export const Credentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - sessionToken: S.String, - secretAccessKey: S.String, + sessionToken: SensitiveString, + secretAccessKey: SensitiveString, accessKeyId: S.String, expiration: S.Date.pipe(T.TimestampFormat("epoch-seconds")), }), @@ -164,38 +164,47 @@ export const AssumeRoleForPodIdentityResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError, C.withAuthError) {} export class ExpiredTokenException extends S.TaggedErrorClass()( "ExpiredTokenException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidParameterException extends S.TaggedErrorClass()( "InvalidParameterException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidTokenException extends S.TaggedErrorClass()( "InvalidTokenException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} //# Operations diff --git a/packages/aws/src/services/elastic-load-balancing-v2.ts b/packages/aws/src/services/elastic-load-balancing-v2.ts index 7033797f1b..a6529d1dca 100644 --- a/packages/aws/src/services/elastic-load-balancing-v2.ts +++ b/packages/aws/src/services/elastic-load-balancing-v2.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace( "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/", ); @@ -403,7 +405,7 @@ export interface AuthenticateOidcActionConfig { TokenEndpoint?: string; UserInfoEndpoint?: string; ClientId?: string; - ClientSecret?: string; + ClientSecret?: string | redacted.Redacted; SessionCookieName?: string; Scope?: string; SessionTimeout?: number; @@ -419,7 +421,7 @@ export const AuthenticateOidcActionConfig = TokenEndpoint: S.optional(S.String), UserInfoEndpoint: S.optional(S.String), ClientId: S.optional(S.String), - ClientSecret: S.optional(S.String), + ClientSecret: S.optional(SensitiveString), SessionCookieName: S.optional(S.String), Scope: S.optional(S.String), SessionTimeout: S.optional(S.Number), @@ -3379,318 +3381,501 @@ export const SetSubnetsOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class CertificateNotFoundException extends S.TaggedErrorClass()( "CertificateNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ListenerNotFoundException extends S.TaggedErrorClass()( "ListenerNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ListenerNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ListenerNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyCertificatesException extends S.TaggedErrorClass()( "TooManyCertificatesException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyCertificates", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyCertificates", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateTagKeysException extends S.TaggedErrorClass()( "DuplicateTagKeysException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateTagKeys", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DuplicateTagKeys", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class LoadBalancerNotFoundException extends S.TaggedErrorClass()( "LoadBalancerNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "LoadBalancerNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "LoadBalancerNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class RuleNotFoundException extends S.TaggedErrorClass()( "RuleNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "RuleNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "RuleNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TargetGroupNotFoundException extends S.TaggedErrorClass()( "TargetGroupNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TargetGroupNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TargetGroupNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyTags", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyTags", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TrustStoreNotFoundException extends S.TaggedErrorClass()( "TrustStoreNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TrustStoreNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TrustStoreNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidRevocationContentException extends S.TaggedErrorClass()( "InvalidRevocationContentException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidRevocationContent", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidRevocationContent", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class RevocationContentNotFoundException extends S.TaggedErrorClass()( "RevocationContentNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "RevocationContentNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "RevocationContentNotFound", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyTrustStoreRevocationEntriesException extends S.TaggedErrorClass()( "TooManyTrustStoreRevocationEntriesException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TooManyTrustStoreRevocationEntries", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TooManyTrustStoreRevocationEntries", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ALPNPolicyNotSupportedException extends S.TaggedErrorClass()( "ALPNPolicyNotSupportedException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ALPNPolicyNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ALPNPolicyNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateListenerException extends S.TaggedErrorClass()( "DuplicateListenerException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateListener", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DuplicateListener", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class IncompatibleProtocolsException extends S.TaggedErrorClass()( "IncompatibleProtocolsException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "IncompatibleProtocols", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "IncompatibleProtocols", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidConfigurationRequestException extends S.TaggedErrorClass()( "InvalidConfigurationRequestException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidConfigurationRequest", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidConfigurationRequest", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidLoadBalancerActionException extends S.TaggedErrorClass()( "InvalidLoadBalancerActionException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidLoadBalancerAction", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidLoadBalancerAction", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SSLPolicyNotFoundException extends S.TaggedErrorClass()( "SSLPolicyNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "SSLPolicyNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SSLPolicyNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TargetGroupAssociationLimitException extends S.TaggedErrorClass()( "TargetGroupAssociationLimitException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TargetGroupAssociationLimit", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TargetGroupAssociationLimit", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyActionsException extends S.TaggedErrorClass()( "TooManyActionsException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyActions", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyActions", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyListenersException extends S.TaggedErrorClass()( "TooManyListenersException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyListeners", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyListeners", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyRegistrationsForTargetIdException extends S.TaggedErrorClass()( "TooManyRegistrationsForTargetIdException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TooManyRegistrationsForTargetId", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TooManyRegistrationsForTargetId", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyTargetsException extends S.TaggedErrorClass()( "TooManyTargetsException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyTargets", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyTargets", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyUniqueTargetGroupsPerLoadBalancerException extends S.TaggedErrorClass()( "TooManyUniqueTargetGroupsPerLoadBalancerException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TooManyUniqueTargetGroupsPerLoadBalancer", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TooManyUniqueTargetGroupsPerLoadBalancer", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TrustStoreNotReadyException extends S.TaggedErrorClass()( "TrustStoreNotReadyException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TrustStoreNotReady", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TrustStoreNotReady", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UnsupportedProtocolException extends S.TaggedErrorClass()( "UnsupportedProtocolException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "UnsupportedProtocol", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UnsupportedProtocol", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class AllocationIdNotFoundException extends S.TaggedErrorClass()( "AllocationIdNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "AllocationIdNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "AllocationIdNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class AvailabilityZoneNotSupportedException extends S.TaggedErrorClass()( "AvailabilityZoneNotSupportedException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "AvailabilityZoneNotSupported", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "AvailabilityZoneNotSupported", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateLoadBalancerNameException extends S.TaggedErrorClass()( "DuplicateLoadBalancerNameException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateLoadBalancerName", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "DuplicateLoadBalancerName", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSchemeException extends S.TaggedErrorClass()( "InvalidSchemeException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidScheme", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidScheme", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSecurityGroupException extends S.TaggedErrorClass()( "InvalidSecurityGroupException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSecurityGroup", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSecurityGroup", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSubnetException extends S.TaggedErrorClass()( "InvalidSubnetException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class OperationNotPermittedException extends S.TaggedErrorClass()( "OperationNotPermittedException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "OperationNotPermitted", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "OperationNotPermitted", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ResourceInUseException extends S.TaggedErrorClass()( "ResourceInUseException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ResourceInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ResourceInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetNotFoundException extends S.TaggedErrorClass()( "SubnetNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyLoadBalancersException extends S.TaggedErrorClass()( "TooManyLoadBalancersException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyLoadBalancers", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyLoadBalancers", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class PriorityInUseException extends S.TaggedErrorClass()( "PriorityInUseException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "PriorityInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "PriorityInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyRulesException extends S.TaggedErrorClass()( "TooManyRulesException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyRules", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyRules", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyTargetGroupsException extends S.TaggedErrorClass()( "TooManyTargetGroupsException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyTargetGroups", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyTargetGroups", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateTargetGroupNameException extends S.TaggedErrorClass()( "DuplicateTargetGroupNameException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateTargetGroupName", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "DuplicateTargetGroupName", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CaCertificatesBundleNotFoundException extends S.TaggedErrorClass()( "CaCertificatesBundleNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CaCertificatesBundleNotFound", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CaCertificatesBundleNotFound", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateTrustStoreNameException extends S.TaggedErrorClass()( "DuplicateTrustStoreNameException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateTrustStoreName", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DuplicateTrustStoreName", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidCaCertificatesBundleException extends S.TaggedErrorClass()( "InvalidCaCertificatesBundleException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidCaCertificatesBundle", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidCaCertificatesBundle", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TooManyTrustStoresException extends S.TaggedErrorClass()( "TooManyTrustStoresException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TooManyTrustStores", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TooManyTrustStores", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DeleteAssociationSameAccountException extends S.TaggedErrorClass()( "DeleteAssociationSameAccountException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DeleteAssociationSameAccount", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DeleteAssociationSameAccount", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TrustStoreAssociationNotFoundException extends S.TaggedErrorClass()( "TrustStoreAssociationNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "AssociationNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "AssociationNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TrustStoreInUseException extends S.TaggedErrorClass()( "TrustStoreInUseException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "TrustStoreInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "TrustStoreInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidTargetException extends S.TaggedErrorClass()( "InvalidTargetException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidTarget", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidTarget", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class HealthUnavailableException extends S.TaggedErrorClass()( "HealthUnavailableException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "HealthUnavailable", httpResponseCode: 500 }), + T.all( + T.AwsQueryError({ code: "HealthUnavailable", httpResponseCode: 500 }), + T.HttpError(500), + ), ).pipe(C.withServerError) {} export class RevocationIdNotFoundException extends S.TaggedErrorClass()( "RevocationIdNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "RevocationIdNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "RevocationIdNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ResourceNotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ResourceNotFound", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CapacityDecreaseRequestsLimitExceededException extends S.TaggedErrorClass()( "CapacityDecreaseRequestsLimitExceededException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CapacityDecreaseRequestLimitExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CapacityDecreaseRequestLimitExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CapacityReservationPendingException extends S.TaggedErrorClass()( "CapacityReservationPendingException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CapacityReservationPending", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CapacityReservationPending", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CapacityUnitsLimitExceededException extends S.TaggedErrorClass()( "CapacityUnitsLimitExceededException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CapacityUnitsLimitExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CapacityUnitsLimitExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientCapacityException extends S.TaggedErrorClass()( "InsufficientCapacityException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InsufficientCapacity", httpResponseCode: 500 }), + T.all( + T.AwsQueryError({ code: "InsufficientCapacity", httpResponseCode: 500 }), + T.HttpError(500), + ), ).pipe(C.withServerError) {} export class PriorRequestNotCompleteException extends S.TaggedErrorClass()( "PriorRequestNotCompleteException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "PriorRequestNotComplete", httpResponseCode: 429 }), + T.all( + T.AwsQueryError({ code: "PriorRequestNotComplete", httpResponseCode: 429 }), + T.HttpError(429), + ), ).pipe(C.withThrottlingError) {} //# Operations diff --git a/packages/aws/src/services/elasticache.ts b/packages/aws/src/services/elasticache.ts index 70fc9f906d..d0e1558bc4 100644 --- a/packages/aws/src/services/elasticache.ts +++ b/packages/aws/src/services/elasticache.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace("http://elasticache.amazonaws.com/doc/2015-02-02/"); const svc = T.AwsApiService({ sdkId: "ElastiCache", @@ -1048,7 +1050,7 @@ export interface CreateCacheClusterMessage { AutoMinorVersionUpgrade?: boolean; SnapshotRetentionLimit?: number; SnapshotWindow?: string; - AuthToken?: string; + AuthToken?: string | redacted.Redacted; OutpostMode?: OutpostMode; PreferredOutpostArn?: string; PreferredOutpostArns?: string[]; @@ -1082,7 +1084,7 @@ export const CreateCacheClusterMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( AutoMinorVersionUpgrade: S.optional(S.Boolean), SnapshotRetentionLimit: S.optional(S.Number), SnapshotWindow: S.optional(S.String), - AuthToken: S.optional(S.String), + AuthToken: S.optional(SensitiveString), OutpostMode: S.optional(OutpostMode), PreferredOutpostArn: S.optional(S.String), PreferredOutpostArns: S.optional(PreferredOutpostArnList), @@ -1658,7 +1660,7 @@ export interface CreateReplicationGroupMessage { AutoMinorVersionUpgrade?: boolean; SnapshotRetentionLimit?: number; SnapshotWindow?: string; - AuthToken?: string; + AuthToken?: string | redacted.Redacted; TransitEncryptionEnabled?: boolean; AtRestEncryptionEnabled?: boolean; KmsKeyId?: string; @@ -1702,7 +1704,7 @@ export const CreateReplicationGroupMessage = AutoMinorVersionUpgrade: S.optional(S.Boolean), SnapshotRetentionLimit: S.optional(S.Number), SnapshotWindow: S.optional(S.String), - AuthToken: S.optional(S.String), + AuthToken: S.optional(SensitiveString), TransitEncryptionEnabled: S.optional(S.Boolean), AtRestEncryptionEnabled: S.optional(S.Boolean), KmsKeyId: S.optional(S.String), @@ -1969,12 +1971,12 @@ export type InputAuthenticationType = export const InputAuthenticationType = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface AuthenticationMode { Type?: InputAuthenticationType; - Passwords?: string[]; + Passwords?: Array>; } export const AuthenticationMode = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Type: S.optional(InputAuthenticationType), - Passwords: S.optional(PasswordListInput), + Passwords: S.optional(S.Array(SensitiveString)), }), ).annotate({ identifier: "AuthenticationMode", @@ -1983,7 +1985,7 @@ export interface CreateUserMessage { UserId?: string; UserName?: string; Engine?: string; - Passwords?: string[]; + Passwords?: Array>; AccessString?: string; NoPasswordRequired?: boolean; Tags?: Tag[]; @@ -1994,7 +1996,7 @@ export const CreateUserMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => UserId: S.optional(S.String), UserName: S.optional(S.String), Engine: S.optional(S.String), - Passwords: S.optional(PasswordListInput), + Passwords: S.optional(S.Array(SensitiveString)), AccessString: S.optional(S.String), NoPasswordRequired: S.optional(S.Boolean), Tags: S.optional(TagList), @@ -4179,7 +4181,7 @@ export interface ModifyCacheClusterMessage { SnapshotRetentionLimit?: number; SnapshotWindow?: string; CacheNodeType?: string; - AuthToken?: string; + AuthToken?: string | redacted.Redacted; AuthTokenUpdateStrategy?: AuthTokenUpdateStrategyType; LogDeliveryConfigurations?: LogDeliveryConfigurationRequest[]; IpDiscovery?: IpDiscovery; @@ -4206,7 +4208,7 @@ export const ModifyCacheClusterMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( SnapshotRetentionLimit: S.optional(S.Number), SnapshotWindow: S.optional(S.String), CacheNodeType: S.optional(S.String), - AuthToken: S.optional(S.String), + AuthToken: S.optional(SensitiveString), AuthTokenUpdateStrategy: S.optional(AuthTokenUpdateStrategyType), LogDeliveryConfigurations: S.optional( LogDeliveryConfigurationRequestList, @@ -4386,7 +4388,7 @@ export interface ModifyReplicationGroupMessage { SnapshotRetentionLimit?: number; SnapshotWindow?: string; CacheNodeType?: string; - AuthToken?: string; + AuthToken?: string | redacted.Redacted; AuthTokenUpdateStrategy?: AuthTokenUpdateStrategyType; UserGroupIdsToAdd?: string[]; UserGroupIdsToRemove?: string[]; @@ -4421,7 +4423,7 @@ export const ModifyReplicationGroupMessage = SnapshotRetentionLimit: S.optional(S.Number), SnapshotWindow: S.optional(S.String), CacheNodeType: S.optional(S.String), - AuthToken: S.optional(S.String), + AuthToken: S.optional(SensitiveString), AuthTokenUpdateStrategy: S.optional(AuthTokenUpdateStrategyType), UserGroupIdsToAdd: S.optional(UserGroupIdList), UserGroupIdsToRemove: S.optional(UserGroupIdList), @@ -4561,7 +4563,7 @@ export interface ModifyUserMessage { UserId?: string; AccessString?: string; AppendAccessString?: string; - Passwords?: string[]; + Passwords?: Array>; NoPasswordRequired?: boolean; AuthenticationMode?: AuthenticationMode; Engine?: string; @@ -4571,7 +4573,7 @@ export const ModifyUserMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => UserId: S.optional(S.String), AccessString: S.optional(S.String), AppendAccessString: S.optional(S.String), - Passwords: S.optional(PasswordListInput), + Passwords: S.optional(S.Array(SensitiveString)), NoPasswordRequired: S.optional(S.Boolean), AuthenticationMode: S.optional(AuthenticationMode), Engine: S.optional(S.String), @@ -4908,529 +4910,766 @@ export const TestMigrationResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class CacheClusterNotFoundFault extends S.TaggedErrorClass()( "CacheClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "CacheClusterNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "CacheClusterNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class CacheParameterGroupNotFoundFault extends S.TaggedErrorClass()( "CacheParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheParameterGroupNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "CacheParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class CacheSecurityGroupNotFoundFault extends S.TaggedErrorClass()( "CacheSecurityGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheSecurityGroupNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "CacheSecurityGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class CacheSubnetGroupNotFoundFault extends S.TaggedErrorClass()( "CacheSubnetGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheSubnetGroupNotFoundFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheSubnetGroupNotFoundFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidARNFault extends S.TaggedErrorClass()( "InvalidARNFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidARN", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidARN", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidReplicationGroupStateFault extends S.TaggedErrorClass()( "InvalidReplicationGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidReplicationGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidReplicationGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidServerlessCacheSnapshotStateFault extends S.TaggedErrorClass()( "InvalidServerlessCacheSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidServerlessCacheSnapshotStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidServerlessCacheSnapshotStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidServerlessCacheStateFault extends S.TaggedErrorClass()( "InvalidServerlessCacheStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidServerlessCacheStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidServerlessCacheStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ReplicationGroupNotFoundFault extends S.TaggedErrorClass()( "ReplicationGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReplicationGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReplicationGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ReservedCacheNodeNotFoundFault extends S.TaggedErrorClass()( "ReservedCacheNodeNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ReservedCacheNodeNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "ReservedCacheNodeNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ServerlessCacheNotFoundFault extends S.TaggedErrorClass()( "ServerlessCacheNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServerlessCacheNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ServerlessCacheNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ServerlessCacheSnapshotNotFoundFault extends S.TaggedErrorClass()( "ServerlessCacheSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServerlessCacheSnapshotNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ServerlessCacheSnapshotNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SnapshotNotFoundFault extends S.TaggedErrorClass()( "SnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SnapshotNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SnapshotNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class TagQuotaPerResourceExceeded extends S.TaggedErrorClass()( "TagQuotaPerResourceExceeded", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TagQuotaPerResourceExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TagQuotaPerResourceExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UserGroupNotFoundFault extends S.TaggedErrorClass()( "UserGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "UserGroupNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class UserNotFoundFault extends S.TaggedErrorClass()( "UserNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "UserNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class AuthorizationAlreadyExistsFault extends S.TaggedErrorClass()( "AuthorizationAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "AuthorizationAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "AuthorizationAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class InvalidCacheSecurityGroupStateFault extends S.TaggedErrorClass()( "InvalidCacheSecurityGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidCacheSecurityGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidCacheSecurityGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidParameterCombinationException extends S.TaggedErrorClass()( "InvalidParameterCombinationException", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidParameterCombination", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidParameterCombination", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidParameterValueException extends S.TaggedErrorClass()( "InvalidParameterValueException", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidParameterValue", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidParameterValue", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ServiceUpdateNotFoundFault extends S.TaggedErrorClass()( "ServiceUpdateNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServiceUpdateNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ServiceUpdateNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ReplicationGroupNotUnderMigrationFault extends S.TaggedErrorClass()( "ReplicationGroupNotUnderMigrationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReplicationGroupNotUnderMigrationFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ReplicationGroupNotUnderMigrationFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ServerlessCacheSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "ServerlessCacheSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServerlessCacheSnapshotAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ServerlessCacheSnapshotAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ServerlessCacheSnapshotQuotaExceededFault extends S.TaggedErrorClass()( "ServerlessCacheSnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServerlessCacheSnapshotQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ServerlessCacheSnapshotQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ServiceLinkedRoleNotFoundFault extends S.TaggedErrorClass()( "ServiceLinkedRoleNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServiceLinkedRoleNotFoundFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ServiceLinkedRoleNotFoundFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSnapshotStateFault extends S.TaggedErrorClass()( "InvalidSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSnapshotState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSnapshotState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "SnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SnapshotAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SnapshotAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class SnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SnapshotQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SnapshotQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CacheClusterAlreadyExistsFault extends S.TaggedErrorClass()( "CacheClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "CacheClusterAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "CacheClusterAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ClusterQuotaForCustomerExceededFault extends S.TaggedErrorClass()( "ClusterQuotaForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ClusterQuotaForCustomerExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ClusterQuotaForCustomerExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientCacheClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientCacheClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientCacheClusterCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientCacheClusterCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidVPCNetworkStateFault extends S.TaggedErrorClass()( "InvalidVPCNetworkStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidVPCNetworkStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidVPCNetworkStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NodeQuotaForClusterExceededFault extends S.TaggedErrorClass()( "NodeQuotaForClusterExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "NodeQuotaForClusterExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "NodeQuotaForClusterExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NodeQuotaForCustomerExceededFault extends S.TaggedErrorClass()( "NodeQuotaForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "NodeQuotaForCustomerExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "NodeQuotaForCustomerExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CacheParameterGroupAlreadyExistsFault extends S.TaggedErrorClass()( "CacheParameterGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheParameterGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheParameterGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class CacheParameterGroupQuotaExceededFault extends S.TaggedErrorClass()( "CacheParameterGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheParameterGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheParameterGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidCacheParameterGroupStateFault extends S.TaggedErrorClass()( "InvalidCacheParameterGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidCacheParameterGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidCacheParameterGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CacheSecurityGroupAlreadyExistsFault extends S.TaggedErrorClass()( "CacheSecurityGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheSecurityGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheSecurityGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class CacheSecurityGroupQuotaExceededFault extends S.TaggedErrorClass()( "CacheSecurityGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "QuotaExceeded.CacheSecurityGroup", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "QuotaExceeded.CacheSecurityGroup", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CacheSubnetGroupAlreadyExistsFault extends S.TaggedErrorClass()( "CacheSubnetGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheSubnetGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheSubnetGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class CacheSubnetGroupQuotaExceededFault extends S.TaggedErrorClass()( "CacheSubnetGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheSubnetGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheSubnetGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CacheSubnetQuotaExceededFault extends S.TaggedErrorClass()( "CacheSubnetQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "CacheSubnetQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "CacheSubnetQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSubnet extends S.TaggedErrorClass()( "InvalidSubnet", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetNotAllowedFault extends S.TaggedErrorClass()( "SubnetNotAllowedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetNotAllowedFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetNotAllowedFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class GlobalReplicationGroupAlreadyExistsFault extends S.TaggedErrorClass()( "GlobalReplicationGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalReplicationGroupAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalReplicationGroupAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class GlobalReplicationGroupNotFoundFault extends S.TaggedErrorClass()( "GlobalReplicationGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalReplicationGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "GlobalReplicationGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidCacheClusterStateFault extends S.TaggedErrorClass()( "InvalidCacheClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidCacheClusterState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidCacheClusterState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidGlobalReplicationGroupStateFault extends S.TaggedErrorClass()( "InvalidGlobalReplicationGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidGlobalReplicationGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidGlobalReplicationGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidUserGroupStateFault extends S.TaggedErrorClass()( "InvalidUserGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidUserGroupState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidUserGroupState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NodeGroupsPerReplicationGroupQuotaExceededFault extends S.TaggedErrorClass()( "NodeGroupsPerReplicationGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "NodeGroupsPerReplicationGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "NodeGroupsPerReplicationGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ReplicationGroupAlreadyExistsFault extends S.TaggedErrorClass()( "ReplicationGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReplicationGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ReplicationGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class InvalidCredentialsException extends S.TaggedErrorClass()( "InvalidCredentialsException", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidCredentialsException", - httpResponseCode: 408, - }), + T.all( + T.AwsQueryError({ + code: "InvalidCredentialsException", + httpResponseCode: 408, + }), + T.HttpError(408), + ), ).pipe(C.withTimeoutError) {} export class ServerlessCacheAlreadyExistsFault extends S.TaggedErrorClass()( "ServerlessCacheAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServerlessCacheAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ServerlessCacheAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ServerlessCacheQuotaForCustomerExceededFault extends S.TaggedErrorClass()( "ServerlessCacheQuotaForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServerlessCacheQuotaForCustomerExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ServerlessCacheQuotaForCustomerExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SnapshotFeatureNotSupportedFault extends S.TaggedErrorClass()( "SnapshotFeatureNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SnapshotFeatureNotSupportedFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SnapshotFeatureNotSupportedFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateUserNameFault extends S.TaggedErrorClass()( "DuplicateUserNameFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateUserName", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DuplicateUserName", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UserAlreadyExistsFault extends S.TaggedErrorClass()( "UserAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UserAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class UserQuotaExceededFault extends S.TaggedErrorClass()( "UserQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UserQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DefaultUserRequired extends S.TaggedErrorClass()( "DefaultUserRequired", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DefaultUserRequired", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DefaultUserRequired", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UserGroupAlreadyExistsFault extends S.TaggedErrorClass()( "UserGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserGroupAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UserGroupAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class UserGroupQuotaExceededFault extends S.TaggedErrorClass()( "UserGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserGroupQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UserGroupQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NoOperationFault extends S.TaggedErrorClass()( "NoOperationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "NoOperationFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "NoOperationFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CacheSubnetGroupInUse extends S.TaggedErrorClass()( "CacheSubnetGroupInUse", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "CacheSubnetGroupInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "CacheSubnetGroupInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} export class DefaultUserAssociatedToUserGroupFault extends S.TaggedErrorClass()( "DefaultUserAssociatedToUserGroupFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DefaultUserAssociatedToUserGroup", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DefaultUserAssociatedToUserGroup", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidUserStateFault extends S.TaggedErrorClass()( "InvalidUserStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidUserState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidUserState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ReservedCacheNodesOfferingNotFoundFault extends S.TaggedErrorClass()( "ReservedCacheNodesOfferingNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedCacheNodesOfferingNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReservedCacheNodesOfferingNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidKMSKeyFault extends S.TaggedErrorClass()( "InvalidKMSKeyFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidKMSKeyFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidKMSKeyFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetInUse extends S.TaggedErrorClass()( "SubnetInUse", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} export class ReservedCacheNodeAlreadyExistsFault extends S.TaggedErrorClass()( "ReservedCacheNodeAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedCacheNodeAlreadyExists", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReservedCacheNodeAlreadyExists", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ReservedCacheNodeQuotaExceededFault extends S.TaggedErrorClass()( "ReservedCacheNodeQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedCacheNodeQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ReservedCacheNodeQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TagNotFoundFault extends S.TaggedErrorClass()( "TagNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "TagNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "TagNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class AuthorizationNotFoundFault extends S.TaggedErrorClass()( "AuthorizationNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ReplicationGroupAlreadyUnderMigrationFault extends S.TaggedErrorClass()( "ReplicationGroupAlreadyUnderMigrationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReplicationGroupAlreadyUnderMigrationFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ReplicationGroupAlreadyUnderMigrationFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class APICallRateForCustomerExceededFault extends S.TaggedErrorClass()( "APICallRateForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "APICallRateForCustomerExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "APICallRateForCustomerExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NodeGroupNotFoundFault extends S.TaggedErrorClass()( "NodeGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "NodeGroupNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "NodeGroupNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class TestFailoverNotAvailableFault extends S.TaggedErrorClass()( "TestFailoverNotAvailableFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TestFailoverNotAvailableFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TestFailoverNotAvailableFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/emr.ts b/packages/aws/src/services/emr.ts index 8f092bdd1b..dc73484d04 100644 --- a/packages/aws/src/services/emr.ts +++ b/packages/aws/src/services/emr.ts @@ -1297,18 +1297,18 @@ export type RepoUpgradeOnBoot = "SECURITY" | "NONE" | (string & {}); export const RepoUpgradeOnBoot = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface KerberosAttributes { Realm?: string; - KdcAdminPassword?: string; - CrossRealmTrustPrincipalPassword?: string; + KdcAdminPassword?: string | redacted.Redacted; + CrossRealmTrustPrincipalPassword?: string | redacted.Redacted; ADDomainJoinUser?: string; - ADDomainJoinPassword?: string; + ADDomainJoinPassword?: string | redacted.Redacted; } export const KerberosAttributes = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Realm: S.optional(S.String), - KdcAdminPassword: S.optional(S.String), - CrossRealmTrustPrincipalPassword: S.optional(S.String), + KdcAdminPassword: S.optional(SensitiveString), + CrossRealmTrustPrincipalPassword: S.optional(SensitiveString), ADDomainJoinUser: S.optional(S.String), - ADDomainJoinPassword: S.optional(S.String), + ADDomainJoinPassword: S.optional(SensitiveString), }), ).annotate({ identifier: "KerberosAttributes", @@ -2479,10 +2479,13 @@ export const GetClusterSessionCredentialsInput = }) as any as S.Schema; export interface UsernamePassword { Username?: string; - Password?: string; + Password?: string | redacted.Redacted; } export const UsernamePassword = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ Username: S.optional(S.String), Password: S.optional(S.String) }), + S.Struct({ + Username: S.optional(S.String), + Password: S.optional(SensitiveString), + }), ).annotate({ identifier: "UsernamePassword", }) as any as S.Schema; @@ -5075,7 +5078,10 @@ export class InvalidRequestException extends S.TaggedErrorClass()( "InternalServerError", {}, - T.AwsQueryError({ code: "InternalFailure", httpResponseCode: 500 }), + T.all( + T.AwsQueryError({ code: "InternalFailure", httpResponseCode: 500 }), + T.HttpError(500), + ), ).pipe(C.withServerError) {} export class SecurityConfigurationAlreadyExists extends S.TaggedErrorClass()( "SecurityConfigurationAlreadyExists", From 8ab547e252c337986a6597dfc5aac6ea4acfe9c8 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 00:59:14 -0700 Subject: [PATCH 21/63] chore(aws): sweep patches + regen (snapshot 2026-07-15 00:59) Co-Authored-By: Claude Opus 4.8 --- packages/aws/scripts/generate.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index 7510b4e8fc..3d3a484507 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -1039,8 +1039,7 @@ function collectOperationInputTraits(model: SmithyModel): { // schema (so no derived name can collide with the base); otherwise the // first op in model order owns it. Every other op with different traits // gets a per-operation override. - const owner = - ops.find((o) => `${o.opName}Request` === inputName) ?? ops[0]; + const owner = ops.find((o) => `${o.opName}Request` === inputName) ?? ops[0]; inputTraits.set(inputName, owner.traits); const ownerKey = JSON.stringify(owner.traits); for (const op of ops) { @@ -1915,8 +1914,11 @@ const convertShapeToSchema: ( if (memberOverride?.sensitive) { const listMemberTarget = memberTargetShape?.type === "list" - ? (memberTargetShape as { member?: { target?: string } }) - .member?.target + ? ( + memberTargetShape as { + member?: { target?: string }; + } + ).member?.target : undefined; const isStringList = listMemberTarget !== undefined && @@ -3509,7 +3511,10 @@ const generateClient = Effect.fn(function* ( new UnableToTransformShapeToSchema({ message: `patches/${serviceTraits.sdkId .toLowerCase() - .replaceAll(" ", "-")}.json patches union "${unionName}" which does not exist in the model`, + .replaceAll( + " ", + "-", + )}.json patches union "${unionName}" which does not exist in the model`, }), ); } From 780d3b98fea73705f97077f3b0ccf12028d474c2 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 01:14:19 -0700 Subject: [PATCH 22/63] chore(aws): sweep patches + regen (snapshot 2026-07-15 01:14) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/emr-containers.json | 26 + packages/aws/patches/entityresolution.json | 9 + packages/aws/patches/firehose.json | 19 + packages/aws/patches/fsx.json | 26 + packages/aws/src/services/emr-containers.ts | 2214 ++--------------- packages/aws/src/services/entityresolution.ts | 13 +- packages/aws/src/services/firehose.ts | 13 +- packages/aws/src/services/fsx.ts | 30 +- 8 files changed, 385 insertions(+), 1965 deletions(-) create mode 100644 packages/aws/patches/emr-containers.json create mode 100644 packages/aws/patches/entityresolution.json create mode 100644 packages/aws/patches/firehose.json create mode 100644 packages/aws/patches/fsx.json diff --git a/packages/aws/patches/emr-containers.json b/packages/aws/patches/emr-containers.json new file mode 100644 index 0000000000..1f2fbf9180 --- /dev/null +++ b/packages/aws/patches/emr-containers.json @@ -0,0 +1,26 @@ +{ + "operations": { + "tagResource": { + "syntheticErrors": [ + { + "name": "InvalidResourceArn", + "from": "BadRequestException", + "message": { + "includes": "Invalid input resource arn" + } + } + ] + }, + "untagResource": { + "syntheticErrors": [ + { + "name": "InvalidResourceArn", + "from": "BadRequestException", + "message": { + "includes": "Invalid input resource arn" + } + } + ] + } + } +} diff --git a/packages/aws/patches/entityresolution.json b/packages/aws/patches/entityresolution.json new file mode 100644 index 0000000000..b72a9de908 --- /dev/null +++ b/packages/aws/patches/entityresolution.json @@ -0,0 +1,9 @@ +{ + "structures": { + "CreateSchemaMappingOutput": { + "members": { + "description": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/firehose.json b/packages/aws/patches/firehose.json new file mode 100644 index 0000000000..b2f47d317d --- /dev/null +++ b/packages/aws/patches/firehose.json @@ -0,0 +1,19 @@ +{ + "structures": { + "SplunkDestinationConfiguration": { + "members": { + "HECToken": { "sensitive": true } + } + }, + "SplunkDestinationDescription": { + "members": { + "HECToken": { "sensitive": true } + } + }, + "SplunkDestinationUpdate": { + "members": { + "HECToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/fsx.json b/packages/aws/patches/fsx.json new file mode 100644 index 0000000000..ae0150406e --- /dev/null +++ b/packages/aws/patches/fsx.json @@ -0,0 +1,26 @@ +{ + "operations": { + "createSnapshot": { + "syntheticErrors": [ + { + "name": "SnapshotVolumeNotFound", + "from": "BadRequest", + "message": { "includes": "volume was not found" } + } + ] + }, + "restoreVolumeFromSnapshot": { + "syntheticErrors": [ + { + "name": "RestoreSnapshotNotFound", + "from": "BadRequest", + "message": { "includes": "snapshot cannot be found" } + } + ] + } + }, + "errorCategories": { + "SnapshotVolumeNotFound": ["NotFoundError"], + "RestoreSnapshotNotFound": ["NotFoundError"] + } +} diff --git a/packages/aws/src/services/emr-containers.ts b/packages/aws/src/services/emr-containers.ts index c01f7982ef..2753b379e2 100644 --- a/packages/aws/src/services/emr-containers.ts +++ b/packages/aws/src/services/emr-containers.ts @@ -9,82 +9,52 @@ import type { Credentials as Creds } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; import { SensitiveString } from "../sensitive.ts"; -const svc = T.AwsApiService({ - sdkId: "EMR containers", - serviceShapeName: "AwsChicagoWebService", -}); +const svc = T.AwsApiService({ sdkId: "EMR containers", serviceShapeName: "AwsChicagoWebService" }); const auth = T.AwsAuthSigv4({ name: "emr-containers" }); const ver = T.ServiceVersion("2020-10-01"); const proto = T.AwsProtocolsRestJson1(); const rules = T.EndpointResolver((p, _) => { const { Region, UseDualStack = false, UseFIPS = false, Endpoint } = p; - const e = (u: unknown, p = {}, h = {}): T.EndpointResolverResult => ({ - type: "endpoint" as const, - endpoint: { url: u as string, properties: p, headers: h }, - }); - const err = (m: unknown): T.EndpointResolverResult => ({ - type: "error" as const, - message: m as string, - }); - if (Endpoint != null) { - if (UseFIPS === true) { - return err( - "Invalid Configuration: FIPS and custom endpoint are not supported", - ); + const e = (u: unknown, p = {}, h = {}): T.EndpointResolverResult => ({ type: "endpoint" as const, endpoint: { url: u as string, properties: p, headers: h } }); + const err = (m: unknown): T.EndpointResolverResult => ({ type: "error" as const, message: m as string }); + if ((Endpoint != null)) { + if ((UseFIPS === true)) { + return err("Invalid Configuration: FIPS and custom endpoint are not supported"); } - if (UseDualStack === true) { - return err( - "Invalid Configuration: Dualstack and custom endpoint are not supported", - ); + if ((UseDualStack === true)) { + return err("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return e(Endpoint); } - if (Region != null) { + if ((Region != null)) { { const PartitionResult = _.partition(Region); if (PartitionResult != null && PartitionResult !== false) { - if (UseFIPS === true && UseDualStack === true) { - if ( - true === _.getAttr(PartitionResult, "supportsFIPS") && - true === _.getAttr(PartitionResult, "supportsDualStack") - ) { - return e( - `https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`, - ); + if ((UseFIPS === true) && (UseDualStack === true)) { + if ((true === _.getAttr(PartitionResult, "supportsFIPS")) && (true === _.getAttr(PartitionResult, "supportsDualStack"))) { + return e(`https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`); } - return err( - "FIPS and DualStack are enabled, but this partition does not support one or both", - ); + return err("FIPS and DualStack are enabled, but this partition does not support one or both"); } - if (UseFIPS === true) { - if (_.getAttr(PartitionResult, "supportsFIPS") === true) { - if (Region === "us-gov-east-1") { + if ((UseFIPS === true)) { + if ((_.getAttr(PartitionResult, "supportsFIPS") === true)) { + if ((Region === "us-gov-east-1")) { return e("https://emr-containers.us-gov-east-1.amazonaws.com"); } - if (Region === "us-gov-west-1") { + if ((Region === "us-gov-west-1")) { return e("https://emr-containers.us-gov-west-1.amazonaws.com"); } - return e( - `https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`, - ); + return e(`https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`); } - return err( - "FIPS is enabled but this partition does not support FIPS", - ); + return err("FIPS is enabled but this partition does not support FIPS"); } - if (UseDualStack === true) { - if (true === _.getAttr(PartitionResult, "supportsDualStack")) { - return e( - `https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`, - ); + if ((UseDualStack === true)) { + if ((true === _.getAttr(PartitionResult, "supportsDualStack"))) { + return e(`https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`); } - return err( - "DualStack is enabled but this partition does not support DualStack", - ); + return err("DualStack is enabled but this partition does not support DualStack"); } - return e( - `https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`, - ); + return e(`https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`); } } } @@ -136,719 +106,125 @@ export type NextToken = string; export type RsiArn = string; //# Schemas -export interface CancelJobRunRequest { - id: string; - virtualClusterId: string; -} -export const CancelJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.String.pipe(T.HttpLabel("id")), - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "CancelJobRunRequest", -}) as any as S.Schema; -export interface CancelJobRunResponse { - id?: string; - virtualClusterId?: string; -} -export const CancelJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - virtualClusterId: S.optional(S.String), - }), -).annotate({ - identifier: "CancelJobRunResponse", -}) as any as S.Schema; +export interface CancelJobRunRequest { id: string; virtualClusterId: string } +export const CancelJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CancelJobRunRequest" }) as any as S.Schema; +export interface CancelJobRunResponse { id?: string; virtualClusterId?: string } +export const CancelJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "CancelJobRunResponse" }) as any as S.Schema; export type SensitivePropertiesMap = { [key: string]: string | undefined }; -export const SensitivePropertiesMap = /*@__PURE__*/ /*#__PURE__*/ S.Record( - S.String, - S.String.pipe(S.optional), -); -export interface Configuration { - classification: string; - properties?: { [key: string]: string | undefined }; - configurations?: Configuration[]; -} -export const Configuration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - classification: S.String, - properties: S.optional(SensitivePropertiesMap), - configurations: S.optional( - S.suspend(() => ConfigurationList).annotate({ - identifier: "ConfigurationList", - }), - ), - }), -).annotate({ identifier: "Configuration" }) as any as S.Schema; +export const SensitivePropertiesMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); +export interface Configuration { classification: string; properties?: { [key: string]: string | undefined }; configurations?: Configuration[] } +export const Configuration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({classification: S.String, properties: S.optional(SensitivePropertiesMap), configurations: S.optional(S.suspend(() => ConfigurationList).annotate({ identifier: "ConfigurationList" }))})).annotate({ identifier: "Configuration" }) as any as S.Schema; export type ConfigurationList = Configuration[]; -export const ConfigurationList = /*@__PURE__*/ /*#__PURE__*/ S.Array( - S.suspend((): S.Schema => Configuration).annotate({ - identifier: "Configuration", - }), -) as any as S.Schema; -export interface ParametricCloudWatchMonitoringConfiguration { - logGroupName?: string; - logStreamNamePrefix?: string; -} -export const ParametricCloudWatchMonitoringConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - logGroupName: S.optional(S.String), - logStreamNamePrefix: S.optional(S.String), - }), - ).annotate({ - identifier: "ParametricCloudWatchMonitoringConfiguration", - }) as any as S.Schema; -export interface ParametricS3MonitoringConfiguration { - logUri?: string; -} -export const ParametricS3MonitoringConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ logUri: S.optional(S.String) }), - ).annotate({ - identifier: "ParametricS3MonitoringConfiguration", - }) as any as S.Schema; -export interface ParametricMonitoringConfiguration { - persistentAppUI?: string; - cloudWatchMonitoringConfiguration?: ParametricCloudWatchMonitoringConfiguration; - s3MonitoringConfiguration?: ParametricS3MonitoringConfiguration; -} -export const ParametricMonitoringConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - persistentAppUI: S.optional(S.String), - cloudWatchMonitoringConfiguration: S.optional( - ParametricCloudWatchMonitoringConfiguration, - ), - s3MonitoringConfiguration: S.optional( - ParametricS3MonitoringConfiguration, - ), - }), - ).annotate({ - identifier: "ParametricMonitoringConfiguration", - }) as any as S.Schema; -export interface ParametricConfigurationOverrides { - applicationConfiguration?: Configuration[]; - monitoringConfiguration?: ParametricMonitoringConfiguration; -} -export const ParametricConfigurationOverrides = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - applicationConfiguration: S.optional(ConfigurationList), - monitoringConfiguration: S.optional(ParametricMonitoringConfiguration), - }), - ).annotate({ - identifier: "ParametricConfigurationOverrides", - }) as any as S.Schema; -export type EntryPointArguments = string | redacted.Redacted[]; -export const EntryPointArguments = - /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); -export interface SparkSubmitJobDriver { - entryPoint: string | redacted.Redacted; - entryPointArguments?: string | redacted.Redacted[]; - sparkSubmitParameters?: string | redacted.Redacted; -} -export const SparkSubmitJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - entryPoint: SensitiveString, - entryPointArguments: S.optional(EntryPointArguments), - sparkSubmitParameters: S.optional(SensitiveString), - }), -).annotate({ - identifier: "SparkSubmitJobDriver", -}) as any as S.Schema; -export interface SparkSqlJobDriver { - entryPoint?: string | redacted.Redacted; - sparkSqlParameters?: string | redacted.Redacted; -} -export const SparkSqlJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - entryPoint: S.optional(SensitiveString), - sparkSqlParameters: S.optional(SensitiveString), - }), -).annotate({ - identifier: "SparkSqlJobDriver", -}) as any as S.Schema; -export interface JobDriver { - sparkSubmitJobDriver?: SparkSubmitJobDriver; - sparkSqlJobDriver?: SparkSqlJobDriver; -} -export const JobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - sparkSubmitJobDriver: S.optional(SparkSubmitJobDriver), - sparkSqlJobDriver: S.optional(SparkSqlJobDriver), - }), -).annotate({ identifier: "JobDriver" }) as any as S.Schema; -export type TemplateParameterDataType = "NUMBER" | "STRING" | (string & {}); +export const ConfigurationList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.suspend((): S.Schema => Configuration).annotate({ identifier: "Configuration" })) as any as S.Schema; +export interface ParametricCloudWatchMonitoringConfiguration { logGroupName?: string; logStreamNamePrefix?: string } +export const ParametricCloudWatchMonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logGroupName: S.optional(S.String), logStreamNamePrefix: S.optional(S.String)})).annotate({ identifier: "ParametricCloudWatchMonitoringConfiguration" }) as any as S.Schema; +export interface ParametricS3MonitoringConfiguration { logUri?: string } +export const ParametricS3MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logUri: S.optional(S.String)})).annotate({ identifier: "ParametricS3MonitoringConfiguration" }) as any as S.Schema; +export interface ParametricMonitoringConfiguration { persistentAppUI?: string; cloudWatchMonitoringConfiguration?: ParametricCloudWatchMonitoringConfiguration; s3MonitoringConfiguration?: ParametricS3MonitoringConfiguration } +export const ParametricMonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({persistentAppUI: S.optional(S.String), cloudWatchMonitoringConfiguration: S.optional(ParametricCloudWatchMonitoringConfiguration), s3MonitoringConfiguration: S.optional(ParametricS3MonitoringConfiguration)})).annotate({ identifier: "ParametricMonitoringConfiguration" }) as any as S.Schema; +export interface ParametricConfigurationOverrides { applicationConfiguration?: Configuration[]; monitoringConfiguration?: ParametricMonitoringConfiguration } +export const ParametricConfigurationOverrides = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({applicationConfiguration: S.optional(ConfigurationList), monitoringConfiguration: S.optional(ParametricMonitoringConfiguration)})).annotate({ identifier: "ParametricConfigurationOverrides" }) as any as S.Schema; +export type EntryPointArguments = (string | redacted.Redacted)[]; +export const EntryPointArguments = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); +export interface SparkSubmitJobDriver { entryPoint: string | redacted.Redacted; entryPointArguments?: (string | redacted.Redacted)[]; sparkSubmitParameters?: string | redacted.Redacted } +export const SparkSubmitJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({entryPoint: SensitiveString, entryPointArguments: S.optional(EntryPointArguments), sparkSubmitParameters: S.optional(SensitiveString)})).annotate({ identifier: "SparkSubmitJobDriver" }) as any as S.Schema; +export interface SparkSqlJobDriver { entryPoint?: string | redacted.Redacted; sparkSqlParameters?: string | redacted.Redacted } +export const SparkSqlJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({entryPoint: S.optional(SensitiveString), sparkSqlParameters: S.optional(SensitiveString)})).annotate({ identifier: "SparkSqlJobDriver" }) as any as S.Schema; +export interface JobDriver { sparkSubmitJobDriver?: SparkSubmitJobDriver; sparkSqlJobDriver?: SparkSqlJobDriver } +export const JobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({sparkSubmitJobDriver: S.optional(SparkSubmitJobDriver), sparkSqlJobDriver: S.optional(SparkSqlJobDriver)})).annotate({ identifier: "JobDriver" }) as any as S.Schema; +export type TemplateParameterDataType = + | "NUMBER" + | "STRING" + | (string & {}); export const TemplateParameterDataType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface TemplateParameterConfiguration { - type?: TemplateParameterDataType; - defaultValue?: string; -} -export const TemplateParameterConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - type: S.optional(TemplateParameterDataType), - defaultValue: S.optional(S.String), - }), - ).annotate({ - identifier: "TemplateParameterConfiguration", - }) as any as S.Schema; -export type TemplateParameterConfigurationMap = { - [key: string]: TemplateParameterConfiguration | undefined; -}; -export const TemplateParameterConfigurationMap = - /*@__PURE__*/ /*#__PURE__*/ S.Record( - S.String, - TemplateParameterConfiguration.pipe(S.optional), - ); +export interface TemplateParameterConfiguration { type?: TemplateParameterDataType; defaultValue?: string } +export const TemplateParameterConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({type: S.optional(TemplateParameterDataType), defaultValue: S.optional(S.String)})).annotate({ identifier: "TemplateParameterConfiguration" }) as any as S.Schema; +export type TemplateParameterConfigurationMap = { [key: string]: TemplateParameterConfiguration | undefined }; +export const TemplateParameterConfigurationMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, TemplateParameterConfiguration.pipe(S.optional)); export type TagMap = { [key: string]: string | undefined }; -export const TagMap = /*@__PURE__*/ /*#__PURE__*/ S.Record( - S.String, - S.String.pipe(S.optional), -); -export interface JobTemplateData { - executionRoleArn: string; - releaseLabel: string; - configurationOverrides?: ParametricConfigurationOverrides; - jobDriver: JobDriver; - parameterConfiguration?: { - [key: string]: TemplateParameterConfiguration | undefined; - }; - jobTags?: { [key: string]: string | undefined }; -} -export const JobTemplateData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - executionRoleArn: S.String, - releaseLabel: S.String, - configurationOverrides: S.optional(ParametricConfigurationOverrides), - jobDriver: JobDriver, - parameterConfiguration: S.optional(TemplateParameterConfigurationMap), - jobTags: S.optional(TagMap), - }), -).annotate({ - identifier: "JobTemplateData", -}) as any as S.Schema; -export interface CreateJobTemplateRequest { - name: string; - clientToken: string; - jobTemplateData: JobTemplateData; - tags?: { [key: string]: string | undefined }; - kmsKeyArn?: string; -} -export const CreateJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - name: S.String, - clientToken: S.String.pipe(T.IdempotencyToken()), - jobTemplateData: JobTemplateData, - tags: S.optional(TagMap), - kmsKeyArn: S.optional(S.String), - }).pipe( - T.all( - T.Http({ method: "POST", uri: "/jobtemplates" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "CreateJobTemplateRequest", -}) as any as S.Schema; -export interface CreateJobTemplateResponse { - id?: string; - name?: string; - arn?: string; - createdAt?: Date; -} -export const CreateJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - createdAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - }), -).annotate({ - identifier: "CreateJobTemplateResponse", -}) as any as S.Schema; -export type AllowAWSToRetainLogs = "ENABLED" | "DISABLED" | (string & {}); +export const TagMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); +export interface JobTemplateData { executionRoleArn: string; releaseLabel: string; configurationOverrides?: ParametricConfigurationOverrides; jobDriver: JobDriver; parameterConfiguration?: { [key: string]: TemplateParameterConfiguration | undefined }; jobTags?: { [key: string]: string | undefined } } +export const JobTemplateData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({executionRoleArn: S.String, releaseLabel: S.String, configurationOverrides: S.optional(ParametricConfigurationOverrides), jobDriver: JobDriver, parameterConfiguration: S.optional(TemplateParameterConfigurationMap), jobTags: S.optional(TagMap)})).annotate({ identifier: "JobTemplateData" }) as any as S.Schema; +export interface CreateJobTemplateRequest { name: string; clientToken: string; jobTemplateData: JobTemplateData; tags?: { [key: string]: string | undefined }; kmsKeyArn?: string } +export const CreateJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.String, clientToken: S.String.pipe(T.IdempotencyToken()), jobTemplateData: JobTemplateData, tags: S.optional(TagMap), kmsKeyArn: S.optional(S.String)}).pipe(T.all(T.Http({ method: "POST", uri: "/jobtemplates" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateJobTemplateRequest" }) as any as S.Schema; +export interface CreateJobTemplateResponse { id?: string; name?: string; arn?: string; createdAt?: Date } +export const CreateJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time")))})).annotate({ identifier: "CreateJobTemplateResponse" }) as any as S.Schema; +export type AllowAWSToRetainLogs = + | "ENABLED" + | "DISABLED" + | (string & {}); export const AllowAWSToRetainLogs = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface ManagedLogs { - allowAWSToRetainLogs?: AllowAWSToRetainLogs; - encryptionKeyArn?: string; -} -export const ManagedLogs = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - allowAWSToRetainLogs: S.optional(AllowAWSToRetainLogs), - encryptionKeyArn: S.optional(S.String), - }), -).annotate({ identifier: "ManagedLogs" }) as any as S.Schema; -export type PersistentAppUI = "ENABLED" | "DISABLED" | (string & {}); +export interface ManagedLogs { allowAWSToRetainLogs?: AllowAWSToRetainLogs; encryptionKeyArn?: string } +export const ManagedLogs = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({allowAWSToRetainLogs: S.optional(AllowAWSToRetainLogs), encryptionKeyArn: S.optional(S.String)})).annotate({ identifier: "ManagedLogs" }) as any as S.Schema; +export type PersistentAppUI = + | "ENABLED" + | "DISABLED" + | (string & {}); export const PersistentAppUI = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface CloudWatchMonitoringConfiguration { - logGroupName: string; - logStreamNamePrefix?: string; -} -export const CloudWatchMonitoringConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - logGroupName: S.String, - logStreamNamePrefix: S.optional(S.String), - }), - ).annotate({ - identifier: "CloudWatchMonitoringConfiguration", - }) as any as S.Schema; -export interface S3MonitoringConfiguration { - logUri: string; -} -export const S3MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ logUri: S.String }), -).annotate({ - identifier: "S3MonitoringConfiguration", -}) as any as S.Schema; -export interface ContainerLogRotationConfiguration { - rotationSize: string; - maxFilesToKeep: number; -} -export const ContainerLogRotationConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ rotationSize: S.String, maxFilesToKeep: S.Number }), - ).annotate({ - identifier: "ContainerLogRotationConfiguration", - }) as any as S.Schema; -export interface MonitoringConfiguration { - managedLogs?: ManagedLogs; - persistentAppUI?: PersistentAppUI; - cloudWatchMonitoringConfiguration?: CloudWatchMonitoringConfiguration; - s3MonitoringConfiguration?: S3MonitoringConfiguration; - containerLogRotationConfiguration?: ContainerLogRotationConfiguration; -} -export const MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - managedLogs: S.optional(ManagedLogs), - persistentAppUI: S.optional(PersistentAppUI), - cloudWatchMonitoringConfiguration: S.optional( - CloudWatchMonitoringConfiguration, - ), - s3MonitoringConfiguration: S.optional(S3MonitoringConfiguration), - containerLogRotationConfiguration: S.optional( - ContainerLogRotationConfiguration, - ), - }), -).annotate({ - identifier: "MonitoringConfiguration", -}) as any as S.Schema; -export interface ConfigurationOverrides { - applicationConfiguration?: Configuration[]; - monitoringConfiguration?: MonitoringConfiguration; -} -export const ConfigurationOverrides = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - applicationConfiguration: S.optional(ConfigurationList), - monitoringConfiguration: S.optional(MonitoringConfiguration), - }), -).annotate({ - identifier: "ConfigurationOverrides", -}) as any as S.Schema; -export interface CreateManagedEndpointRequest { - name: string; - virtualClusterId: string; - type: string; - releaseLabel: string; - executionRoleArn: string; - certificateArn?: string; - configurationOverrides?: ConfigurationOverrides; - clientToken: string; - tags?: { [key: string]: string | undefined }; -} -export const CreateManagedEndpointRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - name: S.String, - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - type: S.String, - releaseLabel: S.String, - executionRoleArn: S.String, - certificateArn: S.optional(S.String), - configurationOverrides: S.optional(ConfigurationOverrides), - clientToken: S.String.pipe(T.IdempotencyToken()), - tags: S.optional(TagMap), - }).pipe( - T.all( - T.Http({ - method: "POST", - uri: "/virtualclusters/{virtualClusterId}/endpoints", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "CreateManagedEndpointRequest", - }) as any as S.Schema; -export interface CreateManagedEndpointResponse { - id?: string; - name?: string; - arn?: string; - virtualClusterId?: string; -} -export const CreateManagedEndpointResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - virtualClusterId: S.optional(S.String), - }), - ).annotate({ - identifier: "CreateManagedEndpointResponse", - }) as any as S.Schema; -export type ContainerProviderType = "EKS" | (string & {}); +export interface CloudWatchMonitoringConfiguration { logGroupName: string; logStreamNamePrefix?: string } +export const CloudWatchMonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logGroupName: S.String, logStreamNamePrefix: S.optional(S.String)})).annotate({ identifier: "CloudWatchMonitoringConfiguration" }) as any as S.Schema; +export interface S3MonitoringConfiguration { logUri: string } +export const S3MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logUri: S.String})).annotate({ identifier: "S3MonitoringConfiguration" }) as any as S.Schema; +export interface ContainerLogRotationConfiguration { rotationSize: string; maxFilesToKeep: number } +export const ContainerLogRotationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({rotationSize: S.String, maxFilesToKeep: S.Number})).annotate({ identifier: "ContainerLogRotationConfiguration" }) as any as S.Schema; +export interface MonitoringConfiguration { managedLogs?: ManagedLogs; persistentAppUI?: PersistentAppUI; cloudWatchMonitoringConfiguration?: CloudWatchMonitoringConfiguration; s3MonitoringConfiguration?: S3MonitoringConfiguration; containerLogRotationConfiguration?: ContainerLogRotationConfiguration } +export const MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({managedLogs: S.optional(ManagedLogs), persistentAppUI: S.optional(PersistentAppUI), cloudWatchMonitoringConfiguration: S.optional(CloudWatchMonitoringConfiguration), s3MonitoringConfiguration: S.optional(S3MonitoringConfiguration), containerLogRotationConfiguration: S.optional(ContainerLogRotationConfiguration)})).annotate({ identifier: "MonitoringConfiguration" }) as any as S.Schema; +export interface ConfigurationOverrides { applicationConfiguration?: Configuration[]; monitoringConfiguration?: MonitoringConfiguration } +export const ConfigurationOverrides = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({applicationConfiguration: S.optional(ConfigurationList), monitoringConfiguration: S.optional(MonitoringConfiguration)})).annotate({ identifier: "ConfigurationOverrides" }) as any as S.Schema; +export interface CreateManagedEndpointRequest { name: string; virtualClusterId: string; type: string; releaseLabel: string; executionRoleArn: string; certificateArn?: string; configurationOverrides?: ConfigurationOverrides; clientToken: string; tags?: { [key: string]: string | undefined } } +export const CreateManagedEndpointRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.String, virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), type: S.String, releaseLabel: S.String, executionRoleArn: S.String, certificateArn: S.optional(S.String), configurationOverrides: S.optional(ConfigurationOverrides), clientToken: S.String.pipe(T.IdempotencyToken()), tags: S.optional(TagMap)}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters/{virtualClusterId}/endpoints" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateManagedEndpointRequest" }) as any as S.Schema; +export interface CreateManagedEndpointResponse { id?: string; name?: string; arn?: string; virtualClusterId?: string } +export const CreateManagedEndpointResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "CreateManagedEndpointResponse" }) as any as S.Schema; +export type ContainerProviderType = + | "EKS" + | (string & {}); export const ContainerProviderType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface EksInfo { - namespace?: string; - nodeLabel?: string; -} -export const EksInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - namespace: S.optional(S.String), - nodeLabel: S.optional(S.String), - }), -).annotate({ identifier: "EksInfo" }) as any as S.Schema; +export interface EksInfo { namespace?: string; nodeLabel?: string } +export const EksInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({namespace: S.optional(S.String), nodeLabel: S.optional(S.String)})).annotate({ identifier: "EksInfo" }) as any as S.Schema; export type ContainerInfo = { eksInfo: EksInfo }; -export const ContainerInfo = /*@__PURE__*/ /*#__PURE__*/ S.Union([ - S.Struct({ eksInfo: EksInfo }), -]); -export interface ContainerProvider { - type: ContainerProviderType; - id: string; - info?: ContainerInfo; -} -export const ContainerProvider = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - type: ContainerProviderType, - id: S.String, - info: S.optional(ContainerInfo), - }), -).annotate({ - identifier: "ContainerProvider", -}) as any as S.Schema; -export interface SecureNamespaceInfo { - clusterId?: string; - namespace?: string; -} -export const SecureNamespaceInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - clusterId: S.optional(S.String), - namespace: S.optional(S.String), - }), -).annotate({ - identifier: "SecureNamespaceInfo", -}) as any as S.Schema; -export interface LakeFormationConfiguration { - authorizedSessionTagValue?: string; - secureNamespaceInfo?: SecureNamespaceInfo; - queryEngineRoleArn?: string; -} -export const LakeFormationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - authorizedSessionTagValue: S.optional(S.String), - secureNamespaceInfo: S.optional(SecureNamespaceInfo), - queryEngineRoleArn: S.optional(S.String), - }), -).annotate({ - identifier: "LakeFormationConfiguration", -}) as any as S.Schema; -export type CertificateProviderType = "PEM" | (string & {}); +export const ContainerInfo = /*@__PURE__*/ /*#__PURE__*/ S.Union([S.Struct({ eksInfo: EksInfo })]); +export interface ContainerProvider { type: ContainerProviderType; id: string; info?: ContainerInfo } +export const ContainerProvider = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({type: ContainerProviderType, id: S.String, info: S.optional(ContainerInfo)})).annotate({ identifier: "ContainerProvider" }) as any as S.Schema; +export interface SecureNamespaceInfo { clusterId?: string; namespace?: string } +export const SecureNamespaceInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({clusterId: S.optional(S.String), namespace: S.optional(S.String)})).annotate({ identifier: "SecureNamespaceInfo" }) as any as S.Schema; +export interface LakeFormationConfiguration { authorizedSessionTagValue?: string; secureNamespaceInfo?: SecureNamespaceInfo; queryEngineRoleArn?: string } +export const LakeFormationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({authorizedSessionTagValue: S.optional(S.String), secureNamespaceInfo: S.optional(SecureNamespaceInfo), queryEngineRoleArn: S.optional(S.String)})).annotate({ identifier: "LakeFormationConfiguration" }) as any as S.Schema; +export type CertificateProviderType = + | "PEM" + | (string & {}); export const CertificateProviderType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface TLSCertificateConfiguration { - certificateProviderType?: CertificateProviderType; - publicCertificateSecretArn?: string; - privateCertificateSecretArn?: string; -} -export const TLSCertificateConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - certificateProviderType: S.optional(CertificateProviderType), - publicCertificateSecretArn: S.optional(S.String), - privateCertificateSecretArn: S.optional(S.String), - }), - ).annotate({ - identifier: "TLSCertificateConfiguration", - }) as any as S.Schema; -export interface InTransitEncryptionConfiguration { - tlsCertificateConfiguration?: TLSCertificateConfiguration; -} -export const InTransitEncryptionConfiguration = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - tlsCertificateConfiguration: S.optional(TLSCertificateConfiguration), - }), - ).annotate({ - identifier: "InTransitEncryptionConfiguration", - }) as any as S.Schema; -export interface EncryptionConfiguration { - inTransitEncryptionConfiguration?: InTransitEncryptionConfiguration; -} -export const EncryptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - inTransitEncryptionConfiguration: S.optional( - InTransitEncryptionConfiguration, - ), - }), -).annotate({ - identifier: "EncryptionConfiguration", -}) as any as S.Schema; -export interface AuthorizationConfiguration { - lakeFormationConfiguration?: LakeFormationConfiguration; - encryptionConfiguration?: EncryptionConfiguration; -} -export const AuthorizationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - lakeFormationConfiguration: S.optional(LakeFormationConfiguration), - encryptionConfiguration: S.optional(EncryptionConfiguration), - }), -).annotate({ - identifier: "AuthorizationConfiguration", -}) as any as S.Schema; -export interface SecurityConfigurationData { - authorizationConfiguration?: AuthorizationConfiguration; -} -export const SecurityConfigurationData = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - authorizationConfiguration: S.optional(AuthorizationConfiguration), - }), -).annotate({ - identifier: "SecurityConfigurationData", -}) as any as S.Schema; -export interface CreateSecurityConfigurationRequest { - clientToken: string; - name: string; - containerProvider?: ContainerProvider; - securityConfigurationData: SecurityConfigurationData; - tags?: { [key: string]: string | undefined }; -} -export const CreateSecurityConfigurationRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - clientToken: S.String.pipe(T.IdempotencyToken()), - name: S.String, - containerProvider: S.optional(ContainerProvider), - securityConfigurationData: SecurityConfigurationData, - tags: S.optional(TagMap), - }).pipe( - T.all( - T.Http({ method: "POST", uri: "/securityconfigurations" }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "CreateSecurityConfigurationRequest", - }) as any as S.Schema; -export interface CreateSecurityConfigurationResponse { - id?: string; - name?: string; - arn?: string; -} -export const CreateSecurityConfigurationResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - }), - ).annotate({ - identifier: "CreateSecurityConfigurationResponse", - }) as any as S.Schema; -export interface CreateVirtualClusterRequest { - name: string; - containerProvider: ContainerProvider; - clientToken: string; - tags?: { [key: string]: string | undefined }; - securityConfigurationId?: string; -} -export const CreateVirtualClusterRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - name: S.String, - containerProvider: ContainerProvider, - clientToken: S.String.pipe(T.IdempotencyToken()), - tags: S.optional(TagMap), - securityConfigurationId: S.optional(S.String), - }).pipe( - T.all( - T.Http({ method: "POST", uri: "/virtualclusters" }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "CreateVirtualClusterRequest", - }) as any as S.Schema; -export interface CreateVirtualClusterResponse { - id?: string; - name?: string; - arn?: string; -} -export const CreateVirtualClusterResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - }), - ).annotate({ - identifier: "CreateVirtualClusterResponse", - }) as any as S.Schema; -export interface DeleteJobTemplateRequest { - id: string; -} -export const DeleteJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( - T.all( - T.Http({ method: "DELETE", uri: "/jobtemplates/{id}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "DeleteJobTemplateRequest", -}) as any as S.Schema; -export interface DeleteJobTemplateResponse { - id?: string; -} -export const DeleteJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ id: S.optional(S.String) }), -).annotate({ - identifier: "DeleteJobTemplateResponse", -}) as any as S.Schema; -export interface DeleteManagedEndpointRequest { - id: string; - virtualClusterId: string; -} -export const DeleteManagedEndpointRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.String.pipe(T.HttpLabel("id")), - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "DeleteManagedEndpointRequest", - }) as any as S.Schema; -export interface DeleteManagedEndpointResponse { - id?: string; - virtualClusterId?: string; -} -export const DeleteManagedEndpointResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - virtualClusterId: S.optional(S.String), - }), - ).annotate({ - identifier: "DeleteManagedEndpointResponse", - }) as any as S.Schema; -export interface DeleteVirtualClusterRequest { - id: string; -} -export const DeleteVirtualClusterRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( - T.all( - T.Http({ method: "DELETE", uri: "/virtualclusters/{id}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "DeleteVirtualClusterRequest", - }) as any as S.Schema; -export interface DeleteVirtualClusterResponse { - id?: string; -} -export const DeleteVirtualClusterResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ id: S.optional(S.String) }), - ).annotate({ - identifier: "DeleteVirtualClusterResponse", - }) as any as S.Schema; -export interface DescribeJobRunRequest { - id: string; - virtualClusterId: string; -} -export const DescribeJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.String.pipe(T.HttpLabel("id")), - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "DescribeJobRunRequest", -}) as any as S.Schema; +export interface TLSCertificateConfiguration { certificateProviderType?: CertificateProviderType; publicCertificateSecretArn?: string; privateCertificateSecretArn?: string } +export const TLSCertificateConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({certificateProviderType: S.optional(CertificateProviderType), publicCertificateSecretArn: S.optional(S.String), privateCertificateSecretArn: S.optional(S.String)})).annotate({ identifier: "TLSCertificateConfiguration" }) as any as S.Schema; +export interface InTransitEncryptionConfiguration { tlsCertificateConfiguration?: TLSCertificateConfiguration } +export const InTransitEncryptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({tlsCertificateConfiguration: S.optional(TLSCertificateConfiguration)})).annotate({ identifier: "InTransitEncryptionConfiguration" }) as any as S.Schema; +export interface EncryptionConfiguration { inTransitEncryptionConfiguration?: InTransitEncryptionConfiguration } +export const EncryptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({inTransitEncryptionConfiguration: S.optional(InTransitEncryptionConfiguration)})).annotate({ identifier: "EncryptionConfiguration" }) as any as S.Schema; +export interface AuthorizationConfiguration { lakeFormationConfiguration?: LakeFormationConfiguration; encryptionConfiguration?: EncryptionConfiguration } +export const AuthorizationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({lakeFormationConfiguration: S.optional(LakeFormationConfiguration), encryptionConfiguration: S.optional(EncryptionConfiguration)})).annotate({ identifier: "AuthorizationConfiguration" }) as any as S.Schema; +export interface SecurityConfigurationData { authorizationConfiguration?: AuthorizationConfiguration } +export const SecurityConfigurationData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({authorizationConfiguration: S.optional(AuthorizationConfiguration)})).annotate({ identifier: "SecurityConfigurationData" }) as any as S.Schema; +export interface CreateSecurityConfigurationRequest { clientToken: string; name: string; containerProvider?: ContainerProvider; securityConfigurationData: SecurityConfigurationData; tags?: { [key: string]: string | undefined } } +export const CreateSecurityConfigurationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({clientToken: S.String.pipe(T.IdempotencyToken()), name: S.String, containerProvider: S.optional(ContainerProvider), securityConfigurationData: SecurityConfigurationData, tags: S.optional(TagMap)}).pipe(T.all(T.Http({ method: "POST", uri: "/securityconfigurations" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateSecurityConfigurationRequest" }) as any as S.Schema; +export interface CreateSecurityConfigurationResponse { id?: string; name?: string; arn?: string } +export const CreateSecurityConfigurationResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String)})).annotate({ identifier: "CreateSecurityConfigurationResponse" }) as any as S.Schema; +export interface CreateVirtualClusterRequest { name: string; containerProvider: ContainerProvider; clientToken: string; tags?: { [key: string]: string | undefined }; securityConfigurationId?: string } +export const CreateVirtualClusterRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.String, containerProvider: ContainerProvider, clientToken: S.String.pipe(T.IdempotencyToken()), tags: S.optional(TagMap), securityConfigurationId: S.optional(S.String)}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateVirtualClusterRequest" }) as any as S.Schema; +export interface CreateVirtualClusterResponse { id?: string; name?: string; arn?: string } +export const CreateVirtualClusterResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String)})).annotate({ identifier: "CreateVirtualClusterResponse" }) as any as S.Schema; +export interface DeleteJobTemplateRequest { id: string } +export const DeleteJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/jobtemplates/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DeleteJobTemplateRequest" }) as any as S.Schema; +export interface DeleteJobTemplateResponse { id?: string } +export const DeleteJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String)})).annotate({ identifier: "DeleteJobTemplateResponse" }) as any as S.Schema; +export interface DeleteManagedEndpointRequest { id: string; virtualClusterId: string } +export const DeleteManagedEndpointRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DeleteManagedEndpointRequest" }) as any as S.Schema; +export interface DeleteManagedEndpointResponse { id?: string; virtualClusterId?: string } +export const DeleteManagedEndpointResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "DeleteManagedEndpointResponse" }) as any as S.Schema; +export interface DeleteVirtualClusterRequest { id: string } +export const DeleteVirtualClusterRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/virtualclusters/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DeleteVirtualClusterRequest" }) as any as S.Schema; +export interface DeleteVirtualClusterResponse { id?: string } +export const DeleteVirtualClusterResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String)})).annotate({ identifier: "DeleteVirtualClusterResponse" }) as any as S.Schema; +export interface DescribeJobRunRequest { id: string; virtualClusterId: string } +export const DescribeJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeJobRunRequest" }) as any as S.Schema; export type JobRunState = | "PENDING" | "SUBMITTED" @@ -866,154 +242,22 @@ export type FailureReason = | "CLUSTER_UNAVAILABLE" | (string & {}); export const FailureReason = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface RetryPolicyConfiguration { - maxAttempts: number; -} -export const RetryPolicyConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ maxAttempts: S.Number }), -).annotate({ - identifier: "RetryPolicyConfiguration", -}) as any as S.Schema; -export interface RetryPolicyExecution { - currentAttemptCount: number; -} -export const RetryPolicyExecution = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ currentAttemptCount: S.Number }), -).annotate({ - identifier: "RetryPolicyExecution", -}) as any as S.Schema; -export interface JobRun { - id?: string; - name?: string; - virtualClusterId?: string; - arn?: string; - state?: JobRunState; - clientToken?: string; - executionRoleArn?: string; - releaseLabel?: string; - configurationOverrides?: ConfigurationOverrides; - jobDriver?: JobDriver; - createdAt?: Date; - createdBy?: string; - finishedAt?: Date; - stateDetails?: string; - failureReason?: FailureReason; - tags?: { [key: string]: string | undefined }; - retryPolicyConfiguration?: RetryPolicyConfiguration; - retryPolicyExecution?: RetryPolicyExecution; -} -export const JobRun = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - virtualClusterId: S.optional(S.String), - arn: S.optional(S.String), - state: S.optional(JobRunState), - clientToken: S.optional(S.String), - executionRoleArn: S.optional(S.String), - releaseLabel: S.optional(S.String), - configurationOverrides: S.optional(ConfigurationOverrides), - jobDriver: S.optional(JobDriver), - createdAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - createdBy: S.optional(S.String), - finishedAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - stateDetails: S.optional(S.String), - failureReason: S.optional(FailureReason), - tags: S.optional(TagMap), - retryPolicyConfiguration: S.optional(RetryPolicyConfiguration), - retryPolicyExecution: S.optional(RetryPolicyExecution), - }), -).annotate({ identifier: "JobRun" }) as any as S.Schema; -export interface DescribeJobRunResponse { - jobRun?: JobRun; -} -export const DescribeJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ jobRun: S.optional(JobRun) }), -).annotate({ - identifier: "DescribeJobRunResponse", -}) as any as S.Schema; -export interface DescribeJobTemplateRequest { - id: string; -} -export const DescribeJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( - T.all( - T.Http({ method: "GET", uri: "/jobtemplates/{id}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "DescribeJobTemplateRequest", -}) as any as S.Schema; -export interface JobTemplate { - name?: string; - id?: string; - arn?: string; - createdAt?: Date; - createdBy?: string; - tags?: { [key: string]: string | undefined }; - jobTemplateData: JobTemplateData; - kmsKeyArn?: string; - decryptionError?: string; -} -export const JobTemplate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - name: S.optional(S.String), - id: S.optional(S.String), - arn: S.optional(S.String), - createdAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - createdBy: S.optional(S.String), - tags: S.optional(TagMap), - jobTemplateData: JobTemplateData, - kmsKeyArn: S.optional(S.String), - decryptionError: S.optional(S.String), - }), -).annotate({ identifier: "JobTemplate" }) as any as S.Schema; -export interface DescribeJobTemplateResponse { - jobTemplate?: JobTemplate; -} -export const DescribeJobTemplateResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ jobTemplate: S.optional(JobTemplate) }), - ).annotate({ - identifier: "DescribeJobTemplateResponse", - }) as any as S.Schema; -export interface DescribeManagedEndpointRequest { - id: string; - virtualClusterId: string; -} -export const DescribeManagedEndpointRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.String.pipe(T.HttpLabel("id")), - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "DescribeManagedEndpointRequest", - }) as any as S.Schema; +export interface RetryPolicyConfiguration { maxAttempts: number } +export const RetryPolicyConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({maxAttempts: S.Number})).annotate({ identifier: "RetryPolicyConfiguration" }) as any as S.Schema; +export interface RetryPolicyExecution { currentAttemptCount: number } +export const RetryPolicyExecution = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({currentAttemptCount: S.Number})).annotate({ identifier: "RetryPolicyExecution" }) as any as S.Schema; +export interface JobRun { id?: string; name?: string; virtualClusterId?: string; arn?: string; state?: JobRunState; clientToken?: string; executionRoleArn?: string; releaseLabel?: string; configurationOverrides?: ConfigurationOverrides; jobDriver?: JobDriver; createdAt?: Date; createdBy?: string; finishedAt?: Date; stateDetails?: string; failureReason?: FailureReason; tags?: { [key: string]: string | undefined }; retryPolicyConfiguration?: RetryPolicyConfiguration; retryPolicyExecution?: RetryPolicyExecution } +export const JobRun = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), virtualClusterId: S.optional(S.String), arn: S.optional(S.String), state: S.optional(JobRunState), clientToken: S.optional(S.String), executionRoleArn: S.optional(S.String), releaseLabel: S.optional(S.String), configurationOverrides: S.optional(ConfigurationOverrides), jobDriver: S.optional(JobDriver), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), createdBy: S.optional(S.String), finishedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), stateDetails: S.optional(S.String), failureReason: S.optional(FailureReason), tags: S.optional(TagMap), retryPolicyConfiguration: S.optional(RetryPolicyConfiguration), retryPolicyExecution: S.optional(RetryPolicyExecution)})).annotate({ identifier: "JobRun" }) as any as S.Schema; +export interface DescribeJobRunResponse { jobRun?: JobRun } +export const DescribeJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({jobRun: S.optional(JobRun)})).annotate({ identifier: "DescribeJobRunResponse" }) as any as S.Schema; +export interface DescribeJobTemplateRequest { id: string } +export const DescribeJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "GET", uri: "/jobtemplates/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeJobTemplateRequest" }) as any as S.Schema; +export interface JobTemplate { name?: string; id?: string; arn?: string; createdAt?: Date; createdBy?: string; tags?: { [key: string]: string | undefined }; jobTemplateData: JobTemplateData; kmsKeyArn?: string; decryptionError?: string } +export const JobTemplate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.optional(S.String), id: S.optional(S.String), arn: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), createdBy: S.optional(S.String), tags: S.optional(TagMap), jobTemplateData: JobTemplateData, kmsKeyArn: S.optional(S.String), decryptionError: S.optional(S.String)})).annotate({ identifier: "JobTemplate" }) as any as S.Schema; +export interface DescribeJobTemplateResponse { jobTemplate?: JobTemplate } +export const DescribeJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({jobTemplate: S.optional(JobTemplate)})).annotate({ identifier: "DescribeJobTemplateResponse" }) as any as S.Schema; +export interface DescribeManagedEndpointRequest { id: string; virtualClusterId: string } +export const DescribeManagedEndpointRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeManagedEndpointRequest" }) as any as S.Schema; export type EndpointState = | "CREATING" | "ACTIVE" @@ -1022,140 +266,22 @@ export type EndpointState = | "TERMINATED_WITH_ERRORS" | (string & {}); export const EndpointState = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface Certificate { - certificateArn?: string; - certificateData?: string; -} -export const Certificate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - certificateArn: S.optional(S.String), - certificateData: S.optional(S.String), - }), -).annotate({ identifier: "Certificate" }) as any as S.Schema; +export interface Certificate { certificateArn?: string; certificateData?: string } +export const Certificate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({certificateArn: S.optional(S.String), certificateData: S.optional(S.String)})).annotate({ identifier: "Certificate" }) as any as S.Schema; export type SubnetIds = string[]; export const SubnetIds = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); -export interface Endpoint { - id?: string; - name?: string; - arn?: string; - virtualClusterId?: string; - type?: string; - state?: EndpointState; - releaseLabel?: string; - executionRoleArn?: string; - certificateArn?: string; - certificateAuthority?: Certificate; - configurationOverrides?: ConfigurationOverrides; - serverUrl?: string; - createdAt?: Date; - securityGroup?: string; - subnetIds?: string[]; - stateDetails?: string; - failureReason?: FailureReason; - tags?: { [key: string]: string | undefined }; -} -export const Endpoint = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - virtualClusterId: S.optional(S.String), - type: S.optional(S.String), - state: S.optional(EndpointState), - releaseLabel: S.optional(S.String), - executionRoleArn: S.optional(S.String), - certificateArn: S.optional(S.String), - certificateAuthority: S.optional(Certificate), - configurationOverrides: S.optional(ConfigurationOverrides), - serverUrl: S.optional(S.String), - createdAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - securityGroup: S.optional(S.String), - subnetIds: S.optional(SubnetIds), - stateDetails: S.optional(S.String), - failureReason: S.optional(FailureReason), - tags: S.optional(TagMap), - }), -).annotate({ identifier: "Endpoint" }) as any as S.Schema; -export interface DescribeManagedEndpointResponse { - endpoint?: Endpoint; -} -export const DescribeManagedEndpointResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ endpoint: S.optional(Endpoint) }), - ).annotate({ - identifier: "DescribeManagedEndpointResponse", - }) as any as S.Schema; -export interface DescribeSecurityConfigurationRequest { - id: string; -} -export const DescribeSecurityConfigurationRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( - T.all( - T.Http({ method: "GET", uri: "/securityconfigurations/{id}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "DescribeSecurityConfigurationRequest", - }) as any as S.Schema; -export interface SecurityConfiguration { - id?: string; - name?: string; - arn?: string; - createdAt?: Date; - createdBy?: string; - securityConfigurationData?: SecurityConfigurationData; - tags?: { [key: string]: string | undefined }; -} -export const SecurityConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - createdAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - createdBy: S.optional(S.String), - securityConfigurationData: S.optional(SecurityConfigurationData), - tags: S.optional(TagMap), - }), -).annotate({ - identifier: "SecurityConfiguration", -}) as any as S.Schema; -export interface DescribeSecurityConfigurationResponse { - securityConfiguration?: SecurityConfiguration; -} -export const DescribeSecurityConfigurationResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ securityConfiguration: S.optional(SecurityConfiguration) }), - ).annotate({ - identifier: "DescribeSecurityConfigurationResponse", - }) as any as S.Schema; -export interface DescribeVirtualClusterRequest { - id: string; -} -export const DescribeVirtualClusterRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( - T.all( - T.Http({ method: "GET", uri: "/virtualclusters/{id}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "DescribeVirtualClusterRequest", - }) as any as S.Schema; +export interface Endpoint { id?: string; name?: string; arn?: string; virtualClusterId?: string; type?: string; state?: EndpointState; releaseLabel?: string; executionRoleArn?: string; certificateArn?: string; certificateAuthority?: Certificate; configurationOverrides?: ConfigurationOverrides; serverUrl?: string; createdAt?: Date; securityGroup?: string; subnetIds?: string[]; stateDetails?: string; failureReason?: FailureReason; tags?: { [key: string]: string | undefined } } +export const Endpoint = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), virtualClusterId: S.optional(S.String), type: S.optional(S.String), state: S.optional(EndpointState), releaseLabel: S.optional(S.String), executionRoleArn: S.optional(S.String), certificateArn: S.optional(S.String), certificateAuthority: S.optional(Certificate), configurationOverrides: S.optional(ConfigurationOverrides), serverUrl: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), securityGroup: S.optional(S.String), subnetIds: S.optional(SubnetIds), stateDetails: S.optional(S.String), failureReason: S.optional(FailureReason), tags: S.optional(TagMap)})).annotate({ identifier: "Endpoint" }) as any as S.Schema; +export interface DescribeManagedEndpointResponse { endpoint?: Endpoint } +export const DescribeManagedEndpointResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({endpoint: S.optional(Endpoint)})).annotate({ identifier: "DescribeManagedEndpointResponse" }) as any as S.Schema; +export interface DescribeSecurityConfigurationRequest { id: string } +export const DescribeSecurityConfigurationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "GET", uri: "/securityconfigurations/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeSecurityConfigurationRequest" }) as any as S.Schema; +export interface SecurityConfiguration { id?: string; name?: string; arn?: string; createdAt?: Date; createdBy?: string; securityConfigurationData?: SecurityConfigurationData; tags?: { [key: string]: string | undefined } } +export const SecurityConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), createdBy: S.optional(S.String), securityConfigurationData: S.optional(SecurityConfigurationData), tags: S.optional(TagMap)})).annotate({ identifier: "SecurityConfiguration" }) as any as S.Schema; +export interface DescribeSecurityConfigurationResponse { securityConfiguration?: SecurityConfiguration } +export const DescribeSecurityConfigurationResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({securityConfiguration: S.optional(SecurityConfiguration)})).annotate({ identifier: "DescribeSecurityConfigurationResponse" }) as any as S.Schema; +export interface DescribeVirtualClusterRequest { id: string } +export const DescribeVirtualClusterRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeVirtualClusterRequest" }) as any as S.Schema; export type VirtualClusterState = | "RUNNING" | "TERMINATING" @@ -1163,530 +289,82 @@ export type VirtualClusterState = | "ARRESTED" | (string & {}); export const VirtualClusterState = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface VirtualCluster { - id?: string; - name?: string; - arn?: string; - state?: VirtualClusterState; - containerProvider?: ContainerProvider; - createdAt?: Date; - tags?: { [key: string]: string | undefined }; - securityConfigurationId?: string; -} -export const VirtualCluster = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - state: S.optional(VirtualClusterState), - containerProvider: S.optional(ContainerProvider), - createdAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - tags: S.optional(TagMap), - securityConfigurationId: S.optional(S.String), - }), -).annotate({ identifier: "VirtualCluster" }) as any as S.Schema; -export interface DescribeVirtualClusterResponse { - virtualCluster?: VirtualCluster; -} -export const DescribeVirtualClusterResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ virtualCluster: S.optional(VirtualCluster) }), - ).annotate({ - identifier: "DescribeVirtualClusterResponse", - }) as any as S.Schema; -export interface GetManagedEndpointSessionCredentialsRequest { - endpointIdentifier: string; - virtualClusterIdentifier: string; - executionRoleArn: string; - credentialType: string; - durationInSeconds?: number; - logContext?: string; - clientToken?: string; -} -export const GetManagedEndpointSessionCredentialsRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - endpointIdentifier: S.String.pipe(T.HttpLabel("endpointIdentifier")), - virtualClusterIdentifier: S.String.pipe( - T.HttpLabel("virtualClusterIdentifier"), - ), - executionRoleArn: S.String, - credentialType: S.String, - durationInSeconds: S.optional(S.Number), - logContext: S.optional(S.String), - clientToken: S.optional(S.String).pipe(T.IdempotencyToken()), - }).pipe( - T.all( - T.Http({ - method: "POST", - uri: "/virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "GetManagedEndpointSessionCredentialsRequest", - }) as any as S.Schema; +export interface VirtualCluster { id?: string; name?: string; arn?: string; state?: VirtualClusterState; containerProvider?: ContainerProvider; createdAt?: Date; tags?: { [key: string]: string | undefined }; securityConfigurationId?: string } +export const VirtualCluster = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), state: S.optional(VirtualClusterState), containerProvider: S.optional(ContainerProvider), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), tags: S.optional(TagMap), securityConfigurationId: S.optional(S.String)})).annotate({ identifier: "VirtualCluster" }) as any as S.Schema; +export interface DescribeVirtualClusterResponse { virtualCluster?: VirtualCluster } +export const DescribeVirtualClusterResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualCluster: S.optional(VirtualCluster)})).annotate({ identifier: "DescribeVirtualClusterResponse" }) as any as S.Schema; +export interface GetManagedEndpointSessionCredentialsRequest { endpointIdentifier: string; virtualClusterIdentifier: string; executionRoleArn: string; credentialType: string; durationInSeconds?: number; logContext?: string; clientToken?: string } +export const GetManagedEndpointSessionCredentialsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({endpointIdentifier: S.String.pipe(T.HttpLabel("endpointIdentifier")), virtualClusterIdentifier: S.String.pipe(T.HttpLabel("virtualClusterIdentifier")), executionRoleArn: S.String, credentialType: S.String, durationInSeconds: S.optional(S.Number), logContext: S.optional(S.String), clientToken: S.optional(S.String).pipe(T.IdempotencyToken())}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials" }), svc, auth, proto, ver, rules))).annotate({ identifier: "GetManagedEndpointSessionCredentialsRequest" }) as any as S.Schema; export type Credentials = { token: string | redacted.Redacted }; -export const Credentials = /*@__PURE__*/ /*#__PURE__*/ S.Union([ - S.Struct({ token: SensitiveString }), -]); -export interface GetManagedEndpointSessionCredentialsResponse { - id?: string; - credentials?: Credentials; - expiresAt?: Date; -} -export const GetManagedEndpointSessionCredentialsResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - credentials: S.optional(Credentials), - expiresAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - }), - ).annotate({ - identifier: "GetManagedEndpointSessionCredentialsResponse", - }) as any as S.Schema; +export const Credentials = /*@__PURE__*/ /*#__PURE__*/ S.Union([S.Struct({ token: SensitiveString })]); +export interface GetManagedEndpointSessionCredentialsResponse { id?: string; credentials?: Credentials; expiresAt?: Date } +export const GetManagedEndpointSessionCredentialsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), credentials: S.optional(Credentials), expiresAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time")))})).annotate({ identifier: "GetManagedEndpointSessionCredentialsResponse" }) as any as S.Schema; export type JobRunStates = JobRunState[]; export const JobRunStates = /*@__PURE__*/ /*#__PURE__*/ S.Array(JobRunState); -export interface ListJobRunsRequest { - virtualClusterId: string; - createdBefore?: Date; - createdAfter?: Date; - name?: string; - states?: JobRunState[]; - maxResults?: number; - nextToken?: string; -} -export const ListJobRunsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - createdBefore: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdBefore")), - createdAfter: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdAfter")), - name: S.optional(S.String).pipe(T.HttpQuery("name")), - states: S.optional(JobRunStates).pipe(T.HttpQuery("states")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/virtualclusters/{virtualClusterId}/jobruns", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "ListJobRunsRequest", -}) as any as S.Schema; +export interface ListJobRunsRequest { virtualClusterId: string; createdBefore?: Date; createdAfter?: Date; name?: string; states?: JobRunState[]; maxResults?: number; nextToken?: string } +export const ListJobRunsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), name: S.optional(S.String).pipe(T.HttpQuery("name")), states: S.optional(JobRunStates).pipe(T.HttpQuery("states")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/jobruns" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListJobRunsRequest" }) as any as S.Schema; export type JobRuns = JobRun[]; export const JobRuns = /*@__PURE__*/ /*#__PURE__*/ S.Array(JobRun); -export interface ListJobRunsResponse { - jobRuns?: JobRun[]; - nextToken?: string; -} -export const ListJobRunsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ jobRuns: S.optional(JobRuns), nextToken: S.optional(S.String) }), -).annotate({ - identifier: "ListJobRunsResponse", -}) as any as S.Schema; -export interface ListJobTemplatesRequest { - createdAfter?: Date; - createdBefore?: Date; - maxResults?: number; - nextToken?: string; -} -export const ListJobTemplatesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - createdAfter: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdAfter")), - createdBefore: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdBefore")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - }).pipe( - T.all( - T.Http({ method: "GET", uri: "/jobtemplates" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "ListJobTemplatesRequest", -}) as any as S.Schema; +export interface ListJobRunsResponse { jobRuns?: JobRun[]; nextToken?: string } +export const ListJobRunsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({jobRuns: S.optional(JobRuns), nextToken: S.optional(S.String)})).annotate({ identifier: "ListJobRunsResponse" }) as any as S.Schema; +export interface ListJobTemplatesRequest { createdAfter?: Date; createdBefore?: Date; maxResults?: number; nextToken?: string } +export const ListJobTemplatesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/jobtemplates" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListJobTemplatesRequest" }) as any as S.Schema; export type JobTemplates = JobTemplate[]; export const JobTemplates = /*@__PURE__*/ /*#__PURE__*/ S.Array(JobTemplate); -export interface ListJobTemplatesResponse { - templates?: JobTemplate[]; - nextToken?: string; -} -export const ListJobTemplatesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - templates: S.optional(JobTemplates), - nextToken: S.optional(S.String), - }), -).annotate({ - identifier: "ListJobTemplatesResponse", -}) as any as S.Schema; +export interface ListJobTemplatesResponse { templates?: JobTemplate[]; nextToken?: string } +export const ListJobTemplatesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({templates: S.optional(JobTemplates), nextToken: S.optional(S.String)})).annotate({ identifier: "ListJobTemplatesResponse" }) as any as S.Schema; export type EndpointTypes = string[]; export const EndpointTypes = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export type EndpointStates = EndpointState[]; -export const EndpointStates = - /*@__PURE__*/ /*#__PURE__*/ S.Array(EndpointState); -export interface ListManagedEndpointsRequest { - virtualClusterId: string; - createdBefore?: Date; - createdAfter?: Date; - types?: string[]; - states?: EndpointState[]; - maxResults?: number; - nextToken?: string; -} -export const ListManagedEndpointsRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - createdBefore: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdBefore")), - createdAfter: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdAfter")), - types: S.optional(EndpointTypes).pipe(T.HttpQuery("types")), - states: S.optional(EndpointStates).pipe(T.HttpQuery("states")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/virtualclusters/{virtualClusterId}/endpoints", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "ListManagedEndpointsRequest", - }) as any as S.Schema; +export const EndpointStates = /*@__PURE__*/ /*#__PURE__*/ S.Array(EndpointState); +export interface ListManagedEndpointsRequest { virtualClusterId: string; createdBefore?: Date; createdAfter?: Date; types?: string[]; states?: EndpointState[]; maxResults?: number; nextToken?: string } +export const ListManagedEndpointsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), types: S.optional(EndpointTypes).pipe(T.HttpQuery("types")), states: S.optional(EndpointStates).pipe(T.HttpQuery("states")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/endpoints" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListManagedEndpointsRequest" }) as any as S.Schema; export type Endpoints = Endpoint[]; export const Endpoints = /*@__PURE__*/ /*#__PURE__*/ S.Array(Endpoint); -export interface ListManagedEndpointsResponse { - endpoints?: Endpoint[]; - nextToken?: string; -} -export const ListManagedEndpointsResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - endpoints: S.optional(Endpoints), - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListManagedEndpointsResponse", - }) as any as S.Schema; -export interface ListSecurityConfigurationsRequest { - createdAfter?: Date; - createdBefore?: Date; - maxResults?: number; - nextToken?: string; -} -export const ListSecurityConfigurationsRequest = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - createdAfter: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdAfter")), - createdBefore: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdBefore")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - }).pipe( - T.all( - T.Http({ method: "GET", uri: "/securityconfigurations" }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "ListSecurityConfigurationsRequest", - }) as any as S.Schema; +export interface ListManagedEndpointsResponse { endpoints?: Endpoint[]; nextToken?: string } +export const ListManagedEndpointsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({endpoints: S.optional(Endpoints), nextToken: S.optional(S.String)})).annotate({ identifier: "ListManagedEndpointsResponse" }) as any as S.Schema; +export interface ListSecurityConfigurationsRequest { createdAfter?: Date; createdBefore?: Date; maxResults?: number; nextToken?: string } +export const ListSecurityConfigurationsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/securityconfigurations" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListSecurityConfigurationsRequest" }) as any as S.Schema; export type SecurityConfigurations = SecurityConfiguration[]; -export const SecurityConfigurations = /*@__PURE__*/ /*#__PURE__*/ S.Array( - SecurityConfiguration, -); -export interface ListSecurityConfigurationsResponse { - securityConfigurations?: SecurityConfiguration[]; - nextToken?: string; -} -export const ListSecurityConfigurationsResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - securityConfigurations: S.optional(SecurityConfigurations), - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListSecurityConfigurationsResponse", - }) as any as S.Schema; -export interface ListTagsForResourceRequest { - resourceArn: string; -} -export const ListTagsForResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ resourceArn: S.String.pipe(T.HttpLabel("resourceArn")) }).pipe( - T.all( - T.Http({ method: "GET", uri: "/tags/{resourceArn}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "ListTagsForResourceRequest", -}) as any as S.Schema; -export interface ListTagsForResourceResponse { - tags?: { [key: string]: string | undefined }; -} -export const ListTagsForResourceResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ tags: S.optional(TagMap) }), - ).annotate({ - identifier: "ListTagsForResourceResponse", - }) as any as S.Schema; +export const SecurityConfigurations = /*@__PURE__*/ /*#__PURE__*/ S.Array(SecurityConfiguration); +export interface ListSecurityConfigurationsResponse { securityConfigurations?: SecurityConfiguration[]; nextToken?: string } +export const ListSecurityConfigurationsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({securityConfigurations: S.optional(SecurityConfigurations), nextToken: S.optional(S.String)})).annotate({ identifier: "ListSecurityConfigurationsResponse" }) as any as S.Schema; +export interface ListTagsForResourceRequest { resourceArn: string } +export const ListTagsForResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({resourceArn: S.String.pipe(T.HttpLabel("resourceArn"))}).pipe(T.all(T.Http({ method: "GET", uri: "/tags/{resourceArn}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListTagsForResourceRequest" }) as any as S.Schema; +export interface ListTagsForResourceResponse { tags?: { [key: string]: string | undefined } } +export const ListTagsForResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({tags: S.optional(TagMap)})).annotate({ identifier: "ListTagsForResourceResponse" }) as any as S.Schema; export type VirtualClusterStates = VirtualClusterState[]; -export const VirtualClusterStates = - /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualClusterState); -export interface ListVirtualClustersRequest { - containerProviderId?: string; - containerProviderType?: ContainerProviderType; - createdAfter?: Date; - createdBefore?: Date; - states?: VirtualClusterState[]; - maxResults?: number; - nextToken?: string; - eksAccessEntryIntegrated?: boolean; -} -export const ListVirtualClustersRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => - S.Struct({ - containerProviderId: S.optional(S.String).pipe( - T.HttpQuery("containerProviderId"), - ), - containerProviderType: S.optional(ContainerProviderType).pipe( - T.HttpQuery("containerProviderType"), - ), - createdAfter: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdAfter")), - createdBefore: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ).pipe(T.HttpQuery("createdBefore")), - states: S.optional(VirtualClusterStates).pipe(T.HttpQuery("states")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - eksAccessEntryIntegrated: S.optional(S.Boolean).pipe( - T.HttpQuery("eksAccessEntryIntegrated"), - ), - }).pipe( - T.all( - T.Http({ method: "GET", uri: "/virtualclusters" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "ListVirtualClustersRequest", -}) as any as S.Schema; +export const VirtualClusterStates = /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualClusterState); +export interface ListVirtualClustersRequest { containerProviderId?: string; containerProviderType?: ContainerProviderType; createdAfter?: Date; createdBefore?: Date; states?: VirtualClusterState[]; maxResults?: number; nextToken?: string; eksAccessEntryIntegrated?: boolean } +export const ListVirtualClustersRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({containerProviderId: S.optional(S.String).pipe(T.HttpQuery("containerProviderId")), containerProviderType: S.optional(ContainerProviderType).pipe(T.HttpQuery("containerProviderType")), createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), states: S.optional(VirtualClusterStates).pipe(T.HttpQuery("states")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), eksAccessEntryIntegrated: S.optional(S.Boolean).pipe(T.HttpQuery("eksAccessEntryIntegrated"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListVirtualClustersRequest" }) as any as S.Schema; export type VirtualClusters = VirtualCluster[]; -export const VirtualClusters = - /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualCluster); -export interface ListVirtualClustersResponse { - virtualClusters?: VirtualCluster[]; - nextToken?: string; -} -export const ListVirtualClustersResponse = - /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - virtualClusters: S.optional(VirtualClusters), - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListVirtualClustersResponse", - }) as any as S.Schema; +export const VirtualClusters = /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualCluster); +export interface ListVirtualClustersResponse { virtualClusters?: VirtualCluster[]; nextToken?: string } +export const ListVirtualClustersResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualClusters: S.optional(VirtualClusters), nextToken: S.optional(S.String)})).annotate({ identifier: "ListVirtualClustersResponse" }) as any as S.Schema; export type TemplateParameterInputMap = { [key: string]: string | undefined }; -export const TemplateParameterInputMap = /*@__PURE__*/ /*#__PURE__*/ S.Record( - S.String, - S.String.pipe(S.optional), -); -export interface StartJobRunRequest { - name?: string; - virtualClusterId: string; - clientToken: string; - executionRoleArn?: string; - releaseLabel?: string; - jobDriver?: JobDriver; - configurationOverrides?: ConfigurationOverrides; - tags?: { [key: string]: string | undefined }; - jobTemplateId?: string; - jobTemplateParameters?: { [key: string]: string | undefined }; - retryPolicyConfiguration?: RetryPolicyConfiguration; -} -export const StartJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - name: S.optional(S.String), - virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), - clientToken: S.String.pipe(T.IdempotencyToken()), - executionRoleArn: S.optional(S.String), - releaseLabel: S.optional(S.String), - jobDriver: S.optional(JobDriver), - configurationOverrides: S.optional(ConfigurationOverrides), - tags: S.optional(TagMap), - jobTemplateId: S.optional(S.String), - jobTemplateParameters: S.optional(TemplateParameterInputMap), - retryPolicyConfiguration: S.optional(RetryPolicyConfiguration), - }).pipe( - T.all( - T.Http({ - method: "POST", - uri: "/virtualclusters/{virtualClusterId}/jobruns", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "StartJobRunRequest", -}) as any as S.Schema; -export interface StartJobRunResponse { - id?: string; - name?: string; - arn?: string; - virtualClusterId?: string; -} -export const StartJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - id: S.optional(S.String), - name: S.optional(S.String), - arn: S.optional(S.String), - virtualClusterId: S.optional(S.String), - }), -).annotate({ - identifier: "StartJobRunResponse", -}) as any as S.Schema; -export interface TagResourceRequest { - resourceArn: string; - tags: { [key: string]: string | undefined }; -} -export const TagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), - tags: TagMap, - }).pipe( - T.all( - T.Http({ method: "POST", uri: "/tags/{resourceArn}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "TagResourceRequest", -}) as any as S.Schema; -export interface TagResourceResponse {} -export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({}), -).annotate({ - identifier: "TagResourceResponse", -}) as any as S.Schema; +export const TemplateParameterInputMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); +export interface StartJobRunRequest { name?: string; virtualClusterId: string; clientToken: string; executionRoleArn?: string; releaseLabel?: string; jobDriver?: JobDriver; configurationOverrides?: ConfigurationOverrides; tags?: { [key: string]: string | undefined }; jobTemplateId?: string; jobTemplateParameters?: { [key: string]: string | undefined }; retryPolicyConfiguration?: RetryPolicyConfiguration } +export const StartJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.optional(S.String), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), clientToken: S.String.pipe(T.IdempotencyToken()), executionRoleArn: S.optional(S.String), releaseLabel: S.optional(S.String), jobDriver: S.optional(JobDriver), configurationOverrides: S.optional(ConfigurationOverrides), tags: S.optional(TagMap), jobTemplateId: S.optional(S.String), jobTemplateParameters: S.optional(TemplateParameterInputMap), retryPolicyConfiguration: S.optional(RetryPolicyConfiguration)}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters/{virtualClusterId}/jobruns" }), svc, auth, proto, ver, rules))).annotate({ identifier: "StartJobRunRequest" }) as any as S.Schema; +export interface StartJobRunResponse { id?: string; name?: string; arn?: string; virtualClusterId?: string } +export const StartJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "StartJobRunResponse" }) as any as S.Schema; +export interface TagResourceRequest { resourceArn: string; tags: { [key: string]: string | undefined } } +export const TagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), tags: TagMap}).pipe(T.all(T.Http({ method: "POST", uri: "/tags/{resourceArn}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "TagResourceRequest" }) as any as S.Schema; +export interface TagResourceResponse { } +export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "TagResourceResponse" }) as any as S.Schema; export type TagKeyList = string[]; export const TagKeyList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); -export interface UntagResourceRequest { - resourceArn: string; - tagKeys: string[]; -} -export const UntagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ - resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), - tagKeys: TagKeyList.pipe(T.HttpQuery("tagKeys")), - }).pipe( - T.all( - T.Http({ method: "DELETE", uri: "/tags/{resourceArn}" }), - svc, - auth, - proto, - ver, - rules, - ), - ), -).annotate({ - identifier: "UntagResourceRequest", -}) as any as S.Schema; -export interface UntagResourceResponse {} -export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({}), -).annotate({ - identifier: "UntagResourceResponse", -}) as any as S.Schema; +export interface UntagResourceRequest { resourceArn: string; tagKeys: string[] } +export const UntagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), tagKeys: TagKeyList.pipe(T.HttpQuery("tagKeys"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/tags/{resourceArn}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "UntagResourceRequest" }) as any as S.Schema; +export interface UntagResourceResponse { } +export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "UntagResourceResponse" }) as any as S.Schema; //# Errors -export class InternalServerException extends S.TaggedErrorClass()( - "InternalServerException", - { message: S.optional(S.String) }, -).pipe(C.withServerError) {} -export class ValidationException extends S.TaggedErrorClass()( - "ValidationException", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} -export class ResourceNotFoundException extends S.TaggedErrorClass()( - "ResourceNotFoundException", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} -export class EKSRequestThrottledException extends S.TaggedErrorClass()( - "EKSRequestThrottledException", - { message: S.optional(S.String) }, -).pipe(C.withThrottlingError) {} -export class RequestThrottledException extends S.TaggedErrorClass()( - "RequestThrottledException", - { message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} +export class InternalServerException extends S.TaggedErrorClass()("InternalServerException", {message: S.optional(S.String)}, T.HttpError(500)).pipe(C.withServerError) {} +export class ValidationException extends S.TaggedErrorClass()("ValidationException", {message: S.optional(S.String)}, T.HttpError(400)).pipe(C.withBadRequestError) {} +export class ResourceNotFoundException extends S.TaggedErrorClass()("ResourceNotFoundException", {message: S.optional(S.String)}, T.HttpError(400)).pipe(C.withBadRequestError) {} +export class EKSRequestThrottledException extends S.TaggedErrorClass()("EKSRequestThrottledException", {message: S.optional(S.String)}, T.HttpError(429)).pipe(C.withThrottlingError) {} +export class RequestThrottledException extends S.TaggedErrorClass()("RequestThrottledException", {message: S.optional(S.String)}, T.HttpError(400)).pipe(C.withBadRequestError) {} +export class InvalidResourceArn extends S.TaggedErrorClass()("InvalidResourceArn", {}, T.SyntheticError({"from":"BadRequestException","message":{"includes":"Invalid input resource arn"}})) {} //# Operations export type CancelJobRunError = @@ -1697,17 +375,7 @@ export type CancelJobRunError = * Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or * SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const cancelJobRun: API.OperationMethod< - CancelJobRunRequest, - CancelJobRunResponse, - CancelJobRunError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: CancelJobRunRequest, - output: CancelJobRunResponse, - errors: [InternalServerException, ValidationException], - operationName: "CancelJobRun", -})); +export const cancelJobRun: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelJobRunRequest, output: CancelJobRunResponse, errors: [InternalServerException, ValidationException], operationName: "CancelJobRun" })); export type CreateJobTemplateError = | InternalServerException | ResourceNotFoundException @@ -1719,21 +387,7 @@ export type CreateJobTemplateError = * repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun * API request. */ -export const createJobTemplate: API.OperationMethod< - CreateJobTemplateRequest, - CreateJobTemplateResponse, - CreateJobTemplateError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: CreateJobTemplateRequest, - output: CreateJobTemplateResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "CreateJobTemplate", -})); +export const createJobTemplate: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateJobTemplateRequest, output: CreateJobTemplateResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "CreateJobTemplate" })); export type CreateManagedEndpointError = | InternalServerException | ResourceNotFoundException @@ -1743,21 +397,7 @@ export type CreateManagedEndpointError = * Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can * communicate with your virtual cluster. */ -export const createManagedEndpoint: API.OperationMethod< - CreateManagedEndpointRequest, - CreateManagedEndpointResponse, - CreateManagedEndpointError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: CreateManagedEndpointRequest, - output: CreateManagedEndpointResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "CreateManagedEndpoint", -})); +export const createManagedEndpoint: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateManagedEndpointRequest, output: CreateManagedEndpointResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "CreateManagedEndpoint" })); export type CreateSecurityConfigurationError = | InternalServerException | ValidationException @@ -1768,17 +408,7 @@ export type CreateSecurityConfigurationError = * the Lake Formation integration setup. You can also create a security configuration * to re-use a security setup each time you create a virtual cluster. */ -export const createSecurityConfiguration: API.OperationMethod< - CreateSecurityConfigurationRequest, - CreateSecurityConfigurationResponse, - CreateSecurityConfigurationError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: CreateSecurityConfigurationRequest, - output: CreateSecurityConfigurationResponse, - errors: [InternalServerException, ValidationException], - operationName: "CreateSecurityConfiguration", -})); +export const createSecurityConfiguration: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateSecurityConfigurationRequest, output: CreateSecurityConfigurationResponse, errors: [InternalServerException, ValidationException], operationName: "CreateSecurityConfiguration" })); export type CreateVirtualClusterError = | EKSRequestThrottledException | InternalServerException @@ -1791,22 +421,7 @@ export type CreateVirtualClusterError = * namespace. Given this relationship, you can model virtual clusters the same way you model * Kubernetes namespaces to meet your requirements. */ -export const createVirtualCluster: API.OperationMethod< - CreateVirtualClusterRequest, - CreateVirtualClusterResponse, - CreateVirtualClusterError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: CreateVirtualClusterRequest, - output: CreateVirtualClusterResponse, - errors: [ - EKSRequestThrottledException, - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "CreateVirtualCluster", -})); +export const createVirtualCluster: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVirtualClusterRequest, output: CreateVirtualClusterResponse, errors: [EKSRequestThrottledException, InternalServerException, ResourceNotFoundException, ValidationException], operationName: "CreateVirtualCluster" })); export type DeleteJobTemplateError = | InternalServerException | ValidationException @@ -1817,17 +432,7 @@ export type DeleteJobTemplateError = * repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun * API request. */ -export const deleteJobTemplate: API.OperationMethod< - DeleteJobTemplateRequest, - DeleteJobTemplateResponse, - DeleteJobTemplateError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DeleteJobTemplateRequest, - output: DeleteJobTemplateResponse, - errors: [InternalServerException, ValidationException], - operationName: "DeleteJobTemplate", -})); +export const deleteJobTemplate: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteJobTemplateRequest, output: DeleteJobTemplateResponse, errors: [InternalServerException, ValidationException], operationName: "DeleteJobTemplate" })); export type DeleteManagedEndpointError = | InternalServerException | ValidationException @@ -1836,17 +441,7 @@ export type DeleteManagedEndpointError = * Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can * communicate with your virtual cluster. */ -export const deleteManagedEndpoint: API.OperationMethod< - DeleteManagedEndpointRequest, - DeleteManagedEndpointResponse, - DeleteManagedEndpointError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DeleteManagedEndpointRequest, - output: DeleteManagedEndpointResponse, - errors: [InternalServerException, ValidationException], - operationName: "DeleteManagedEndpoint", -})); +export const deleteManagedEndpoint: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteManagedEndpointRequest, output: DeleteManagedEndpointResponse, errors: [InternalServerException, ValidationException], operationName: "DeleteManagedEndpoint" })); export type DeleteVirtualClusterError = | InternalServerException | ValidationException @@ -1857,17 +452,7 @@ export type DeleteVirtualClusterError = * namespace. Given this relationship, you can model virtual clusters the same way you model * Kubernetes namespaces to meet your requirements. */ -export const deleteVirtualCluster: API.OperationMethod< - DeleteVirtualClusterRequest, - DeleteVirtualClusterResponse, - DeleteVirtualClusterError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DeleteVirtualClusterRequest, - output: DeleteVirtualClusterResponse, - errors: [InternalServerException, ValidationException], - operationName: "DeleteVirtualCluster", -})); +export const deleteVirtualCluster: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVirtualClusterRequest, output: DeleteVirtualClusterResponse, errors: [InternalServerException, ValidationException], operationName: "DeleteVirtualCluster" })); export type DescribeJobRunError = | InternalServerException | ResourceNotFoundException @@ -1877,21 +462,7 @@ export type DescribeJobRunError = * Displays detailed information about a job run. A job run is a unit of work, such as a * Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const describeJobRun: API.OperationMethod< - DescribeJobRunRequest, - DescribeJobRunResponse, - DescribeJobRunError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DescribeJobRunRequest, - output: DescribeJobRunResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "DescribeJobRun", -})); +export const describeJobRun: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeJobRunRequest, output: DescribeJobRunResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeJobRun" })); export type DescribeJobTemplateError = | InternalServerException | ResourceNotFoundException @@ -1903,21 +474,7 @@ export type DescribeJobTemplateError = * allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing * certain values in StartJobRun API request. */ -export const describeJobTemplate: API.OperationMethod< - DescribeJobTemplateRequest, - DescribeJobTemplateResponse, - DescribeJobTemplateError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DescribeJobTemplateRequest, - output: DescribeJobTemplateResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "DescribeJobTemplate", -})); +export const describeJobTemplate: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeJobTemplateRequest, output: DescribeJobTemplateResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeJobTemplate" })); export type DescribeManagedEndpointError = | InternalServerException | ResourceNotFoundException @@ -1927,21 +484,7 @@ export type DescribeManagedEndpointError = * Displays detailed information about a managed endpoint. A managed endpoint is a gateway * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster. */ -export const describeManagedEndpoint: API.OperationMethod< - DescribeManagedEndpointRequest, - DescribeManagedEndpointResponse, - DescribeManagedEndpointError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DescribeManagedEndpointRequest, - output: DescribeManagedEndpointResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "DescribeManagedEndpoint", -})); +export const describeManagedEndpoint: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeManagedEndpointRequest, output: DescribeManagedEndpointResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeManagedEndpoint" })); export type DescribeSecurityConfigurationError = | InternalServerException | ResourceNotFoundException @@ -1954,21 +497,7 @@ export type DescribeSecurityConfigurationError = * You can also create a security configuration to re-use a security setup each time you * create a virtual cluster. */ -export const describeSecurityConfiguration: API.OperationMethod< - DescribeSecurityConfigurationRequest, - DescribeSecurityConfigurationResponse, - DescribeSecurityConfigurationError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DescribeSecurityConfigurationRequest, - output: DescribeSecurityConfigurationResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "DescribeSecurityConfiguration", -})); +export const describeSecurityConfiguration: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSecurityConfigurationRequest, output: DescribeSecurityConfigurationResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeSecurityConfiguration" })); export type DescribeVirtualClusterError = | InternalServerException | ResourceNotFoundException @@ -1982,21 +511,7 @@ export type DescribeVirtualClusterError = * virtual clusters the same way you model Kubernetes namespaces to meet your * requirements. */ -export const describeVirtualCluster: API.OperationMethod< - DescribeVirtualClusterRequest, - DescribeVirtualClusterResponse, - DescribeVirtualClusterError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: DescribeVirtualClusterRequest, - output: DescribeVirtualClusterResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "DescribeVirtualCluster", -})); +export const describeVirtualCluster: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVirtualClusterRequest, output: DescribeVirtualClusterResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeVirtualCluster" })); export type GetManagedEndpointSessionCredentialsError = | InternalServerException | RequestThrottledException @@ -2006,22 +521,7 @@ export type GetManagedEndpointSessionCredentialsError = /** * Generate a session token to connect to a managed endpoint. */ -export const getManagedEndpointSessionCredentials: API.OperationMethod< - GetManagedEndpointSessionCredentialsRequest, - GetManagedEndpointSessionCredentialsResponse, - GetManagedEndpointSessionCredentialsError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: GetManagedEndpointSessionCredentialsRequest, - output: GetManagedEndpointSessionCredentialsResponse, - errors: [ - InternalServerException, - RequestThrottledException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "GetManagedEndpointSessionCredentials", -})); +export const getManagedEndpointSessionCredentials: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetManagedEndpointSessionCredentialsRequest, output: GetManagedEndpointSessionCredentialsResponse, errors: [InternalServerException, RequestThrottledException, ResourceNotFoundException, ValidationException], operationName: "GetManagedEndpointSessionCredentials" })); export type ListJobRunsError = | InternalServerException | ValidationException @@ -2030,38 +530,10 @@ export type ListJobRunsError = * Lists job runs based on a set of parameters. A job run is a unit of work, such as a * Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const listJobRuns: API.OperationMethod< - ListJobRunsRequest, - ListJobRunsResponse, - ListJobRunsError, - Creds | Region | HttpClient.HttpClient -> & { - pages: ( - input: ListJobRunsRequest, - ) => stream.Stream< - ListJobRunsResponse, - ListJobRunsError, - Creds | Region | HttpClient.HttpClient - >; - items: ( - input: ListJobRunsRequest, - ) => stream.Stream< - JobRun, - ListJobRunsError, - Creds | Region | HttpClient.HttpClient - >; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListJobRunsRequest, - output: ListJobRunsResponse, - errors: [InternalServerException, ValidationException], - operationName: "ListJobRuns", - pagination: { - inputToken: "nextToken", - outputToken: "nextToken", - items: "jobRuns", - pageSize: "maxResults", - } as const, -})); +export const listJobRuns: API.OperationMethod & { + pages: (input: ListJobRunsRequest) => stream.Stream; + items: (input: ListJobRunsRequest) => stream.Stream; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListJobRunsRequest, output: ListJobRunsResponse, errors: [InternalServerException, ValidationException], operationName: "ListJobRuns", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"jobRuns","pageSize":"maxResults"} as const })); export type ListJobTemplatesError = | InternalServerException | ValidationException @@ -2072,38 +544,10 @@ export type ListJobTemplatesError = * allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing * certain values in StartJobRun API request. */ -export const listJobTemplates: API.OperationMethod< - ListJobTemplatesRequest, - ListJobTemplatesResponse, - ListJobTemplatesError, - Creds | Region | HttpClient.HttpClient -> & { - pages: ( - input: ListJobTemplatesRequest, - ) => stream.Stream< - ListJobTemplatesResponse, - ListJobTemplatesError, - Creds | Region | HttpClient.HttpClient - >; - items: ( - input: ListJobTemplatesRequest, - ) => stream.Stream< - JobTemplate, - ListJobTemplatesError, - Creds | Region | HttpClient.HttpClient - >; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListJobTemplatesRequest, - output: ListJobTemplatesResponse, - errors: [InternalServerException, ValidationException], - operationName: "ListJobTemplates", - pagination: { - inputToken: "nextToken", - outputToken: "nextToken", - items: "templates", - pageSize: "maxResults", - } as const, -})); +export const listJobTemplates: API.OperationMethod & { + pages: (input: ListJobTemplatesRequest) => stream.Stream; + items: (input: ListJobTemplatesRequest) => stream.Stream; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListJobTemplatesRequest, output: ListJobTemplatesResponse, errors: [InternalServerException, ValidationException], operationName: "ListJobTemplates", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"templates","pageSize":"maxResults"} as const })); export type ListManagedEndpointsError = | InternalServerException | ValidationException @@ -2112,38 +556,10 @@ export type ListManagedEndpointsError = * Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster. */ -export const listManagedEndpoints: API.OperationMethod< - ListManagedEndpointsRequest, - ListManagedEndpointsResponse, - ListManagedEndpointsError, - Creds | Region | HttpClient.HttpClient -> & { - pages: ( - input: ListManagedEndpointsRequest, - ) => stream.Stream< - ListManagedEndpointsResponse, - ListManagedEndpointsError, - Creds | Region | HttpClient.HttpClient - >; - items: ( - input: ListManagedEndpointsRequest, - ) => stream.Stream< - Endpoint, - ListManagedEndpointsError, - Creds | Region | HttpClient.HttpClient - >; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListManagedEndpointsRequest, - output: ListManagedEndpointsResponse, - errors: [InternalServerException, ValidationException], - operationName: "ListManagedEndpoints", - pagination: { - inputToken: "nextToken", - outputToken: "nextToken", - items: "endpoints", - pageSize: "maxResults", - } as const, -})); +export const listManagedEndpoints: API.OperationMethod & { + pages: (input: ListManagedEndpointsRequest) => stream.Stream; + items: (input: ListManagedEndpointsRequest) => stream.Stream; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListManagedEndpointsRequest, output: ListManagedEndpointsResponse, errors: [InternalServerException, ValidationException], operationName: "ListManagedEndpoints", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"endpoints","pageSize":"maxResults"} as const })); export type ListSecurityConfigurationsError = | InternalServerException | ValidationException @@ -2155,38 +571,10 @@ export type ListSecurityConfigurationsError = * create a security configuration to re-use a security setup each time you create a virtual * cluster. */ -export const listSecurityConfigurations: API.OperationMethod< - ListSecurityConfigurationsRequest, - ListSecurityConfigurationsResponse, - ListSecurityConfigurationsError, - Creds | Region | HttpClient.HttpClient -> & { - pages: ( - input: ListSecurityConfigurationsRequest, - ) => stream.Stream< - ListSecurityConfigurationsResponse, - ListSecurityConfigurationsError, - Creds | Region | HttpClient.HttpClient - >; - items: ( - input: ListSecurityConfigurationsRequest, - ) => stream.Stream< - SecurityConfiguration, - ListSecurityConfigurationsError, - Creds | Region | HttpClient.HttpClient - >; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListSecurityConfigurationsRequest, - output: ListSecurityConfigurationsResponse, - errors: [InternalServerException, ValidationException], - operationName: "ListSecurityConfigurations", - pagination: { - inputToken: "nextToken", - outputToken: "nextToken", - items: "securityConfigurations", - pageSize: "maxResults", - } as const, -})); +export const listSecurityConfigurations: API.OperationMethod & { + pages: (input: ListSecurityConfigurationsRequest) => stream.Stream; + items: (input: ListSecurityConfigurationsRequest) => stream.Stream; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListSecurityConfigurationsRequest, output: ListSecurityConfigurationsResponse, errors: [InternalServerException, ValidationException], operationName: "ListSecurityConfigurations", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"securityConfigurations","pageSize":"maxResults"} as const })); export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException @@ -2195,21 +583,7 @@ export type ListTagsForResourceError = /** * Lists the tags assigned to the resources. */ -export const listTagsForResource: API.OperationMethod< - ListTagsForResourceRequest, - ListTagsForResourceResponse, - ListTagsForResourceError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: ListTagsForResourceRequest, - output: ListTagsForResourceResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "ListTagsForResource", -})); +export const listTagsForResource: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ListTagsForResourceRequest, output: ListTagsForResourceResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "ListTagsForResource" })); export type ListVirtualClustersError = | InternalServerException | ValidationException @@ -2222,38 +596,10 @@ export type ListVirtualClustersError = * virtual clusters the same way you model Kubernetes namespaces to meet your * requirements. */ -export const listVirtualClusters: API.OperationMethod< - ListVirtualClustersRequest, - ListVirtualClustersResponse, - ListVirtualClustersError, - Creds | Region | HttpClient.HttpClient -> & { - pages: ( - input: ListVirtualClustersRequest, - ) => stream.Stream< - ListVirtualClustersResponse, - ListVirtualClustersError, - Creds | Region | HttpClient.HttpClient - >; - items: ( - input: ListVirtualClustersRequest, - ) => stream.Stream< - VirtualCluster, - ListVirtualClustersError, - Creds | Region | HttpClient.HttpClient - >; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ - input: ListVirtualClustersRequest, - output: ListVirtualClustersResponse, - errors: [InternalServerException, ValidationException], - operationName: "ListVirtualClusters", - pagination: { - inputToken: "nextToken", - outputToken: "nextToken", - items: "virtualClusters", - pageSize: "maxResults", - } as const, -})); +export const listVirtualClusters: API.OperationMethod & { + pages: (input: ListVirtualClustersRequest) => stream.Stream; + items: (input: ListVirtualClustersRequest) => stream.Stream; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListVirtualClustersRequest, output: ListVirtualClustersResponse, errors: [InternalServerException, ValidationException], operationName: "ListVirtualClusters", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"virtualClusters","pageSize":"maxResults"} as const })); export type StartJobRunError = | InternalServerException | ResourceNotFoundException @@ -2263,25 +609,12 @@ export type StartJobRunError = * Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or * SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const startJobRun: API.OperationMethod< - StartJobRunRequest, - StartJobRunResponse, - StartJobRunError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: StartJobRunRequest, - output: StartJobRunResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "StartJobRun", -})); +export const startJobRun: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StartJobRunRequest, output: StartJobRunResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "StartJobRun" })); export type TagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | InvalidResourceArn | CommonErrors; /** * Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services @@ -2294,41 +627,14 @@ export type TagResourceError = * for each resource type. You can then search and filter the resources based on the tags that * you add. */ -export const tagResource: API.OperationMethod< - TagResourceRequest, - TagResourceResponse, - TagResourceError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: TagResourceRequest, - output: TagResourceResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "TagResource", -})); +export const tagResource: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: TagResourceRequest, output: TagResourceResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException, InvalidResourceArn], operationName: "TagResource" })); export type UntagResourceError = | InternalServerException | ResourceNotFoundException | ValidationException + | InvalidResourceArn | CommonErrors; /** * Removes tags from resources. */ -export const untagResource: API.OperationMethod< - UntagResourceRequest, - UntagResourceResponse, - UntagResourceError, - Creds | Region | HttpClient.HttpClient -> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ - input: UntagResourceRequest, - output: UntagResourceResponse, - errors: [ - InternalServerException, - ResourceNotFoundException, - ValidationException, - ], - operationName: "UntagResource", -})); +export const untagResource: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UntagResourceRequest, output: UntagResourceResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException, InvalidResourceArn], operationName: "UntagResource" })); diff --git a/packages/aws/src/services/entityresolution.ts b/packages/aws/src/services/entityresolution.ts index 9dbfd8e49a..0c6990f0c1 100644 --- a/packages/aws/src/services/entityresolution.ts +++ b/packages/aws/src/services/entityresolution.ts @@ -852,7 +852,7 @@ export const CreateSchemaMappingInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export interface CreateSchemaMappingOutput { schemaName: string; schemaArn: string; - description: string; + description?: string; mappedInputFields: SchemaInputAttribute[]; } export const CreateSchemaMappingOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( @@ -860,7 +860,7 @@ export const CreateSchemaMappingOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( S.Struct({ schemaName: S.String, schemaArn: S.String, - description: S.String, + description: S.optional(S.String), mappedInputFields: SchemaInputAttributes, }), ).annotate({ @@ -2507,28 +2507,32 @@ export const UpdateSchemaMappingOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ExceedsLimitException extends S.TaggedErrorClass()( "ExceedsLimitException", @@ -2537,6 +2541,7 @@ export class ExceedsLimitException extends S.TaggedErrorClass export interface SplunkDestinationConfiguration { HECEndpoint: string; HECEndpointType: HECEndpointType; - HECToken?: string; + HECToken?: string | redacted.Redacted; HECAcknowledgmentTimeoutInSeconds?: number; RetryOptions?: SplunkRetryOptions; S3BackupMode?: SplunkS3BackupMode; @@ -891,7 +891,7 @@ export const SplunkDestinationConfiguration = S.Struct({ HECEndpoint: S.String, HECEndpointType: HECEndpointType, - HECToken: S.optional(S.String), + HECToken: S.optional(SensitiveString), HECAcknowledgmentTimeoutInSeconds: S.optional(S.Number), RetryOptions: S.optional(SplunkRetryOptions), S3BackupMode: S.optional(SplunkS3BackupMode), @@ -1939,7 +1939,7 @@ export const AmazonopensearchserviceDestinationDescription = export interface SplunkDestinationDescription { HECEndpoint?: string; HECEndpointType?: HECEndpointType; - HECToken?: string; + HECToken?: string | redacted.Redacted; HECAcknowledgmentTimeoutInSeconds?: number; RetryOptions?: SplunkRetryOptions; S3BackupMode?: SplunkS3BackupMode; @@ -1954,7 +1954,7 @@ export const SplunkDestinationDescription = S.Struct({ HECEndpoint: S.optional(S.String), HECEndpointType: S.optional(HECEndpointType), - HECToken: S.optional(S.String), + HECToken: S.optional(SensitiveString), HECAcknowledgmentTimeoutInSeconds: S.optional(S.Number), RetryOptions: S.optional(SplunkRetryOptions), S3BackupMode: S.optional(SplunkS3BackupMode), @@ -2666,7 +2666,7 @@ export const AmazonopensearchserviceDestinationUpdate = export interface SplunkDestinationUpdate { HECEndpoint?: string; HECEndpointType?: HECEndpointType; - HECToken?: string; + HECToken?: string | redacted.Redacted; HECAcknowledgmentTimeoutInSeconds?: number; RetryOptions?: SplunkRetryOptions; S3BackupMode?: SplunkS3BackupMode; @@ -2681,7 +2681,7 @@ export const SplunkDestinationUpdate = /*@__PURE__*/ /*#__PURE__*/ S.suspend( S.Struct({ HECEndpoint: S.optional(S.String), HECEndpointType: S.optional(HECEndpointType), - HECToken: S.optional(S.String), + HECToken: S.optional(SensitiveString), HECAcknowledgmentTimeoutInSeconds: S.optional(S.Number), RetryOptions: S.optional(SplunkRetryOptions), S3BackupMode: S.optional(SplunkS3BackupMode), @@ -2916,6 +2916,7 @@ export class InvalidSourceException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class ConcurrentModificationException extends S.TaggedErrorClass()( "ConcurrentModificationException", diff --git a/packages/aws/src/services/fsx.ts b/packages/aws/src/services/fsx.ts index 092c0c2c16..2dcd531c27 100644 --- a/packages/aws/src/services/fsx.ts +++ b/packages/aws/src/services/fsx.ts @@ -5729,18 +5729,22 @@ export class SourceBackupUnavailable extends S.TaggedErrorClass()( "AccessPointAlreadyOwnedByYou", { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InvalidAccessPoint extends S.TaggedErrorClass()( "InvalidAccessPoint", { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidRequest extends S.TaggedErrorClass()( "InvalidRequest", { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyAccessPoints extends S.TaggedErrorClass()( "TooManyAccessPoints", { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class VolumeNotFound extends S.TaggedErrorClass()( "VolumeNotFound", @@ -5791,6 +5795,14 @@ export class MissingFileSystemConfiguration extends S.TaggedErrorClass()( + "SnapshotVolumeNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "BadRequest", + message: { includes: "volume was not found" }, + }), +).pipe(C.withNotFoundError) {} export class MissingVolumeConfiguration extends S.TaggedErrorClass()( "MissingVolumeConfiguration", { Message: S.optional(S.String) }, @@ -5839,6 +5851,14 @@ export class ResourceNotFound extends S.TaggedErrorClass()( "ResourceNotFound", { ResourceARN: S.optional(S.String), Message: S.optional(S.String) }, ) {} +export class RestoreSnapshotNotFound extends S.TaggedErrorClass()( + "RestoreSnapshotNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "BadRequest", + message: { includes: "snapshot cannot be found" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type AssociateFileSystemAliasesError = @@ -6419,6 +6439,7 @@ export type CreateSnapshotError = | InternalServerError | ServiceLimitExceeded | VolumeNotFound + | SnapshotVolumeNotFound | CommonErrors; /** * Creates a snapshot of an existing Amazon FSx for OpenZFS volume. With @@ -6462,6 +6483,7 @@ export const createSnapshot: API.OperationMethod< InternalServerError, ServiceLimitExceeded, VolumeNotFound, + SnapshotVolumeNotFound, ], operationName: "CreateSnapshot", })); @@ -7563,6 +7585,7 @@ export type RestoreVolumeFromSnapshotError = | BadRequest | InternalServerError | VolumeNotFound + | RestoreSnapshotNotFound | CommonErrors; /** * Returns an Amazon FSx for OpenZFS volume to the state saved by the specified @@ -7576,7 +7599,12 @@ export const restoreVolumeFromSnapshot: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RestoreVolumeFromSnapshotRequest, output: RestoreVolumeFromSnapshotResponse, - errors: [BadRequest, InternalServerError, VolumeNotFound], + errors: [ + BadRequest, + InternalServerError, + VolumeNotFound, + RestoreSnapshotNotFound, + ], operationName: "RestoreVolumeFromSnapshot", })); export type StartMisconfiguredStateRecoveryError = From fb2ed7f6e9deefa242ff18e622dc16d99c17da43 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 01:29:25 -0700 Subject: [PATCH 23/63] chore(aws): sweep patches + regen (snapshot 2026-07-15 01:29) Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/entityresolution.json | 7 + packages/aws/patches/eventbridge.json | 74 +- packages/aws/patches/geo-routes.json | 7 + packages/aws/patches/glue.json | 9 + packages/aws/src/client/api.ts | 7 +- packages/aws/src/services/emr-containers.ts | 2225 +++++++++++++++-- packages/aws/src/services/entityresolution.ts | 12 +- packages/aws/src/services/eventbridge.ts | 14 +- packages/aws/src/services/geo-routes.ts | 38 +- packages/aws/src/services/glue.ts | 10 + 10 files changed, 2104 insertions(+), 299 deletions(-) diff --git a/packages/aws/patches/entityresolution.json b/packages/aws/patches/entityresolution.json index b72a9de908..13b24b1f84 100644 --- a/packages/aws/patches/entityresolution.json +++ b/packages/aws/patches/entityresolution.json @@ -4,6 +4,13 @@ "members": { "description": { "optional": true } } + }, + "BatchDeleteUniqueIdOutput": { + "members": { + "errors": { "optional": true }, + "deleted": { "optional": true }, + "disconnectedUniqueIds": { "optional": true } + } } } } diff --git a/packages/aws/patches/eventbridge.json b/packages/aws/patches/eventbridge.json index 0a98afcfd3..298f0811b5 100644 --- a/packages/aws/patches/eventbridge.json +++ b/packages/aws/patches/eventbridge.json @@ -1,28 +1,72 @@ { "errorCategories": { - "ThrottlingException": ["ThrottlingError", "RetryableError"], - "InternalException": ["ServerError", "RetryableError"], - "ConcurrentModificationException": ["ConflictError", "RetryableError"], - "IllegalStatusException": ["ConflictError"], - "InvalidStateException": ["ConflictError"], - "InvalidEventPatternException": ["BadRequestError"], - "ManagedRuleException": ["BadRequestError"], - "OperationDisabledException": ["BadRequestError"], - "LimitExceededException": ["QuotaError"], - "PolicyLengthExceededException": ["QuotaError"] + "ThrottlingException": [ + "ThrottlingError", + "RetryableError" + ], + "InternalException": [ + "ServerError", + "RetryableError" + ], + "ConcurrentModificationException": [ + "ConflictError", + "RetryableError" + ], + "IllegalStatusException": [ + "ConflictError" + ], + "InvalidStateException": [ + "ConflictError" + ], + "InvalidEventPatternException": [ + "BadRequestError" + ], + "ManagedRuleException": [ + "BadRequestError" + ], + "OperationDisabledException": [ + "BadRequestError" + ], + "LimitExceededException": [ + "QuotaError" + ], + "PolicyLengthExceededException": [ + "QuotaError" + ], + "EventBusHasRules": [ + "ConflictError", + "RetryableError" + ] }, "operations": { "deleteEventBus": { - "errors": ["ResourceNotFoundException"] + "errors": [ + "ResourceNotFoundException" + ], + "syntheticErrors": [ + { + "name": "EventBusHasRules", + "from": "ValidationException", + "message": { + "includes": "has rules" + } + } + ] }, "tagResource": { - "errors": ["ThrottlingException"] + "errors": [ + "ThrottlingException" + ] }, "untagResource": { - "errors": ["ThrottlingException"] + "errors": [ + "ThrottlingException" + ] }, "listTagsForResource": { - "errors": ["ThrottlingException"] + "errors": [ + "ThrottlingException" + ] } } -} +} \ No newline at end of file diff --git a/packages/aws/patches/geo-routes.json b/packages/aws/patches/geo-routes.json index d869556482..2aebba5e4b 100644 --- a/packages/aws/patches/geo-routes.json +++ b/packages/aws/patches/geo-routes.json @@ -1,5 +1,12 @@ { "structures": { + "WaypointOptimizationOptimizedWaypoint": { + "members": { + "DepartureTime": { + "optional": true + } + } + }, "RouteFerryLegDetails": { "members": { "AfterTravelSteps": { diff --git a/packages/aws/patches/glue.json b/packages/aws/patches/glue.json index 293f3ab412..5e9da90b76 100644 --- a/packages/aws/patches/glue.json +++ b/packages/aws/patches/glue.json @@ -18,6 +18,15 @@ } ] }, + "startJobRun": { + "syntheticErrors": [ + { + "name": "GlueRoleNotAssumable", + "from": "InvalidInputException", + "message": { "includes": "unable to assume" } + } + ] + }, "createJob": { "syntheticErrors": [ { diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 873dacdd91..05e0fad972 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -319,8 +319,13 @@ export const make = >( // unsigned"`). aws4fetch injects UNSIGNED-PAYLOAD for any service signing // as "s3" when the header is absent, so pre-compute the real payload // SHA-256 here (matching the official SDK's applyChecksum behavior). + // Glacier likewise REQUIRES the x-amz-content-sha256 header on + // payload-bearing requests (UploadArchive / UploadMultipartPart) — the + // service reconstructs the canonical request from that header, so + // omitting it fails with InvalidSignatureException (the official SDK's + // addChecksumHeaders middleware always sets it). if ( - _serviceSdkId === "S3 Control" && + (_serviceSdkId === "S3 Control" || _serviceSdkId === "Glacier") && !useUnsignedPayload && !hasContentSha256 && !isStreamingBody diff --git a/packages/aws/src/services/emr-containers.ts b/packages/aws/src/services/emr-containers.ts index 2753b379e2..96211f6be0 100644 --- a/packages/aws/src/services/emr-containers.ts +++ b/packages/aws/src/services/emr-containers.ts @@ -9,52 +9,82 @@ import type { Credentials as Creds } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; import { SensitiveString } from "../sensitive.ts"; -const svc = T.AwsApiService({ sdkId: "EMR containers", serviceShapeName: "AwsChicagoWebService" }); +const svc = T.AwsApiService({ + sdkId: "EMR containers", + serviceShapeName: "AwsChicagoWebService", +}); const auth = T.AwsAuthSigv4({ name: "emr-containers" }); const ver = T.ServiceVersion("2020-10-01"); const proto = T.AwsProtocolsRestJson1(); const rules = T.EndpointResolver((p, _) => { const { Region, UseDualStack = false, UseFIPS = false, Endpoint } = p; - const e = (u: unknown, p = {}, h = {}): T.EndpointResolverResult => ({ type: "endpoint" as const, endpoint: { url: u as string, properties: p, headers: h } }); - const err = (m: unknown): T.EndpointResolverResult => ({ type: "error" as const, message: m as string }); - if ((Endpoint != null)) { - if ((UseFIPS === true)) { - return err("Invalid Configuration: FIPS and custom endpoint are not supported"); + const e = (u: unknown, p = {}, h = {}): T.EndpointResolverResult => ({ + type: "endpoint" as const, + endpoint: { url: u as string, properties: p, headers: h }, + }); + const err = (m: unknown): T.EndpointResolverResult => ({ + type: "error" as const, + message: m as string, + }); + if (Endpoint != null) { + if (UseFIPS === true) { + return err( + "Invalid Configuration: FIPS and custom endpoint are not supported", + ); } - if ((UseDualStack === true)) { - return err("Invalid Configuration: Dualstack and custom endpoint are not supported"); + if (UseDualStack === true) { + return err( + "Invalid Configuration: Dualstack and custom endpoint are not supported", + ); } return e(Endpoint); } - if ((Region != null)) { + if (Region != null) { { const PartitionResult = _.partition(Region); if (PartitionResult != null && PartitionResult !== false) { - if ((UseFIPS === true) && (UseDualStack === true)) { - if ((true === _.getAttr(PartitionResult, "supportsFIPS")) && (true === _.getAttr(PartitionResult, "supportsDualStack"))) { - return e(`https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`); + if (UseFIPS === true && UseDualStack === true) { + if ( + true === _.getAttr(PartitionResult, "supportsFIPS") && + true === _.getAttr(PartitionResult, "supportsDualStack") + ) { + return e( + `https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`, + ); } - return err("FIPS and DualStack are enabled, but this partition does not support one or both"); + return err( + "FIPS and DualStack are enabled, but this partition does not support one or both", + ); } - if ((UseFIPS === true)) { - if ((_.getAttr(PartitionResult, "supportsFIPS") === true)) { - if ((Region === "us-gov-east-1")) { + if (UseFIPS === true) { + if (_.getAttr(PartitionResult, "supportsFIPS") === true) { + if (Region === "us-gov-east-1") { return e("https://emr-containers.us-gov-east-1.amazonaws.com"); } - if ((Region === "us-gov-west-1")) { + if (Region === "us-gov-west-1") { return e("https://emr-containers.us-gov-west-1.amazonaws.com"); } - return e(`https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`); + return e( + `https://emr-containers-fips.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`, + ); } - return err("FIPS is enabled but this partition does not support FIPS"); + return err( + "FIPS is enabled but this partition does not support FIPS", + ); } - if ((UseDualStack === true)) { - if ((true === _.getAttr(PartitionResult, "supportsDualStack"))) { - return e(`https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`); + if (UseDualStack === true) { + if (true === _.getAttr(PartitionResult, "supportsDualStack")) { + return e( + `https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`, + ); } - return err("DualStack is enabled but this partition does not support DualStack"); + return err( + "DualStack is enabled but this partition does not support DualStack", + ); } - return e(`https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`); + return e( + `https://emr-containers.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`, + ); } } } @@ -106,125 +136,719 @@ export type NextToken = string; export type RsiArn = string; //# Schemas -export interface CancelJobRunRequest { id: string; virtualClusterId: string } -export const CancelJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CancelJobRunRequest" }) as any as S.Schema; -export interface CancelJobRunResponse { id?: string; virtualClusterId?: string } -export const CancelJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "CancelJobRunResponse" }) as any as S.Schema; +export interface CancelJobRunRequest { + id: string; + virtualClusterId: string; +} +export const CancelJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.String.pipe(T.HttpLabel("id")), + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "CancelJobRunRequest", +}) as any as S.Schema; +export interface CancelJobRunResponse { + id?: string; + virtualClusterId?: string; +} +export const CancelJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + virtualClusterId: S.optional(S.String), + }), +).annotate({ + identifier: "CancelJobRunResponse", +}) as any as S.Schema; export type SensitivePropertiesMap = { [key: string]: string | undefined }; -export const SensitivePropertiesMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); -export interface Configuration { classification: string; properties?: { [key: string]: string | undefined }; configurations?: Configuration[] } -export const Configuration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({classification: S.String, properties: S.optional(SensitivePropertiesMap), configurations: S.optional(S.suspend(() => ConfigurationList).annotate({ identifier: "ConfigurationList" }))})).annotate({ identifier: "Configuration" }) as any as S.Schema; +export const SensitivePropertiesMap = /*@__PURE__*/ /*#__PURE__*/ S.Record( + S.String, + S.String.pipe(S.optional), +); +export interface Configuration { + classification: string; + properties?: { [key: string]: string | undefined }; + configurations?: Configuration[]; +} +export const Configuration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + classification: S.String, + properties: S.optional(SensitivePropertiesMap), + configurations: S.optional( + S.suspend(() => ConfigurationList).annotate({ + identifier: "ConfigurationList", + }), + ), + }), +).annotate({ identifier: "Configuration" }) as any as S.Schema; export type ConfigurationList = Configuration[]; -export const ConfigurationList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.suspend((): S.Schema => Configuration).annotate({ identifier: "Configuration" })) as any as S.Schema; -export interface ParametricCloudWatchMonitoringConfiguration { logGroupName?: string; logStreamNamePrefix?: string } -export const ParametricCloudWatchMonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logGroupName: S.optional(S.String), logStreamNamePrefix: S.optional(S.String)})).annotate({ identifier: "ParametricCloudWatchMonitoringConfiguration" }) as any as S.Schema; -export interface ParametricS3MonitoringConfiguration { logUri?: string } -export const ParametricS3MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logUri: S.optional(S.String)})).annotate({ identifier: "ParametricS3MonitoringConfiguration" }) as any as S.Schema; -export interface ParametricMonitoringConfiguration { persistentAppUI?: string; cloudWatchMonitoringConfiguration?: ParametricCloudWatchMonitoringConfiguration; s3MonitoringConfiguration?: ParametricS3MonitoringConfiguration } -export const ParametricMonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({persistentAppUI: S.optional(S.String), cloudWatchMonitoringConfiguration: S.optional(ParametricCloudWatchMonitoringConfiguration), s3MonitoringConfiguration: S.optional(ParametricS3MonitoringConfiguration)})).annotate({ identifier: "ParametricMonitoringConfiguration" }) as any as S.Schema; -export interface ParametricConfigurationOverrides { applicationConfiguration?: Configuration[]; monitoringConfiguration?: ParametricMonitoringConfiguration } -export const ParametricConfigurationOverrides = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({applicationConfiguration: S.optional(ConfigurationList), monitoringConfiguration: S.optional(ParametricMonitoringConfiguration)})).annotate({ identifier: "ParametricConfigurationOverrides" }) as any as S.Schema; +export const ConfigurationList = /*@__PURE__*/ /*#__PURE__*/ S.Array( + S.suspend((): S.Schema => Configuration).annotate({ + identifier: "Configuration", + }), +) as any as S.Schema; +export interface ParametricCloudWatchMonitoringConfiguration { + logGroupName?: string; + logStreamNamePrefix?: string; +} +export const ParametricCloudWatchMonitoringConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + logGroupName: S.optional(S.String), + logStreamNamePrefix: S.optional(S.String), + }), + ).annotate({ + identifier: "ParametricCloudWatchMonitoringConfiguration", + }) as any as S.Schema; +export interface ParametricS3MonitoringConfiguration { + logUri?: string; +} +export const ParametricS3MonitoringConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ logUri: S.optional(S.String) }), + ).annotate({ + identifier: "ParametricS3MonitoringConfiguration", + }) as any as S.Schema; +export interface ParametricMonitoringConfiguration { + persistentAppUI?: string; + cloudWatchMonitoringConfiguration?: ParametricCloudWatchMonitoringConfiguration; + s3MonitoringConfiguration?: ParametricS3MonitoringConfiguration; +} +export const ParametricMonitoringConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + persistentAppUI: S.optional(S.String), + cloudWatchMonitoringConfiguration: S.optional( + ParametricCloudWatchMonitoringConfiguration, + ), + s3MonitoringConfiguration: S.optional( + ParametricS3MonitoringConfiguration, + ), + }), + ).annotate({ + identifier: "ParametricMonitoringConfiguration", + }) as any as S.Schema; +export interface ParametricConfigurationOverrides { + applicationConfiguration?: Configuration[]; + monitoringConfiguration?: ParametricMonitoringConfiguration; +} +export const ParametricConfigurationOverrides = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + applicationConfiguration: S.optional(ConfigurationList), + monitoringConfiguration: S.optional(ParametricMonitoringConfiguration), + }), + ).annotate({ + identifier: "ParametricConfigurationOverrides", + }) as any as S.Schema; export type EntryPointArguments = (string | redacted.Redacted)[]; -export const EntryPointArguments = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); -export interface SparkSubmitJobDriver { entryPoint: string | redacted.Redacted; entryPointArguments?: (string | redacted.Redacted)[]; sparkSubmitParameters?: string | redacted.Redacted } -export const SparkSubmitJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({entryPoint: SensitiveString, entryPointArguments: S.optional(EntryPointArguments), sparkSubmitParameters: S.optional(SensitiveString)})).annotate({ identifier: "SparkSubmitJobDriver" }) as any as S.Schema; -export interface SparkSqlJobDriver { entryPoint?: string | redacted.Redacted; sparkSqlParameters?: string | redacted.Redacted } -export const SparkSqlJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({entryPoint: S.optional(SensitiveString), sparkSqlParameters: S.optional(SensitiveString)})).annotate({ identifier: "SparkSqlJobDriver" }) as any as S.Schema; -export interface JobDriver { sparkSubmitJobDriver?: SparkSubmitJobDriver; sparkSqlJobDriver?: SparkSqlJobDriver } -export const JobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({sparkSubmitJobDriver: S.optional(SparkSubmitJobDriver), sparkSqlJobDriver: S.optional(SparkSqlJobDriver)})).annotate({ identifier: "JobDriver" }) as any as S.Schema; -export type TemplateParameterDataType = - | "NUMBER" - | "STRING" - | (string & {}); +export const EntryPointArguments = + /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); +export interface SparkSubmitJobDriver { + entryPoint: string | redacted.Redacted; + entryPointArguments?: (string | redacted.Redacted)[]; + sparkSubmitParameters?: string | redacted.Redacted; +} +export const SparkSubmitJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + entryPoint: SensitiveString, + entryPointArguments: S.optional(EntryPointArguments), + sparkSubmitParameters: S.optional(SensitiveString), + }), +).annotate({ + identifier: "SparkSubmitJobDriver", +}) as any as S.Schema; +export interface SparkSqlJobDriver { + entryPoint?: string | redacted.Redacted; + sparkSqlParameters?: string | redacted.Redacted; +} +export const SparkSqlJobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + entryPoint: S.optional(SensitiveString), + sparkSqlParameters: S.optional(SensitiveString), + }), +).annotate({ + identifier: "SparkSqlJobDriver", +}) as any as S.Schema; +export interface JobDriver { + sparkSubmitJobDriver?: SparkSubmitJobDriver; + sparkSqlJobDriver?: SparkSqlJobDriver; +} +export const JobDriver = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + sparkSubmitJobDriver: S.optional(SparkSubmitJobDriver), + sparkSqlJobDriver: S.optional(SparkSqlJobDriver), + }), +).annotate({ identifier: "JobDriver" }) as any as S.Schema; +export type TemplateParameterDataType = "NUMBER" | "STRING" | (string & {}); export const TemplateParameterDataType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface TemplateParameterConfiguration { type?: TemplateParameterDataType; defaultValue?: string } -export const TemplateParameterConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({type: S.optional(TemplateParameterDataType), defaultValue: S.optional(S.String)})).annotate({ identifier: "TemplateParameterConfiguration" }) as any as S.Schema; -export type TemplateParameterConfigurationMap = { [key: string]: TemplateParameterConfiguration | undefined }; -export const TemplateParameterConfigurationMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, TemplateParameterConfiguration.pipe(S.optional)); +export interface TemplateParameterConfiguration { + type?: TemplateParameterDataType; + defaultValue?: string; +} +export const TemplateParameterConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + type: S.optional(TemplateParameterDataType), + defaultValue: S.optional(S.String), + }), + ).annotate({ + identifier: "TemplateParameterConfiguration", + }) as any as S.Schema; +export type TemplateParameterConfigurationMap = { + [key: string]: TemplateParameterConfiguration | undefined; +}; +export const TemplateParameterConfigurationMap = + /*@__PURE__*/ /*#__PURE__*/ S.Record( + S.String, + TemplateParameterConfiguration.pipe(S.optional), + ); export type TagMap = { [key: string]: string | undefined }; -export const TagMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); -export interface JobTemplateData { executionRoleArn: string; releaseLabel: string; configurationOverrides?: ParametricConfigurationOverrides; jobDriver: JobDriver; parameterConfiguration?: { [key: string]: TemplateParameterConfiguration | undefined }; jobTags?: { [key: string]: string | undefined } } -export const JobTemplateData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({executionRoleArn: S.String, releaseLabel: S.String, configurationOverrides: S.optional(ParametricConfigurationOverrides), jobDriver: JobDriver, parameterConfiguration: S.optional(TemplateParameterConfigurationMap), jobTags: S.optional(TagMap)})).annotate({ identifier: "JobTemplateData" }) as any as S.Schema; -export interface CreateJobTemplateRequest { name: string; clientToken: string; jobTemplateData: JobTemplateData; tags?: { [key: string]: string | undefined }; kmsKeyArn?: string } -export const CreateJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.String, clientToken: S.String.pipe(T.IdempotencyToken()), jobTemplateData: JobTemplateData, tags: S.optional(TagMap), kmsKeyArn: S.optional(S.String)}).pipe(T.all(T.Http({ method: "POST", uri: "/jobtemplates" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateJobTemplateRequest" }) as any as S.Schema; -export interface CreateJobTemplateResponse { id?: string; name?: string; arn?: string; createdAt?: Date } -export const CreateJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time")))})).annotate({ identifier: "CreateJobTemplateResponse" }) as any as S.Schema; -export type AllowAWSToRetainLogs = - | "ENABLED" - | "DISABLED" - | (string & {}); +export const TagMap = /*@__PURE__*/ /*#__PURE__*/ S.Record( + S.String, + S.String.pipe(S.optional), +); +export interface JobTemplateData { + executionRoleArn: string; + releaseLabel: string; + configurationOverrides?: ParametricConfigurationOverrides; + jobDriver: JobDriver; + parameterConfiguration?: { + [key: string]: TemplateParameterConfiguration | undefined; + }; + jobTags?: { [key: string]: string | undefined }; +} +export const JobTemplateData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + executionRoleArn: S.String, + releaseLabel: S.String, + configurationOverrides: S.optional(ParametricConfigurationOverrides), + jobDriver: JobDriver, + parameterConfiguration: S.optional(TemplateParameterConfigurationMap), + jobTags: S.optional(TagMap), + }), +).annotate({ + identifier: "JobTemplateData", +}) as any as S.Schema; +export interface CreateJobTemplateRequest { + name: string; + clientToken: string; + jobTemplateData: JobTemplateData; + tags?: { [key: string]: string | undefined }; + kmsKeyArn?: string; +} +export const CreateJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + name: S.String, + clientToken: S.String.pipe(T.IdempotencyToken()), + jobTemplateData: JobTemplateData, + tags: S.optional(TagMap), + kmsKeyArn: S.optional(S.String), + }).pipe( + T.all( + T.Http({ method: "POST", uri: "/jobtemplates" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "CreateJobTemplateRequest", +}) as any as S.Schema; +export interface CreateJobTemplateResponse { + id?: string; + name?: string; + arn?: string; + createdAt?: Date; +} +export const CreateJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + createdAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + }), +).annotate({ + identifier: "CreateJobTemplateResponse", +}) as any as S.Schema; +export type AllowAWSToRetainLogs = "ENABLED" | "DISABLED" | (string & {}); export const AllowAWSToRetainLogs = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface ManagedLogs { allowAWSToRetainLogs?: AllowAWSToRetainLogs; encryptionKeyArn?: string } -export const ManagedLogs = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({allowAWSToRetainLogs: S.optional(AllowAWSToRetainLogs), encryptionKeyArn: S.optional(S.String)})).annotate({ identifier: "ManagedLogs" }) as any as S.Schema; -export type PersistentAppUI = - | "ENABLED" - | "DISABLED" - | (string & {}); +export interface ManagedLogs { + allowAWSToRetainLogs?: AllowAWSToRetainLogs; + encryptionKeyArn?: string; +} +export const ManagedLogs = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + allowAWSToRetainLogs: S.optional(AllowAWSToRetainLogs), + encryptionKeyArn: S.optional(S.String), + }), +).annotate({ identifier: "ManagedLogs" }) as any as S.Schema; +export type PersistentAppUI = "ENABLED" | "DISABLED" | (string & {}); export const PersistentAppUI = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface CloudWatchMonitoringConfiguration { logGroupName: string; logStreamNamePrefix?: string } -export const CloudWatchMonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logGroupName: S.String, logStreamNamePrefix: S.optional(S.String)})).annotate({ identifier: "CloudWatchMonitoringConfiguration" }) as any as S.Schema; -export interface S3MonitoringConfiguration { logUri: string } -export const S3MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({logUri: S.String})).annotate({ identifier: "S3MonitoringConfiguration" }) as any as S.Schema; -export interface ContainerLogRotationConfiguration { rotationSize: string; maxFilesToKeep: number } -export const ContainerLogRotationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({rotationSize: S.String, maxFilesToKeep: S.Number})).annotate({ identifier: "ContainerLogRotationConfiguration" }) as any as S.Schema; -export interface MonitoringConfiguration { managedLogs?: ManagedLogs; persistentAppUI?: PersistentAppUI; cloudWatchMonitoringConfiguration?: CloudWatchMonitoringConfiguration; s3MonitoringConfiguration?: S3MonitoringConfiguration; containerLogRotationConfiguration?: ContainerLogRotationConfiguration } -export const MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({managedLogs: S.optional(ManagedLogs), persistentAppUI: S.optional(PersistentAppUI), cloudWatchMonitoringConfiguration: S.optional(CloudWatchMonitoringConfiguration), s3MonitoringConfiguration: S.optional(S3MonitoringConfiguration), containerLogRotationConfiguration: S.optional(ContainerLogRotationConfiguration)})).annotate({ identifier: "MonitoringConfiguration" }) as any as S.Schema; -export interface ConfigurationOverrides { applicationConfiguration?: Configuration[]; monitoringConfiguration?: MonitoringConfiguration } -export const ConfigurationOverrides = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({applicationConfiguration: S.optional(ConfigurationList), monitoringConfiguration: S.optional(MonitoringConfiguration)})).annotate({ identifier: "ConfigurationOverrides" }) as any as S.Schema; -export interface CreateManagedEndpointRequest { name: string; virtualClusterId: string; type: string; releaseLabel: string; executionRoleArn: string; certificateArn?: string; configurationOverrides?: ConfigurationOverrides; clientToken: string; tags?: { [key: string]: string | undefined } } -export const CreateManagedEndpointRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.String, virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), type: S.String, releaseLabel: S.String, executionRoleArn: S.String, certificateArn: S.optional(S.String), configurationOverrides: S.optional(ConfigurationOverrides), clientToken: S.String.pipe(T.IdempotencyToken()), tags: S.optional(TagMap)}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters/{virtualClusterId}/endpoints" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateManagedEndpointRequest" }) as any as S.Schema; -export interface CreateManagedEndpointResponse { id?: string; name?: string; arn?: string; virtualClusterId?: string } -export const CreateManagedEndpointResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "CreateManagedEndpointResponse" }) as any as S.Schema; -export type ContainerProviderType = - | "EKS" - | (string & {}); +export interface CloudWatchMonitoringConfiguration { + logGroupName: string; + logStreamNamePrefix?: string; +} +export const CloudWatchMonitoringConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + logGroupName: S.String, + logStreamNamePrefix: S.optional(S.String), + }), + ).annotate({ + identifier: "CloudWatchMonitoringConfiguration", + }) as any as S.Schema; +export interface S3MonitoringConfiguration { + logUri: string; +} +export const S3MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => S.Struct({ logUri: S.String }), +).annotate({ + identifier: "S3MonitoringConfiguration", +}) as any as S.Schema; +export interface ContainerLogRotationConfiguration { + rotationSize: string; + maxFilesToKeep: number; +} +export const ContainerLogRotationConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ rotationSize: S.String, maxFilesToKeep: S.Number }), + ).annotate({ + identifier: "ContainerLogRotationConfiguration", + }) as any as S.Schema; +export interface MonitoringConfiguration { + managedLogs?: ManagedLogs; + persistentAppUI?: PersistentAppUI; + cloudWatchMonitoringConfiguration?: CloudWatchMonitoringConfiguration; + s3MonitoringConfiguration?: S3MonitoringConfiguration; + containerLogRotationConfiguration?: ContainerLogRotationConfiguration; +} +export const MonitoringConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + managedLogs: S.optional(ManagedLogs), + persistentAppUI: S.optional(PersistentAppUI), + cloudWatchMonitoringConfiguration: S.optional( + CloudWatchMonitoringConfiguration, + ), + s3MonitoringConfiguration: S.optional(S3MonitoringConfiguration), + containerLogRotationConfiguration: S.optional( + ContainerLogRotationConfiguration, + ), + }), +).annotate({ + identifier: "MonitoringConfiguration", +}) as any as S.Schema; +export interface ConfigurationOverrides { + applicationConfiguration?: Configuration[]; + monitoringConfiguration?: MonitoringConfiguration; +} +export const ConfigurationOverrides = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + applicationConfiguration: S.optional(ConfigurationList), + monitoringConfiguration: S.optional(MonitoringConfiguration), + }), +).annotate({ + identifier: "ConfigurationOverrides", +}) as any as S.Schema; +export interface CreateManagedEndpointRequest { + name: string; + virtualClusterId: string; + type: string; + releaseLabel: string; + executionRoleArn: string; + certificateArn?: string; + configurationOverrides?: ConfigurationOverrides; + clientToken: string; + tags?: { [key: string]: string | undefined }; +} +export const CreateManagedEndpointRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + name: S.String, + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + type: S.String, + releaseLabel: S.String, + executionRoleArn: S.String, + certificateArn: S.optional(S.String), + configurationOverrides: S.optional(ConfigurationOverrides), + clientToken: S.String.pipe(T.IdempotencyToken()), + tags: S.optional(TagMap), + }).pipe( + T.all( + T.Http({ + method: "POST", + uri: "/virtualclusters/{virtualClusterId}/endpoints", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "CreateManagedEndpointRequest", + }) as any as S.Schema; +export interface CreateManagedEndpointResponse { + id?: string; + name?: string; + arn?: string; + virtualClusterId?: string; +} +export const CreateManagedEndpointResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + virtualClusterId: S.optional(S.String), + }), + ).annotate({ + identifier: "CreateManagedEndpointResponse", + }) as any as S.Schema; +export type ContainerProviderType = "EKS" | (string & {}); export const ContainerProviderType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface EksInfo { namespace?: string; nodeLabel?: string } -export const EksInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({namespace: S.optional(S.String), nodeLabel: S.optional(S.String)})).annotate({ identifier: "EksInfo" }) as any as S.Schema; +export interface EksInfo { + namespace?: string; + nodeLabel?: string; +} +export const EksInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + namespace: S.optional(S.String), + nodeLabel: S.optional(S.String), + }), +).annotate({ identifier: "EksInfo" }) as any as S.Schema; export type ContainerInfo = { eksInfo: EksInfo }; -export const ContainerInfo = /*@__PURE__*/ /*#__PURE__*/ S.Union([S.Struct({ eksInfo: EksInfo })]); -export interface ContainerProvider { type: ContainerProviderType; id: string; info?: ContainerInfo } -export const ContainerProvider = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({type: ContainerProviderType, id: S.String, info: S.optional(ContainerInfo)})).annotate({ identifier: "ContainerProvider" }) as any as S.Schema; -export interface SecureNamespaceInfo { clusterId?: string; namespace?: string } -export const SecureNamespaceInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({clusterId: S.optional(S.String), namespace: S.optional(S.String)})).annotate({ identifier: "SecureNamespaceInfo" }) as any as S.Schema; -export interface LakeFormationConfiguration { authorizedSessionTagValue?: string; secureNamespaceInfo?: SecureNamespaceInfo; queryEngineRoleArn?: string } -export const LakeFormationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({authorizedSessionTagValue: S.optional(S.String), secureNamespaceInfo: S.optional(SecureNamespaceInfo), queryEngineRoleArn: S.optional(S.String)})).annotate({ identifier: "LakeFormationConfiguration" }) as any as S.Schema; -export type CertificateProviderType = - | "PEM" - | (string & {}); +export const ContainerInfo = /*@__PURE__*/ /*#__PURE__*/ S.Union([ + S.Struct({ eksInfo: EksInfo }), +]); +export interface ContainerProvider { + type: ContainerProviderType; + id: string; + info?: ContainerInfo; +} +export const ContainerProvider = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + type: ContainerProviderType, + id: S.String, + info: S.optional(ContainerInfo), + }), +).annotate({ + identifier: "ContainerProvider", +}) as any as S.Schema; +export interface SecureNamespaceInfo { + clusterId?: string; + namespace?: string; +} +export const SecureNamespaceInfo = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + clusterId: S.optional(S.String), + namespace: S.optional(S.String), + }), +).annotate({ + identifier: "SecureNamespaceInfo", +}) as any as S.Schema; +export interface LakeFormationConfiguration { + authorizedSessionTagValue?: string; + secureNamespaceInfo?: SecureNamespaceInfo; + queryEngineRoleArn?: string; +} +export const LakeFormationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + authorizedSessionTagValue: S.optional(S.String), + secureNamespaceInfo: S.optional(SecureNamespaceInfo), + queryEngineRoleArn: S.optional(S.String), + }), +).annotate({ + identifier: "LakeFormationConfiguration", +}) as any as S.Schema; +export type CertificateProviderType = "PEM" | (string & {}); export const CertificateProviderType = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface TLSCertificateConfiguration { certificateProviderType?: CertificateProviderType; publicCertificateSecretArn?: string; privateCertificateSecretArn?: string } -export const TLSCertificateConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({certificateProviderType: S.optional(CertificateProviderType), publicCertificateSecretArn: S.optional(S.String), privateCertificateSecretArn: S.optional(S.String)})).annotate({ identifier: "TLSCertificateConfiguration" }) as any as S.Schema; -export interface InTransitEncryptionConfiguration { tlsCertificateConfiguration?: TLSCertificateConfiguration } -export const InTransitEncryptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({tlsCertificateConfiguration: S.optional(TLSCertificateConfiguration)})).annotate({ identifier: "InTransitEncryptionConfiguration" }) as any as S.Schema; -export interface EncryptionConfiguration { inTransitEncryptionConfiguration?: InTransitEncryptionConfiguration } -export const EncryptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({inTransitEncryptionConfiguration: S.optional(InTransitEncryptionConfiguration)})).annotate({ identifier: "EncryptionConfiguration" }) as any as S.Schema; -export interface AuthorizationConfiguration { lakeFormationConfiguration?: LakeFormationConfiguration; encryptionConfiguration?: EncryptionConfiguration } -export const AuthorizationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({lakeFormationConfiguration: S.optional(LakeFormationConfiguration), encryptionConfiguration: S.optional(EncryptionConfiguration)})).annotate({ identifier: "AuthorizationConfiguration" }) as any as S.Schema; -export interface SecurityConfigurationData { authorizationConfiguration?: AuthorizationConfiguration } -export const SecurityConfigurationData = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({authorizationConfiguration: S.optional(AuthorizationConfiguration)})).annotate({ identifier: "SecurityConfigurationData" }) as any as S.Schema; -export interface CreateSecurityConfigurationRequest { clientToken: string; name: string; containerProvider?: ContainerProvider; securityConfigurationData: SecurityConfigurationData; tags?: { [key: string]: string | undefined } } -export const CreateSecurityConfigurationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({clientToken: S.String.pipe(T.IdempotencyToken()), name: S.String, containerProvider: S.optional(ContainerProvider), securityConfigurationData: SecurityConfigurationData, tags: S.optional(TagMap)}).pipe(T.all(T.Http({ method: "POST", uri: "/securityconfigurations" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateSecurityConfigurationRequest" }) as any as S.Schema; -export interface CreateSecurityConfigurationResponse { id?: string; name?: string; arn?: string } -export const CreateSecurityConfigurationResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String)})).annotate({ identifier: "CreateSecurityConfigurationResponse" }) as any as S.Schema; -export interface CreateVirtualClusterRequest { name: string; containerProvider: ContainerProvider; clientToken: string; tags?: { [key: string]: string | undefined }; securityConfigurationId?: string } -export const CreateVirtualClusterRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.String, containerProvider: ContainerProvider, clientToken: S.String.pipe(T.IdempotencyToken()), tags: S.optional(TagMap), securityConfigurationId: S.optional(S.String)}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters" }), svc, auth, proto, ver, rules))).annotate({ identifier: "CreateVirtualClusterRequest" }) as any as S.Schema; -export interface CreateVirtualClusterResponse { id?: string; name?: string; arn?: string } -export const CreateVirtualClusterResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String)})).annotate({ identifier: "CreateVirtualClusterResponse" }) as any as S.Schema; -export interface DeleteJobTemplateRequest { id: string } -export const DeleteJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/jobtemplates/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DeleteJobTemplateRequest" }) as any as S.Schema; -export interface DeleteJobTemplateResponse { id?: string } -export const DeleteJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String)})).annotate({ identifier: "DeleteJobTemplateResponse" }) as any as S.Schema; -export interface DeleteManagedEndpointRequest { id: string; virtualClusterId: string } -export const DeleteManagedEndpointRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DeleteManagedEndpointRequest" }) as any as S.Schema; -export interface DeleteManagedEndpointResponse { id?: string; virtualClusterId?: string } -export const DeleteManagedEndpointResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "DeleteManagedEndpointResponse" }) as any as S.Schema; -export interface DeleteVirtualClusterRequest { id: string } -export const DeleteVirtualClusterRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/virtualclusters/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DeleteVirtualClusterRequest" }) as any as S.Schema; -export interface DeleteVirtualClusterResponse { id?: string } -export const DeleteVirtualClusterResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String)})).annotate({ identifier: "DeleteVirtualClusterResponse" }) as any as S.Schema; -export interface DescribeJobRunRequest { id: string; virtualClusterId: string } -export const DescribeJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeJobRunRequest" }) as any as S.Schema; +export interface TLSCertificateConfiguration { + certificateProviderType?: CertificateProviderType; + publicCertificateSecretArn?: string; + privateCertificateSecretArn?: string; +} +export const TLSCertificateConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + certificateProviderType: S.optional(CertificateProviderType), + publicCertificateSecretArn: S.optional(S.String), + privateCertificateSecretArn: S.optional(S.String), + }), + ).annotate({ + identifier: "TLSCertificateConfiguration", + }) as any as S.Schema; +export interface InTransitEncryptionConfiguration { + tlsCertificateConfiguration?: TLSCertificateConfiguration; +} +export const InTransitEncryptionConfiguration = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + tlsCertificateConfiguration: S.optional(TLSCertificateConfiguration), + }), + ).annotate({ + identifier: "InTransitEncryptionConfiguration", + }) as any as S.Schema; +export interface EncryptionConfiguration { + inTransitEncryptionConfiguration?: InTransitEncryptionConfiguration; +} +export const EncryptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + inTransitEncryptionConfiguration: S.optional( + InTransitEncryptionConfiguration, + ), + }), +).annotate({ + identifier: "EncryptionConfiguration", +}) as any as S.Schema; +export interface AuthorizationConfiguration { + lakeFormationConfiguration?: LakeFormationConfiguration; + encryptionConfiguration?: EncryptionConfiguration; +} +export const AuthorizationConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + lakeFormationConfiguration: S.optional(LakeFormationConfiguration), + encryptionConfiguration: S.optional(EncryptionConfiguration), + }), +).annotate({ + identifier: "AuthorizationConfiguration", +}) as any as S.Schema; +export interface SecurityConfigurationData { + authorizationConfiguration?: AuthorizationConfiguration; +} +export const SecurityConfigurationData = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + authorizationConfiguration: S.optional(AuthorizationConfiguration), + }), +).annotate({ + identifier: "SecurityConfigurationData", +}) as any as S.Schema; +export interface CreateSecurityConfigurationRequest { + clientToken: string; + name: string; + containerProvider?: ContainerProvider; + securityConfigurationData: SecurityConfigurationData; + tags?: { [key: string]: string | undefined }; +} +export const CreateSecurityConfigurationRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + clientToken: S.String.pipe(T.IdempotencyToken()), + name: S.String, + containerProvider: S.optional(ContainerProvider), + securityConfigurationData: SecurityConfigurationData, + tags: S.optional(TagMap), + }).pipe( + T.all( + T.Http({ method: "POST", uri: "/securityconfigurations" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "CreateSecurityConfigurationRequest", + }) as any as S.Schema; +export interface CreateSecurityConfigurationResponse { + id?: string; + name?: string; + arn?: string; +} +export const CreateSecurityConfigurationResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + }), + ).annotate({ + identifier: "CreateSecurityConfigurationResponse", + }) as any as S.Schema; +export interface CreateVirtualClusterRequest { + name: string; + containerProvider: ContainerProvider; + clientToken: string; + tags?: { [key: string]: string | undefined }; + securityConfigurationId?: string; +} +export const CreateVirtualClusterRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + name: S.String, + containerProvider: ContainerProvider, + clientToken: S.String.pipe(T.IdempotencyToken()), + tags: S.optional(TagMap), + securityConfigurationId: S.optional(S.String), + }).pipe( + T.all( + T.Http({ method: "POST", uri: "/virtualclusters" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "CreateVirtualClusterRequest", + }) as any as S.Schema; +export interface CreateVirtualClusterResponse { + id?: string; + name?: string; + arn?: string; +} +export const CreateVirtualClusterResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + }), + ).annotate({ + identifier: "CreateVirtualClusterResponse", + }) as any as S.Schema; +export interface DeleteJobTemplateRequest { + id: string; +} +export const DeleteJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( + T.all( + T.Http({ method: "DELETE", uri: "/jobtemplates/{id}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "DeleteJobTemplateRequest", +}) as any as S.Schema; +export interface DeleteJobTemplateResponse { + id?: string; +} +export const DeleteJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => S.Struct({ id: S.optional(S.String) }), +).annotate({ + identifier: "DeleteJobTemplateResponse", +}) as any as S.Schema; +export interface DeleteManagedEndpointRequest { + id: string; + virtualClusterId: string; +} +export const DeleteManagedEndpointRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.String.pipe(T.HttpLabel("id")), + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "DeleteManagedEndpointRequest", + }) as any as S.Schema; +export interface DeleteManagedEndpointResponse { + id?: string; + virtualClusterId?: string; +} +export const DeleteManagedEndpointResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + virtualClusterId: S.optional(S.String), + }), + ).annotate({ + identifier: "DeleteManagedEndpointResponse", + }) as any as S.Schema; +export interface DeleteVirtualClusterRequest { + id: string; +} +export const DeleteVirtualClusterRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( + T.all( + T.Http({ method: "DELETE", uri: "/virtualclusters/{id}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "DeleteVirtualClusterRequest", + }) as any as S.Schema; +export interface DeleteVirtualClusterResponse { + id?: string; +} +export const DeleteVirtualClusterResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ id: S.optional(S.String) }), + ).annotate({ + identifier: "DeleteVirtualClusterResponse", + }) as any as S.Schema; +export interface DescribeJobRunRequest { + id: string; + virtualClusterId: string; +} +export const DescribeJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.String.pipe(T.HttpLabel("id")), + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/virtualclusters/{virtualClusterId}/jobruns/{id}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "DescribeJobRunRequest", +}) as any as S.Schema; export type JobRunState = | "PENDING" | "SUBMITTED" @@ -242,22 +866,154 @@ export type FailureReason = | "CLUSTER_UNAVAILABLE" | (string & {}); export const FailureReason = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface RetryPolicyConfiguration { maxAttempts: number } -export const RetryPolicyConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({maxAttempts: S.Number})).annotate({ identifier: "RetryPolicyConfiguration" }) as any as S.Schema; -export interface RetryPolicyExecution { currentAttemptCount: number } -export const RetryPolicyExecution = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({currentAttemptCount: S.Number})).annotate({ identifier: "RetryPolicyExecution" }) as any as S.Schema; -export interface JobRun { id?: string; name?: string; virtualClusterId?: string; arn?: string; state?: JobRunState; clientToken?: string; executionRoleArn?: string; releaseLabel?: string; configurationOverrides?: ConfigurationOverrides; jobDriver?: JobDriver; createdAt?: Date; createdBy?: string; finishedAt?: Date; stateDetails?: string; failureReason?: FailureReason; tags?: { [key: string]: string | undefined }; retryPolicyConfiguration?: RetryPolicyConfiguration; retryPolicyExecution?: RetryPolicyExecution } -export const JobRun = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), virtualClusterId: S.optional(S.String), arn: S.optional(S.String), state: S.optional(JobRunState), clientToken: S.optional(S.String), executionRoleArn: S.optional(S.String), releaseLabel: S.optional(S.String), configurationOverrides: S.optional(ConfigurationOverrides), jobDriver: S.optional(JobDriver), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), createdBy: S.optional(S.String), finishedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), stateDetails: S.optional(S.String), failureReason: S.optional(FailureReason), tags: S.optional(TagMap), retryPolicyConfiguration: S.optional(RetryPolicyConfiguration), retryPolicyExecution: S.optional(RetryPolicyExecution)})).annotate({ identifier: "JobRun" }) as any as S.Schema; -export interface DescribeJobRunResponse { jobRun?: JobRun } -export const DescribeJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({jobRun: S.optional(JobRun)})).annotate({ identifier: "DescribeJobRunResponse" }) as any as S.Schema; -export interface DescribeJobTemplateRequest { id: string } -export const DescribeJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "GET", uri: "/jobtemplates/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeJobTemplateRequest" }) as any as S.Schema; -export interface JobTemplate { name?: string; id?: string; arn?: string; createdAt?: Date; createdBy?: string; tags?: { [key: string]: string | undefined }; jobTemplateData: JobTemplateData; kmsKeyArn?: string; decryptionError?: string } -export const JobTemplate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.optional(S.String), id: S.optional(S.String), arn: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), createdBy: S.optional(S.String), tags: S.optional(TagMap), jobTemplateData: JobTemplateData, kmsKeyArn: S.optional(S.String), decryptionError: S.optional(S.String)})).annotate({ identifier: "JobTemplate" }) as any as S.Schema; -export interface DescribeJobTemplateResponse { jobTemplate?: JobTemplate } -export const DescribeJobTemplateResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({jobTemplate: S.optional(JobTemplate)})).annotate({ identifier: "DescribeJobTemplateResponse" }) as any as S.Schema; -export interface DescribeManagedEndpointRequest { id: string; virtualClusterId: string } -export const DescribeManagedEndpointRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id")), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeManagedEndpointRequest" }) as any as S.Schema; +export interface RetryPolicyConfiguration { + maxAttempts: number; +} +export const RetryPolicyConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => S.Struct({ maxAttempts: S.Number }), +).annotate({ + identifier: "RetryPolicyConfiguration", +}) as any as S.Schema; +export interface RetryPolicyExecution { + currentAttemptCount: number; +} +export const RetryPolicyExecution = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ currentAttemptCount: S.Number }), +).annotate({ + identifier: "RetryPolicyExecution", +}) as any as S.Schema; +export interface JobRun { + id?: string; + name?: string; + virtualClusterId?: string; + arn?: string; + state?: JobRunState; + clientToken?: string; + executionRoleArn?: string; + releaseLabel?: string; + configurationOverrides?: ConfigurationOverrides; + jobDriver?: JobDriver; + createdAt?: Date; + createdBy?: string; + finishedAt?: Date; + stateDetails?: string; + failureReason?: FailureReason; + tags?: { [key: string]: string | undefined }; + retryPolicyConfiguration?: RetryPolicyConfiguration; + retryPolicyExecution?: RetryPolicyExecution; +} +export const JobRun = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + virtualClusterId: S.optional(S.String), + arn: S.optional(S.String), + state: S.optional(JobRunState), + clientToken: S.optional(S.String), + executionRoleArn: S.optional(S.String), + releaseLabel: S.optional(S.String), + configurationOverrides: S.optional(ConfigurationOverrides), + jobDriver: S.optional(JobDriver), + createdAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + createdBy: S.optional(S.String), + finishedAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + stateDetails: S.optional(S.String), + failureReason: S.optional(FailureReason), + tags: S.optional(TagMap), + retryPolicyConfiguration: S.optional(RetryPolicyConfiguration), + retryPolicyExecution: S.optional(RetryPolicyExecution), + }), +).annotate({ identifier: "JobRun" }) as any as S.Schema; +export interface DescribeJobRunResponse { + jobRun?: JobRun; +} +export const DescribeJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => S.Struct({ jobRun: S.optional(JobRun) }), +).annotate({ + identifier: "DescribeJobRunResponse", +}) as any as S.Schema; +export interface DescribeJobTemplateRequest { + id: string; +} +export const DescribeJobTemplateRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( + T.all( + T.Http({ method: "GET", uri: "/jobtemplates/{id}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "DescribeJobTemplateRequest", +}) as any as S.Schema; +export interface JobTemplate { + name?: string; + id?: string; + arn?: string; + createdAt?: Date; + createdBy?: string; + tags?: { [key: string]: string | undefined }; + jobTemplateData: JobTemplateData; + kmsKeyArn?: string; + decryptionError?: string; +} +export const JobTemplate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + name: S.optional(S.String), + id: S.optional(S.String), + arn: S.optional(S.String), + createdAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + createdBy: S.optional(S.String), + tags: S.optional(TagMap), + jobTemplateData: JobTemplateData, + kmsKeyArn: S.optional(S.String), + decryptionError: S.optional(S.String), + }), +).annotate({ identifier: "JobTemplate" }) as any as S.Schema; +export interface DescribeJobTemplateResponse { + jobTemplate?: JobTemplate; +} +export const DescribeJobTemplateResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ jobTemplate: S.optional(JobTemplate) }), + ).annotate({ + identifier: "DescribeJobTemplateResponse", + }) as any as S.Schema; +export interface DescribeManagedEndpointRequest { + id: string; + virtualClusterId: string; +} +export const DescribeManagedEndpointRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.String.pipe(T.HttpLabel("id")), + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/virtualclusters/{virtualClusterId}/endpoints/{id}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "DescribeManagedEndpointRequest", + }) as any as S.Schema; export type EndpointState = | "CREATING" | "ACTIVE" @@ -266,22 +1022,140 @@ export type EndpointState = | "TERMINATED_WITH_ERRORS" | (string & {}); export const EndpointState = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface Certificate { certificateArn?: string; certificateData?: string } -export const Certificate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({certificateArn: S.optional(S.String), certificateData: S.optional(S.String)})).annotate({ identifier: "Certificate" }) as any as S.Schema; +export interface Certificate { + certificateArn?: string; + certificateData?: string; +} +export const Certificate = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + certificateArn: S.optional(S.String), + certificateData: S.optional(S.String), + }), +).annotate({ identifier: "Certificate" }) as any as S.Schema; export type SubnetIds = string[]; export const SubnetIds = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); -export interface Endpoint { id?: string; name?: string; arn?: string; virtualClusterId?: string; type?: string; state?: EndpointState; releaseLabel?: string; executionRoleArn?: string; certificateArn?: string; certificateAuthority?: Certificate; configurationOverrides?: ConfigurationOverrides; serverUrl?: string; createdAt?: Date; securityGroup?: string; subnetIds?: string[]; stateDetails?: string; failureReason?: FailureReason; tags?: { [key: string]: string | undefined } } -export const Endpoint = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), virtualClusterId: S.optional(S.String), type: S.optional(S.String), state: S.optional(EndpointState), releaseLabel: S.optional(S.String), executionRoleArn: S.optional(S.String), certificateArn: S.optional(S.String), certificateAuthority: S.optional(Certificate), configurationOverrides: S.optional(ConfigurationOverrides), serverUrl: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), securityGroup: S.optional(S.String), subnetIds: S.optional(SubnetIds), stateDetails: S.optional(S.String), failureReason: S.optional(FailureReason), tags: S.optional(TagMap)})).annotate({ identifier: "Endpoint" }) as any as S.Schema; -export interface DescribeManagedEndpointResponse { endpoint?: Endpoint } -export const DescribeManagedEndpointResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({endpoint: S.optional(Endpoint)})).annotate({ identifier: "DescribeManagedEndpointResponse" }) as any as S.Schema; -export interface DescribeSecurityConfigurationRequest { id: string } -export const DescribeSecurityConfigurationRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "GET", uri: "/securityconfigurations/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeSecurityConfigurationRequest" }) as any as S.Schema; -export interface SecurityConfiguration { id?: string; name?: string; arn?: string; createdAt?: Date; createdBy?: string; securityConfigurationData?: SecurityConfigurationData; tags?: { [key: string]: string | undefined } } -export const SecurityConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), createdBy: S.optional(S.String), securityConfigurationData: S.optional(SecurityConfigurationData), tags: S.optional(TagMap)})).annotate({ identifier: "SecurityConfiguration" }) as any as S.Schema; -export interface DescribeSecurityConfigurationResponse { securityConfiguration?: SecurityConfiguration } -export const DescribeSecurityConfigurationResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({securityConfiguration: S.optional(SecurityConfiguration)})).annotate({ identifier: "DescribeSecurityConfigurationResponse" }) as any as S.Schema; -export interface DescribeVirtualClusterRequest { id: string } -export const DescribeVirtualClusterRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.String.pipe(T.HttpLabel("id"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{id}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "DescribeVirtualClusterRequest" }) as any as S.Schema; +export interface Endpoint { + id?: string; + name?: string; + arn?: string; + virtualClusterId?: string; + type?: string; + state?: EndpointState; + releaseLabel?: string; + executionRoleArn?: string; + certificateArn?: string; + certificateAuthority?: Certificate; + configurationOverrides?: ConfigurationOverrides; + serverUrl?: string; + createdAt?: Date; + securityGroup?: string; + subnetIds?: string[]; + stateDetails?: string; + failureReason?: FailureReason; + tags?: { [key: string]: string | undefined }; +} +export const Endpoint = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + virtualClusterId: S.optional(S.String), + type: S.optional(S.String), + state: S.optional(EndpointState), + releaseLabel: S.optional(S.String), + executionRoleArn: S.optional(S.String), + certificateArn: S.optional(S.String), + certificateAuthority: S.optional(Certificate), + configurationOverrides: S.optional(ConfigurationOverrides), + serverUrl: S.optional(S.String), + createdAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + securityGroup: S.optional(S.String), + subnetIds: S.optional(SubnetIds), + stateDetails: S.optional(S.String), + failureReason: S.optional(FailureReason), + tags: S.optional(TagMap), + }), +).annotate({ identifier: "Endpoint" }) as any as S.Schema; +export interface DescribeManagedEndpointResponse { + endpoint?: Endpoint; +} +export const DescribeManagedEndpointResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ endpoint: S.optional(Endpoint) }), + ).annotate({ + identifier: "DescribeManagedEndpointResponse", + }) as any as S.Schema; +export interface DescribeSecurityConfigurationRequest { + id: string; +} +export const DescribeSecurityConfigurationRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( + T.all( + T.Http({ method: "GET", uri: "/securityconfigurations/{id}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "DescribeSecurityConfigurationRequest", + }) as any as S.Schema; +export interface SecurityConfiguration { + id?: string; + name?: string; + arn?: string; + createdAt?: Date; + createdBy?: string; + securityConfigurationData?: SecurityConfigurationData; + tags?: { [key: string]: string | undefined }; +} +export const SecurityConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + createdAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + createdBy: S.optional(S.String), + securityConfigurationData: S.optional(SecurityConfigurationData), + tags: S.optional(TagMap), + }), +).annotate({ + identifier: "SecurityConfiguration", +}) as any as S.Schema; +export interface DescribeSecurityConfigurationResponse { + securityConfiguration?: SecurityConfiguration; +} +export const DescribeSecurityConfigurationResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ securityConfiguration: S.optional(SecurityConfiguration) }), + ).annotate({ + identifier: "DescribeSecurityConfigurationResponse", + }) as any as S.Schema; +export interface DescribeVirtualClusterRequest { + id: string; +} +export const DescribeVirtualClusterRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ id: S.String.pipe(T.HttpLabel("id")) }).pipe( + T.all( + T.Http({ method: "GET", uri: "/virtualclusters/{id}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "DescribeVirtualClusterRequest", + }) as any as S.Schema; export type VirtualClusterState = | "RUNNING" | "TERMINATING" @@ -289,82 +1163,543 @@ export type VirtualClusterState = | "ARRESTED" | (string & {}); export const VirtualClusterState = /*@__PURE__*/ /*#__PURE__*/ S.String; -export interface VirtualCluster { id?: string; name?: string; arn?: string; state?: VirtualClusterState; containerProvider?: ContainerProvider; createdAt?: Date; tags?: { [key: string]: string | undefined }; securityConfigurationId?: string } -export const VirtualCluster = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), state: S.optional(VirtualClusterState), containerProvider: S.optional(ContainerProvider), createdAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))), tags: S.optional(TagMap), securityConfigurationId: S.optional(S.String)})).annotate({ identifier: "VirtualCluster" }) as any as S.Schema; -export interface DescribeVirtualClusterResponse { virtualCluster?: VirtualCluster } -export const DescribeVirtualClusterResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualCluster: S.optional(VirtualCluster)})).annotate({ identifier: "DescribeVirtualClusterResponse" }) as any as S.Schema; -export interface GetManagedEndpointSessionCredentialsRequest { endpointIdentifier: string; virtualClusterIdentifier: string; executionRoleArn: string; credentialType: string; durationInSeconds?: number; logContext?: string; clientToken?: string } -export const GetManagedEndpointSessionCredentialsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({endpointIdentifier: S.String.pipe(T.HttpLabel("endpointIdentifier")), virtualClusterIdentifier: S.String.pipe(T.HttpLabel("virtualClusterIdentifier")), executionRoleArn: S.String, credentialType: S.String, durationInSeconds: S.optional(S.Number), logContext: S.optional(S.String), clientToken: S.optional(S.String).pipe(T.IdempotencyToken())}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials" }), svc, auth, proto, ver, rules))).annotate({ identifier: "GetManagedEndpointSessionCredentialsRequest" }) as any as S.Schema; +export interface VirtualCluster { + id?: string; + name?: string; + arn?: string; + state?: VirtualClusterState; + containerProvider?: ContainerProvider; + createdAt?: Date; + tags?: { [key: string]: string | undefined }; + securityConfigurationId?: string; +} +export const VirtualCluster = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + state: S.optional(VirtualClusterState), + containerProvider: S.optional(ContainerProvider), + createdAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + tags: S.optional(TagMap), + securityConfigurationId: S.optional(S.String), + }), +).annotate({ identifier: "VirtualCluster" }) as any as S.Schema; +export interface DescribeVirtualClusterResponse { + virtualCluster?: VirtualCluster; +} +export const DescribeVirtualClusterResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ virtualCluster: S.optional(VirtualCluster) }), + ).annotate({ + identifier: "DescribeVirtualClusterResponse", + }) as any as S.Schema; +export interface GetManagedEndpointSessionCredentialsRequest { + endpointIdentifier: string; + virtualClusterIdentifier: string; + executionRoleArn: string; + credentialType: string; + durationInSeconds?: number; + logContext?: string; + clientToken?: string; +} +export const GetManagedEndpointSessionCredentialsRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + endpointIdentifier: S.String.pipe(T.HttpLabel("endpointIdentifier")), + virtualClusterIdentifier: S.String.pipe( + T.HttpLabel("virtualClusterIdentifier"), + ), + executionRoleArn: S.String, + credentialType: S.String, + durationInSeconds: S.optional(S.Number), + logContext: S.optional(S.String), + clientToken: S.optional(S.String).pipe(T.IdempotencyToken()), + }).pipe( + T.all( + T.Http({ + method: "POST", + uri: "/virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "GetManagedEndpointSessionCredentialsRequest", + }) as any as S.Schema; export type Credentials = { token: string | redacted.Redacted }; -export const Credentials = /*@__PURE__*/ /*#__PURE__*/ S.Union([S.Struct({ token: SensitiveString })]); -export interface GetManagedEndpointSessionCredentialsResponse { id?: string; credentials?: Credentials; expiresAt?: Date } -export const GetManagedEndpointSessionCredentialsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), credentials: S.optional(Credentials), expiresAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time")))})).annotate({ identifier: "GetManagedEndpointSessionCredentialsResponse" }) as any as S.Schema; +export const Credentials = /*@__PURE__*/ /*#__PURE__*/ S.Union([ + S.Struct({ token: SensitiveString }), +]); +export interface GetManagedEndpointSessionCredentialsResponse { + id?: string; + credentials?: Credentials; + expiresAt?: Date; +} +export const GetManagedEndpointSessionCredentialsResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + credentials: S.optional(Credentials), + expiresAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + }), + ).annotate({ + identifier: "GetManagedEndpointSessionCredentialsResponse", + }) as any as S.Schema; export type JobRunStates = JobRunState[]; export const JobRunStates = /*@__PURE__*/ /*#__PURE__*/ S.Array(JobRunState); -export interface ListJobRunsRequest { virtualClusterId: string; createdBefore?: Date; createdAfter?: Date; name?: string; states?: JobRunState[]; maxResults?: number; nextToken?: string } -export const ListJobRunsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), name: S.optional(S.String).pipe(T.HttpQuery("name")), states: S.optional(JobRunStates).pipe(T.HttpQuery("states")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/jobruns" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListJobRunsRequest" }) as any as S.Schema; +export interface ListJobRunsRequest { + virtualClusterId: string; + createdBefore?: Date; + createdAfter?: Date; + name?: string; + states?: JobRunState[]; + maxResults?: number; + nextToken?: string; +} +export const ListJobRunsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + createdBefore: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdBefore")), + createdAfter: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdAfter")), + name: S.optional(S.String).pipe(T.HttpQuery("name")), + states: S.optional(JobRunStates).pipe(T.HttpQuery("states")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/virtualclusters/{virtualClusterId}/jobruns", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "ListJobRunsRequest", +}) as any as S.Schema; export type JobRuns = JobRun[]; export const JobRuns = /*@__PURE__*/ /*#__PURE__*/ S.Array(JobRun); -export interface ListJobRunsResponse { jobRuns?: JobRun[]; nextToken?: string } -export const ListJobRunsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({jobRuns: S.optional(JobRuns), nextToken: S.optional(S.String)})).annotate({ identifier: "ListJobRunsResponse" }) as any as S.Schema; -export interface ListJobTemplatesRequest { createdAfter?: Date; createdBefore?: Date; maxResults?: number; nextToken?: string } -export const ListJobTemplatesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/jobtemplates" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListJobTemplatesRequest" }) as any as S.Schema; +export interface ListJobRunsResponse { + jobRuns?: JobRun[]; + nextToken?: string; +} +export const ListJobRunsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ jobRuns: S.optional(JobRuns), nextToken: S.optional(S.String) }), +).annotate({ + identifier: "ListJobRunsResponse", +}) as any as S.Schema; +export interface ListJobTemplatesRequest { + createdAfter?: Date; + createdBefore?: Date; + maxResults?: number; + nextToken?: string; +} +export const ListJobTemplatesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + createdAfter: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdAfter")), + createdBefore: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdBefore")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + }).pipe( + T.all( + T.Http({ method: "GET", uri: "/jobtemplates" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "ListJobTemplatesRequest", +}) as any as S.Schema; export type JobTemplates = JobTemplate[]; export const JobTemplates = /*@__PURE__*/ /*#__PURE__*/ S.Array(JobTemplate); -export interface ListJobTemplatesResponse { templates?: JobTemplate[]; nextToken?: string } -export const ListJobTemplatesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({templates: S.optional(JobTemplates), nextToken: S.optional(S.String)})).annotate({ identifier: "ListJobTemplatesResponse" }) as any as S.Schema; +export interface ListJobTemplatesResponse { + templates?: JobTemplate[]; + nextToken?: string; +} +export const ListJobTemplatesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + templates: S.optional(JobTemplates), + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListJobTemplatesResponse", +}) as any as S.Schema; export type EndpointTypes = string[]; export const EndpointTypes = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export type EndpointStates = EndpointState[]; -export const EndpointStates = /*@__PURE__*/ /*#__PURE__*/ S.Array(EndpointState); -export interface ListManagedEndpointsRequest { virtualClusterId: string; createdBefore?: Date; createdAfter?: Date; types?: string[]; states?: EndpointState[]; maxResults?: number; nextToken?: string } -export const ListManagedEndpointsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), types: S.optional(EndpointTypes).pipe(T.HttpQuery("types")), states: S.optional(EndpointStates).pipe(T.HttpQuery("states")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters/{virtualClusterId}/endpoints" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListManagedEndpointsRequest" }) as any as S.Schema; +export const EndpointStates = + /*@__PURE__*/ /*#__PURE__*/ S.Array(EndpointState); +export interface ListManagedEndpointsRequest { + virtualClusterId: string; + createdBefore?: Date; + createdAfter?: Date; + types?: string[]; + states?: EndpointState[]; + maxResults?: number; + nextToken?: string; +} +export const ListManagedEndpointsRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + createdBefore: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdBefore")), + createdAfter: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdAfter")), + types: S.optional(EndpointTypes).pipe(T.HttpQuery("types")), + states: S.optional(EndpointStates).pipe(T.HttpQuery("states")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/virtualclusters/{virtualClusterId}/endpoints", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "ListManagedEndpointsRequest", + }) as any as S.Schema; export type Endpoints = Endpoint[]; export const Endpoints = /*@__PURE__*/ /*#__PURE__*/ S.Array(Endpoint); -export interface ListManagedEndpointsResponse { endpoints?: Endpoint[]; nextToken?: string } -export const ListManagedEndpointsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({endpoints: S.optional(Endpoints), nextToken: S.optional(S.String)})).annotate({ identifier: "ListManagedEndpointsResponse" }) as any as S.Schema; -export interface ListSecurityConfigurationsRequest { createdAfter?: Date; createdBefore?: Date; maxResults?: number; nextToken?: string } -export const ListSecurityConfigurationsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken"))}).pipe(T.all(T.Http({ method: "GET", uri: "/securityconfigurations" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListSecurityConfigurationsRequest" }) as any as S.Schema; +export interface ListManagedEndpointsResponse { + endpoints?: Endpoint[]; + nextToken?: string; +} +export const ListManagedEndpointsResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + endpoints: S.optional(Endpoints), + nextToken: S.optional(S.String), + }), + ).annotate({ + identifier: "ListManagedEndpointsResponse", + }) as any as S.Schema; +export interface ListSecurityConfigurationsRequest { + createdAfter?: Date; + createdBefore?: Date; + maxResults?: number; + nextToken?: string; +} +export const ListSecurityConfigurationsRequest = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + createdAfter: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdAfter")), + createdBefore: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdBefore")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + }).pipe( + T.all( + T.Http({ method: "GET", uri: "/securityconfigurations" }), + svc, + auth, + proto, + ver, + rules, + ), + ), + ).annotate({ + identifier: "ListSecurityConfigurationsRequest", + }) as any as S.Schema; export type SecurityConfigurations = SecurityConfiguration[]; -export const SecurityConfigurations = /*@__PURE__*/ /*#__PURE__*/ S.Array(SecurityConfiguration); -export interface ListSecurityConfigurationsResponse { securityConfigurations?: SecurityConfiguration[]; nextToken?: string } -export const ListSecurityConfigurationsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({securityConfigurations: S.optional(SecurityConfigurations), nextToken: S.optional(S.String)})).annotate({ identifier: "ListSecurityConfigurationsResponse" }) as any as S.Schema; -export interface ListTagsForResourceRequest { resourceArn: string } -export const ListTagsForResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({resourceArn: S.String.pipe(T.HttpLabel("resourceArn"))}).pipe(T.all(T.Http({ method: "GET", uri: "/tags/{resourceArn}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListTagsForResourceRequest" }) as any as S.Schema; -export interface ListTagsForResourceResponse { tags?: { [key: string]: string | undefined } } -export const ListTagsForResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({tags: S.optional(TagMap)})).annotate({ identifier: "ListTagsForResourceResponse" }) as any as S.Schema; +export const SecurityConfigurations = /*@__PURE__*/ /*#__PURE__*/ S.Array( + SecurityConfiguration, +); +export interface ListSecurityConfigurationsResponse { + securityConfigurations?: SecurityConfiguration[]; + nextToken?: string; +} +export const ListSecurityConfigurationsResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + securityConfigurations: S.optional(SecurityConfigurations), + nextToken: S.optional(S.String), + }), + ).annotate({ + identifier: "ListSecurityConfigurationsResponse", + }) as any as S.Schema; +export interface ListTagsForResourceRequest { + resourceArn: string; +} +export const ListTagsForResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ resourceArn: S.String.pipe(T.HttpLabel("resourceArn")) }).pipe( + T.all( + T.Http({ method: "GET", uri: "/tags/{resourceArn}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "ListTagsForResourceRequest", +}) as any as S.Schema; +export interface ListTagsForResourceResponse { + tags?: { [key: string]: string | undefined }; +} +export const ListTagsForResourceResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ tags: S.optional(TagMap) }), + ).annotate({ + identifier: "ListTagsForResourceResponse", + }) as any as S.Schema; export type VirtualClusterStates = VirtualClusterState[]; -export const VirtualClusterStates = /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualClusterState); -export interface ListVirtualClustersRequest { containerProviderId?: string; containerProviderType?: ContainerProviderType; createdAfter?: Date; createdBefore?: Date; states?: VirtualClusterState[]; maxResults?: number; nextToken?: string; eksAccessEntryIntegrated?: boolean } -export const ListVirtualClustersRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({containerProviderId: S.optional(S.String).pipe(T.HttpQuery("containerProviderId")), containerProviderType: S.optional(ContainerProviderType).pipe(T.HttpQuery("containerProviderType")), createdAfter: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdAfter")), createdBefore: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))).pipe(T.HttpQuery("createdBefore")), states: S.optional(VirtualClusterStates).pipe(T.HttpQuery("states")), maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), eksAccessEntryIntegrated: S.optional(S.Boolean).pipe(T.HttpQuery("eksAccessEntryIntegrated"))}).pipe(T.all(T.Http({ method: "GET", uri: "/virtualclusters" }), svc, auth, proto, ver, rules))).annotate({ identifier: "ListVirtualClustersRequest" }) as any as S.Schema; +export const VirtualClusterStates = + /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualClusterState); +export interface ListVirtualClustersRequest { + containerProviderId?: string; + containerProviderType?: ContainerProviderType; + createdAfter?: Date; + createdBefore?: Date; + states?: VirtualClusterState[]; + maxResults?: number; + nextToken?: string; + eksAccessEntryIntegrated?: boolean; +} +export const ListVirtualClustersRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( + () => + S.Struct({ + containerProviderId: S.optional(S.String).pipe( + T.HttpQuery("containerProviderId"), + ), + containerProviderType: S.optional(ContainerProviderType).pipe( + T.HttpQuery("containerProviderType"), + ), + createdAfter: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdAfter")), + createdBefore: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ).pipe(T.HttpQuery("createdBefore")), + states: S.optional(VirtualClusterStates).pipe(T.HttpQuery("states")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + eksAccessEntryIntegrated: S.optional(S.Boolean).pipe( + T.HttpQuery("eksAccessEntryIntegrated"), + ), + }).pipe( + T.all( + T.Http({ method: "GET", uri: "/virtualclusters" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "ListVirtualClustersRequest", +}) as any as S.Schema; export type VirtualClusters = VirtualCluster[]; -export const VirtualClusters = /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualCluster); -export interface ListVirtualClustersResponse { virtualClusters?: VirtualCluster[]; nextToken?: string } -export const ListVirtualClustersResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({virtualClusters: S.optional(VirtualClusters), nextToken: S.optional(S.String)})).annotate({ identifier: "ListVirtualClustersResponse" }) as any as S.Schema; +export const VirtualClusters = + /*@__PURE__*/ /*#__PURE__*/ S.Array(VirtualCluster); +export interface ListVirtualClustersResponse { + virtualClusters?: VirtualCluster[]; + nextToken?: string; +} +export const ListVirtualClustersResponse = + /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + virtualClusters: S.optional(VirtualClusters), + nextToken: S.optional(S.String), + }), + ).annotate({ + identifier: "ListVirtualClustersResponse", + }) as any as S.Schema; export type TemplateParameterInputMap = { [key: string]: string | undefined }; -export const TemplateParameterInputMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); -export interface StartJobRunRequest { name?: string; virtualClusterId: string; clientToken: string; executionRoleArn?: string; releaseLabel?: string; jobDriver?: JobDriver; configurationOverrides?: ConfigurationOverrides; tags?: { [key: string]: string | undefined }; jobTemplateId?: string; jobTemplateParameters?: { [key: string]: string | undefined }; retryPolicyConfiguration?: RetryPolicyConfiguration } -export const StartJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({name: S.optional(S.String), virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), clientToken: S.String.pipe(T.IdempotencyToken()), executionRoleArn: S.optional(S.String), releaseLabel: S.optional(S.String), jobDriver: S.optional(JobDriver), configurationOverrides: S.optional(ConfigurationOverrides), tags: S.optional(TagMap), jobTemplateId: S.optional(S.String), jobTemplateParameters: S.optional(TemplateParameterInputMap), retryPolicyConfiguration: S.optional(RetryPolicyConfiguration)}).pipe(T.all(T.Http({ method: "POST", uri: "/virtualclusters/{virtualClusterId}/jobruns" }), svc, auth, proto, ver, rules))).annotate({ identifier: "StartJobRunRequest" }) as any as S.Schema; -export interface StartJobRunResponse { id?: string; name?: string; arn?: string; virtualClusterId?: string } -export const StartJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({id: S.optional(S.String), name: S.optional(S.String), arn: S.optional(S.String), virtualClusterId: S.optional(S.String)})).annotate({ identifier: "StartJobRunResponse" }) as any as S.Schema; -export interface TagResourceRequest { resourceArn: string; tags: { [key: string]: string | undefined } } -export const TagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), tags: TagMap}).pipe(T.all(T.Http({ method: "POST", uri: "/tags/{resourceArn}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "TagResourceRequest" }) as any as S.Schema; -export interface TagResourceResponse { } -export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "TagResourceResponse" }) as any as S.Schema; +export const TemplateParameterInputMap = /*@__PURE__*/ /*#__PURE__*/ S.Record( + S.String, + S.String.pipe(S.optional), +); +export interface StartJobRunRequest { + name?: string; + virtualClusterId: string; + clientToken: string; + executionRoleArn?: string; + releaseLabel?: string; + jobDriver?: JobDriver; + configurationOverrides?: ConfigurationOverrides; + tags?: { [key: string]: string | undefined }; + jobTemplateId?: string; + jobTemplateParameters?: { [key: string]: string | undefined }; + retryPolicyConfiguration?: RetryPolicyConfiguration; +} +export const StartJobRunRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + name: S.optional(S.String), + virtualClusterId: S.String.pipe(T.HttpLabel("virtualClusterId")), + clientToken: S.String.pipe(T.IdempotencyToken()), + executionRoleArn: S.optional(S.String), + releaseLabel: S.optional(S.String), + jobDriver: S.optional(JobDriver), + configurationOverrides: S.optional(ConfigurationOverrides), + tags: S.optional(TagMap), + jobTemplateId: S.optional(S.String), + jobTemplateParameters: S.optional(TemplateParameterInputMap), + retryPolicyConfiguration: S.optional(RetryPolicyConfiguration), + }).pipe( + T.all( + T.Http({ + method: "POST", + uri: "/virtualclusters/{virtualClusterId}/jobruns", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "StartJobRunRequest", +}) as any as S.Schema; +export interface StartJobRunResponse { + id?: string; + name?: string; + arn?: string; + virtualClusterId?: string; +} +export const StartJobRunResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + id: S.optional(S.String), + name: S.optional(S.String), + arn: S.optional(S.String), + virtualClusterId: S.optional(S.String), + }), +).annotate({ + identifier: "StartJobRunResponse", +}) as any as S.Schema; +export interface TagResourceRequest { + resourceArn: string; + tags: { [key: string]: string | undefined }; +} +export const TagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), + tags: TagMap, + }).pipe( + T.all( + T.Http({ method: "POST", uri: "/tags/{resourceArn}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "TagResourceRequest", +}) as any as S.Schema; +export interface TagResourceResponse {} +export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "TagResourceResponse", +}) as any as S.Schema; export type TagKeyList = string[]; export const TagKeyList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); -export interface UntagResourceRequest { resourceArn: string; tagKeys: string[] } -export const UntagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), tagKeys: TagKeyList.pipe(T.HttpQuery("tagKeys"))}).pipe(T.all(T.Http({ method: "DELETE", uri: "/tags/{resourceArn}" }), svc, auth, proto, ver, rules))).annotate({ identifier: "UntagResourceRequest" }) as any as S.Schema; -export interface UntagResourceResponse { } -export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "UntagResourceResponse" }) as any as S.Schema; +export interface UntagResourceRequest { + resourceArn: string; + tagKeys: string[]; +} +export const UntagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({ + resourceArn: S.String.pipe(T.HttpLabel("resourceArn")), + tagKeys: TagKeyList.pipe(T.HttpQuery("tagKeys")), + }).pipe( + T.all( + T.Http({ method: "DELETE", uri: "/tags/{resourceArn}" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "UntagResourceRequest", +}) as any as S.Schema; +export interface UntagResourceResponse {} +export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "UntagResourceResponse", +}) as any as S.Schema; //# Errors -export class InternalServerException extends S.TaggedErrorClass()("InternalServerException", {message: S.optional(S.String)}, T.HttpError(500)).pipe(C.withServerError) {} -export class ValidationException extends S.TaggedErrorClass()("ValidationException", {message: S.optional(S.String)}, T.HttpError(400)).pipe(C.withBadRequestError) {} -export class ResourceNotFoundException extends S.TaggedErrorClass()("ResourceNotFoundException", {message: S.optional(S.String)}, T.HttpError(400)).pipe(C.withBadRequestError) {} -export class EKSRequestThrottledException extends S.TaggedErrorClass()("EKSRequestThrottledException", {message: S.optional(S.String)}, T.HttpError(429)).pipe(C.withThrottlingError) {} -export class RequestThrottledException extends S.TaggedErrorClass()("RequestThrottledException", {message: S.optional(S.String)}, T.HttpError(400)).pipe(C.withBadRequestError) {} -export class InvalidResourceArn extends S.TaggedErrorClass()("InvalidResourceArn", {}, T.SyntheticError({"from":"BadRequestException","message":{"includes":"Invalid input resource arn"}})) {} +export class InternalServerException extends S.TaggedErrorClass()( + "InternalServerException", + { message: S.optional(S.String) }, + T.HttpError(500), +).pipe(C.withServerError) {} +export class ValidationException extends S.TaggedErrorClass()( + "ValidationException", + { message: S.optional(S.String) }, + T.HttpError(400), +).pipe(C.withBadRequestError) {} +export class ResourceNotFoundException extends S.TaggedErrorClass()( + "ResourceNotFoundException", + { message: S.optional(S.String) }, + T.HttpError(400), +).pipe(C.withBadRequestError) {} +export class EKSRequestThrottledException extends S.TaggedErrorClass()( + "EKSRequestThrottledException", + { message: S.optional(S.String) }, + T.HttpError(429), +).pipe(C.withThrottlingError) {} +export class RequestThrottledException extends S.TaggedErrorClass()( + "RequestThrottledException", + { message: S.optional(S.String) }, + T.HttpError(400), +).pipe(C.withBadRequestError) {} +export class InvalidResourceArn extends S.TaggedErrorClass()( + "InvalidResourceArn", + {}, + T.SyntheticError({ + from: "BadRequestException", + message: { includes: "Invalid input resource arn" }, + }), +) {} //# Operations export type CancelJobRunError = @@ -375,7 +1710,17 @@ export type CancelJobRunError = * Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or * SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const cancelJobRun: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CancelJobRunRequest, output: CancelJobRunResponse, errors: [InternalServerException, ValidationException], operationName: "CancelJobRun" })); +export const cancelJobRun: API.OperationMethod< + CancelJobRunRequest, + CancelJobRunResponse, + CancelJobRunError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: CancelJobRunRequest, + output: CancelJobRunResponse, + errors: [InternalServerException, ValidationException], + operationName: "CancelJobRun", +})); export type CreateJobTemplateError = | InternalServerException | ResourceNotFoundException @@ -387,7 +1732,21 @@ export type CreateJobTemplateError = * repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun * API request. */ -export const createJobTemplate: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateJobTemplateRequest, output: CreateJobTemplateResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "CreateJobTemplate" })); +export const createJobTemplate: API.OperationMethod< + CreateJobTemplateRequest, + CreateJobTemplateResponse, + CreateJobTemplateError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: CreateJobTemplateRequest, + output: CreateJobTemplateResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "CreateJobTemplate", +})); export type CreateManagedEndpointError = | InternalServerException | ResourceNotFoundException @@ -397,7 +1756,21 @@ export type CreateManagedEndpointError = * Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can * communicate with your virtual cluster. */ -export const createManagedEndpoint: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateManagedEndpointRequest, output: CreateManagedEndpointResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "CreateManagedEndpoint" })); +export const createManagedEndpoint: API.OperationMethod< + CreateManagedEndpointRequest, + CreateManagedEndpointResponse, + CreateManagedEndpointError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: CreateManagedEndpointRequest, + output: CreateManagedEndpointResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "CreateManagedEndpoint", +})); export type CreateSecurityConfigurationError = | InternalServerException | ValidationException @@ -408,7 +1781,17 @@ export type CreateSecurityConfigurationError = * the Lake Formation integration setup. You can also create a security configuration * to re-use a security setup each time you create a virtual cluster. */ -export const createSecurityConfiguration: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateSecurityConfigurationRequest, output: CreateSecurityConfigurationResponse, errors: [InternalServerException, ValidationException], operationName: "CreateSecurityConfiguration" })); +export const createSecurityConfiguration: API.OperationMethod< + CreateSecurityConfigurationRequest, + CreateSecurityConfigurationResponse, + CreateSecurityConfigurationError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: CreateSecurityConfigurationRequest, + output: CreateSecurityConfigurationResponse, + errors: [InternalServerException, ValidationException], + operationName: "CreateSecurityConfiguration", +})); export type CreateVirtualClusterError = | EKSRequestThrottledException | InternalServerException @@ -421,7 +1804,22 @@ export type CreateVirtualClusterError = * namespace. Given this relationship, you can model virtual clusters the same way you model * Kubernetes namespaces to meet your requirements. */ -export const createVirtualCluster: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateVirtualClusterRequest, output: CreateVirtualClusterResponse, errors: [EKSRequestThrottledException, InternalServerException, ResourceNotFoundException, ValidationException], operationName: "CreateVirtualCluster" })); +export const createVirtualCluster: API.OperationMethod< + CreateVirtualClusterRequest, + CreateVirtualClusterResponse, + CreateVirtualClusterError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: CreateVirtualClusterRequest, + output: CreateVirtualClusterResponse, + errors: [ + EKSRequestThrottledException, + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "CreateVirtualCluster", +})); export type DeleteJobTemplateError = | InternalServerException | ValidationException @@ -432,7 +1830,17 @@ export type DeleteJobTemplateError = * repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun * API request. */ -export const deleteJobTemplate: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteJobTemplateRequest, output: DeleteJobTemplateResponse, errors: [InternalServerException, ValidationException], operationName: "DeleteJobTemplate" })); +export const deleteJobTemplate: API.OperationMethod< + DeleteJobTemplateRequest, + DeleteJobTemplateResponse, + DeleteJobTemplateError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DeleteJobTemplateRequest, + output: DeleteJobTemplateResponse, + errors: [InternalServerException, ValidationException], + operationName: "DeleteJobTemplate", +})); export type DeleteManagedEndpointError = | InternalServerException | ValidationException @@ -441,7 +1849,17 @@ export type DeleteManagedEndpointError = * Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can * communicate with your virtual cluster. */ -export const deleteManagedEndpoint: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteManagedEndpointRequest, output: DeleteManagedEndpointResponse, errors: [InternalServerException, ValidationException], operationName: "DeleteManagedEndpoint" })); +export const deleteManagedEndpoint: API.OperationMethod< + DeleteManagedEndpointRequest, + DeleteManagedEndpointResponse, + DeleteManagedEndpointError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DeleteManagedEndpointRequest, + output: DeleteManagedEndpointResponse, + errors: [InternalServerException, ValidationException], + operationName: "DeleteManagedEndpoint", +})); export type DeleteVirtualClusterError = | InternalServerException | ValidationException @@ -452,7 +1870,17 @@ export type DeleteVirtualClusterError = * namespace. Given this relationship, you can model virtual clusters the same way you model * Kubernetes namespaces to meet your requirements. */ -export const deleteVirtualCluster: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteVirtualClusterRequest, output: DeleteVirtualClusterResponse, errors: [InternalServerException, ValidationException], operationName: "DeleteVirtualCluster" })); +export const deleteVirtualCluster: API.OperationMethod< + DeleteVirtualClusterRequest, + DeleteVirtualClusterResponse, + DeleteVirtualClusterError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DeleteVirtualClusterRequest, + output: DeleteVirtualClusterResponse, + errors: [InternalServerException, ValidationException], + operationName: "DeleteVirtualCluster", +})); export type DescribeJobRunError = | InternalServerException | ResourceNotFoundException @@ -462,7 +1890,21 @@ export type DescribeJobRunError = * Displays detailed information about a job run. A job run is a unit of work, such as a * Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const describeJobRun: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeJobRunRequest, output: DescribeJobRunResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeJobRun" })); +export const describeJobRun: API.OperationMethod< + DescribeJobRunRequest, + DescribeJobRunResponse, + DescribeJobRunError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DescribeJobRunRequest, + output: DescribeJobRunResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "DescribeJobRun", +})); export type DescribeJobTemplateError = | InternalServerException | ResourceNotFoundException @@ -474,7 +1916,21 @@ export type DescribeJobTemplateError = * allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing * certain values in StartJobRun API request. */ -export const describeJobTemplate: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeJobTemplateRequest, output: DescribeJobTemplateResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeJobTemplate" })); +export const describeJobTemplate: API.OperationMethod< + DescribeJobTemplateRequest, + DescribeJobTemplateResponse, + DescribeJobTemplateError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DescribeJobTemplateRequest, + output: DescribeJobTemplateResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "DescribeJobTemplate", +})); export type DescribeManagedEndpointError = | InternalServerException | ResourceNotFoundException @@ -484,7 +1940,21 @@ export type DescribeManagedEndpointError = * Displays detailed information about a managed endpoint. A managed endpoint is a gateway * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster. */ -export const describeManagedEndpoint: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeManagedEndpointRequest, output: DescribeManagedEndpointResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeManagedEndpoint" })); +export const describeManagedEndpoint: API.OperationMethod< + DescribeManagedEndpointRequest, + DescribeManagedEndpointResponse, + DescribeManagedEndpointError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DescribeManagedEndpointRequest, + output: DescribeManagedEndpointResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "DescribeManagedEndpoint", +})); export type DescribeSecurityConfigurationError = | InternalServerException | ResourceNotFoundException @@ -497,7 +1967,21 @@ export type DescribeSecurityConfigurationError = * You can also create a security configuration to re-use a security setup each time you * create a virtual cluster. */ -export const describeSecurityConfiguration: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeSecurityConfigurationRequest, output: DescribeSecurityConfigurationResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeSecurityConfiguration" })); +export const describeSecurityConfiguration: API.OperationMethod< + DescribeSecurityConfigurationRequest, + DescribeSecurityConfigurationResponse, + DescribeSecurityConfigurationError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DescribeSecurityConfigurationRequest, + output: DescribeSecurityConfigurationResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "DescribeSecurityConfiguration", +})); export type DescribeVirtualClusterError = | InternalServerException | ResourceNotFoundException @@ -511,7 +1995,21 @@ export type DescribeVirtualClusterError = * virtual clusters the same way you model Kubernetes namespaces to meet your * requirements. */ -export const describeVirtualCluster: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeVirtualClusterRequest, output: DescribeVirtualClusterResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "DescribeVirtualCluster" })); +export const describeVirtualCluster: API.OperationMethod< + DescribeVirtualClusterRequest, + DescribeVirtualClusterResponse, + DescribeVirtualClusterError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: DescribeVirtualClusterRequest, + output: DescribeVirtualClusterResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "DescribeVirtualCluster", +})); export type GetManagedEndpointSessionCredentialsError = | InternalServerException | RequestThrottledException @@ -521,7 +2019,22 @@ export type GetManagedEndpointSessionCredentialsError = /** * Generate a session token to connect to a managed endpoint. */ -export const getManagedEndpointSessionCredentials: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetManagedEndpointSessionCredentialsRequest, output: GetManagedEndpointSessionCredentialsResponse, errors: [InternalServerException, RequestThrottledException, ResourceNotFoundException, ValidationException], operationName: "GetManagedEndpointSessionCredentials" })); +export const getManagedEndpointSessionCredentials: API.OperationMethod< + GetManagedEndpointSessionCredentialsRequest, + GetManagedEndpointSessionCredentialsResponse, + GetManagedEndpointSessionCredentialsError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: GetManagedEndpointSessionCredentialsRequest, + output: GetManagedEndpointSessionCredentialsResponse, + errors: [ + InternalServerException, + RequestThrottledException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "GetManagedEndpointSessionCredentials", +})); export type ListJobRunsError = | InternalServerException | ValidationException @@ -530,10 +2043,38 @@ export type ListJobRunsError = * Lists job runs based on a set of parameters. A job run is a unit of work, such as a * Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const listJobRuns: API.OperationMethod & { - pages: (input: ListJobRunsRequest) => stream.Stream; - items: (input: ListJobRunsRequest) => stream.Stream; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListJobRunsRequest, output: ListJobRunsResponse, errors: [InternalServerException, ValidationException], operationName: "ListJobRuns", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"jobRuns","pageSize":"maxResults"} as const })); +export const listJobRuns: API.OperationMethod< + ListJobRunsRequest, + ListJobRunsResponse, + ListJobRunsError, + Creds | Region | HttpClient.HttpClient +> & { + pages: ( + input: ListJobRunsRequest, + ) => stream.Stream< + ListJobRunsResponse, + ListJobRunsError, + Creds | Region | HttpClient.HttpClient + >; + items: ( + input: ListJobRunsRequest, + ) => stream.Stream< + JobRun, + ListJobRunsError, + Creds | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: ListJobRunsRequest, + output: ListJobRunsResponse, + errors: [InternalServerException, ValidationException], + operationName: "ListJobRuns", + pagination: { + inputToken: "nextToken", + outputToken: "nextToken", + items: "jobRuns", + pageSize: "maxResults", + } as const, +})); export type ListJobTemplatesError = | InternalServerException | ValidationException @@ -544,10 +2085,38 @@ export type ListJobTemplatesError = * allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing * certain values in StartJobRun API request. */ -export const listJobTemplates: API.OperationMethod & { - pages: (input: ListJobTemplatesRequest) => stream.Stream; - items: (input: ListJobTemplatesRequest) => stream.Stream; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListJobTemplatesRequest, output: ListJobTemplatesResponse, errors: [InternalServerException, ValidationException], operationName: "ListJobTemplates", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"templates","pageSize":"maxResults"} as const })); +export const listJobTemplates: API.OperationMethod< + ListJobTemplatesRequest, + ListJobTemplatesResponse, + ListJobTemplatesError, + Creds | Region | HttpClient.HttpClient +> & { + pages: ( + input: ListJobTemplatesRequest, + ) => stream.Stream< + ListJobTemplatesResponse, + ListJobTemplatesError, + Creds | Region | HttpClient.HttpClient + >; + items: ( + input: ListJobTemplatesRequest, + ) => stream.Stream< + JobTemplate, + ListJobTemplatesError, + Creds | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: ListJobTemplatesRequest, + output: ListJobTemplatesResponse, + errors: [InternalServerException, ValidationException], + operationName: "ListJobTemplates", + pagination: { + inputToken: "nextToken", + outputToken: "nextToken", + items: "templates", + pageSize: "maxResults", + } as const, +})); export type ListManagedEndpointsError = | InternalServerException | ValidationException @@ -556,10 +2125,38 @@ export type ListManagedEndpointsError = * Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster. */ -export const listManagedEndpoints: API.OperationMethod & { - pages: (input: ListManagedEndpointsRequest) => stream.Stream; - items: (input: ListManagedEndpointsRequest) => stream.Stream; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListManagedEndpointsRequest, output: ListManagedEndpointsResponse, errors: [InternalServerException, ValidationException], operationName: "ListManagedEndpoints", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"endpoints","pageSize":"maxResults"} as const })); +export const listManagedEndpoints: API.OperationMethod< + ListManagedEndpointsRequest, + ListManagedEndpointsResponse, + ListManagedEndpointsError, + Creds | Region | HttpClient.HttpClient +> & { + pages: ( + input: ListManagedEndpointsRequest, + ) => stream.Stream< + ListManagedEndpointsResponse, + ListManagedEndpointsError, + Creds | Region | HttpClient.HttpClient + >; + items: ( + input: ListManagedEndpointsRequest, + ) => stream.Stream< + Endpoint, + ListManagedEndpointsError, + Creds | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: ListManagedEndpointsRequest, + output: ListManagedEndpointsResponse, + errors: [InternalServerException, ValidationException], + operationName: "ListManagedEndpoints", + pagination: { + inputToken: "nextToken", + outputToken: "nextToken", + items: "endpoints", + pageSize: "maxResults", + } as const, +})); export type ListSecurityConfigurationsError = | InternalServerException | ValidationException @@ -571,10 +2168,38 @@ export type ListSecurityConfigurationsError = * create a security configuration to re-use a security setup each time you create a virtual * cluster. */ -export const listSecurityConfigurations: API.OperationMethod & { - pages: (input: ListSecurityConfigurationsRequest) => stream.Stream; - items: (input: ListSecurityConfigurationsRequest) => stream.Stream; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListSecurityConfigurationsRequest, output: ListSecurityConfigurationsResponse, errors: [InternalServerException, ValidationException], operationName: "ListSecurityConfigurations", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"securityConfigurations","pageSize":"maxResults"} as const })); +export const listSecurityConfigurations: API.OperationMethod< + ListSecurityConfigurationsRequest, + ListSecurityConfigurationsResponse, + ListSecurityConfigurationsError, + Creds | Region | HttpClient.HttpClient +> & { + pages: ( + input: ListSecurityConfigurationsRequest, + ) => stream.Stream< + ListSecurityConfigurationsResponse, + ListSecurityConfigurationsError, + Creds | Region | HttpClient.HttpClient + >; + items: ( + input: ListSecurityConfigurationsRequest, + ) => stream.Stream< + SecurityConfiguration, + ListSecurityConfigurationsError, + Creds | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: ListSecurityConfigurationsRequest, + output: ListSecurityConfigurationsResponse, + errors: [InternalServerException, ValidationException], + operationName: "ListSecurityConfigurations", + pagination: { + inputToken: "nextToken", + outputToken: "nextToken", + items: "securityConfigurations", + pageSize: "maxResults", + } as const, +})); export type ListTagsForResourceError = | InternalServerException | ResourceNotFoundException @@ -583,7 +2208,21 @@ export type ListTagsForResourceError = /** * Lists the tags assigned to the resources. */ -export const listTagsForResource: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: ListTagsForResourceRequest, output: ListTagsForResourceResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "ListTagsForResource" })); +export const listTagsForResource: API.OperationMethod< + ListTagsForResourceRequest, + ListTagsForResourceResponse, + ListTagsForResourceError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: ListTagsForResourceRequest, + output: ListTagsForResourceResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "ListTagsForResource", +})); export type ListVirtualClustersError = | InternalServerException | ValidationException @@ -596,10 +2235,38 @@ export type ListVirtualClustersError = * virtual clusters the same way you model Kubernetes namespaces to meet your * requirements. */ -export const listVirtualClusters: API.OperationMethod & { - pages: (input: ListVirtualClustersRequest) => stream.Stream; - items: (input: ListVirtualClustersRequest) => stream.Stream; -} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListVirtualClustersRequest, output: ListVirtualClustersResponse, errors: [InternalServerException, ValidationException], operationName: "ListVirtualClusters", pagination: {"inputToken":"nextToken","outputToken":"nextToken","items":"virtualClusters","pageSize":"maxResults"} as const })); +export const listVirtualClusters: API.OperationMethod< + ListVirtualClustersRequest, + ListVirtualClustersResponse, + ListVirtualClustersError, + Creds | Region | HttpClient.HttpClient +> & { + pages: ( + input: ListVirtualClustersRequest, + ) => stream.Stream< + ListVirtualClustersResponse, + ListVirtualClustersError, + Creds | Region | HttpClient.HttpClient + >; + items: ( + input: ListVirtualClustersRequest, + ) => stream.Stream< + VirtualCluster, + ListVirtualClustersError, + Creds | Region | HttpClient.HttpClient + >; +} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ + input: ListVirtualClustersRequest, + output: ListVirtualClustersResponse, + errors: [InternalServerException, ValidationException], + operationName: "ListVirtualClusters", + pagination: { + inputToken: "nextToken", + outputToken: "nextToken", + items: "virtualClusters", + pageSize: "maxResults", + } as const, +})); export type StartJobRunError = | InternalServerException | ResourceNotFoundException @@ -609,7 +2276,21 @@ export type StartJobRunError = * Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or * SparkSQL query, that you submit to Amazon EMR on EKS. */ -export const startJobRun: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StartJobRunRequest, output: StartJobRunResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException], operationName: "StartJobRun" })); +export const startJobRun: API.OperationMethod< + StartJobRunRequest, + StartJobRunResponse, + StartJobRunError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: StartJobRunRequest, + output: StartJobRunResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + ], + operationName: "StartJobRun", +})); export type TagResourceError = | InternalServerException | ResourceNotFoundException @@ -627,7 +2308,22 @@ export type TagResourceError = * for each resource type. You can then search and filter the resources based on the tags that * you add. */ -export const tagResource: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: TagResourceRequest, output: TagResourceResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException, InvalidResourceArn], operationName: "TagResource" })); +export const tagResource: API.OperationMethod< + TagResourceRequest, + TagResourceResponse, + TagResourceError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: TagResourceRequest, + output: TagResourceResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + InvalidResourceArn, + ], + operationName: "TagResource", +})); export type UntagResourceError = | InternalServerException | ResourceNotFoundException @@ -637,4 +2333,19 @@ export type UntagResourceError = /** * Removes tags from resources. */ -export const untagResource: API.OperationMethod = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UntagResourceRequest, output: UntagResourceResponse, errors: [InternalServerException, ResourceNotFoundException, ValidationException, InvalidResourceArn], operationName: "UntagResource" })); +export const untagResource: API.OperationMethod< + UntagResourceRequest, + UntagResourceResponse, + UntagResourceError, + Creds | Region | HttpClient.HttpClient +> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ + input: UntagResourceRequest, + output: UntagResourceResponse, + errors: [ + InternalServerException, + ResourceNotFoundException, + ValidationException, + InvalidResourceArn, + ], + operationName: "UntagResource", +})); diff --git a/packages/aws/src/services/entityresolution.ts b/packages/aws/src/services/entityresolution.ts index 0c6990f0c1..b791e3a776 100644 --- a/packages/aws/src/services/entityresolution.ts +++ b/packages/aws/src/services/entityresolution.ts @@ -236,17 +236,17 @@ export const DisconnectedUniqueIdsList = /*@__PURE__*/ /*#__PURE__*/ S.Array( ); export interface BatchDeleteUniqueIdOutput { status: DeleteUniqueIdStatus; - errors: DeleteUniqueIdError[]; - deleted: DeletedUniqueId[]; - disconnectedUniqueIds: string[]; + errors?: DeleteUniqueIdError[]; + deleted?: DeletedUniqueId[]; + disconnectedUniqueIds?: string[]; } export const BatchDeleteUniqueIdOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ status: DeleteUniqueIdStatus, - errors: DeleteUniqueIdErrorsList, - deleted: DeletedUniqueIdList, - disconnectedUniqueIds: DisconnectedUniqueIdsList, + errors: S.optional(DeleteUniqueIdErrorsList), + deleted: S.optional(DeletedUniqueIdList), + disconnectedUniqueIds: S.optional(DisconnectedUniqueIdsList), }), ).annotate({ identifier: "BatchDeleteUniqueIdOutput", diff --git a/packages/aws/src/services/eventbridge.ts b/packages/aws/src/services/eventbridge.ts index 06e8059d4d..b3f26558e9 100644 --- a/packages/aws/src/services/eventbridge.ts +++ b/packages/aws/src/services/eventbridge.ts @@ -2727,7 +2727,7 @@ export const HttpParameters = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => QueryStringParameters: S.optional(QueryStringParametersMap), }), ).annotate({ identifier: "HttpParameters" }) as any as S.Schema; -export type Sqls = string | redacted.Redacted[]; +export type Sqls = (string | redacted.Redacted)[]; export const Sqls = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface RedshiftDataParameters { SecretManagerArn?: string; @@ -2736,7 +2736,7 @@ export interface RedshiftDataParameters { Sql?: string | redacted.Redacted; StatementName?: string; WithEvent?: boolean; - Sqls?: string | redacted.Redacted[]; + Sqls?: (string | redacted.Redacted)[]; } export const RedshiftDataParameters = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => @@ -3738,6 +3738,14 @@ export class ThrottlingException extends S.TaggedErrorClass "ThrottlingException", { message: S.optional(S.String) }, ).pipe(C.withThrottlingError, C.withRetryableError) {} +export class EventBusHasRules extends S.TaggedErrorClass()( + "EventBusHasRules", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "has rules" }, + }), +).pipe(C.withConflictError, C.withRetryableError) {} export class ManagedRuleException extends S.TaggedErrorClass()( "ManagedRuleException", { message: S.optional(S.String) }, @@ -4182,6 +4190,7 @@ export type DeleteEventBusError = | ConcurrentModificationException | InternalException | ResourceNotFoundException + | EventBusHasRules | CommonErrors; /** * Deletes the specified custom event bus or partner event bus. All rules associated with @@ -4199,6 +4208,7 @@ export const deleteEventBus: API.OperationMethod< ConcurrentModificationException, InternalException, ResourceNotFoundException, + EventBusHasRules, ], operationName: "DeleteEventBus", })); diff --git a/packages/aws/src/services/geo-routes.ts b/packages/aws/src/services/geo-routes.ts index 53d2330860..9985cf017b 100644 --- a/packages/aws/src/services/geo-routes.ts +++ b/packages/aws/src/services/geo-routes.ts @@ -224,7 +224,7 @@ export const PolylineCorridor = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "PolylineCorridor", }) as any as S.Schema; -export type PolylineRingList = string | redacted.Redacted[]; +export type PolylineRingList = (string | redacted.Redacted)[]; export const PolylineRingList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface IsolineAvoidanceAreaGeometry { @@ -232,7 +232,7 @@ export interface IsolineAvoidanceAreaGeometry { Corridor?: Corridor; Polygon?: number[][][]; PolylineCorridor?: PolylineCorridor; - PolylinePolygon?: string | redacted.Redacted[]; + PolylinePolygon?: (string | redacted.Redacted)[]; } export const IsolineAvoidanceAreaGeometry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -264,7 +264,7 @@ export const IsolineAvoidanceArea = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export type IsolineAvoidanceAreaList = IsolineAvoidanceArea[]; export const IsolineAvoidanceAreaList = /*@__PURE__*/ /*#__PURE__*/ S.Array(IsolineAvoidanceArea); -export type TruckRoadTypeList = string | redacted.Redacted[]; +export type TruckRoadTypeList = (string | redacted.Redacted)[]; export const TruckRoadTypeList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export type IsolineZoneCategory = @@ -294,7 +294,7 @@ export interface IsolineAvoidanceOptions { SeasonalClosure?: boolean; TollRoads?: boolean; TollTransponders?: boolean; - TruckRoadTypes?: string | redacted.Redacted[]; + TruckRoadTypes?: (string | redacted.Redacted)[]; Tunnels?: boolean; UTurns?: boolean; ZoneCategories?: IsolineAvoidanceZoneCategory[]; @@ -704,7 +704,7 @@ export const IsolineConnectionList = /*@__PURE__*/ /*#__PURE__*/ S.Array(IsolineConnection); export interface IsolineShapeGeometry { Polygon?: number[][][]; - PolylinePolygon?: string | redacted.Redacted[]; + PolylinePolygon?: (string | redacted.Redacted)[]; } export const IsolineShapeGeometry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ @@ -793,7 +793,7 @@ export const RouteMatrixAllowOptions = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export interface RouteMatrixAvoidanceAreaGeometry { BoundingBox?: number[]; Polygon?: number[][][]; - PolylinePolygon?: string | redacted.Redacted[]; + PolylinePolygon?: (string | redacted.Redacted)[]; } export const RouteMatrixAvoidanceAreaGeometry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -844,7 +844,7 @@ export interface RouteMatrixAvoidanceOptions { Ferries?: boolean; TollRoads?: boolean; TollTransponders?: boolean; - TruckRoadTypes?: string | redacted.Redacted[]; + TruckRoadTypes?: (string | redacted.Redacted)[]; Tunnels?: boolean; UTurns?: boolean; ZoneCategories?: RouteMatrixAvoidanceZoneCategory[]; @@ -931,11 +931,11 @@ export type RouteMatrixDestinationList = RouteMatrixDestination[]; export const RouteMatrixDestinationList = /*@__PURE__*/ /*#__PURE__*/ S.Array( RouteMatrixDestination, ); -export type CountryCodeList = string | redacted.Redacted[]; +export type CountryCodeList = (string | redacted.Redacted)[]; export const CountryCodeList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface RouteMatrixExclusionOptions { - Countries: string | redacted.Redacted[]; + Countries: (string | redacted.Redacted)[]; } export const RouteMatrixExclusionOptions = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -1272,7 +1272,7 @@ export interface RouteAvoidanceAreaGeometry { BoundingBox?: number[]; Polygon?: number[][][]; PolylineCorridor?: PolylineCorridor; - PolylinePolygon?: string | redacted.Redacted[]; + PolylinePolygon?: (string | redacted.Redacted)[]; } export const RouteAvoidanceAreaGeometry = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => @@ -1330,7 +1330,7 @@ export interface RouteAvoidanceOptions { SeasonalClosure?: boolean; TollRoads?: boolean; TollTransponders?: boolean; - TruckRoadTypes?: string | redacted.Redacted[]; + TruckRoadTypes?: (string | redacted.Redacted)[]; Tunnels?: boolean; UTurns?: boolean; ZoneCategories?: RouteAvoidanceZoneCategory[]; @@ -1425,7 +1425,7 @@ export const RouteDriverOptions = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => identifier: "RouteDriverOptions", }) as any as S.Schema; export interface RouteExclusionOptions { - Countries: string | redacted.Redacted[]; + Countries: (string | redacted.Redacted)[]; } export const RouteExclusionOptions = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Countries: CountryCodeList }), @@ -3571,7 +3571,7 @@ export interface RouteVehicleLegDetails { Tolls?: RouteToll[]; TollSystems?: RouteTollSystem[]; TravelSteps?: RouteVehicleTravelStep[]; - TruckRoadTypes?: string | redacted.Redacted[]; + TruckRoadTypes?: (string | redacted.Redacted)[]; Zones?: RouteZone[]; } export const RouteVehicleLegDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend( @@ -4817,7 +4817,7 @@ export const WaypointOptimizationDriverOptions = identifier: "WaypointOptimizationDriverOptions", }) as any as S.Schema; export interface WaypointOptimizationExclusionOptions { - Countries: string | redacted.Redacted[]; + Countries: (string | redacted.Redacted)[]; } export const WaypointOptimizationExclusionOptions = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -5096,7 +5096,7 @@ export const WaypointOptimizationImpedingWaypointList = export interface WaypointOptimizationOptimizedWaypoint { ArrivalTime?: string | redacted.Redacted; ClusterIndex?: number; - DepartureTime: string | redacted.Redacted; + DepartureTime?: string | redacted.Redacted; Id: string; Position: number[]; } @@ -5105,7 +5105,7 @@ export const WaypointOptimizationOptimizedWaypoint = S.Struct({ ArrivalTime: S.optional(SensitiveString), ClusterIndex: S.optional(S.Number), - DepartureTime: SensitiveString, + DepartureTime: S.optional(SensitiveString), Id: S.String, Position: Position, }), @@ -5349,16 +5349,17 @@ export const SnapToRoadsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.String }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -5367,6 +5368,7 @@ export class ValidationException extends S.TaggedErrorClass Reason: ValidationExceptionReason, FieldList: ValidationExceptionFieldList, }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/glue.ts b/packages/aws/src/services/glue.ts index 6d629d2394..4a2ef80db9 100644 --- a/packages/aws/src/services/glue.ts +++ b/packages/aws/src/services/glue.ts @@ -18768,22 +18768,27 @@ export class ConflictException extends S.TaggedErrorClass()( export class IntegrationConflictOperationFault extends S.TaggedErrorClass()( "IntegrationConflictOperationFault", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class IntegrationQuotaExceededFault extends S.TaggedErrorClass()( "IntegrationQuotaExceededFault", { Message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class KMSKeyNotAccessibleFault extends S.TaggedErrorClass()( "KMSKeyNotAccessibleFault", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class OperationNotSupportedException extends S.TaggedErrorClass()( "OperationNotSupportedException", @@ -18800,10 +18805,12 @@ export class SchedulerTransitioningException extends S.TaggedErrorClass()( "IntegrationNotFoundFault", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidIntegrationStateFault extends S.TaggedErrorClass()( "InvalidIntegrationStateFault", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConditionCheckFailureException extends S.TaggedErrorClass()( "ConditionCheckFailureException", @@ -18812,6 +18819,7 @@ export class ConditionCheckFailureException extends S.TaggedErrorClass()( "TargetResourceNotFound", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class PermissionTypeMismatchException extends S.TaggedErrorClass()( "PermissionTypeMismatchException", @@ -26793,6 +26801,7 @@ export type StartJobRunError = | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException + | GlueRoleNotAssumable | CommonErrors; /** * Starts a job run using a job definition. @@ -26812,6 +26821,7 @@ export const startJobRun: API.OperationMethod< InvalidInputException, OperationTimeoutException, ResourceNumberLimitExceededException, + GlueRoleNotAssumable, ], operationName: "StartJobRun", })); From 99f38484232bbe87eb5bf90a25a19d3e0db579c7 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 09:50:09 -0700 Subject: [PATCH 24/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20ivs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - ivs Regenerated: ivs Snapshot 2026-07-15 09:50 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/ivs.json | 15 +++++++++++ packages/aws/src/services/ivs.ts | 43 +++++++++++++++++++++++++++++--- 2 files changed, 55 insertions(+), 3 deletions(-) diff --git a/packages/aws/patches/ivs.json b/packages/aws/patches/ivs.json index 4ac8ad5b3f..cd78ded132 100644 --- a/packages/aws/patches/ivs.json +++ b/packages/aws/patches/ivs.json @@ -1,18 +1,33 @@ { "operations": { "createChannel": { "errors": ["ThrottlingException"] }, + "createRecordingConfiguration": { "errors": ["ThrottlingException"] }, "createStreamKey": { "errors": ["ThrottlingException"] }, + "deleteAdConfiguration": { "errors": ["ThrottlingException"] }, "deleteChannel": { "errors": ["ThrottlingException"] }, "deletePlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "deletePlaybackRestrictionPolicy": { "errors": ["ThrottlingException"] }, + "deleteRecordingConfiguration": { "errors": ["ThrottlingException"] }, "deleteStreamKey": { "errors": ["ThrottlingException"] }, + "getAdConfiguration": { "errors": ["ThrottlingException"] }, "getChannel": { "errors": ["ThrottlingException"] }, "getPlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "getPlaybackRestrictionPolicy": { "errors": ["ThrottlingException"] }, + "getRecordingConfiguration": { "errors": ["ThrottlingException"] }, + "getStream": { "errors": ["ThrottlingException"] }, "getStreamKey": { "errors": ["ThrottlingException"] }, + "getStreamSession": { "errors": ["ThrottlingException"] }, "importPlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "listAdConfigurations": { "errors": ["ThrottlingException"] }, "listChannels": { "errors": ["ThrottlingException"] }, "listPlaybackKeyPairs": { "errors": ["ThrottlingException"] }, + "listPlaybackRestrictionPolicies": { "errors": ["ThrottlingException"] }, + "listRecordingConfigurations": { "errors": ["ThrottlingException"] }, "listStreamKeys": { "errors": ["ThrottlingException"] }, + "listStreamSessions": { "errors": ["ThrottlingException"] }, + "listStreams": { "errors": ["ThrottlingException"] }, "listTagsForResource": { "errors": ["ThrottlingException"] }, + "stopStream": { "errors": ["ThrottlingException"] }, "tagResource": { "errors": ["ThrottlingException"] }, "untagResource": { "errors": ["ThrottlingException"] }, "updateChannel": { "errors": ["ThrottlingException"] } diff --git a/packages/aws/src/services/ivs.ts b/packages/aws/src/services/ivs.ts index 7e38503ab1..48d22a086e 100644 --- a/packages/aws/src/services/ivs.ts +++ b/packages/aws/src/services/ivs.ts @@ -2566,6 +2566,7 @@ export type CreateRecordingConfigurationError = | PendingVerification | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Creates a new recording configuration, used to enable recording to Amazon S3. @@ -2589,6 +2590,7 @@ export const createRecordingConfiguration: API.OperationMethod< PendingVerification, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "CreateRecordingConfiguration", })); @@ -2629,6 +2631,7 @@ export type DeleteAdConfigurationError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the specified ad configuration. @@ -2647,6 +2650,7 @@ export const deleteAdConfiguration: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteAdConfiguration", })); @@ -2714,6 +2718,7 @@ export type DeletePlaybackRestrictionPolicyError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the specified playback restriction policy. @@ -2732,6 +2737,7 @@ export const deletePlaybackRestrictionPolicy: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeletePlaybackRestrictionPolicy", })); @@ -2741,6 +2747,7 @@ export type DeleteRecordingConfigurationError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Deletes the recording configuration for the specified ARN. @@ -2761,6 +2768,7 @@ export const deleteRecordingConfiguration: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "DeleteRecordingConfiguration", })); @@ -2796,6 +2804,7 @@ export type GetAdConfigurationError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets the ad configuration represented by the specified ARN. @@ -2813,6 +2822,7 @@ export const getAdConfiguration: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetAdConfiguration", })); @@ -2871,6 +2881,7 @@ export type GetPlaybackRestrictionPolicyError = | PendingVerification | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets the specified playback restriction policy. @@ -2888,6 +2899,7 @@ export const getPlaybackRestrictionPolicy: API.OperationMethod< PendingVerification, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetPlaybackRestrictionPolicy", })); @@ -2896,6 +2908,7 @@ export type GetRecordingConfigurationError = | InternalServerException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets the recording configuration for the specified ARN. @@ -2913,6 +2926,7 @@ export const getRecordingConfiguration: API.OperationMethod< InternalServerException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetRecordingConfiguration", })); @@ -2921,6 +2935,7 @@ export type GetStreamError = | ChannelNotBroadcasting | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets information about the active (live) stream on a specified channel. @@ -2938,6 +2953,7 @@ export const getStream: API.OperationMethod< ChannelNotBroadcasting, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetStream", })); @@ -2970,6 +2986,7 @@ export type GetStreamSessionError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets metadata on a specified stream. @@ -2986,6 +3003,7 @@ export const getStreamSession: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "GetStreamSession", })); @@ -3055,6 +3073,7 @@ export type ListAdConfigurationsError = | AccessDeniedException | InternalServerException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about all ad configurations in your account, in the AWS region where the API request is processed. @@ -3082,7 +3101,12 @@ export const listAdConfigurations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListAdConfigurationsRequest, output: ListAdConfigurationsResponse, - errors: [AccessDeniedException, InternalServerException, ValidationException], + errors: [ + AccessDeniedException, + InternalServerException, + ValidationException, + ThrottlingException, + ], operationName: "ListAdConfigurations", pagination: { inputToken: "nextToken", @@ -3180,6 +3204,7 @@ export type ListPlaybackRestrictionPoliciesError = | ConflictException | PendingVerification | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about playback restriction policies. @@ -3212,6 +3237,7 @@ export const listPlaybackRestrictionPolicies: API.OperationMethod< ConflictException, PendingVerification, ValidationException, + ThrottlingException, ], operationName: "ListPlaybackRestrictionPolicies", pagination: { @@ -3224,6 +3250,7 @@ export type ListRecordingConfigurationsError = | AccessDeniedException | InternalServerException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed. @@ -3251,7 +3278,12 @@ export const listRecordingConfigurations: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListRecordingConfigurationsRequest, output: ListRecordingConfigurationsResponse, - errors: [AccessDeniedException, InternalServerException, ValidationException], + errors: [ + AccessDeniedException, + InternalServerException, + ValidationException, + ThrottlingException, + ], operationName: "ListRecordingConfigurations", pagination: { inputToken: "nextToken", @@ -3307,6 +3339,7 @@ export const listStreamKeys: API.OperationMethod< export type ListStreamsError = | AccessDeniedException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed. @@ -3334,7 +3367,7 @@ export const listStreams: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListStreamsRequest, output: ListStreamsResponse, - errors: [AccessDeniedException, ValidationException], + errors: [AccessDeniedException, ValidationException, ThrottlingException], operationName: "ListStreams", pagination: { inputToken: "nextToken", @@ -3346,6 +3379,7 @@ export type ListStreamSessionsError = | AccessDeniedException | ResourceNotFoundException | ValidationException + | ThrottlingException | CommonErrors; /** * Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed. @@ -3377,6 +3411,7 @@ export const listStreamSessions: API.OperationMethod< AccessDeniedException, ResourceNotFoundException, ValidationException, + ThrottlingException, ], operationName: "ListStreamSessions", pagination: { @@ -3472,6 +3507,7 @@ export type StopStreamError = | ResourceNotFoundException | StreamUnavailable | ValidationException + | ThrottlingException | CommonErrors; /** * Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel. @@ -3492,6 +3528,7 @@ export const stopStream: API.OperationMethod< ResourceNotFoundException, StreamUnavailable, ValidationException, + ThrottlingException, ], operationName: "StopStream", })); From ed1a4ba4b902ee0ef6fe0c9b9df0219d765c45a0 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 09:58:24 -0700 Subject: [PATCH 25/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20fsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - fsx Regenerated: frauddetector, fsx Snapshot 2026-07-15 09:58 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/fsx.json | 12 +++++++++++- packages/aws/src/services/frauddetector.ts | 15 +++++++++++---- packages/aws/src/services/fsx.ts | 16 +++++++++++++++- 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/packages/aws/patches/fsx.json b/packages/aws/patches/fsx.json index ae0150406e..c85b8a1c22 100644 --- a/packages/aws/patches/fsx.json +++ b/packages/aws/patches/fsx.json @@ -17,10 +17,20 @@ "message": { "includes": "snapshot cannot be found" } } ] + }, + "updateSnapshot": { + "syntheticErrors": [ + { + "name": "UpdateSnapshotNotFound", + "from": "BadRequest", + "message": { "includes": "the snapshot is not found" } + } + ] } }, "errorCategories": { "SnapshotVolumeNotFound": ["NotFoundError"], - "RestoreSnapshotNotFound": ["NotFoundError"] + "RestoreSnapshotNotFound": ["NotFoundError"], + "UpdateSnapshotNotFound": ["NotFoundError"] } } diff --git a/packages/aws/src/services/frauddetector.ts b/packages/aws/src/services/frauddetector.ts index ee79a0a1f5..5ed9067572 100644 --- a/packages/aws/src/services/frauddetector.ts +++ b/packages/aws/src/services/frauddetector.ts @@ -525,12 +525,12 @@ export const CreateDetectorVersionResult = ).annotate({ identifier: "CreateDetectorVersionResult", }) as any as S.Schema; -export type ElementsList = string | redacted.Redacted[]; +export type ElementsList = (string | redacted.Redacted)[]; export const ElementsList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface CreateListRequest { name: string; - elements?: string | redacted.Redacted[]; + elements?: (string | redacted.Redacted)[]; variableType?: string; description?: string; tags?: Tag[]; @@ -2775,7 +2775,7 @@ export const GetListElementsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( identifier: "GetListElementsRequest", }) as any as S.Schema; export interface GetListElementsResult { - elements?: string | redacted.Redacted[]; + elements?: (string | redacted.Redacted)[]; nextToken?: string; } export const GetListElementsResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -3688,7 +3688,7 @@ export type ListUpdateMode = "REPLACE" | "APPEND" | "REMOVE" | (string & {}); export const ListUpdateMode = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface UpdateListRequest { name: string; - elements?: string | redacted.Redacted[]; + elements?: (string | redacted.Redacted)[]; description?: string; updateMode?: ListUpdateMode; variableType?: string; @@ -3938,30 +3938,37 @@ export const UpdateVariableResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.String }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ResourceUnavailableException extends S.TaggedErrorClass()( "ResourceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} //# Operations diff --git a/packages/aws/src/services/fsx.ts b/packages/aws/src/services/fsx.ts index 2dcd531c27..1a853cee74 100644 --- a/packages/aws/src/services/fsx.ts +++ b/packages/aws/src/services/fsx.ts @@ -5859,6 +5859,14 @@ export class RestoreSnapshotNotFound extends S.TaggedErrorClass()( + "UpdateSnapshotNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "BadRequest", + message: { includes: "the snapshot is not found" }, + }), +).pipe(C.withNotFoundError) {} //# Operations export type AssociateFileSystemAliasesError = @@ -7912,6 +7920,7 @@ export type UpdateSnapshotError = | BadRequest | InternalServerError | SnapshotNotFound + | UpdateSnapshotNotFound | CommonErrors; /** * Updates the name of an Amazon FSx for OpenZFS snapshot. @@ -7924,7 +7933,12 @@ export const updateSnapshot: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateSnapshotRequest, output: UpdateSnapshotResponse, - errors: [BadRequest, InternalServerError, SnapshotNotFound], + errors: [ + BadRequest, + InternalServerError, + SnapshotNotFound, + UpdateSnapshotNotFound, + ], operationName: "UpdateSnapshot", })); export type UpdateStorageVirtualMachineError = From 30a841437ab404e051286c432e65304cb1e1c0d3 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 10:13:29 -0700 Subject: [PATCH 26/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20fsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - fsx Regenerated: fsx Snapshot 2026-07-15 10:13 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/fsx.json | 10 ++++++++++ packages/aws/src/services/fsx.ts | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/packages/aws/patches/fsx.json b/packages/aws/patches/fsx.json index c85b8a1c22..804f089e85 100644 --- a/packages/aws/patches/fsx.json +++ b/packages/aws/patches/fsx.json @@ -1,5 +1,14 @@ { "operations": { + "copySnapshotAndUpdateVolume": { + "syntheticErrors": [ + { + "name": "SourceSnapshotNotFound", + "from": "BadRequest", + "message": { "includes": "SourceSnapshotARN provided is not a valid ARN" } + } + ] + }, "createSnapshot": { "syntheticErrors": [ { @@ -29,6 +38,7 @@ } }, "errorCategories": { + "SourceSnapshotNotFound": ["NotFoundError"], "SnapshotVolumeNotFound": ["NotFoundError"], "RestoreSnapshotNotFound": ["NotFoundError"], "UpdateSnapshotNotFound": ["NotFoundError"] diff --git a/packages/aws/src/services/fsx.ts b/packages/aws/src/services/fsx.ts index 1a853cee74..6c5176ef66 100644 --- a/packages/aws/src/services/fsx.ts +++ b/packages/aws/src/services/fsx.ts @@ -5726,6 +5726,14 @@ export class SourceBackupUnavailable extends S.TaggedErrorClass()( + "SourceSnapshotNotFound", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "BadRequest", + message: { includes: "SourceSnapshotARN provided is not a valid ARN" }, + }), +).pipe(C.withNotFoundError) {} export class AccessPointAlreadyOwnedByYou extends S.TaggedErrorClass()( "AccessPointAlreadyOwnedByYou", { ErrorCode: S.optional(S.String), Message: S.optional(S.String) }, @@ -6005,6 +6013,7 @@ export type CopySnapshotAndUpdateVolumeError = | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded + | SourceSnapshotNotFound | CommonErrors; /** * Updates an existing volume by using a snapshot from another Amazon FSx for OpenZFS file system. For more information, see on-demand data replication in the Amazon FSx for OpenZFS User @@ -6023,6 +6032,7 @@ export const copySnapshotAndUpdateVolume: API.OperationMethod< IncompatibleParameterError, InternalServerError, ServiceLimitExceeded, + SourceSnapshotNotFound, ], operationName: "CopySnapshotAndUpdateVolume", })); From 3982cf005f9f926000c3548318fe635f45ba5e28 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 10:16:41 -0700 Subject: [PATCH 27/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20eventbridge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - eventbridge Regenerated: eventbridge Snapshot 2026-07-15 10:16 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/eventbridge.json | 3 +-- packages/aws/src/services/eventbridge.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/aws/patches/eventbridge.json b/packages/aws/patches/eventbridge.json index 298f0811b5..f1deb590f6 100644 --- a/packages/aws/patches/eventbridge.json +++ b/packages/aws/patches/eventbridge.json @@ -34,8 +34,7 @@ "QuotaError" ], "EventBusHasRules": [ - "ConflictError", - "RetryableError" + "ConflictError" ] }, "operations": { diff --git a/packages/aws/src/services/eventbridge.ts b/packages/aws/src/services/eventbridge.ts index b3f26558e9..e71bd0284b 100644 --- a/packages/aws/src/services/eventbridge.ts +++ b/packages/aws/src/services/eventbridge.ts @@ -3745,7 +3745,7 @@ export class EventBusHasRules extends S.TaggedErrorClass()( from: "ValidationException", message: { includes: "has rules" }, }), -).pipe(C.withConflictError, C.withRetryableError) {} +).pipe(C.withConflictError) {} export class ManagedRuleException extends S.TaggedErrorClass()( "ManagedRuleException", { message: S.optional(S.String) }, From cc368fde8d6f65de8935dc40d5591b403405e4d9 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 10:31:46 -0700 Subject: [PATCH 28/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20ivschat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - ivschat Regenerated: ivschat Snapshot 2026-07-15 10:31 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/ivschat.json | 89 +++++++++++++++++++++++----- packages/aws/src/services/ivschat.ts | 2 +- 2 files changed, 76 insertions(+), 15 deletions(-) diff --git a/packages/aws/patches/ivschat.json b/packages/aws/patches/ivschat.json index c87976d813..c9cea61625 100644 --- a/packages/aws/patches/ivschat.json +++ b/packages/aws/patches/ivschat.json @@ -1,17 +1,78 @@ { "operations": { - "createLoggingConfiguration": { "errors": ["ThrottlingException"] }, - "createRoom": { "errors": ["ThrottlingException"] }, - "deleteLoggingConfiguration": { "errors": ["ThrottlingException"] }, - "deleteRoom": { "errors": ["ThrottlingException"] }, - "getLoggingConfiguration": { "errors": ["ThrottlingException"] }, - "getRoom": { "errors": ["ThrottlingException"] }, - "listLoggingConfigurations": { "errors": ["ThrottlingException"] }, - "listRooms": { "errors": ["ThrottlingException"] }, - "listTagsForResource": { "errors": ["ThrottlingException"] }, - "tagResource": { "errors": ["ThrottlingException"] }, - "untagResource": { "errors": ["ThrottlingException"] }, - "updateLoggingConfiguration": { "errors": ["ThrottlingException"] }, - "updateRoom": { "errors": ["ThrottlingException"] } + "createLoggingConfiguration": { + "errors": [ + "ThrottlingException" + ] + }, + "createRoom": { + "errors": [ + "ThrottlingException" + ] + }, + "deleteLoggingConfiguration": { + "errors": [ + "ThrottlingException" + ] + }, + "deleteRoom": { + "errors": [ + "ThrottlingException" + ] + }, + "getLoggingConfiguration": { + "errors": [ + "ThrottlingException" + ] + }, + "getRoom": { + "errors": [ + "ThrottlingException" + ] + }, + "listLoggingConfigurations": { + "errors": [ + "ThrottlingException" + ] + }, + "listRooms": { + "errors": [ + "ThrottlingException" + ] + }, + "listTagsForResource": { + "errors": [ + "ThrottlingException" + ] + }, + "tagResource": { + "errors": [ + "ThrottlingException" + ] + }, + "untagResource": { + "errors": [ + "ThrottlingException" + ] + }, + "updateLoggingConfiguration": { + "errors": [ + "ThrottlingException" + ] + }, + "updateRoom": { + "errors": [ + "ThrottlingException" + ] + } + }, + "structures": { + "ValidationException": { + "members": { + "reason": { + "optional": true + } + } + } } -} +} \ No newline at end of file diff --git a/packages/aws/src/services/ivschat.ts b/packages/aws/src/services/ivschat.ts index 8edeb86c4e..5a5bc72f2a 100644 --- a/packages/aws/src/services/ivschat.ts +++ b/packages/aws/src/services/ivschat.ts @@ -967,7 +967,7 @@ export class ValidationException extends S.TaggedErrorClass "ValidationException", { message: S.String, - reason: S.String, + reason: S.optional(S.String), fieldList: S.optional(ValidationExceptionFieldList), }, T.HttpError(400), From 2ad3dab9909577dfe026f59adc7cb340ab2258c0 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 10:43:39 -0700 Subject: [PATCH 29/63] =?UTF-8?q?chore(aws/distilled):=20regen=201=20servi?= =?UTF-8?q?ce(s)=20=E2=80=94=20iotfleetwise?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regenerated: iotfleetwise Snapshot 2026-07-15 10:43 Co-Authored-By: Claude Opus 4.8 --- packages/aws/src/services/iotfleetwise.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/aws/src/services/iotfleetwise.ts b/packages/aws/src/services/iotfleetwise.ts index 1508d6002b..edb5d592a0 100644 --- a/packages/aws/src/services/iotfleetwise.ts +++ b/packages/aws/src/services/iotfleetwise.ts @@ -1084,14 +1084,14 @@ export const SignalFetchConfig = /*@__PURE__*/ /*#__PURE__*/ S.Union([ S.Struct({ timeBased: TimeBasedSignalFetchConfig }), S.Struct({ conditionBased: ConditionBasedSignalFetchConfig }), ]); -export type EventExpressionList = string | redacted.Redacted[]; +export type EventExpressionList = (string | redacted.Redacted)[]; export const EventExpressionList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface SignalFetchInformation { fullyQualifiedName: string; signalFetchConfig: SignalFetchConfig; conditionLanguageVersion?: number; - actions: string | redacted.Redacted[]; + actions: (string | redacted.Redacted)[]; } export const SignalFetchInformation = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => @@ -3740,6 +3740,7 @@ export const ListFleetsForVehicleResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -3747,10 +3748,12 @@ export class InternalServerException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -3760,6 +3763,7 @@ export class ThrottlingException extends S.TaggedErrorClass serviceCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -3768,14 +3772,17 @@ export class ValidationException extends S.TaggedErrorClass reason: S.optional(ValidationExceptionReason), fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resource: S.String, resourceType: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class DecoderManifestValidationException extends S.TaggedErrorClass()( "DecoderManifestValidationException", @@ -3784,10 +3791,12 @@ export class DecoderManifestValidationException extends S.TaggedErrorClass()( "InvalidSignalsException", { message: S.optional(S.String), invalidSignals: S.optional(InvalidSignals) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidNodeException extends S.TaggedErrorClass()( "InvalidNodeException", @@ -3796,6 +3805,7 @@ export class InvalidNodeException extends S.TaggedErrorClass Date: Wed, 15 Jul 2026 10:46:52 -0700 Subject: [PATCH 30/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20imagebuilder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - imagebuilder Regenerated: imagebuilder Snapshot 2026-07-15 10:46 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/imagebuilder.json | 3 +++ packages/aws/src/services/imagebuilder.ts | 14 ++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/packages/aws/patches/imagebuilder.json b/packages/aws/patches/imagebuilder.json index 4ce84a4aa8..eaa2102298 100644 --- a/packages/aws/patches/imagebuilder.json +++ b/packages/aws/patches/imagebuilder.json @@ -1,6 +1,9 @@ { "operations": { "getComponent": { "errors": ["ResourceNotFoundException"] }, + "getImage": { "errors": ["ResourceNotFoundException"] }, + "deleteImage": { "errors": ["ResourceNotFoundException"] }, + "cancelImageCreation": { "errors": ["ResourceNotFoundException"] }, "getImageRecipe": { "errors": ["ResourceNotFoundException"] }, "getImagePipeline": { "errors": ["ResourceNotFoundException"] }, "getInfrastructureConfiguration": { diff --git a/packages/aws/src/services/imagebuilder.ts b/packages/aws/src/services/imagebuilder.ts index 492743d4d3..98e62798bc 100644 --- a/packages/aws/src/services/imagebuilder.ts +++ b/packages/aws/src/services/imagebuilder.ts @@ -5623,6 +5623,10 @@ export class ServiceUnavailableException extends S.TaggedErrorClass()( + "ResourceNotFoundException", + {}, +) {} export class DryRunOperationException extends S.TaggedErrorClass()( "DryRunOperationException", { message: S.optional(S.String) }, @@ -5657,10 +5661,6 @@ export class ResourceDependencyException extends S.TaggedErrorClass()( - "ResourceNotFoundException", - {}, -) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, @@ -5692,6 +5692,7 @@ export type CancelImageCreationError = | ResourceInUseException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * CancelImageCreation cancels the creation of Image. This operation can only be used on @@ -5714,6 +5715,7 @@ export const cancelImageCreation: API.OperationMethod< ResourceInUseException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "CancelImageCreation", })); @@ -6217,6 +6219,7 @@ export type DeleteImageError = | ResourceDependencyException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container @@ -6253,6 +6256,7 @@ export const deleteImage: API.OperationMethod< ResourceDependencyException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "DeleteImage", })); @@ -6616,6 +6620,7 @@ export type GetImageError = | InvalidRequestException | ServiceException | ServiceUnavailableException + | ResourceNotFoundException | CommonErrors; /** * Gets an image. @@ -6635,6 +6640,7 @@ export const getImage: API.OperationMethod< InvalidRequestException, ServiceException, ServiceUnavailableException, + ResourceNotFoundException, ], operationName: "GetImage", })); From 62a52c07a1fcb0244c84e7dcb711ebe38cd4e6d2 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 10:58:45 -0700 Subject: [PATCH 31/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=205?= =?UTF-8?q?=20service(s)=20=E2=80=94=20internetmonitor,=20iot-wireless,=20?= =?UTF-8?q?iotsitewise,=20kafka,=20kendra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - internetmonitor - iot-wireless - iotsitewise - kafka - kendra Regenerated: internetmonitor, iot-wireless, iotsitewise, kafka, kendra Snapshot 2026-07-15 10:58 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/internetmonitor.json | 9 ++++ packages/aws/patches/iot-wireless.json | 30 ++++++++++++ packages/aws/patches/iotsitewise.json | 9 ++++ packages/aws/patches/kafka.json | 10 ++++ packages/aws/patches/kendra.json | 9 ++++ packages/aws/src/services/internetmonitor.ts | 18 +++++--- packages/aws/src/services/iot-wireless.ts | 48 ++++++++++++-------- packages/aws/src/services/iotsitewise.ts | 18 +++++++- packages/aws/src/services/kafka.ts | 21 +++++++++ packages/aws/src/services/kendra.ts | 16 ++++++- 10 files changed, 159 insertions(+), 29 deletions(-) create mode 100644 packages/aws/patches/iot-wireless.json create mode 100644 packages/aws/patches/iotsitewise.json create mode 100644 packages/aws/patches/kafka.json diff --git a/packages/aws/patches/internetmonitor.json b/packages/aws/patches/internetmonitor.json index 026b7aa8bc..3be048ab59 100644 --- a/packages/aws/patches/internetmonitor.json +++ b/packages/aws/patches/internetmonitor.json @@ -2,6 +2,15 @@ "errorCategories": { "ResourceNotFoundException": ["NotFoundError"] }, + "structures": { + "GetQueryResultsOutput": { + "members": { + "Data": { + "optional": true + } + } + } + }, "operations": { "getMonitor": { "errors": ["ResourceNotFoundException"] diff --git a/packages/aws/patches/iot-wireless.json b/packages/aws/patches/iot-wireless.json new file mode 100644 index 0000000000..4cd21a126d --- /dev/null +++ b/packages/aws/patches/iot-wireless.json @@ -0,0 +1,30 @@ +{ + "structures": { + "OtaaV1_1": { + "members": { + "AppKey": { "sensitive": true }, + "NwkKey": { "sensitive": true } + } + }, + "OtaaV1_0_x": { + "members": { + "AppKey": { "sensitive": true }, + "GenAppKey": { "sensitive": true } + } + }, + "SessionKeysAbpV1_1": { + "members": { + "FNwkSIntKey": { "sensitive": true }, + "SNwkSIntKey": { "sensitive": true }, + "NwkSEncKey": { "sensitive": true }, + "AppSKey": { "sensitive": true } + } + }, + "SessionKeysAbpV1_0_x": { + "members": { + "NwkSKey": { "sensitive": true }, + "AppSKey": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/iotsitewise.json b/packages/aws/patches/iotsitewise.json new file mode 100644 index 0000000000..6e92e57305 --- /dev/null +++ b/packages/aws/patches/iotsitewise.json @@ -0,0 +1,9 @@ +{ + "structures": { + "AssetModelSummary": { + "members": { + "description": { "optional": true } + } + } + } +} diff --git a/packages/aws/patches/kafka.json b/packages/aws/patches/kafka.json new file mode 100644 index 0000000000..9e7d693210 --- /dev/null +++ b/packages/aws/patches/kafka.json @@ -0,0 +1,10 @@ +{ + "operations": { + "getBootstrapBrokers": { + "errors": ["NotFoundException"] + }, + "listTopics": { + "errors": ["NotFoundException"] + } + } +} diff --git a/packages/aws/patches/kendra.json b/packages/aws/patches/kendra.json index 924d8817d2..b1a4c853d6 100644 --- a/packages/aws/patches/kendra.json +++ b/packages/aws/patches/kendra.json @@ -3,5 +3,14 @@ "listTagsForResource": { "errors": ["ResourceNotFoundException"] } + }, + "structures": { + "UserContext": { + "members": { + "Token": { + "sensitive": true + } + } + } } } diff --git a/packages/aws/src/services/internetmonitor.ts b/packages/aws/src/services/internetmonitor.ts index 0548dbfd50..21c5d1b8fb 100644 --- a/packages/aws/src/services/internetmonitor.ts +++ b/packages/aws/src/services/internetmonitor.ts @@ -656,13 +656,13 @@ export type QueryData = string[][]; export const QueryData = /*@__PURE__*/ /*#__PURE__*/ S.Array(QueryRow); export interface GetQueryResultsOutput { Fields: QueryField[]; - Data: string[][]; + Data?: string[][]; NextToken?: string; } export const GetQueryResultsOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Fields: QueryFields, - Data: QueryData, + Data: S.optional(QueryData), NextToken: S.optional(S.String), }), ).annotate({ @@ -1053,46 +1053,52 @@ export const ListHealthEventsOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { message: S.optional(S.String) }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", diff --git a/packages/aws/src/services/iot-wireless.ts b/packages/aws/src/services/iot-wireless.ts index 9b6a8b07d5..f22e753f0d 100644 --- a/packages/aws/src/services/iot-wireless.ts +++ b/packages/aws/src/services/iot-wireless.ts @@ -982,43 +982,43 @@ export const CreateServiceProfileResponse = export type WirelessDeviceType = "Sidewalk" | "LoRaWAN" | (string & {}); export const WirelessDeviceType = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface OtaaV1_1 { - AppKey?: string; - NwkKey?: string; + AppKey?: string | redacted.Redacted; + NwkKey?: string | redacted.Redacted; JoinEui?: string; } export const OtaaV1_1 = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - AppKey: S.optional(S.String), - NwkKey: S.optional(S.String), + AppKey: S.optional(SensitiveString), + NwkKey: S.optional(SensitiveString), JoinEui: S.optional(S.String), }), ).annotate({ identifier: "OtaaV1_1" }) as any as S.Schema; export interface OtaaV1_0_x { - AppKey?: string; + AppKey?: string | redacted.Redacted; AppEui?: string; JoinEui?: string; - GenAppKey?: string; + GenAppKey?: string | redacted.Redacted; } export const OtaaV1_0_x = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - AppKey: S.optional(S.String), + AppKey: S.optional(SensitiveString), AppEui: S.optional(S.String), JoinEui: S.optional(S.String), - GenAppKey: S.optional(S.String), + GenAppKey: S.optional(SensitiveString), }), ).annotate({ identifier: "OtaaV1_0_x" }) as any as S.Schema; export interface SessionKeysAbpV1_1 { - FNwkSIntKey?: string; - SNwkSIntKey?: string; - NwkSEncKey?: string; - AppSKey?: string; + FNwkSIntKey?: string | redacted.Redacted; + SNwkSIntKey?: string | redacted.Redacted; + NwkSEncKey?: string | redacted.Redacted; + AppSKey?: string | redacted.Redacted; } export const SessionKeysAbpV1_1 = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - FNwkSIntKey: S.optional(S.String), - SNwkSIntKey: S.optional(S.String), - NwkSEncKey: S.optional(S.String), - AppSKey: S.optional(S.String), + FNwkSIntKey: S.optional(SensitiveString), + SNwkSIntKey: S.optional(SensitiveString), + NwkSEncKey: S.optional(SensitiveString), + AppSKey: S.optional(SensitiveString), }), ).annotate({ identifier: "SessionKeysAbpV1_1", @@ -1036,11 +1036,14 @@ export const AbpV1_1 = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }), ).annotate({ identifier: "AbpV1_1" }) as any as S.Schema; export interface SessionKeysAbpV1_0_x { - NwkSKey?: string; - AppSKey?: string; + NwkSKey?: string | redacted.Redacted; + AppSKey?: string | redacted.Redacted; } export const SessionKeysAbpV1_0_x = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ NwkSKey: S.optional(S.String), AppSKey: S.optional(S.String) }), + S.Struct({ + NwkSKey: S.optional(SensitiveString), + AppSKey: S.optional(SensitiveString), + }), ).annotate({ identifier: "SessionKeysAbpV1_0_x", }) as any as S.Schema; @@ -6449,6 +6452,7 @@ export const UpdateWirelessGatewayResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -6457,10 +6461,12 @@ export class ConflictException extends S.TaggedErrorClass()( ResourceId: S.optional(S.String), ResourceType: S.optional(S.String), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -6469,18 +6475,22 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String), ResourceName: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/iotsitewise.ts b/packages/aws/src/services/iotsitewise.ts index 0243aa276d..4dfa5fa4c9 100644 --- a/packages/aws/src/services/iotsitewise.ts +++ b/packages/aws/src/services/iotsitewise.ts @@ -5166,7 +5166,7 @@ export interface AssetModelSummary { arn: string; name: string; assetModelType?: AssetModelType; - description: string; + description?: string; creationDate: Date; lastUpdateDate: Date; status: AssetModelStatus; @@ -5179,7 +5179,7 @@ export const AssetModelSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => arn: S.String, name: S.String, assetModelType: S.optional(AssetModelType), - description: S.String, + description: S.optional(S.String), creationDate: S.Date.pipe(T.TimestampFormat("epoch-seconds")), lastUpdateDate: S.Date.pipe(T.TimestampFormat("epoch-seconds")), status: AssetModelStatus, @@ -7140,58 +7140,72 @@ export const UpdateProjectResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class ConflictingOperationException extends S.TaggedErrorClass()( "ConflictingOperationException", { message: S.String, resourceId: S.String, resourceArn: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalFailureException extends S.TaggedErrorClass()( "InternalFailureException", { message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.String }, + T.HttpError(410), ).pipe(C.withBadRequestError) {} export class ResourceAlreadyExistsException extends S.TaggedErrorClass()( "ResourceAlreadyExistsException", { message: S.String, resourceId: S.String, resourceArn: S.String }, + T.HttpError(409), ).pipe(C.withConflictError, C.withAlreadyExistsError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.String }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.String }, + T.HttpError(503), ).pipe(C.withServerError) {} export class PreconditionFailedException extends S.TaggedErrorClass()( "PreconditionFailedException", { message: S.String, resourceId: S.String, resourceArn: S.String }, + T.HttpError(412), ) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class QueryTimeoutException extends S.TaggedErrorClass()( "QueryTimeoutException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.String }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { message: S.optional(S.String), resourceName: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/kafka.ts b/packages/aws/src/services/kafka.ts index bdd0a1ca62..8c2ccaaca4 100644 --- a/packages/aws/src/services/kafka.ts +++ b/packages/aws/src/services/kafka.ts @@ -5319,70 +5319,87 @@ export const UpdateTopicResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ClusterConnectivityException extends S.TaggedErrorClass()( "ClusterConnectivityException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ControllerMovedException extends S.TaggedErrorClass()( "ControllerMovedException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class GroupSubscribedToTopicException extends S.TaggedErrorClass()( "GroupSubscribedToTopicException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class KafkaRequestException extends S.TaggedErrorClass()( "KafkaRequestException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class KafkaTimeoutException extends S.TaggedErrorClass()( "KafkaTimeoutException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class NotControllerException extends S.TaggedErrorClass()( "NotControllerException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ReassignmentInProgressException extends S.TaggedErrorClass()( "ReassignmentInProgressException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class TopicExistsException extends S.TaggedErrorClass()( "TopicExistsException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class UnknownTopicOrPartitionException extends S.TaggedErrorClass()( "UnknownTopicOrPartitionException", { InvalidParameter: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} //# Operations @@ -6135,6 +6152,7 @@ export type GetBootstrapBrokersError = | ForbiddenException | InternalServerErrorException | UnauthorizedException + | NotFoundException | CommonErrors; /** * A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the `ListClusters` operation to get the ARNs of all the clusters in this account and Region. @@ -6153,6 +6171,7 @@ export const getBootstrapBrokers: API.OperationMethod< ForbiddenException, InternalServerErrorException, UnauthorizedException, + NotFoundException, ], operationName: "GetBootstrapBrokers", })); @@ -6773,6 +6792,7 @@ export type ListTopicsError = | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException + | NotFoundException | CommonErrors; /** * List topics in a MSK cluster. @@ -6806,6 +6826,7 @@ export const listTopics: API.OperationMethod< InternalServerErrorException, ServiceUnavailableException, UnauthorizedException, + NotFoundException, ], operationName: "ListTopics", pagination: { diff --git a/packages/aws/src/services/kendra.ts b/packages/aws/src/services/kendra.ts index 3e970f7065..ba4c91021f 100644 --- a/packages/aws/src/services/kendra.ts +++ b/packages/aws/src/services/kendra.ts @@ -3612,14 +3612,14 @@ export type DataSourceGroups = DataSourceGroup[]; export const DataSourceGroups = /*@__PURE__*/ /*#__PURE__*/ S.Array(DataSourceGroup); export interface UserContext { - Token?: string; + Token?: string | redacted.Redacted; UserId?: string; Groups?: string[]; DataSourceGroups?: DataSourceGroup[]; } export const UserContext = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - Token: S.optional(S.String), + Token: S.optional(SensitiveString), UserId: S.optional(S.String), Groups: S.optional(Groups), DataSourceGroups: S.optional(DataSourceGroups), @@ -5478,34 +5478,42 @@ export const UpdateThesaurusResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceAlreadyExistException extends S.TaggedErrorClass()( "ResourceAlreadyExistException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class FeaturedResultsConflictException extends S.TaggedErrorClass()( "FeaturedResultsConflictException", @@ -5513,18 +5521,22 @@ export class FeaturedResultsConflictException extends S.TaggedErrorClass()( "InvalidRequestException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceUnavailableException extends S.TaggedErrorClass()( "ResourceUnavailableException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ResourceInUseException extends S.TaggedErrorClass()( "ResourceInUseException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations From 93169fb69749561330024bfe976e8d87c1f1eeb3 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 11:13:52 -0700 Subject: [PATCH 32/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=205?= =?UTF-8?q?=20service(s)=20=E2=80=94=20iot-data-plane,=20kinesis-video-sig?= =?UTF-8?q?naling,=20lakeformation,=20license-manager,=20mq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - iot-data-plane - kinesis-video-signaling - lakeformation - license-manager - mq Regenerated: iot-data-plane, kinesis-video-signaling, lakeformation, license-manager, mq Snapshot 2026-07-15 11:13 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/iot-data-plane.json | 25 ++++++ .../aws/patches/kinesis-video-signaling.json | 9 ++ packages/aws/patches/lakeformation.json | 26 ++++++ packages/aws/patches/license-manager.json | 17 ++++ packages/aws/patches/mq.json | 24 +++++ packages/aws/src/services/iot-data-plane.ts | 26 ++++++ .../src/services/kinesis-video-signaling.ts | 12 ++- packages/aws/src/services/lakeformation.ts | 44 ++++++---- packages/aws/src/services/license-manager.ts | 88 ++++++++++++++----- packages/aws/src/services/mq.ts | 24 +++-- packages/aws/src/traits.ts | 6 +- 11 files changed, 252 insertions(+), 49 deletions(-) create mode 100644 packages/aws/patches/iot-data-plane.json create mode 100644 packages/aws/patches/kinesis-video-signaling.json create mode 100644 packages/aws/patches/mq.json diff --git a/packages/aws/patches/iot-data-plane.json b/packages/aws/patches/iot-data-plane.json new file mode 100644 index 0000000000..6c9ae7612e --- /dev/null +++ b/packages/aws/patches/iot-data-plane.json @@ -0,0 +1,25 @@ +{ + "operations": { + "publish": { + "errors": ["ForbiddenException"] + }, + "getThingShadow": { + "errors": ["ForbiddenException"] + }, + "updateThingShadow": { + "errors": ["ForbiddenException"] + }, + "deleteThingShadow": { + "errors": ["ForbiddenException"] + }, + "listNamedShadowsForThing": { + "errors": ["ForbiddenException"] + }, + "getRetainedMessage": { + "errors": ["ForbiddenException"] + }, + "listRetainedMessages": { + "errors": ["ForbiddenException"] + } + } +} diff --git a/packages/aws/patches/kinesis-video-signaling.json b/packages/aws/patches/kinesis-video-signaling.json new file mode 100644 index 0000000000..6c07311afd --- /dev/null +++ b/packages/aws/patches/kinesis-video-signaling.json @@ -0,0 +1,9 @@ +{ + "structures": { + "IceServer": { + "members": { + "Password": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/lakeformation.json b/packages/aws/patches/lakeformation.json index 8c7dc4a86c..5be8efaf8a 100644 --- a/packages/aws/patches/lakeformation.json +++ b/packages/aws/patches/lakeformation.json @@ -1,4 +1,30 @@ { + "structures": { + "TemporaryCredentials": { + "members": { + "SecretAccessKey": { "sensitive": true }, + "SessionToken": { "sensitive": true } + } + }, + "GetTemporaryGluePartitionCredentialsResponse": { + "members": { + "SecretAccessKey": { "sensitive": true }, + "SessionToken": { "sensitive": true } + } + }, + "GetTemporaryGlueTableCredentialsResponse": { + "members": { + "SecretAccessKey": { "sensitive": true }, + "SessionToken": { "sensitive": true } + } + }, + "AssumeDecoratedRoleWithSAMLResponse": { + "members": { + "SecretAccessKey": { "sensitive": true }, + "SessionToken": { "sensitive": true } + } + } + }, "operations": { "deregisterResource": { "syntheticErrors": [ diff --git a/packages/aws/patches/license-manager.json b/packages/aws/patches/license-manager.json index 2ecbb801fe..65cb3accca 100644 --- a/packages/aws/patches/license-manager.json +++ b/packages/aws/patches/license-manager.json @@ -1,4 +1,21 @@ { + "structures": { + "CreateTokenResponse": { + "members": { + "Token": { "sensitive": true } + } + }, + "GetAccessTokenRequest": { + "members": { + "Token": { "sensitive": true } + } + }, + "GetAccessTokenResponse": { + "members": { + "AccessToken": { "sensitive": true } + } + } + }, "operations": { "getLicenseConfiguration": { "syntheticErrors": [ diff --git a/packages/aws/patches/mq.json b/packages/aws/patches/mq.json new file mode 100644 index 0000000000..12be03336b --- /dev/null +++ b/packages/aws/patches/mq.json @@ -0,0 +1,24 @@ +{ + "structures": { + "User": { + "members": { + "Password": { "sensitive": true } + } + }, + "CreateUserRequest": { + "members": { + "Password": { "sensitive": true } + } + }, + "UpdateUserRequest": { + "members": { + "Password": { "sensitive": true } + } + }, + "LdapServerMetadataInput": { + "members": { + "ServiceAccountPassword": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/src/services/iot-data-plane.ts b/packages/aws/src/services/iot-data-plane.ts index a41643376e..a31c9a7c75 100644 --- a/packages/aws/src/services/iot-data-plane.ts +++ b/packages/aws/src/services/iot-data-plane.ts @@ -635,50 +635,62 @@ export const UpdateThingShadowResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalFailureException extends S.TaggedErrorClass()( "InternalFailureException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class MethodNotAllowedException extends S.TaggedErrorClass()( "MethodNotAllowedException", { message: S.optional(S.String) }, + T.HttpError(405), ).pipe(C.withBadRequestError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class UnsupportedDocumentEncodingException extends S.TaggedErrorClass()( "UnsupportedDocumentEncodingException", { message: S.optional(S.String) }, + T.HttpError(415), ).pipe(C.withBadRequestError) {} export class GatewayTimeoutException extends S.TaggedErrorClass()( "GatewayTimeoutException", { message: S.optional(S.String) }, + T.HttpError(504), ).pipe(C.withTimeoutError) {} export class RequestEntityTooLargeException extends S.TaggedErrorClass()( "RequestEntityTooLargeException", { message: S.optional(S.String) }, + T.HttpError(413), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} //# Operations @@ -720,6 +732,7 @@ export type DeleteThingShadowError = | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException + | ForbiddenException | CommonErrors; /** * Deletes the shadow for the specified thing. @@ -745,6 +758,7 @@ export const deleteThingShadow: API.OperationMethod< ThrottlingException, UnauthorizedException, UnsupportedDocumentEncodingException, + ForbiddenException, ], operationName: "DeleteThingShadow", })); @@ -785,6 +799,7 @@ export type GetRetainedMessageError = | ServiceUnavailableException | ThrottlingException | UnauthorizedException + | ForbiddenException | CommonErrors; /** * Gets the details of a single retained message for the specified topic. @@ -814,6 +829,7 @@ export const getRetainedMessage: API.OperationMethod< ServiceUnavailableException, ThrottlingException, UnauthorizedException, + ForbiddenException, ], operationName: "GetRetainedMessage", })); @@ -826,6 +842,7 @@ export type GetThingShadowError = | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException + | ForbiddenException | CommonErrors; /** * Gets the shadow for the specified thing. @@ -852,6 +869,7 @@ export const getThingShadow: API.OperationMethod< ThrottlingException, UnauthorizedException, UnsupportedDocumentEncodingException, + ForbiddenException, ], operationName: "GetThingShadow", })); @@ -863,6 +881,7 @@ export type ListNamedShadowsForThingError = | ServiceUnavailableException | ThrottlingException | UnauthorizedException + | ForbiddenException | CommonErrors; /** * Lists the shadows for the specified thing. @@ -885,6 +904,7 @@ export const listNamedShadowsForThing: API.OperationMethod< ServiceUnavailableException, ThrottlingException, UnauthorizedException, + ForbiddenException, ], operationName: "ListNamedShadowsForThing", })); @@ -895,6 +915,7 @@ export type ListRetainedMessagesError = | ServiceUnavailableException | ThrottlingException | UnauthorizedException + | ForbiddenException | CommonErrors; /** * Lists summary information about the retained messages stored for the account. @@ -942,6 +963,7 @@ export const listRetainedMessages: API.OperationMethod< ServiceUnavailableException, ThrottlingException, UnauthorizedException, + ForbiddenException, ], operationName: "ListRetainedMessages", pagination: { @@ -1007,6 +1029,7 @@ export type PublishError = | MethodNotAllowedException | ThrottlingException | UnauthorizedException + | ForbiddenException | CommonErrors; /** * Publishes an MQTT message. @@ -1034,6 +1057,7 @@ export const publish: API.OperationMethod< MethodNotAllowedException, ThrottlingException, UnauthorizedException, + ForbiddenException, ], operationName: "Publish", })); @@ -1088,6 +1112,7 @@ export type UpdateThingShadowError = | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException + | ForbiddenException | CommonErrors; /** * Updates the shadow for the specified thing. @@ -1115,6 +1140,7 @@ export const updateThingShadow: API.OperationMethod< ThrottlingException, UnauthorizedException, UnsupportedDocumentEncodingException, + ForbiddenException, ], operationName: "UpdateThingShadow", })); diff --git a/packages/aws/src/services/kinesis-video-signaling.ts b/packages/aws/src/services/kinesis-video-signaling.ts index aa0f941662..bc6bf7ef63 100644 --- a/packages/aws/src/services/kinesis-video-signaling.ts +++ b/packages/aws/src/services/kinesis-video-signaling.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as API from "../client/api.ts"; import * as T from "../traits.ts"; @@ -6,6 +7,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "Kinesis Video Signaling", serviceShapeName: "AWSAcuitySignalingService", @@ -127,14 +129,14 @@ export const Uris = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export interface IceServer { Uris?: string[]; Username?: string; - Password?: string; + Password?: string | redacted.Redacted; Ttl?: number; } export const IceServer = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Uris: S.optional(Uris), Username: S.optional(S.String), - Password: S.optional(S.String), + Password: S.optional(SensitiveString), Ttl: S.optional(S.Number), }), ).annotate({ identifier: "IceServer" }) as any as S.Schema; @@ -186,26 +188,32 @@ export const SendAlexaOfferToMasterResponse = export class ClientLimitExceededException extends S.TaggedErrorClass()( "ClientLimitExceededException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidArgumentException extends S.TaggedErrorClass()( "InvalidArgumentException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidClientException extends S.TaggedErrorClass()( "InvalidClientException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NotAuthorizedException extends S.TaggedErrorClass()( "NotAuthorizedException", { Message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class SessionExpiredException extends S.TaggedErrorClass()( "SessionExpiredException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/lakeformation.ts b/packages/aws/src/services/lakeformation.ts index 57b8702d82..02aab00f00 100644 --- a/packages/aws/src/services/lakeformation.ts +++ b/packages/aws/src/services/lakeformation.ts @@ -416,16 +416,16 @@ export const AssumeDecoratedRoleWithSAMLRequest = }) as any as S.Schema; export interface AssumeDecoratedRoleWithSAMLResponse { AccessKeyId?: string; - SecretAccessKey?: string; - SessionToken?: string; + SecretAccessKey?: string | redacted.Redacted; + SessionToken?: string | redacted.Redacted; Expiration?: Date; } export const AssumeDecoratedRoleWithSAMLResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ AccessKeyId: S.optional(S.String), - SecretAccessKey: S.optional(S.String), - SessionToken: S.optional(S.String), + SecretAccessKey: S.optional(SensitiveString), + SessionToken: S.optional(SensitiveString), Expiration: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ @@ -1783,15 +1783,15 @@ export const GetTemporaryDataLocationCredentialsRequest = }) as any as S.Schema; export interface TemporaryCredentials { AccessKeyId?: string; - SecretAccessKey?: string; - SessionToken?: string; + SecretAccessKey?: string | redacted.Redacted; + SessionToken?: string | redacted.Redacted; Expiration?: Date; } export const TemporaryCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ AccessKeyId: S.optional(S.String), - SecretAccessKey: S.optional(S.String), - SessionToken: S.optional(S.String), + SecretAccessKey: S.optional(SensitiveString), + SessionToken: S.optional(SensitiveString), Expiration: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ @@ -1867,16 +1867,16 @@ export const GetTemporaryGluePartitionCredentialsRequest = }) as any as S.Schema; export interface GetTemporaryGluePartitionCredentialsResponse { AccessKeyId?: string; - SecretAccessKey?: string; - SessionToken?: string; + SecretAccessKey?: string | redacted.Redacted; + SessionToken?: string | redacted.Redacted; Expiration?: Date; } export const GetTemporaryGluePartitionCredentialsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ AccessKeyId: S.optional(S.String), - SecretAccessKey: S.optional(S.String), - SessionToken: S.optional(S.String), + SecretAccessKey: S.optional(SensitiveString), + SessionToken: S.optional(SensitiveString), Expiration: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), }), ).annotate({ @@ -1939,8 +1939,8 @@ export const GetTemporaryGlueTableCredentialsRequest = }) as any as S.Schema; export interface GetTemporaryGlueTableCredentialsResponse { AccessKeyId?: string; - SecretAccessKey?: string; - SessionToken?: string; + SecretAccessKey?: string | redacted.Redacted; + SessionToken?: string | redacted.Redacted; Expiration?: Date; VendedS3Path?: string[]; } @@ -1948,8 +1948,8 @@ export const GetTemporaryGlueTableCredentialsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ AccessKeyId: S.optional(S.String), - SecretAccessKey: S.optional(S.String), - SessionToken: S.optional(S.String), + SecretAccessKey: S.optional(SensitiveString), + SessionToken: S.optional(SensitiveString), Expiration: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))), VendedS3Path: S.optional(PathStringList), }), @@ -3137,6 +3137,7 @@ export const UpdateTableStorageOptimizerResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConcurrentModificationException extends S.TaggedErrorClass()( "ConcurrentModificationException", @@ -3149,10 +3150,12 @@ export class EntityNotFoundException extends S.TaggedErrorClass()( "InternalServiceException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidInputException extends S.TaggedErrorClass()( "InvalidInputException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class OperationTimeoutException extends S.TaggedErrorClass()( "OperationTimeoutException", @@ -3161,14 +3164,17 @@ export class OperationTimeoutException extends S.TaggedErrorClass()( "TransactionCommitInProgressException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TransactionCommittedException extends S.TaggedErrorClass()( "TransactionCommittedException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TransactionCanceledException extends S.TaggedErrorClass()( "TransactionCanceledException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class AlreadyExistsException extends S.TaggedErrorClass()( "AlreadyExistsException", @@ -3181,6 +3187,7 @@ export class ResourceNumberLimitExceededException extends S.TaggedErrorClass()( "ResourceNotReadyException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LastServiceLinkedRoleRegistration extends S.TaggedErrorClass()( "LastServiceLinkedRoleRegistration", @@ -3193,15 +3200,17 @@ export class LastServiceLinkedRoleRegistration extends S.TaggedErrorClass()( "ExpiredException", { Message: S.optional(S.String) }, + T.HttpError(410), ).pipe(C.withBadRequestError) {} export class StatisticsNotReadyYetException extends S.TaggedErrorClass()( "StatisticsNotReadyYetException", { Message: S.optional(S.String) }, + T.HttpError(420), ) {} export class ThrottledException extends S.TaggedErrorClass()( "ThrottledException", { Message: S.optional(S.String) }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class GlueEncryptionException extends S.TaggedErrorClass()( "GlueEncryptionException", @@ -3218,6 +3227,7 @@ export class PermissionTypeMismatchException extends S.TaggedErrorClass()( "WorkUnitsNotReadyYetException", { Message: S.optional(S.String) }, + T.HttpError(420), ) {} export class InvalidLakeFormationPrincipal extends S.TaggedErrorClass()( "InvalidLakeFormationPrincipal", diff --git a/packages/aws/src/services/license-manager.ts b/packages/aws/src/services/license-manager.ts index 2557f61e6c..e9a818905f 100644 --- a/packages/aws/src/services/license-manager.ts +++ b/packages/aws/src/services/license-manager.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as API from "../client/api.ts"; import * as T from "../traits.ts"; @@ -6,6 +7,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace( "https://license-manager.amazonaws.com/doc/2018_08_01", ); @@ -1220,13 +1222,13 @@ export const TokenType = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface CreateTokenResponse { TokenId?: string; TokenType?: TokenType; - Token?: string; + Token?: string | redacted.Redacted; } export const CreateTokenResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ TokenId: S.optional(S.String), TokenType: S.optional(TokenType), - Token: S.optional(S.String), + Token: S.optional(SensitiveString), }).pipe(ns), ).annotate({ identifier: "CreateTokenResponse", @@ -1472,12 +1474,12 @@ export const ExtendLicenseConsumptionResponse = identifier: "ExtendLicenseConsumptionResponse", }) as any as S.Schema; export interface GetAccessTokenRequest { - Token: string; + Token: string | redacted.Redacted; TokenProperties?: string[]; } export const GetAccessTokenRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - Token: S.String, + Token: SensitiveString, TokenProperties: S.optional(MaxSize3StringList), }).pipe( T.all( @@ -1494,10 +1496,10 @@ export const GetAccessTokenRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => identifier: "GetAccessTokenRequest", }) as any as S.Schema; export interface GetAccessTokenResponse { - AccessToken?: string; + AccessToken?: string | redacted.Redacted; } export const GetAccessTokenResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ AccessToken: S.optional(S.String) }).pipe(ns), + () => S.Struct({ AccessToken: S.optional(SensitiveString) }).pipe(ns), ).annotate({ identifier: "GetAccessTokenResponse", }) as any as S.Schema; @@ -3609,57 +3611,87 @@ export const UpdateServiceSettingsResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ServiceAccessDenied", httpResponseCode: 401 }), + T.all( + T.AwsQueryError({ code: "ServiceAccessDenied", httpResponseCode: 401 }), + T.HttpError(401), + ), ).pipe(C.withAuthError) {} export class AuthorizationException extends S.TaggedErrorClass()( "AuthorizationException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "AuthorizationFailure", httpResponseCode: 403 }), + T.all( + T.AwsQueryError({ code: "AuthorizationFailure", httpResponseCode: 403 }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class InvalidParameterValueException extends S.TaggedErrorClass()( "InvalidParameterValueException", { Message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidParameterValueProvided", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidParameterValueProvided", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class RateLimitExceededException extends S.TaggedErrorClass()( "RateLimitExceededException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "RateLimitExceeded", httpResponseCode: 429 }), + T.all( + T.AwsQueryError({ code: "RateLimitExceeded", httpResponseCode: 429 }), + T.HttpError(429), + ), ).pipe(C.withThrottlingError) {} export class ResourceLimitExceededException extends S.TaggedErrorClass()( "ResourceLimitExceededException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ResourceLimitExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ResourceLimitExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ServerInternalException extends S.TaggedErrorClass()( "ServerInternalException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InternalError", httpResponseCode: 500 }), + T.all( + T.AwsQueryError({ code: "InternalError", httpResponseCode: 500 }), + T.HttpError(500), + ), ).pipe(C.withServerError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "ConflictException", httpResponseCode: 409 }), + T.all( + T.AwsQueryError({ code: "ConflictException", httpResponseCode: 409 }), + T.HttpError(409), + ), ).pipe(C.withConflictError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidResource.NotFound", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidResource.NotFound", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class EntitlementNotAllowedException extends S.TaggedErrorClass()( "EntitlementNotAllowedException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NoEntitlementsAllowedException extends S.TaggedErrorClass()( "NoEntitlementsAllowedException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class RedirectException extends S.TaggedErrorClass()( "RedirectException", @@ -3667,10 +3699,12 @@ export class RedirectException extends S.TaggedErrorClass()( Location: S.optional(S.String).pipe(T.HttpHeader("Location")), Message: S.optional(S.String), }, + T.HttpError(308), ) {} export class UnsupportedDigitalSignatureMethodException extends S.TaggedErrorClass()( "UnsupportedDigitalSignatureMethodException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LicenseConfigurationNotFound extends S.TaggedErrorClass()( "LicenseConfigurationNotFound", @@ -3683,22 +3717,34 @@ export class LicenseConfigurationNotFound extends S.TaggedErrorClass()( "FilterLimitExceededException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "FilterLimitExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "FilterLimitExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class FailedDependencyException extends S.TaggedErrorClass()( "FailedDependencyException", { Message: S.optional(S.String), ErrorCode: S.optional(S.String) }, - T.AwsQueryError({ code: "FailedDependency", httpResponseCode: 424 }), + T.all( + T.AwsQueryError({ code: "FailedDependency", httpResponseCode: 424 }), + T.HttpError(424), + ), ) {} export class InvalidResourceStateException extends S.TaggedErrorClass()( "InvalidResourceStateException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidResourceState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidResourceState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class LicenseUsageException extends S.TaggedErrorClass()( "LicenseUsageException", { Message: S.optional(S.String) }, - T.AwsQueryError({ code: "LicenseUsageFailure", httpResponseCode: 412 }), + T.all( + T.AwsQueryError({ code: "LicenseUsageFailure", httpResponseCode: 412 }), + T.HttpError(412), + ), ) {} //# Operations diff --git a/packages/aws/src/services/mq.ts b/packages/aws/src/services/mq.ts index 92b4aaa7a1..ff7f890b92 100644 --- a/packages/aws/src/services/mq.ts +++ b/packages/aws/src/services/mq.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "mq", serviceShapeName: "mq" }); const auth = T.AwsAuthSigv4({ name: "mq" }); const ver = T.ServiceVersion("2017-11-27"); @@ -133,7 +135,7 @@ export interface LdapServerMetadataInput { RoleName?: string; RoleSearchMatching?: string; RoleSearchSubtree?: boolean; - ServiceAccountPassword?: string; + ServiceAccountPassword?: string | redacted.Redacted; ServiceAccountUsername?: string; UserBase?: string; UserRoleName?: string; @@ -148,7 +150,7 @@ export const LdapServerMetadataInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( RoleName: S.optional(S.String), RoleSearchMatching: S.optional(S.String), RoleSearchSubtree: S.optional(S.Boolean), - ServiceAccountPassword: S.optional(S.String), + ServiceAccountPassword: S.optional(SensitiveString), ServiceAccountUsername: S.optional(S.String), UserBase: S.optional(S.String), UserRoleName: S.optional(S.String), @@ -222,7 +224,7 @@ export const __mapOf__string = /*@__PURE__*/ /*#__PURE__*/ S.Record( export interface User { ConsoleAccess?: boolean; Groups?: string[]; - Password?: string; + Password?: string | redacted.Redacted; Username?: string; ReplicationUser?: boolean; } @@ -230,7 +232,7 @@ export const User = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ConsoleAccess: S.optional(S.Boolean), Groups: S.optional(__listOf__string), - Password: S.optional(S.String), + Password: S.optional(SensitiveString), Username: S.optional(S.String), ReplicationUser: S.optional(S.Boolean), }).pipe( @@ -493,7 +495,7 @@ export interface CreateUserRequest { BrokerId: string; ConsoleAccess?: boolean; Groups?: string[]; - Password?: string; + Password?: string | redacted.Redacted; Username: string; ReplicationUser?: boolean; } @@ -502,7 +504,7 @@ export const CreateUserRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => BrokerId: S.String.pipe(T.HttpLabel("BrokerId")), ConsoleAccess: S.optional(S.Boolean), Groups: S.optional(__listOf__string), - Password: S.optional(S.String), + Password: S.optional(SensitiveString), Username: S.String.pipe(T.HttpLabel("Username")), ReplicationUser: S.optional(S.Boolean), }) @@ -2081,7 +2083,7 @@ export interface UpdateUserRequest { BrokerId: string; ConsoleAccess?: boolean; Groups?: string[]; - Password?: string; + Password?: string | redacted.Redacted; Username: string; ReplicationUser?: boolean; } @@ -2090,7 +2092,7 @@ export const UpdateUserRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => BrokerId: S.String.pipe(T.HttpLabel("BrokerId")), ConsoleAccess: S.optional(S.Boolean), Groups: S.optional(__listOf__string), - Password: S.optional(S.String), + Password: S.optional(SensitiveString), Username: S.String.pipe(T.HttpLabel("Username")), ReplicationUser: S.optional(S.Boolean), }) @@ -2133,6 +2135,7 @@ export class BadRequestException extends S.TaggedErrorClass Message: S.optional(S.String), ResourceShareErrors: S.optional(__listOfResourceShareError), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -2141,6 +2144,7 @@ export class ConflictException extends S.TaggedErrorClass()( Message: S.optional(S.String), ResourceShareErrors: S.optional(__listOfResourceShareError), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", @@ -2149,6 +2153,7 @@ export class ForbiddenException extends S.TaggedErrorClass() Message: S.optional(S.String), ResourceShareErrors: S.optional(__listOfResourceShareError), }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", @@ -2157,6 +2162,7 @@ export class InternalServerErrorException extends S.TaggedErrorClass()( "UnauthorizedException", @@ -2165,6 +2171,7 @@ export class UnauthorizedException extends S.TaggedErrorClass()( "NotFoundException", @@ -2173,6 +2180,7 @@ export class NotFoundException extends S.TaggedErrorClass()( Message: S.optional(S.String), ResourceShareErrors: S.optional(__listOfResourceShareError), }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/traits.ts b/packages/aws/src/traits.ts index 679dee1724..10b5be951d 100644 --- a/packages/aws/src/traits.ts +++ b/packages/aws/src/traits.ts @@ -231,7 +231,11 @@ export const TimestampFormat = (format: TimestampFormatType) => { S.Date, SchemaTransformation.transform({ decode: (n) => new Date(n * 1000), - encode: (d) => d.getTime() / 1000, + // Truncate to whole seconds: some services parse + // epoch-seconds strictly and reject fractional values — + // e.g. IoT SiteWise's GetAssetPropertyAggregates fails + // with "The date can only be in seconds." + encode: (d) => Math.floor(d.getTime() / 1000), }), ), ) From 53028f5729e18ca10d9e56f13b0293b6b3f43496 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 11:17:01 -0700 Subject: [PATCH 33/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20lakeformation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - lakeformation Regenerated: lakeformation Snapshot 2026-07-15 11:17 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/lakeformation.json | 33 ++++++++++++++++++++++ packages/aws/src/services/lakeformation.ts | 22 +++++++++------ 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/packages/aws/patches/lakeformation.json b/packages/aws/patches/lakeformation.json index 5be8efaf8a..051606b4bd 100644 --- a/packages/aws/patches/lakeformation.json +++ b/packages/aws/patches/lakeformation.json @@ -80,6 +80,39 @@ } } ] + }, + "createLakeFormationOptIn": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] + }, + "deleteLakeFormationOptIn": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] + }, + "listLakeFormationOptIns": { + "syntheticErrors": [ + { + "name": "InvalidLakeFormationPrincipal", + "from": "InvalidInputException", + "message": { + "includes": "Invalid principal" + } + } + ] } }, "errorCategories": { diff --git a/packages/aws/src/services/lakeformation.ts b/packages/aws/src/services/lakeformation.ts index 02aab00f00..e0bc1e38e6 100644 --- a/packages/aws/src/services/lakeformation.ts +++ b/packages/aws/src/services/lakeformation.ts @@ -3184,6 +3184,14 @@ export class ResourceNumberLimitExceededException extends S.TaggedErrorClass()( + "InvalidLakeFormationPrincipal", + { Message: S.optional(S.String) }, + T.SyntheticError({ + from: "InvalidInputException", + message: { includes: "Invalid principal" }, + }), +).pipe(C.withBadRequestError, C.withRetryableError) {} export class ResourceNotReadyException extends S.TaggedErrorClass()( "ResourceNotReadyException", { Message: S.optional(S.String) }, @@ -3229,14 +3237,6 @@ export class WorkUnitsNotReadyYetException extends S.TaggedErrorClass()( - "InvalidLakeFormationPrincipal", - { Message: S.optional(S.String) }, - T.SyntheticError({ - from: "InvalidInputException", - message: { includes: "Invalid principal" }, - }), -).pipe(C.withBadRequestError, C.withRetryableError) {} //# Operations export type AddLFTagsToResourceError = @@ -3474,6 +3474,7 @@ export type CreateLakeFormationOptInError = | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Enforce Lake Formation permissions for the given databases, tables, and principals. @@ -3494,6 +3495,7 @@ export const createLakeFormationOptIn: API.OperationMethod< InvalidInputException, OperationTimeoutException, ResourceNumberLimitExceededException, + InvalidLakeFormationPrincipal, ], operationName: "CreateLakeFormationOptIn", })); @@ -3626,6 +3628,7 @@ export type DeleteLakeFormationOptInError = | InternalServiceException | InvalidInputException | OperationTimeoutException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Remove the Lake Formation permissions enforcement of the given databases, tables, and principals. @@ -3645,6 +3648,7 @@ export const deleteLakeFormationOptIn: API.OperationMethod< InternalServiceException, InvalidInputException, OperationTimeoutException, + InvalidLakeFormationPrincipal, ], operationName: "DeleteLakeFormationOptIn", })); @@ -4458,6 +4462,7 @@ export type ListLakeFormationOptInsError = | InternalServiceException | InvalidInputException | OperationTimeoutException + | InvalidLakeFormationPrincipal | CommonErrors; /** * Retrieve the current list of resources and principals that are opt in to enforce Lake Formation permissions. @@ -4490,6 +4495,7 @@ export const listLakeFormationOptIns: API.OperationMethod< InternalServiceException, InvalidInputException, OperationTimeoutException, + InvalidLakeFormationPrincipal, ], operationName: "ListLakeFormationOptIns", pagination: { From be7495c64759fba3b6542566434b375535df5ebc Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 11:28:58 -0700 Subject: [PATCH 34/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=204?= =?UTF-8?q?=20service(s)=20=E2=80=94=20license-manager,=20macie2,=20mediac?= =?UTF-8?q?onvert,=20mwaa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - license-manager - macie2 - mediaconvert - mwaa Regenerated: license-manager, location, macie2, mediaconvert, mwaa Also touched generator/core (scripts, errors). Snapshot 2026-07-15 11:28 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/license-manager.json | 3 ++ packages/aws/patches/macie2.json | 34 ++++++++++++++ packages/aws/patches/mediaconvert.json | 9 ++++ packages/aws/patches/mwaa.json | 5 ++ packages/aws/scripts/generate.ts | 31 +++++++++++++ packages/aws/scripts/spec-schema.ts | 11 +++++ packages/aws/src/services/license-manager.ts | 2 + packages/aws/src/services/location.ts | 48 +++++++++++--------- packages/aws/src/services/macie2.ts | 20 +++++++- packages/aws/src/services/mediaconvert.ts | 13 +++++- packages/aws/src/services/mwaa.ts | 7 +++ 11 files changed, 158 insertions(+), 25 deletions(-) create mode 100644 packages/aws/patches/mediaconvert.json create mode 100644 packages/aws/patches/mwaa.json diff --git a/packages/aws/patches/license-manager.json b/packages/aws/patches/license-manager.json index 65cb3accca..ad57e95a8b 100644 --- a/packages/aws/patches/license-manager.json +++ b/packages/aws/patches/license-manager.json @@ -17,6 +17,9 @@ } }, "operations": { + "getAccessToken": { + "errors": ["InvalidParameterValueException"] + }, "getLicenseConfiguration": { "syntheticErrors": [ { diff --git a/packages/aws/patches/macie2.json b/packages/aws/patches/macie2.json index 3e3d783b0d..71f4ebfd5e 100644 --- a/packages/aws/patches/macie2.json +++ b/packages/aws/patches/macie2.json @@ -1,4 +1,11 @@ { + "structures": { + "DetectedDataDetails": { + "members": { + "value": { "sensitive": true } + } + } + }, "operations": { "createClassificationJob": { "syntheticErrors": [ @@ -8,6 +15,33 @@ "message": { "includes": "Macie is not enabled" } } ] + }, + "createAllowList": { + "syntheticErrors": [ + { + "name": "MacieNotEnabled", + "from": "AccessDeniedException", + "message": { "includes": "Macie is not enabled" } + } + ] + }, + "createCustomDataIdentifier": { + "syntheticErrors": [ + { + "name": "MacieNotEnabled", + "from": "AccessDeniedException", + "message": { "includes": "Macie is not enabled" } + } + ] + }, + "createFindingsFilter": { + "syntheticErrors": [ + { + "name": "MacieNotEnabled", + "from": "AccessDeniedException", + "message": { "includes": "Macie is not enabled" } + } + ] } }, "errorCategories": { diff --git a/packages/aws/patches/mediaconvert.json b/packages/aws/patches/mediaconvert.json new file mode 100644 index 0000000000..77b3fecb50 --- /dev/null +++ b/packages/aws/patches/mediaconvert.json @@ -0,0 +1,9 @@ +{ + "structures": { + "StaticKeyProvider": { + "members": { + "StaticKeyValue": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/mwaa.json b/packages/aws/patches/mwaa.json new file mode 100644 index 0000000000..0efd9ad5d8 --- /dev/null +++ b/packages/aws/patches/mwaa.json @@ -0,0 +1,5 @@ +{ + "errorHttpStatus": { + "ResourceNotFoundException": 404 + } +} diff --git a/packages/aws/scripts/generate.ts b/packages/aws/scripts/generate.ts index 3d3a484507..4fee0a0bc4 100644 --- a/packages/aws/scripts/generate.ts +++ b/packages/aws/scripts/generate.ts @@ -3496,6 +3496,37 @@ const generateClient = Effect.fn(function* ( // Load spec patches for this service const serviceSpec = loadServiceSpecPatch(serviceTraits.sdkId); + // Apply error httpError-status patches — some services return REST errors + // with no error code (no X-Amzn-Errortype header, no __type/code body + // field) AND no smithy.api#httpError trait on the declared error shape, so + // the response parser's status-based fallback has nothing to match (e.g. + // MWAA's InvokeRestApi webserver proxy answers a bare 404 + // `{"message":"Environment not found"}` for ResourceNotFoundException). + // The patch declares the wire status, emitted as a T.HttpError(n) + // annotation on the error class. + if (serviceSpec.errorHttpStatus) { + for (const [errorName, status] of Object.entries( + serviceSpec.errorHttpStatus, + )) { + const entry = [...errorShapeIds.entries()].find( + ([shapeId]) => shapeId.split("#")[1] === errorName, + ); + if (entry === undefined) { + return yield* Effect.fail( + new UnableToTransformShapeToSchema({ + message: `patches/${serviceTraits.sdkId + .toLowerCase() + .replaceAll( + " ", + "-", + )}.json errorHttpStatus patches error "${errorName}" which is not declared by any operation in the model`, + }), + ); + } + entry[1].httpError ??= status; + } + } + // Apply union member patches to the loaded model — the live API can return // union variants the published Smithy model is missing (e.g. DataZone's // ProvisioningProperties `{ "manual": {} }` for CustomAwsService diff --git a/packages/aws/scripts/spec-schema.ts b/packages/aws/scripts/spec-schema.ts index 41e7756ccd..924c0b85aa 100644 --- a/packages/aws/scripts/spec-schema.ts +++ b/packages/aws/scripts/spec-schema.ts @@ -257,6 +257,17 @@ export const ServiceSpec = S.Struct({ * Categories are applied globally to the error class, not per-operation. */ errorCategories: S.optional(S.Record(S.String, S.Array(CategorySchema))), + /** + * Map of error names to the HTTP status code they arrive with on the wire. + * Use this when a service returns REST errors that carry NO error code + * (no X-Amzn-Errortype header, no __type/code body field) AND the Smithy + * model lacks the `smithy.api#httpError` trait on the error shape — the + * response parser's status-based fallback then has nothing to match (e.g. + * MWAA's InvokeRestApi webserver proxy returns a bare 404 + * `{"message":"Environment not found"}` for ResourceNotFoundException). + * The status is emitted as a `T.HttpError(n)` annotation on the error class. + */ + errorHttpStatus: S.optional(S.Record(S.String, S.Number)), }); export type ServiceSpec = typeof ServiceSpec.Type; diff --git a/packages/aws/src/services/license-manager.ts b/packages/aws/src/services/license-manager.ts index e9a818905f..494c8fe0bb 100644 --- a/packages/aws/src/services/license-manager.ts +++ b/packages/aws/src/services/license-manager.ts @@ -4469,6 +4469,7 @@ export type GetAccessTokenError = | RateLimitExceededException | ServerInternalException | ValidationException + | InvalidParameterValueException | CommonErrors; /** * Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens @@ -4488,6 +4489,7 @@ export const getAccessToken: API.OperationMethod< RateLimitExceededException, ServerInternalException, ValidationException, + InvalidParameterValueException, ], operationName: "GetAccessToken", })); diff --git a/packages/aws/src/services/location.ts b/packages/aws/src/services/location.ts index 997d2ff60a..b99a03f322 100644 --- a/packages/aws/src/services/location.ts +++ b/packages/aws/src/services/location.ts @@ -156,7 +156,7 @@ export type ApiKeyActionList = string[]; export const ApiKeyActionList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export type GeoArnList = string[]; export const GeoArnList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); -export type RefererPatternList = string | redacted.Redacted[]; +export type RefererPatternList = (string | redacted.Redacted)[]; export const RefererPatternList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface AndroidApp { @@ -179,7 +179,7 @@ export const AppleAppList = /*@__PURE__*/ /*#__PURE__*/ S.Array(AppleApp); export interface ApiKeyRestrictions { AllowActions: string[]; AllowResources: string[]; - AllowReferers?: string | redacted.Redacted[]; + AllowReferers?: (string | redacted.Redacted)[]; AllowAndroidApps?: AndroidApp[]; AllowAppleApps?: AppleApp[]; } @@ -2174,12 +2174,13 @@ export interface TimeZone { export const TimeZone = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Name: SensitiveString, Offset: S.optional(S.Number) }), ).annotate({ identifier: "TimeZone" }) as any as S.Schema; -export type PlaceCategoryList = string | redacted.Redacted[]; +export type PlaceCategoryList = (string | redacted.Redacted)[]; export const PlaceCategoryList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); -export type PlaceSupplementalCategoryList = +export type PlaceSupplementalCategoryList = ( | string - | redacted.Redacted[]; + | redacted.Redacted +)[]; export const PlaceSupplementalCategoryList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface Place { @@ -2197,8 +2198,8 @@ export interface Place { TimeZone?: TimeZone; UnitType?: string | redacted.Redacted; UnitNumber?: string | redacted.Redacted; - Categories?: string | redacted.Redacted[]; - SupplementalCategories?: string | redacted.Redacted[]; + Categories?: (string | redacted.Redacted)[]; + SupplementalCategories?: (string | redacted.Redacted)[]; SubMunicipality?: string | redacted.Redacted; } export const Place = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -2312,10 +2313,10 @@ export const SearchPlaceIndexForPositionResponse = }) as any as S.Schema; export type BoundingBox = number[]; export const BoundingBox = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.Number); -export type CountryCodeList = string | redacted.Redacted[]; +export type CountryCodeList = (string | redacted.Redacted)[]; export const CountryCodeList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); -export type FilterPlaceCategoryList = string | redacted.Redacted[]; +export type FilterPlaceCategoryList = (string | redacted.Redacted)[]; export const FilterPlaceCategoryList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface SearchPlaceIndexForSuggestionsRequest { @@ -2323,10 +2324,10 @@ export interface SearchPlaceIndexForSuggestionsRequest { Text: string | redacted.Redacted; BiasPosition?: number[]; FilterBBox?: number[]; - FilterCountries?: string | redacted.Redacted[]; + FilterCountries?: (string | redacted.Redacted)[]; MaxResults?: number; Language?: string; - FilterCategories?: string | redacted.Redacted[]; + FilterCategories?: (string | redacted.Redacted)[]; Key?: string | redacted.Redacted; } export const SearchPlaceIndexForSuggestionsRequest = @@ -2361,11 +2362,11 @@ export interface SearchPlaceIndexForSuggestionsSummary { Text: string | redacted.Redacted; BiasPosition?: number[]; FilterBBox?: number[]; - FilterCountries?: string | redacted.Redacted[]; + FilterCountries?: (string | redacted.Redacted)[]; MaxResults?: number; DataSource: string; Language?: string; - FilterCategories?: string | redacted.Redacted[]; + FilterCategories?: (string | redacted.Redacted)[]; } export const SearchPlaceIndexForSuggestionsSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -2385,8 +2386,8 @@ export const SearchPlaceIndexForSuggestionsSummary = export interface SearchForSuggestionsResult { Text: string | redacted.Redacted; PlaceId?: string | redacted.Redacted; - Categories?: string | redacted.Redacted[]; - SupplementalCategories?: string | redacted.Redacted[]; + Categories?: (string | redacted.Redacted)[]; + SupplementalCategories?: (string | redacted.Redacted)[]; } export const SearchForSuggestionsResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => @@ -2420,10 +2421,10 @@ export interface SearchPlaceIndexForTextRequest { Text: string | redacted.Redacted; BiasPosition?: number[]; FilterBBox?: number[]; - FilterCountries?: string | redacted.Redacted[]; + FilterCountries?: (string | redacted.Redacted)[]; MaxResults?: number; Language?: string; - FilterCategories?: string | redacted.Redacted[]; + FilterCategories?: (string | redacted.Redacted)[]; Key?: string | redacted.Redacted; } export const SearchPlaceIndexForTextRequest = @@ -2458,12 +2459,12 @@ export interface SearchPlaceIndexForTextSummary { Text: string | redacted.Redacted; BiasPosition?: number[]; FilterBBox?: number[]; - FilterCountries?: string | redacted.Redacted[]; + FilterCountries?: (string | redacted.Redacted)[]; MaxResults?: number; ResultBBox?: number[]; DataSource: string; Language?: string; - FilterCategories?: string | redacted.Redacted[]; + FilterCategories?: (string | redacted.Redacted)[]; } export const SearchPlaceIndexForTextSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -3852,24 +3853,27 @@ export const VerifyDevicePositionResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { Message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.String }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -3878,10 +3882,12 @@ export class ValidationException extends S.TaggedErrorClass Reason: S.String, FieldList: ValidationExceptionFieldList, }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} //# Operations diff --git a/packages/aws/src/services/macie2.ts b/packages/aws/src/services/macie2.ts index a471aa1d5f..30ff1806e1 100644 --- a/packages/aws/src/services/macie2.ts +++ b/packages/aws/src/services/macie2.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "Macie2", serviceShapeName: "Macie2" }); const auth = T.AwsAuthSigv4({ name: "macie2" }); const ver = T.ServiceVersion("2020-01-01"); @@ -3358,10 +3360,10 @@ export const GetSensitiveDataOccurrencesRequest = identifier: "GetSensitiveDataOccurrencesRequest", }) as any as S.Schema; export interface DetectedDataDetails { - value?: string; + value?: string | redacted.Redacted; } export const DetectedDataDetails = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ value: S.optional(S.String) }), + S.Struct({ value: S.optional(SensitiveString) }), ).annotate({ identifier: "DetectedDataDetails", }) as any as S.Schema; @@ -5338,30 +5340,37 @@ export const UpdateSensitivityInspectionTemplateResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class MacieNotEnabled extends S.TaggedErrorClass()( "MacieNotEnabled", @@ -5374,6 +5383,7 @@ export class MacieNotEnabled extends S.TaggedErrorClass()( export class UnprocessableEntityException extends S.TaggedErrorClass()( "UnprocessableEntityException", { message: S.optional(S.String) }, + T.HttpError(422), ).pipe(C.withBadRequestError) {} //# Operations @@ -5474,6 +5484,7 @@ export type CreateAllowListError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | MacieNotEnabled | CommonErrors; /** * Creates and defines the settings for an allow list. @@ -5494,6 +5505,7 @@ export const createAllowList: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + MacieNotEnabled, ], operationName: "CreateAllowList", })); @@ -5538,6 +5550,7 @@ export type CreateCustomDataIdentifierError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | MacieNotEnabled | CommonErrors; /** * Creates and defines the criteria and other settings for a custom data identifier. @@ -5558,6 +5571,7 @@ export const createCustomDataIdentifier: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + MacieNotEnabled, ], operationName: "CreateCustomDataIdentifier", })); @@ -5569,6 +5583,7 @@ export type CreateFindingsFilterError = | ServiceQuotaExceededException | ThrottlingException | ValidationException + | MacieNotEnabled | CommonErrors; /** * Creates and defines the criteria and other settings for a findings filter. @@ -5589,6 +5604,7 @@ export const createFindingsFilter: API.OperationMethod< ServiceQuotaExceededException, ThrottlingException, ValidationException, + MacieNotEnabled, ], operationName: "CreateFindingsFilter", })); diff --git a/packages/aws/src/services/mediaconvert.ts b/packages/aws/src/services/mediaconvert.ts index 78a723303b..8cbf0205bf 100644 --- a/packages/aws/src/services/mediaconvert.ts +++ b/packages/aws/src/services/mediaconvert.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "MediaConvert", serviceShapeName: "MediaConvert", @@ -2323,14 +2325,14 @@ export const SpekeKeyProviderCmaf = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export interface StaticKeyProvider { KeyFormat?: string; KeyFormatVersions?: string; - StaticKeyValue?: string; + StaticKeyValue?: string | redacted.Redacted; Url?: string; } export const StaticKeyProvider = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ KeyFormat: S.optional(S.String), KeyFormatVersions: S.optional(S.String), - StaticKeyValue: S.optional(S.String), + StaticKeyValue: S.optional(SensitiveString), Url: S.optional(S.String), }).pipe( S.encodeKeys({ @@ -10722,30 +10724,37 @@ export const UpdateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { Message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} //# Operations diff --git a/packages/aws/src/services/mwaa.ts b/packages/aws/src/services/mwaa.ts index 0a202005dc..42f3f43417 100644 --- a/packages/aws/src/services/mwaa.ts +++ b/packages/aws/src/services/mwaa.ts @@ -834,22 +834,27 @@ export const UpdateEnvironmentOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class RestApiClientException extends S.TaggedErrorClass()( "RestApiClientException", @@ -857,6 +862,7 @@ export class RestApiClientException extends S.TaggedErrorClass()( "RestApiServerException", @@ -864,6 +870,7 @@ export class RestApiServerException extends S.TaggedErrorClass Date: Wed, 15 Jul 2026 11:44:04 -0700 Subject: [PATCH 35/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20medialive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - medialive Regenerated: medialive Snapshot 2026-07-15 11:44 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/medialive.json | 7 +++++ packages/aws/src/client/api.ts | 15 +++++++-- packages/aws/src/client/request.ts | 9 ++++++ packages/aws/src/eventstream/parser.ts | 30 +++++++++++++++++- packages/aws/src/protocols/rest-json.ts | 24 +++++++++++++-- packages/aws/src/services/medialive.ts | 6 ++-- packages/aws/src/traits.ts | 41 +++++++++++++++++++++++++ 7 files changed, 125 insertions(+), 7 deletions(-) diff --git a/packages/aws/patches/medialive.json b/packages/aws/patches/medialive.json index 9918c4dbfd..3d285c35b6 100644 --- a/packages/aws/patches/medialive.json +++ b/packages/aws/patches/medialive.json @@ -1,4 +1,11 @@ { + "structures": { + "StaticKeySettings": { + "members": { + "StaticKeyValue": { "sensitive": true } + } + } + }, "operations": { "createChannel": { "syntheticErrors": [ diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 05e0fad972..7759e65536 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -304,9 +304,20 @@ export const make = >( ); // Check if there's a body to sign const hasBody = resolvedRequest.body !== undefined; - // Use unsigned payload for streaming bodies OR when service provides checksum with body + // Operations with a streaming input payload (smithy `@streaming` blob) + // are signed UNSIGNED-PAYLOAD even when the caller passed a buffered + // body — matching botocore's `has_streaming_input` behavior. Services + // like Lex Runtime V2 (RecognizeUtterance) reject payload-hash + // signatures on these routes. Glacier is the exception: it REQUIRES a + // real x-amz-content-sha256 (computed below), so it keeps the hashed + // path for buffered bodies. + const hasStreamingInput = + resolvedRequest.hasStreamingInput === true && _serviceSdkId !== "Glacier"; + // Use unsigned payload for streaming bodies OR streaming-input + // operations OR when service provides checksum with body const useUnsignedPayload = - (isStreamingBody || (hasServiceChecksum && hasBody)) && !hasContentSha256; + (isStreamingBody || hasStreamingInput || (hasServiceChecksum && hasBody)) && + !hasContentSha256; let signingHeaders = useUnsignedPayload ? { ...resolvedRequest.headers, diff --git a/packages/aws/src/client/request.ts b/packages/aws/src/client/request.ts index 9ad7c761d5..c6d9ce51f5 100644 --- a/packages/aws/src/client/request.ts +++ b/packages/aws/src/client/request.ts @@ -13,4 +13,13 @@ export interface Request { headers: Record; /** Request body (undefined for GET/HEAD/DELETE without body) */ body?: string | Uint8Array | ReadableStream; + /** + * True when the operation's input declares a streaming payload member + * (smithy `@streaming` blob). Streaming-input operations must be signed + * with `x-amz-content-sha256: UNSIGNED-PAYLOAD` (matching botocore's + * `has_streaming_input` behavior) — services like Lex Runtime V2 reject a + * payload-hash signature on these routes even when the payload is a + * buffered `Uint8Array`. + */ + hasStreamingInput?: boolean; } diff --git a/packages/aws/src/eventstream/parser.ts b/packages/aws/src/eventstream/parser.ts index 2fbc04de77..7357b4e498 100644 --- a/packages/aws/src/eventstream/parser.ts +++ b/packages/aws/src/eventstream/parser.ts @@ -149,6 +149,16 @@ export const rawPayloadParser: PayloadParser = (payload: Uint8Array) => { return text ? { payload: text } : {}; }; +/** Encode raw event payload bytes to the base64 wire form blob schemas decode from. */ +const uint8ToBase64 = (bytes: Uint8Array): string => { + let binary = ""; + const chunkSize = 0x8000; + for (let i = 0; i < bytes.length; i += chunkSize) { + binary += String.fromCharCode(...bytes.subarray(i, i + chunkSize)); + } + return btoa(binary); +}; + /** * Default JSON payload parser */ @@ -177,12 +187,25 @@ export const jsonPayloadParser: PayloadParser = (payload: Uint8Array) => { export const transformEventStreamToUnion = ( eventStream: Stream.Stream, payloadParser: PayloadParser = jsonPayloadParser, + eventPayloadMap?: Record, ): Stream.Stream => eventStream.pipe( Stream.map((streamEvent) => { if (streamEvent._tag === "MessageEvent") { // Normal message event - parse payload and wrap in tagged union const eventType = streamEvent.eventType; + // Smithy `eventPayload` member: the raw wire payload IS that single + // member's value (a blob), not a JSON document of the event struct. + // Bind the bytes to the member in wire (base64) form so the event + // schema decode produces the generated type (Uint8Array / Redacted). + const payloadMember = eventPayloadMap?.[eventType]; + if (payloadMember !== undefined) { + return { + [eventType]: { + [payloadMember]: uint8ToBase64(streamEvent.payload), + }, + }; + } const payload = payloadParser(streamEvent.payload); return { [eventType]: payload }; } else if (streamEvent._tag === "ExceptionEvent") { @@ -251,8 +274,13 @@ export const parseEventStreamToUnion = ( input: ReadableStream, payloadParser: PayloadParser = jsonPayloadParser, eventSchema?: Schema.Schema, + eventPayloadMap?: Record, ): Stream.Stream => decodeEventStreamUnion( - transformEventStreamToUnion(parseEventStream(input), payloadParser), + transformEventStreamToUnion( + parseEventStream(input), + payloadParser, + eventPayloadMap, + ), eventSchema, ); diff --git a/packages/aws/src/protocols/rest-json.ts b/packages/aws/src/protocols/rest-json.ts index 7f5b72f418..bc94ab96d5 100644 --- a/packages/aws/src/protocols/rest-json.ts +++ b/packages/aws/src/protocols/rest-json.ts @@ -37,6 +37,7 @@ import { getEventPayloadMap, getEventSchema, getHttpHeader, + getOutputEventPayloadMap, getHttpPrefixHeaders, getHttpQuery, getPropAnnotations, @@ -103,6 +104,8 @@ export const restJson1Protocol: Protocol = ( isBlob: boolean; isEventStream: boolean; eventSchema?: Schema.Schema; + /** event type → `eventPayload` member name (raw-bytes events). */ + eventPayloadMap?: Record; }; const headerProps: HeaderProp[] = []; @@ -131,24 +134,36 @@ export const restJson1Protocol: Protocol = ( prefixHeaderProps.push({ name, prefix: prefix.toLowerCase() }); } else if (hasHttpPayload(prop)) { const isEventStream = isOutputEventStream(prop.type); + const eventSchema = isEventStream + ? getEventSchema(prop.type) + : undefined; outputPayloadProp = { name, isStreaming: isStreamingType(prop.type), isRaw: isRawPayload(prop.type), isBlob: isBlobPayload(prop.type), isEventStream, - eventSchema: isEventStream ? getEventSchema(prop.type) : undefined, + eventSchema, + eventPayloadMap: eventSchema + ? getOutputEventPayloadMap(eventSchema) + : undefined, }; } else if (isStreamingType(prop.type)) { // Streaming members (including event streams) implicitly become the payload const isEventStream = isOutputEventStream(prop.type); + const eventSchema = isEventStream + ? getEventSchema(prop.type) + : undefined; outputPayloadProp = { name, isStreaming: true, isRaw: false, isBlob: false, isEventStream, - eventSchema: isEventStream ? getEventSchema(prop.type) : undefined, + eventSchema, + eventPayloadMap: eventSchema + ? getOutputEventPayloadMap(eventSchema) + : undefined, }; } } @@ -228,6 +243,10 @@ export const restJson1Protocol: Protocol = ( request.body = convertStreamingInput( payloadValue as StreamingInputBody, ); + // Streaming-input operations are signed UNSIGNED-PAYLOAD (see + // Request.hasStreamingInput) — some services (Lex Runtime V2) + // reject payload-hash signatures on these routes. + request.hasStreamingInput = true; // Default to octet-stream for streaming payloads, unless user set explicitly if (!userSetContentType) { request.headers["Content-Type"] = "application/octet-stream"; @@ -319,6 +338,7 @@ export const restJson1Protocol: Protocol = ( response.body as ReadableStream, undefined, outputPayloadProp.eventSchema, + outputPayloadProp.eventPayloadMap, ); } else { // Raw streaming output (blob) diff --git a/packages/aws/src/services/medialive.ts b/packages/aws/src/services/medialive.ts index 426a7b1caa..89861e85bf 100644 --- a/packages/aws/src/services/medialive.ts +++ b/packages/aws/src/services/medialive.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "MediaLive", serviceShapeName: "MediaLive", @@ -3472,12 +3474,12 @@ export type HlsIvSource = "EXPLICIT" | "FOLLOWS_SEGMENT_NUMBER" | (string & {}); export const HlsIvSource = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface StaticKeySettings { KeyProviderServer?: InputLocation; - StaticKeyValue?: string; + StaticKeyValue?: string | redacted.Redacted; } export const StaticKeySettings = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ KeyProviderServer: S.optional(InputLocation), - StaticKeyValue: S.optional(S.String), + StaticKeyValue: S.optional(SensitiveString), }).pipe( S.encodeKeys({ KeyProviderServer: "keyProviderServer", diff --git a/packages/aws/src/traits.ts b/packages/aws/src/traits.ts index 10b5be951d..df0c20424d 100644 --- a/packages/aws/src/traits.ts +++ b/packages/aws/src/traits.ts @@ -874,6 +874,47 @@ export const getEventPayloadMap = ( return ast.annotations?.eventPayloadMap as Record | undefined; }; +/** + * Derive the event-type → payload-member map for an OUTPUT event stream from + * its event union schema (`T.EventStream(S.Union([...]))`). + * + * Smithy's `eventPayload` trait means an event's wire payload IS that single + * member's raw bytes (e.g. Lambda `InvokeWithResponseStream`'s + * `PayloadChunk.Payload`), not a JSON document of the event struct — so the + * parser must bind the raw payload to that member instead of JSON-parsing it + * into struct fields. Input streams carry this map explicitly + * (`T.InputEventStream(..., eventPayloadMap)`); for outputs we recover it + * from the `T.EventPayload()` member annotations. + */ +export const getOutputEventPayloadMap = ( + eventSchema: S.Schema, +): Record | undefined => { + const unwrap = (ast: AST.AST): AST.AST => { + let current = ast; + while (current._tag === "Suspend") current = current.thunk(); + return current; + }; + const union = unwrap(eventSchema.ast); + if (union._tag !== "Union") return undefined; + const map: Record = {}; + for (const member of union.types) { + const eventStructWrapper = unwrap(member); + if (eventStructWrapper._tag !== "Objects") continue; + const wrapperProps = eventStructWrapper.propertySignatures; + if (wrapperProps.length !== 1) continue; + const eventType = String(wrapperProps[0].name); + const eventStruct = unwrap(wrapperProps[0].type); + if (eventStruct._tag !== "Objects") continue; + for (const prop of eventStruct.propertySignatures) { + if (hasPropAnnotation(prop, eventPayloadSymbol)) { + map[eventType] = String(prop.name); + break; + } + } + } + return Object.keys(map).length > 0 ? map : undefined; +}; + // ============================================================================= // Annotation Retrieval Helpers // ============================================================================= From 7799e915031b52fbd51851eb78d381917b976a64 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 11:47:10 -0700 Subject: [PATCH 36/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=203?= =?UTF-8?q?=20service(s)=20=E2=80=94=20location,=20memorydb,=20neptune?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - location - memorydb - neptune Regenerated: location, memorydb Snapshot 2026-07-15 11:47 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/location.json | 74 ++++- packages/aws/patches/memorydb.json | 9 + packages/aws/patches/neptune.json | 29 ++ packages/aws/src/services/location.ts | 6 +- packages/aws/src/services/memorydb.ts | 447 ++++++++++++++++++-------- 5 files changed, 425 insertions(+), 140 deletions(-) create mode 100644 packages/aws/patches/memorydb.json create mode 100644 packages/aws/patches/neptune.json diff --git a/packages/aws/patches/location.json b/packages/aws/patches/location.json index 598a2eca5a..ec55262316 100644 --- a/packages/aws/patches/location.json +++ b/packages/aws/patches/location.json @@ -1,34 +1,88 @@ { "structures": { "DescribeGeofenceCollectionResponse": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "DescribeMapResponse": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "DescribePlaceIndexResponse": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "DescribeRouteCalculatorResponse": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "DescribeTrackerResponse": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "ListGeofenceCollectionsResponseEntry": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "ListMapsResponseEntry": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "ListPlaceIndexesResponseEntry": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "ListRouteCalculatorsResponseEntry": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } }, "ListTrackersResponseEntry": { - "members": { "Description": { "optional": true } } + "members": { + "Description": { + "optional": true + } + } + }, + "BatchEvaluateGeofencesResponse": { + "members": { + "Errors": { + "optional": true + } + } + } + }, + "operations": { + "cancelJob": { + "errors": [ + "ResourceNotFoundException" + ] } } } diff --git a/packages/aws/patches/memorydb.json b/packages/aws/patches/memorydb.json new file mode 100644 index 0000000000..7ad3fb3f1f --- /dev/null +++ b/packages/aws/patches/memorydb.json @@ -0,0 +1,9 @@ +{ + "structures": { + "AuthenticationMode": { + "members": { + "Passwords": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/patches/neptune.json b/packages/aws/patches/neptune.json new file mode 100644 index 0000000000..28f046e425 --- /dev/null +++ b/packages/aws/patches/neptune.json @@ -0,0 +1,29 @@ +{ + "structures": { + "CreateDBClusterMessage": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + }, + "CreateDBInstanceMessage": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + }, + "ModifyDBClusterMessage": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + }, + "ModifyDBInstanceMessage": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + }, + "PendingModifiedValues": { + "members": { + "MasterUserPassword": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/src/services/location.ts b/packages/aws/src/services/location.ts index b99a03f322..a47b2b595d 100644 --- a/packages/aws/src/services/location.ts +++ b/packages/aws/src/services/location.ts @@ -890,11 +890,11 @@ export type BatchEvaluateGeofencesErrorList = BatchEvaluateGeofencesError_[]; export const BatchEvaluateGeofencesErrorList = /*@__PURE__*/ /*#__PURE__*/ S.Array(BatchEvaluateGeofencesError_); export interface BatchEvaluateGeofencesResponse { - Errors: BatchEvaluateGeofencesError_[]; + Errors?: BatchEvaluateGeofencesError_[]; } export const BatchEvaluateGeofencesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ Errors: BatchEvaluateGeofencesErrorList }), + S.Struct({ Errors: S.optional(BatchEvaluateGeofencesErrorList) }), ).annotate({ identifier: "BatchEvaluateGeofencesResponse", }) as any as S.Schema; @@ -4689,6 +4689,7 @@ export type CancelJobError = | InternalServerException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * `CancelJob` cancels a job that is currently running or pending. If the job is already in a terminal state (`Completed`, `Failed`, or `Cancelled`), the operation returns successfully with the current status. @@ -4708,6 +4709,7 @@ export const cancelJob: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "CancelJob", endpointHostPrefix: "metadata.", diff --git a/packages/aws/src/services/memorydb.ts b/packages/aws/src/services/memorydb.ts index de87bede77..76c8b1e4d9 100644 --- a/packages/aws/src/services/memorydb.ts +++ b/packages/aws/src/services/memorydb.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const ns = T.XmlNamespace("http://memorydb.amazonaws.com/doc/2021-01-01/"); const svc = T.AwsApiService({ sdkId: "MemoryDB", @@ -945,12 +947,12 @@ export type PasswordListInput = string[]; export const PasswordListInput = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String); export interface AuthenticationMode { Type?: InputAuthenticationType; - Passwords?: string[]; + Passwords?: Array>; } export const AuthenticationMode = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Type: S.optional(InputAuthenticationType), - Passwords: S.optional(PasswordListInput), + Passwords: S.optional(S.Array(SensitiveString)), }), ).annotate({ identifier: "AuthenticationMode", @@ -2611,356 +2613,545 @@ export const UpdateUserResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class InvalidParameterValueException extends S.TaggedErrorClass()( "InvalidParameterValueException", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidParameterValue", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidParameterValue", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ServiceUpdateNotFoundFault extends S.TaggedErrorClass()( "ServiceUpdateNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServiceUpdateNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ServiceUpdateNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidParameterCombinationException extends S.TaggedErrorClass()( "InvalidParameterCombinationException", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidParameterCombination", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidParameterCombination", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSnapshotStateFault extends S.TaggedErrorClass()( "InvalidSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSnapshotState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSnapshotState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ServiceLinkedRoleNotFoundFault extends S.TaggedErrorClass()( "ServiceLinkedRoleNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ServiceLinkedRoleNotFoundFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ServiceLinkedRoleNotFoundFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "SnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SnapshotAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SnapshotAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class SnapshotNotFoundFault extends S.TaggedErrorClass()( "SnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SnapshotNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SnapshotNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SnapshotQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SnapshotQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TagQuotaPerResourceExceeded extends S.TaggedErrorClass()( "TagQuotaPerResourceExceeded", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TagQuotaPerResourceExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TagQuotaPerResourceExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ACLAlreadyExistsFault extends S.TaggedErrorClass()( "ACLAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ACLAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ACLAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ACLQuotaExceededFault extends S.TaggedErrorClass()( "ACLQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ACLQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ACLQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DefaultUserRequired extends S.TaggedErrorClass()( "DefaultUserRequired", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DefaultUserRequired", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DefaultUserRequired", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DuplicateUserNameFault extends S.TaggedErrorClass()( "DuplicateUserNameFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DuplicateUserName", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DuplicateUserName", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UserNotFoundFault extends S.TaggedErrorClass()( "UserNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "UserNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ACLNotFoundFault extends S.TaggedErrorClass()( "ACLNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ACLNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ACLNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ClusterAlreadyExistsFault extends S.TaggedErrorClass()( "ClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ClusterAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "ClusterAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ClusterQuotaForCustomerExceededFault extends S.TaggedErrorClass()( "ClusterQuotaForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ClusterQuotaForCustomerExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ClusterQuotaForCustomerExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientClusterCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientClusterCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidACLStateFault extends S.TaggedErrorClass()( "InvalidACLStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidACLState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidACLState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidCredentialsException extends S.TaggedErrorClass()( "InvalidCredentialsException", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidCredentialsException", - httpResponseCode: 408, - }), + T.all( + T.AwsQueryError({ + code: "InvalidCredentialsException", + httpResponseCode: 408, + }), + T.HttpError(408), + ), ).pipe(C.withTimeoutError) {} export class InvalidMultiRegionClusterStateFault extends S.TaggedErrorClass()( "InvalidMultiRegionClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidMultiRegionClusterState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidMultiRegionClusterState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidVPCNetworkStateFault extends S.TaggedErrorClass()( "InvalidVPCNetworkStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidVPCNetworkStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidVPCNetworkStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class MultiRegionClusterNotFoundFault extends S.TaggedErrorClass()( "MultiRegionClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "MultiRegionClusterNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "MultiRegionClusterNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class NodeQuotaForClusterExceededFault extends S.TaggedErrorClass()( "NodeQuotaForClusterExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "NodeQuotaForClusterExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "NodeQuotaForClusterExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NodeQuotaForCustomerExceededFault extends S.TaggedErrorClass()( "NodeQuotaForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "NodeQuotaForCustomerExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "NodeQuotaForCustomerExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ParameterGroupNotFoundFault extends S.TaggedErrorClass()( "ParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ParameterGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ParameterGroupNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ShardsPerClusterQuotaExceededFault extends S.TaggedErrorClass()( "ShardsPerClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ShardsPerClusterQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ShardsPerClusterQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetGroupNotFoundFault extends S.TaggedErrorClass()( "SubnetGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetGroupNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "SubnetGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class MultiRegionClusterAlreadyExistsFault extends S.TaggedErrorClass()( "MultiRegionClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "MultiRegionClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "MultiRegionClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class MultiRegionParameterGroupNotFoundFault extends S.TaggedErrorClass()( "MultiRegionParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "MultiRegionParameterGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "MultiRegionParameterGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidParameterGroupStateFault extends S.TaggedErrorClass()( "InvalidParameterGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidParameterGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidParameterGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ParameterGroupAlreadyExistsFault extends S.TaggedErrorClass()( "ParameterGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ParameterGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ParameterGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ParameterGroupQuotaExceededFault extends S.TaggedErrorClass()( "ParameterGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ParameterGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ParameterGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ClusterNotFoundFault extends S.TaggedErrorClass()( "ClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ClusterNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ClusterNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidClusterStateFault extends S.TaggedErrorClass()( "InvalidClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidClusterState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidClusterState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSubnet extends S.TaggedErrorClass()( "InvalidSubnet", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetGroupAlreadyExistsFault extends S.TaggedErrorClass()( "SubnetGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetGroupAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "SubnetGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class SubnetGroupQuotaExceededFault extends S.TaggedErrorClass()( "SubnetGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetGroupQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "SubnetGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetNotAllowedFault extends S.TaggedErrorClass()( "SubnetNotAllowedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetNotAllowedFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetNotAllowedFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetQuotaExceededFault extends S.TaggedErrorClass()( "SubnetQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetQuotaExceededFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "SubnetQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class UserAlreadyExistsFault extends S.TaggedErrorClass()( "UserAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UserAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class UserQuotaExceededFault extends S.TaggedErrorClass()( "UserQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "UserQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "UserQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetGroupInUseFault extends S.TaggedErrorClass()( "SubnetGroupInUseFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetGroupInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetGroupInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidUserStateFault extends S.TaggedErrorClass()( "InvalidUserStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidUserState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidUserState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ReservedNodeNotFoundFault extends S.TaggedErrorClass()( "ReservedNodeNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ReservedNodeNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ReservedNodeNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ReservedNodesOfferingNotFoundFault extends S.TaggedErrorClass()( "ReservedNodesOfferingNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ReservedNodesOfferingNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "ReservedNodesOfferingNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class APICallRateForCustomerExceededFault extends S.TaggedErrorClass()( "APICallRateForCustomerExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "APICallRateForCustomerExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "APICallRateForCustomerExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidKMSKeyFault extends S.TaggedErrorClass()( "InvalidKMSKeyFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidKMSKeyFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidKMSKeyFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ShardNotFoundFault extends S.TaggedErrorClass()( "ShardNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ShardNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ShardNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class TestFailoverNotAvailableFault extends S.TaggedErrorClass()( "TestFailoverNotAvailableFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "TestFailoverNotAvailableFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "TestFailoverNotAvailableFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidARNFault extends S.TaggedErrorClass()( "InvalidARNFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidARN", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidARN", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class ReservedNodeAlreadyExistsFault extends S.TaggedErrorClass()( "ReservedNodeAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ReservedNodeAlreadyExists", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "ReservedNodeAlreadyExists", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class ReservedNodeQuotaExceededFault extends S.TaggedErrorClass()( "ReservedNodeQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ReservedNodeQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "ReservedNodeQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class TagNotFoundFault extends S.TaggedErrorClass()( "TagNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "TagNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "TagNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidNodeStateFault extends S.TaggedErrorClass()( "InvalidNodeStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidNodeState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidNodeState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NoOperationFault extends S.TaggedErrorClass()( "NoOperationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "NoOperationFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "NoOperationFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetInUse extends S.TaggedErrorClass()( "SubnetInUse", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} //# Operations From 52bcf8097f8ddd3af056ca0d27f474382d7211fe Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 11:59:11 -0700 Subject: [PATCH 37/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20mediatailor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - mediatailor Regenerated: mediatailor, neptune Snapshot 2026-07-15 11:59 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/mediatailor.json | 127 ++++- packages/aws/src/services/mediatailor.ts | 100 +++- packages/aws/src/services/neptune.ts | 597 ++++++++++++++++------- 3 files changed, 608 insertions(+), 216 deletions(-) diff --git a/packages/aws/patches/mediatailor.json b/packages/aws/patches/mediatailor.json index d2846da315..32c9c3518f 100644 --- a/packages/aws/patches/mediatailor.json +++ b/packages/aws/patches/mediatailor.json @@ -8,14 +8,139 @@ "message": { "includes": "not found" } } ] + }, + "getPrefetchSchedule": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "PrefetchScheduleNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "deletePrefetchSchedule": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "PrefetchScheduleNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "createPrefetchSchedule": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "PlaybackConfigurationNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "listPrefetchSchedules": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "PlaybackConfigurationNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "listAlerts": { + "errors": ["BadRequestException"] + }, + "getChannelSchedule": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ChannelNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "startChannel": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ChannelNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "stopChannel": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ChannelNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "createProgram": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ChannelNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "describeProgram": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ProgramNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "updateProgram": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ProgramNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] + }, + "deleteProgram": { + "errors": ["BadRequestException"], + "syntheticErrors": [ + { + "name": "ProgramNotFound", + "from": "NotFoundException", + "message": { "matches": ".*" } + } + ] } }, "errors": { "PlaybackConfigurationNotFound": { "message": { "type": "string" } + }, + "PrefetchScheduleNotFound": { + "message": { "type": "string" } + }, + "ChannelNotFound": { + "message": { "type": "string" } + }, + "ProgramNotFound": { + "message": { "type": "string" } } }, "errorCategories": { - "PlaybackConfigurationNotFound": ["NotFoundError"] + "PlaybackConfigurationNotFound": ["NotFoundError"], + "PrefetchScheduleNotFound": ["NotFoundError"], + "ChannelNotFound": ["NotFoundError"], + "ProgramNotFound": ["NotFoundError"] } } diff --git a/packages/aws/src/services/mediatailor.ts b/packages/aws/src/services/mediatailor.ts index 489fb16042..ace425cd04 100644 --- a/packages/aws/src/services/mediatailor.ts +++ b/packages/aws/src/services/mediatailor.ts @@ -3544,8 +3544,18 @@ export const ListVodSourcesResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( //# Errors export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", - { Message: S.optional(S.String) }, -).pipe(C.withBadRequestError) {} + {}, +) {} +export class ChannelNotFound extends S.TaggedErrorClass()( + "ChannelNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ from: "NotFoundException", message: { matches: ".*" } }), +).pipe(C.withNotFoundError) {} +export class ProgramNotFound extends S.TaggedErrorClass()( + "ProgramNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ from: "NotFoundException", message: { matches: ".*" } }), +).pipe(C.withNotFoundError) {} export class PlaybackConfigurationNotFound extends S.TaggedErrorClass()( "PlaybackConfigurationNotFound", { message: S.optional(S.String) }, @@ -3554,6 +3564,11 @@ export class PlaybackConfigurationNotFound extends S.TaggedErrorClass()( + "PrefetchScheduleNotFound", + { message: S.optional(S.String) }, + T.SyntheticError({ from: "NotFoundException", message: { matches: ".*" } }), +).pipe(C.withNotFoundError) {} //# Operations export type ConfigureLogsForPlaybackConfigurationError = CommonErrors; @@ -3571,7 +3586,7 @@ export const configureLogsForPlaybackConfiguration: API.OperationMethod< errors: [], operationName: "ConfigureLogsForPlaybackConfiguration", })); -export type ListAlertsError = CommonErrors; +export type ListAlertsError = BadRequestException | CommonErrors; /** * Lists the alerts that are associated with a MediaTailor channel assembly resource. */ @@ -3598,7 +3613,7 @@ export const listAlerts: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListAlertsRequest, output: ListAlertsResponse, - errors: [], + errors: [BadRequestException], operationName: "ListAlerts", pagination: { inputToken: "NextToken", @@ -3763,7 +3778,10 @@ export const configureLogsForChannel: API.OperationMethod< errors: [], operationName: "ConfigureLogsForChannel", })); -export type GetChannelScheduleError = CommonErrors; +export type GetChannelScheduleError = + | BadRequestException + | ChannelNotFound + | CommonErrors; /** * Retrieves information about your channel's schedule. */ @@ -3790,7 +3808,7 @@ export const getChannelSchedule: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: GetChannelScheduleRequest, output: GetChannelScheduleResponse, - errors: [], + errors: [BadRequestException, ChannelNotFound], operationName: "GetChannelSchedule", pagination: { inputToken: "NextToken", @@ -3799,7 +3817,10 @@ export const getChannelSchedule: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type StartChannelError = CommonErrors; +export type StartChannelError = + | BadRequestException + | ChannelNotFound + | CommonErrors; /** * Starts a channel. For information about MediaTailor channels, see Working with channels in the *MediaTailor User Guide*. */ @@ -3811,10 +3832,13 @@ export const startChannel: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StartChannelRequest, output: StartChannelResponse, - errors: [], + errors: [BadRequestException, ChannelNotFound], operationName: "StartChannel", })); -export type StopChannelError = CommonErrors; +export type StopChannelError = + | BadRequestException + | ChannelNotFound + | CommonErrors; /** * Stops a channel. For information about MediaTailor channels, see Working with channels in the *MediaTailor User Guide*. */ @@ -3826,7 +3850,7 @@ export const stopChannel: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: StopChannelRequest, output: StopChannelResponse, - errors: [], + errors: [BadRequestException, ChannelNotFound], operationName: "StopChannel", })); export type PutChannelPolicyError = CommonErrors; @@ -3874,7 +3898,10 @@ export const deleteChannelPolicy: API.OperationMethod< errors: [], operationName: "DeleteChannelPolicy", })); -export type CreateProgramError = CommonErrors; +export type CreateProgramError = + | BadRequestException + | ChannelNotFound + | CommonErrors; /** * Creates a program within a channel. For information about programs, see Working with programs in the *MediaTailor User Guide*. */ @@ -3886,10 +3913,13 @@ export const createProgram: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreateProgramRequest, output: CreateProgramResponse, - errors: [], + errors: [BadRequestException, ChannelNotFound], operationName: "CreateProgram", })); -export type DescribeProgramError = CommonErrors; +export type DescribeProgramError = + | BadRequestException + | ProgramNotFound + | CommonErrors; /** * Describes a program within a channel. For information about programs, see Working with programs in the *MediaTailor User Guide*. */ @@ -3901,10 +3931,13 @@ export const describeProgram: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DescribeProgramRequest, output: DescribeProgramResponse, - errors: [], + errors: [BadRequestException, ProgramNotFound], operationName: "DescribeProgram", })); -export type UpdateProgramError = CommonErrors; +export type UpdateProgramError = + | BadRequestException + | ProgramNotFound + | CommonErrors; /** * Updates a program within a channel. */ @@ -3916,10 +3949,13 @@ export const updateProgram: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateProgramRequest, output: UpdateProgramResponse, - errors: [], + errors: [BadRequestException, ProgramNotFound], operationName: "UpdateProgram", })); -export type DeleteProgramError = CommonErrors; +export type DeleteProgramError = + | BadRequestException + | ProgramNotFound + | CommonErrors; /** * Deletes a program within a channel. For information about programs, see Working with programs in the *MediaTailor User Guide*. */ @@ -3931,7 +3967,7 @@ export const deleteProgram: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeleteProgramRequest, output: DeleteProgramResponse, - errors: [], + errors: [BadRequestException, ProgramNotFound], operationName: "DeleteProgram", })); export type PutFunctionError = CommonErrors; @@ -4194,7 +4230,10 @@ export const listPlaybackConfigurations: API.OperationMethod< pageSize: "MaxResults", } as const, })); -export type CreatePrefetchScheduleError = CommonErrors; +export type CreatePrefetchScheduleError = + | BadRequestException + | PlaybackConfigurationNotFound + | CommonErrors; /** * Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the *MediaTailor User Guide*. */ @@ -4206,10 +4245,13 @@ export const createPrefetchSchedule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: CreatePrefetchScheduleRequest, output: CreatePrefetchScheduleResponse, - errors: [], + errors: [BadRequestException, PlaybackConfigurationNotFound], operationName: "CreatePrefetchSchedule", })); -export type GetPrefetchScheduleError = CommonErrors; +export type GetPrefetchScheduleError = + | BadRequestException + | PrefetchScheduleNotFound + | CommonErrors; /** * Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the *MediaTailor User Guide*. */ @@ -4221,10 +4263,13 @@ export const getPrefetchSchedule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: GetPrefetchScheduleRequest, output: GetPrefetchScheduleResponse, - errors: [], + errors: [BadRequestException, PrefetchScheduleNotFound], operationName: "GetPrefetchSchedule", })); -export type DeletePrefetchScheduleError = CommonErrors; +export type DeletePrefetchScheduleError = + | BadRequestException + | PrefetchScheduleNotFound + | CommonErrors; /** * Deletes a prefetch schedule for a specific playback configuration. If you call `DeletePrefetchSchedule` on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see Using ad prefetching in the *MediaTailor User Guide*. */ @@ -4236,10 +4281,13 @@ export const deletePrefetchSchedule: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeletePrefetchScheduleRequest, output: DeletePrefetchScheduleResponse, - errors: [], + errors: [BadRequestException, PrefetchScheduleNotFound], operationName: "DeletePrefetchSchedule", })); -export type ListPrefetchSchedulesError = CommonErrors; +export type ListPrefetchSchedulesError = + | BadRequestException + | PlaybackConfigurationNotFound + | CommonErrors; /** * Lists the prefetch schedules for a playback configuration. */ @@ -4266,7 +4314,7 @@ export const listPrefetchSchedules: API.OperationMethod< } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({ input: ListPrefetchSchedulesRequest, output: ListPrefetchSchedulesResponse, - errors: [], + errors: [BadRequestException, PlaybackConfigurationNotFound], operationName: "ListPrefetchSchedules", pagination: { inputToken: "NextToken", diff --git a/packages/aws/src/services/neptune.ts b/packages/aws/src/services/neptune.ts index 0ee4ccff97..a795f1de63 100644 --- a/packages/aws/src/services/neptune.ts +++ b/packages/aws/src/services/neptune.ts @@ -558,7 +558,7 @@ export interface CreateDBClusterMessage { EngineVersion?: string; Port?: number; MasterUsername?: string; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; OptionGroupName?: string; PreferredBackupWindow?: string; PreferredMaintenanceWindow?: string; @@ -591,7 +591,7 @@ export const CreateDBClusterMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( EngineVersion: S.optional(S.String), Port: S.optional(S.Number), MasterUsername: S.optional(S.String), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), OptionGroupName: S.optional(S.String), PreferredBackupWindow: S.optional(S.String), PreferredMaintenanceWindow: S.optional(S.String), @@ -1025,7 +1025,7 @@ export interface CreateDBInstanceMessage { DBInstanceClass?: string; Engine?: string; MasterUsername?: string; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; DBSecurityGroups?: string[]; VpcSecurityGroupIds?: string[]; AvailabilityZone?: string; @@ -1072,7 +1072,7 @@ export const CreateDBInstanceMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( DBInstanceClass: S.optional(S.String), Engine: S.optional(S.String), MasterUsername: S.optional(S.String), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), DBSecurityGroups: S.optional(DBSecurityGroupNameList), VpcSecurityGroupIds: S.optional(VpcSecurityGroupIdList), AvailabilityZone: S.optional(S.String), @@ -1221,7 +1221,7 @@ export const DBSubnetGroup = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export interface PendingModifiedValues { DBInstanceClass?: string; AllocatedStorage?: number; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; Port?: number; BackupRetentionPeriod?: number; MultiAZ?: boolean; @@ -1238,7 +1238,7 @@ export const PendingModifiedValues = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DBInstanceClass: S.optional(S.String), AllocatedStorage: S.optional(S.Number), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), Port: S.optional(S.Number), BackupRetentionPeriod: S.optional(S.Number), MultiAZ: S.optional(S.Boolean), @@ -3325,7 +3325,7 @@ export interface ModifyDBClusterMessage { DBClusterParameterGroupName?: string; VpcSecurityGroupIds?: string[]; Port?: number; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; OptionGroupName?: string; PreferredBackupWindow?: string; PreferredMaintenanceWindow?: string; @@ -3350,7 +3350,7 @@ export const ModifyDBClusterMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( DBClusterParameterGroupName: S.optional(S.String), VpcSecurityGroupIds: S.optional(VpcSecurityGroupIdList), Port: S.optional(S.Number), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), OptionGroupName: S.optional(S.String), PreferredBackupWindow: S.optional(S.String), PreferredMaintenanceWindow: S.optional(S.String), @@ -3526,7 +3526,7 @@ export interface ModifyDBInstanceMessage { DBSecurityGroups?: string[]; VpcSecurityGroupIds?: string[]; ApplyImmediately?: boolean; - MasterUserPassword?: string; + MasterUserPassword?: string | redacted.Redacted; DBParameterGroupName?: string; BackupRetentionPeriod?: number; PreferredBackupWindow?: string; @@ -3567,7 +3567,7 @@ export const ModifyDBInstanceMessage = /*@__PURE__*/ /*#__PURE__*/ S.suspend( DBSecurityGroups: S.optional(DBSecurityGroupNameList), VpcSecurityGroupIds: S.optional(VpcSecurityGroupIdList), ApplyImmediately: S.optional(S.Boolean), - MasterUserPassword: S.optional(S.String), + MasterUserPassword: S.optional(SensitiveString), DBParameterGroupName: S.optional(S.String), BackupRetentionPeriod: S.optional(S.Number), PreferredBackupWindow: S.optional(S.String), @@ -4221,453 +4221,672 @@ export const SwitchoverGlobalClusterResult = export class DBClusterNotFoundFault extends S.TaggedErrorClass()( "DBClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBClusterNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBClusterNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBClusterRoleAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterRoleAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterRoleAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterRoleAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterRoleQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterRoleQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterRoleQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterRoleQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterStateFault extends S.TaggedErrorClass()( "InvalidDBClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SourceNotFoundFault extends S.TaggedErrorClass()( "SourceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SourceNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SourceNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionNotFoundFault extends S.TaggedErrorClass()( "SubscriptionNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubscriptionNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SubscriptionNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceNotFoundFault extends S.TaggedErrorClass()( "DBInstanceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBInstanceNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotNotFoundFault extends S.TaggedErrorClass()( "DBSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSnapshotNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBSnapshotNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundFault extends S.TaggedErrorClass()( "ResourceNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "ResourceNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "ResourceNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBParameterGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBParameterGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBParameterGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBParameterGroupNotFoundFault extends S.TaggedErrorClass()( "DBParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBParameterGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBParameterGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBParameterGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBParameterGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBParameterGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterSnapshotAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterSnapshotAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterSnapshotNotFoundFault extends S.TaggedErrorClass()( "DBClusterSnapshotNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterSnapshotNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterSnapshotNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterSnapshotStateFault extends S.TaggedErrorClass()( "InvalidDBClusterSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterSnapshotStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterSnapshotStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class KMSKeyNotAccessibleFault extends S.TaggedErrorClass()( "KMSKeyNotAccessibleFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "KMSKeyNotAccessibleFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "KMSKeyNotAccessibleFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SnapshotQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SnapshotQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterParameterGroupNotFoundFault extends S.TaggedErrorClass()( "DBClusterParameterGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterParameterGroupNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterParameterGroupNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBClusterQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterQuotaExceededFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterQuotaExceededFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class DBSubnetGroupDoesNotCoverEnoughAZs extends S.TaggedErrorClass()( "DBSubnetGroupDoesNotCoverEnoughAZs", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupDoesNotCoverEnoughAZs", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupDoesNotCoverEnoughAZs", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupNotFoundFault extends S.TaggedErrorClass()( "DBSubnetGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class GlobalClusterNotFoundFault extends S.TaggedErrorClass()( "GlobalClusterNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterNotFoundFault", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InsufficientStorageClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientStorageClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientStorageClusterCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientStorageClusterCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBInstanceStateFault extends S.TaggedErrorClass()( "InvalidDBInstanceStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBInstanceState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidDBInstanceState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSubnetGroupStateFault extends S.TaggedErrorClass()( "InvalidDBSubnetGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBSubnetGroupStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetGroupStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidGlobalClusterStateFault extends S.TaggedErrorClass()( "InvalidGlobalClusterStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidGlobalClusterStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidGlobalClusterStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidSubnet extends S.TaggedErrorClass()( "InvalidSubnet", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidSubnet", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidVPCNetworkStateFault extends S.TaggedErrorClass()( "InvalidVPCNetworkStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidVPCNetworkStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidVPCNetworkStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class NetworkTypeNotSupportedFault extends S.TaggedErrorClass()( "NetworkTypeNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "NetworkTypeNotSupported", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "NetworkTypeNotSupported", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageQuotaExceededFault extends S.TaggedErrorClass()( "StorageQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "StorageQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "StorageQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterEndpointAlreadyExistsFault extends S.TaggedErrorClass()( "DBClusterEndpointAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterEndpointAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterEndpointAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBClusterEndpointQuotaExceededFault extends S.TaggedErrorClass()( "DBClusterEndpointQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterEndpointQuotaExceededFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterEndpointQuotaExceededFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class AuthorizationNotFoundFault extends S.TaggedErrorClass()( "AuthorizationNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "AuthorizationNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBInstanceAlreadyExistsFault extends S.TaggedErrorClass()( "DBInstanceAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBInstanceAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBInstanceAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBSecurityGroupNotFoundFault extends S.TaggedErrorClass()( "DBSecurityGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSecurityGroupNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBSecurityGroupNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DomainNotFoundFault extends S.TaggedErrorClass()( "DomainNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DomainNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DomainNotFoundFault", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InstanceQuotaExceededFault extends S.TaggedErrorClass()( "InstanceQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InstanceQuotaExceeded", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InstanceQuotaExceeded", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InsufficientDBInstanceCapacityFault extends S.TaggedErrorClass()( "InsufficientDBInstanceCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientDBInstanceCapacity", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientDBInstanceCapacity", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class OptionGroupNotFoundFault extends S.TaggedErrorClass()( "OptionGroupNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "OptionGroupNotFoundFault", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ + code: "OptionGroupNotFoundFault", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class ProvisionedIopsNotAvailableInAZFault extends S.TaggedErrorClass()( "ProvisionedIopsNotAvailableInAZFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "ProvisionedIopsNotAvailableInAZFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "ProvisionedIopsNotAvailableInAZFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class StorageTypeNotSupportedFault extends S.TaggedErrorClass()( "StorageTypeNotSupportedFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "StorageTypeNotSupported", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "StorageTypeNotSupported", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetGroupAlreadyExistsFault extends S.TaggedErrorClass()( "DBSubnetGroupAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupAlreadyExists", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupAlreadyExists", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class DBSubnetGroupQuotaExceededFault extends S.TaggedErrorClass()( "DBSubnetGroupQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetGroupQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetGroupQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSubnetQuotaExceededFault extends S.TaggedErrorClass()( "DBSubnetQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBSubnetQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBSubnetQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class EventSubscriptionQuotaExceededFault extends S.TaggedErrorClass()( "EventSubscriptionQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "EventSubscriptionQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "EventSubscriptionQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSInvalidTopicFault extends S.TaggedErrorClass()( "SNSInvalidTopicFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSInvalidTopic", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SNSInvalidTopic", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSNoAuthorizationFault extends S.TaggedErrorClass()( "SNSNoAuthorizationFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSNoAuthorization", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SNSNoAuthorization", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SNSTopicArnNotFoundFault extends S.TaggedErrorClass()( "SNSTopicArnNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SNSTopicArnNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "SNSTopicArnNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionAlreadyExistFault extends S.TaggedErrorClass()( "SubscriptionAlreadyExistFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubscriptionAlreadyExist", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "SubscriptionAlreadyExist", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubscriptionCategoryNotFoundFault extends S.TaggedErrorClass()( "SubscriptionCategoryNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SubscriptionCategoryNotFound", - httpResponseCode: 404, - }), + T.all( + T.AwsQueryError({ + code: "SubscriptionCategoryNotFound", + httpResponseCode: 404, + }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class GlobalClusterAlreadyExistsFault extends S.TaggedErrorClass()( "GlobalClusterAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterAlreadyExistsFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterAlreadyExistsFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class GlobalClusterQuotaExceededFault extends S.TaggedErrorClass()( "GlobalClusterQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "GlobalClusterQuotaExceededFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "GlobalClusterQuotaExceededFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBClusterEndpointNotFoundFault extends S.TaggedErrorClass()( "DBClusterEndpointNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBClusterEndpointNotFoundFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBClusterEndpointNotFoundFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBClusterEndpointStateFault extends S.TaggedErrorClass()( "InvalidDBClusterEndpointStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBClusterEndpointStateFault", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBClusterEndpointStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBParameterGroupStateFault extends S.TaggedErrorClass()( "InvalidDBParameterGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBParameterGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBParameterGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class DBSnapshotAlreadyExistsFault extends S.TaggedErrorClass()( "DBSnapshotAlreadyExistsFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBSnapshotAlreadyExists", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "DBSnapshotAlreadyExists", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withAlreadyExistsError) {} export class InvalidDBSubnetStateFault extends S.TaggedErrorClass()( "InvalidDBSubnetStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSubnetStateFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSubnetStateFault", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidEventSubscriptionStateFault extends S.TaggedErrorClass()( "InvalidEventSubscriptionStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidEventSubscriptionState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidEventSubscriptionState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidDBSecurityGroupStateFault extends S.TaggedErrorClass()( "InvalidDBSecurityGroupStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InvalidDBSecurityGroupState", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "InvalidDBSecurityGroupState", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SharedSnapshotQuotaExceededFault extends S.TaggedErrorClass()( "SharedSnapshotQuotaExceededFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "SharedSnapshotQuotaExceeded", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "SharedSnapshotQuotaExceeded", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class CertificateNotFoundFault extends S.TaggedErrorClass()( "CertificateNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "CertificateNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class DBUpgradeDependencyFailureFault extends S.TaggedErrorClass()( "DBUpgradeDependencyFailureFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "DBUpgradeDependencyFailure", - httpResponseCode: 400, - }), + T.all( + T.AwsQueryError({ + code: "DBUpgradeDependencyFailure", + httpResponseCode: 400, + }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class SubnetAlreadyInUse extends S.TaggedErrorClass()( "SubnetAlreadyInUse", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "SubnetAlreadyInUse", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "SubnetAlreadyInUse", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError, C.withDependencyViolationError) {} export class DBClusterRoleNotFoundFault extends S.TaggedErrorClass()( "DBClusterRoleNotFoundFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "DBClusterRoleNotFound", httpResponseCode: 404 }), + T.all( + T.AwsQueryError({ code: "DBClusterRoleNotFound", httpResponseCode: 404 }), + T.HttpError(404), + ), ).pipe(C.withBadRequestError) {} export class InsufficientDBClusterCapacityFault extends S.TaggedErrorClass()( "InsufficientDBClusterCapacityFault", { message: S.optional(S.String) }, - T.AwsQueryError({ - code: "InsufficientDBClusterCapacityFault", - httpResponseCode: 403, - }), + T.all( + T.AwsQueryError({ + code: "InsufficientDBClusterCapacityFault", + httpResponseCode: 403, + }), + T.HttpError(403), + ), ).pipe(C.withAuthError) {} export class InvalidDBSnapshotStateFault extends S.TaggedErrorClass()( "InvalidDBSnapshotStateFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidDBSnapshotState", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidDBSnapshotState", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} export class InvalidRestoreFault extends S.TaggedErrorClass()( "InvalidRestoreFault", { message: S.optional(S.String) }, - T.AwsQueryError({ code: "InvalidRestoreFault", httpResponseCode: 400 }), + T.all( + T.AwsQueryError({ code: "InvalidRestoreFault", httpResponseCode: 400 }), + T.HttpError(400), + ), ).pipe(C.withBadRequestError) {} //# Operations From dc3cd863a13f1f27f89baba4730a5e9996b9f389 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 12:14:17 -0700 Subject: [PATCH 38/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=202?= =?UTF-8?q?=20service(s)=20=E2=80=94=20macie2,=20memorydb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - macie2 - memorydb Regenerated: macie2, memorydb Snapshot 2026-07-15 12:14 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/macie2.json | 26 +++++++++++++++++++------- packages/aws/patches/memorydb.json | 5 +++++ packages/aws/src/services/macie2.ts | 2 +- packages/aws/src/services/memorydb.ts | 18 ++++++++---------- 4 files changed, 33 insertions(+), 18 deletions(-) diff --git a/packages/aws/patches/macie2.json b/packages/aws/patches/macie2.json index 71f4ebfd5e..dc7480d7c2 100644 --- a/packages/aws/patches/macie2.json +++ b/packages/aws/patches/macie2.json @@ -2,7 +2,9 @@ "structures": { "DetectedDataDetails": { "members": { - "value": { "sensitive": true } + "value": { + "sensitive": true + } } } }, @@ -12,7 +14,9 @@ { "name": "MacieNotEnabled", "from": "AccessDeniedException", - "message": { "includes": "Macie is not enabled" } + "message": { + "matches": "Macie is(n[’']t| not) enabled" + } } ] }, @@ -21,7 +25,9 @@ { "name": "MacieNotEnabled", "from": "AccessDeniedException", - "message": { "includes": "Macie is not enabled" } + "message": { + "matches": "Macie is(n[’']t| not) enabled" + } } ] }, @@ -30,7 +36,9 @@ { "name": "MacieNotEnabled", "from": "AccessDeniedException", - "message": { "includes": "Macie is not enabled" } + "message": { + "matches": "Macie is(n[’']t| not) enabled" + } } ] }, @@ -39,12 +47,16 @@ { "name": "MacieNotEnabled", "from": "AccessDeniedException", - "message": { "includes": "Macie is not enabled" } + "message": { + "matches": "Macie is(n[’']t| not) enabled" + } } ] } }, "errorCategories": { - "MacieNotEnabled": ["RetryableError"] + "MacieNotEnabled": [ + "RetryableError" + ] } -} +} \ No newline at end of file diff --git a/packages/aws/patches/memorydb.json b/packages/aws/patches/memorydb.json index 7ad3fb3f1f..883adb0bd0 100644 --- a/packages/aws/patches/memorydb.json +++ b/packages/aws/patches/memorydb.json @@ -5,5 +5,10 @@ "Passwords": { "sensitive": true } } } + }, + "operations": { + "batchUpdateCluster": { + "errors": ["InvalidParameterCombinationException"] + } } } diff --git a/packages/aws/src/services/macie2.ts b/packages/aws/src/services/macie2.ts index 30ff1806e1..c76e009e3f 100644 --- a/packages/aws/src/services/macie2.ts +++ b/packages/aws/src/services/macie2.ts @@ -5377,7 +5377,7 @@ export class MacieNotEnabled extends S.TaggedErrorClass()( { message: S.optional(S.String) }, T.SyntheticError({ from: "AccessDeniedException", - message: { includes: "Macie is not enabled" }, + message: { matches: "Macie is(n[’']t| not) enabled" }, }), ).pipe(C.withRetryableError) {} export class UnprocessableEntityException extends S.TaggedErrorClass()( diff --git a/packages/aws/src/services/memorydb.ts b/packages/aws/src/services/memorydb.ts index 76c8b1e4d9..10cb3dbfbf 100644 --- a/packages/aws/src/services/memorydb.ts +++ b/packages/aws/src/services/memorydb.ts @@ -2631,15 +2631,8 @@ export class ServiceUpdateNotFoundFault extends S.TaggedErrorClass()( "InvalidParameterCombinationException", - { message: S.optional(S.String) }, - T.all( - T.AwsQueryError({ - code: "InvalidParameterCombination", - httpResponseCode: 400, - }), - T.HttpError(400), - ), -).pipe(C.withBadRequestError) {} + {}, +) {} export class InvalidSnapshotStateFault extends S.TaggedErrorClass()( "InvalidSnapshotStateFault", { message: S.optional(S.String) }, @@ -3158,6 +3151,7 @@ export class SubnetInUse extends S.TaggedErrorClass()( export type BatchUpdateClusterError = | InvalidParameterValueException | ServiceUpdateNotFoundFault + | InvalidParameterCombinationException | CommonErrors; /** * Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates. @@ -3170,7 +3164,11 @@ export const batchUpdateCluster: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: BatchUpdateClusterRequest, output: BatchUpdateClusterResponse, - errors: [InvalidParameterValueException, ServiceUpdateNotFoundFault], + errors: [ + InvalidParameterValueException, + ServiceUpdateNotFoundFault, + InvalidParameterCombinationException, + ], operationName: "BatchUpdateCluster", })); export type CopySnapshotError = From 5d0d6d22214b43bc7852fc50d963d4bb9b3ec193 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 12:44:28 -0700 Subject: [PATCH 39/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20quicksight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - quicksight Regenerated: quicksight Snapshot 2026-07-15 12:44 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/quicksight.json | 17 ++++++++ packages/aws/src/services/quicksight.ts | 56 ++++++++++++++++++------- 2 files changed, 57 insertions(+), 16 deletions(-) diff --git a/packages/aws/patches/quicksight.json b/packages/aws/patches/quicksight.json index 6a6d694a58..c77a8b9f9d 100644 --- a/packages/aws/patches/quicksight.json +++ b/packages/aws/patches/quicksight.json @@ -1,4 +1,21 @@ { + "structures": { + "CredentialPair": { + "members": { + "Password": { "sensitive": true } + } + }, + "WebProxyCredentials": { + "members": { + "WebProxyPassword": { "sensitive": true } + } + }, + "AssetBundleImportJobDataSourceCredentialPair": { + "members": { + "Password": { "sensitive": true } + } + } + }, "operations": { "createDataSource": { "syntheticErrors": [ diff --git a/packages/aws/src/services/quicksight.ts b/packages/aws/src/services/quicksight.ts index 8740c3f6d4..17bd621b2a 100644 --- a/packages/aws/src/services/quicksight.ts +++ b/packages/aws/src/services/quicksight.ts @@ -1842,12 +1842,12 @@ export const CreateAgentResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "CreateAgentResponse", }) as any as S.Schema; -export type SensitiveStringList = string | redacted.Redacted[]; +export type SensitiveStringList = (string | redacted.Redacted)[]; export const SensitiveStringList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface StringParameter { Name: string; - Values: string | redacted.Redacted[]; + Values: (string | redacted.Redacted)[]; } export const StringParameter = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Name: S.String, Values: SensitiveStringList }), @@ -4230,7 +4230,7 @@ export const CustomActionURLOperation = /*@__PURE__*/ /*#__PURE__*/ S.suspend( ).annotate({ identifier: "CustomActionURLOperation", }) as any as S.Schema; -export type StringDefaultValueList = string | redacted.Redacted[]; +export type StringDefaultValueList = (string | redacted.Redacted)[]; export const StringDefaultValueList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export type IntegerDefaultValueList = number[]; @@ -4246,7 +4246,7 @@ export const DateTimeDefaultValueList = /*@__PURE__*/ /*#__PURE__*/ S.Array( S.Date.pipe(T.TimestampFormat("epoch-seconds")), ); export interface CustomParameterValues { - StringValues?: string | redacted.Redacted[]; + StringValues?: (string | redacted.Redacted)[]; IntegerValues?: number[]; DecimalValues?: number[]; DateTimeValues?: Date[]; @@ -10263,7 +10263,7 @@ export const DynamicDefaultValue = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface StringDefaultValues { DynamicValue?: DynamicDefaultValue; - StaticValues?: string | redacted.Redacted[]; + StaticValues?: (string | redacted.Redacted)[]; } export const StringDefaultValues = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ @@ -12778,13 +12778,14 @@ export type DataSetStringListFilterOperator = | (string & {}); export const DataSetStringListFilterOperator = /*@__PURE__*/ /*#__PURE__*/ S.String; -export type DataSetStringFilterStaticValueList = +export type DataSetStringFilterStaticValueList = ( | string - | redacted.Redacted[]; + | redacted.Redacted +)[]; export const DataSetStringFilterStaticValueList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface DataSetStringListFilterValue { - StaticValues?: string | redacted.Redacted[]; + StaticValues?: (string | redacted.Redacted)[]; } export const DataSetStringListFilterValue = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -15958,13 +15959,13 @@ export const DataSourceParametersList = /*@__PURE__*/ /*#__PURE__*/ S.Array(DataSourceParameters); export interface CredentialPair { Username: string; - Password: string; + Password: string | redacted.Redacted; AlternateDataSourceParameters?: DataSourceParameters[]; } export const CredentialPair = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Username: S.String, - Password: S.String, + Password: SensitiveString, AlternateDataSourceParameters: S.optional(DataSourceParametersList), }), ).annotate({ identifier: "CredentialPair" }) as any as S.Schema; @@ -15984,10 +15985,10 @@ export const KeyPairCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => }) as any as S.Schema; export interface WebProxyCredentials { WebProxyUsername: string; - WebProxyPassword: string; + WebProxyPassword: string | redacted.Redacted; } export const WebProxyCredentials = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ WebProxyUsername: S.String, WebProxyPassword: S.String }), + S.Struct({ WebProxyUsername: S.String, WebProxyPassword: SensitiveString }), ).annotate({ identifier: "WebProxyCredentials", }) as any as S.Schema; @@ -17693,9 +17694,9 @@ export interface SemanticType { SubTypeName?: string; TypeParameters?: { [key: string]: string | undefined }; TruthyCellValue?: string | redacted.Redacted; - TruthyCellValueSynonyms?: string | redacted.Redacted[]; + TruthyCellValueSynonyms?: (string | redacted.Redacted)[]; FalseyCellValue?: string | redacted.Redacted; - FalseyCellValueSynonyms?: string | redacted.Redacted[]; + FalseyCellValueSynonyms?: (string | redacted.Redacted)[]; } export const SemanticType = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ @@ -21165,11 +21166,11 @@ export const AssetBundleImportJobRefreshScheduleOverrideParametersList = ); export interface AssetBundleImportJobDataSourceCredentialPair { Username: string; - Password: string; + Password: string | redacted.Redacted; } export const AssetBundleImportJobDataSourceCredentialPair = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ Username: S.String, Password: S.String }), + S.Struct({ Username: S.String, Password: SensitiveString }), ).annotate({ identifier: "AssetBundleImportJobDataSourceCredentialPair", }) as any as S.Schema; @@ -33187,14 +33188,17 @@ export const UpdateVPCConnectionResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class InternalFailureException extends S.TaggedErrorClass()( "InternalFailureException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidParameterValueException extends S.TaggedErrorClass()( "InvalidParameterValueException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -33203,14 +33207,17 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ThrottlingException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class InvalidRequestException extends S.TaggedErrorClass()( "InvalidRequestException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", @@ -33219,14 +33226,17 @@ export class LimitExceededException extends S.TaggedErrorClass()( "PreconditionNotMetException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ResourceExistsException extends S.TaggedErrorClass()( "ResourceExistsException", @@ -33235,6 +33245,7 @@ export class ResourceExistsException extends S.TaggedErrorClass()( "ResourceUnavailableException", @@ -33243,10 +33254,12 @@ export class ResourceUnavailableException extends S.TaggedErrorClass()( "UnsupportedUserEditionException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class QuickSightSubscriptionRequired extends S.TaggedErrorClass()( "QuickSightSubscriptionRequired", @@ -33263,46 +33276,57 @@ export class QuickSightSubscriptionRequired extends S.TaggedErrorClass()( "InternalServerException", { Message: S.String }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidDataSetParameterValueException extends S.TaggedErrorClass()( "InvalidDataSetParameterValueException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class CustomerManagedKeyUnavailableException extends S.TaggedErrorClass()( "CustomerManagedKeyUnavailableException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConcurrentUpdatingException extends S.TaggedErrorClass()( "ConcurrentUpdatingException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class InvalidNextTokenException extends S.TaggedErrorClass()( "InvalidNextTokenException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidParameterException extends S.TaggedErrorClass()( "InvalidParameterException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class SessionLifetimeInMinutesInvalidException extends S.TaggedErrorClass()( "SessionLifetimeInMinutesInvalidException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class UnsupportedPricingPlanException extends S.TaggedErrorClass()( "UnsupportedPricingPlanException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class QuickSightUserNotFoundException extends S.TaggedErrorClass()( "QuickSightUserNotFoundException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class DomainNotWhitelistedException extends S.TaggedErrorClass()( "DomainNotWhitelistedException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class IdentityTypeNotSupportedException extends S.TaggedErrorClass()( "IdentityTypeNotSupportedException", { Message: S.optional(S.String), RequestId: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} //# Operations From ce1c25291d7dee5be920a928d4b8978ee88da597 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 12:59:35 -0700 Subject: [PATCH 40/63] =?UTF-8?q?chore(aws/distilled):=20regen=201=20servi?= =?UTF-8?q?ce(s)=20=E2=80=94=20rum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regenerated: rum Snapshot 2026-07-15 12:59 Co-Authored-By: Claude Opus 4.8 --- packages/aws/src/services/rum.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/aws/src/services/rum.ts b/packages/aws/src/services/rum.ts index 327bcb4f77..2444c266ff 100644 --- a/packages/aws/src/services/rum.ts +++ b/packages/aws/src/services/rum.ts @@ -1137,7 +1137,7 @@ export class InternalServerException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -1146,14 +1146,17 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ValidationException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -1163,7 +1166,7 @@ export class ThrottlingException extends S.TaggedErrorClass quotaCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -1172,26 +1175,32 @@ export class ConflictException extends S.TaggedErrorClass()( resourceName: S.String, resourceType: S.optional(S.String), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class InvalidPolicyRevisionIdException extends S.TaggedErrorClass()( "InvalidPolicyRevisionIdException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class PolicyNotFoundException extends S.TaggedErrorClass()( "PolicyNotFoundException", { message: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class MalformedPolicyDocumentException extends S.TaggedErrorClass()( "MalformedPolicyDocumentException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class PolicySizeLimitExceededException extends S.TaggedErrorClass()( "PolicySizeLimitExceededException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations @@ -1246,6 +1255,7 @@ export const putRumEvents: API.OperationMethod< ValidationException, ], operationName: "PutRumEvents", + endpointHostPrefix: "dataplane.", })); export type TagResourceError = | InternalServerException From 489ecd69634d97da87e81caf8d99e1c2f2dc6787 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 13:02:32 -0700 Subject: [PATCH 41/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20redshift-serverless?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - redshift-serverless Regenerated: redshift-serverless Snapshot 2026-07-15 13:02 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/redshift-serverless.json | 9 +++++++++ packages/aws/src/services/redshift-serverless.ts | 15 ++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 packages/aws/patches/redshift-serverless.json diff --git a/packages/aws/patches/redshift-serverless.json b/packages/aws/patches/redshift-serverless.json new file mode 100644 index 0000000000..8aa308cd01 --- /dev/null +++ b/packages/aws/patches/redshift-serverless.json @@ -0,0 +1,9 @@ +{ + "structures": { + "GetIdentityCenterAuthTokenResponse": { + "members": { + "Token": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/src/services/redshift-serverless.ts b/packages/aws/src/services/redshift-serverless.ts index 7448c02a49..f07df14116 100644 --- a/packages/aws/src/services/redshift-serverless.ts +++ b/packages/aws/src/services/redshift-serverless.ts @@ -2543,53 +2543,62 @@ export const ListWorkgroupsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { code: S.optional(S.String), message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceName: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", { code: S.optional(S.String), message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class DryRunException extends S.TaggedErrorClass()( "DryRunException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InvalidPaginationException extends S.TaggedErrorClass()( "InvalidPaginationException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.String }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { message: S.optional(S.String), resourceName: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class InsufficientCapacityException extends S.TaggedErrorClass()( "InsufficientCapacityException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(400), T.Retryable()), ).pipe(C.withBadRequestError, C.withRetryableError) {} export class Ipv6CidrBlockNotFoundException extends S.TaggedErrorClass()( "Ipv6CidrBlockNotFoundException", { message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations From 7f11e6d6710dddbe13f5bc49b573062661488298 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 13:14:41 -0700 Subject: [PATCH 42/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=203?= =?UTF-8?q?=20service(s)=20=E2=80=94=20redshift-serverless,=20repostspace,?= =?UTF-8?q?=20route-53-domains?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - redshift-serverless - repostspace - route-53-domains Regenerated: redshift-serverless, repostspace, route-53-domains Snapshot 2026-07-15 13:14 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/redshift-serverless.json | 2 +- packages/aws/patches/repostspace.json | 5 +++ packages/aws/patches/route-53-domains.json | 33 +++++++++++++++++++ .../aws/src/services/redshift-serverless.ts | 4 +-- packages/aws/src/services/repostspace.ts | 2 ++ packages/aws/src/services/route-53-domains.ts | 7 +++- 6 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 packages/aws/patches/repostspace.json diff --git a/packages/aws/patches/redshift-serverless.json b/packages/aws/patches/redshift-serverless.json index 8aa308cd01..587bddf022 100644 --- a/packages/aws/patches/redshift-serverless.json +++ b/packages/aws/patches/redshift-serverless.json @@ -2,7 +2,7 @@ "structures": { "GetIdentityCenterAuthTokenResponse": { "members": { - "Token": { "sensitive": true } + "token": { "sensitive": true } } } } diff --git a/packages/aws/patches/repostspace.json b/packages/aws/patches/repostspace.json new file mode 100644 index 0000000000..14eb47e6be --- /dev/null +++ b/packages/aws/patches/repostspace.json @@ -0,0 +1,5 @@ +{ + "operations": { + "listChannels": { "errors": ["ResourceNotFoundException"] } + } +} diff --git a/packages/aws/patches/route-53-domains.json b/packages/aws/patches/route-53-domains.json index af9e56b4b6..fc9801d7c8 100644 --- a/packages/aws/patches/route-53-domains.json +++ b/packages/aws/patches/route-53-domains.json @@ -10,6 +10,39 @@ } } ] + }, + "renewDomain": { + "syntheticErrors": [ + { + "name": "DomainNotFound", + "from": "InvalidInput", + "message": { + "includes": "not found in account" + } + } + ] + }, + "retrieveDomainAuthCode": { + "syntheticErrors": [ + { + "name": "DomainNotFound", + "from": "InvalidInput", + "message": { + "includes": "not found in account" + } + } + ] + }, + "updateDomainNameservers": { + "syntheticErrors": [ + { + "name": "DomainNotFound", + "from": "InvalidInput", + "message": { + "includes": "not found in account" + } + } + ] } }, "errorCategories": { diff --git a/packages/aws/src/services/redshift-serverless.ts b/packages/aws/src/services/redshift-serverless.ts index f07df14116..21c8434367 100644 --- a/packages/aws/src/services/redshift-serverless.ts +++ b/packages/aws/src/services/redshift-serverless.ts @@ -286,13 +286,13 @@ export const GetIdentityCenterAuthTokenRequest = identifier: "GetIdentityCenterAuthTokenRequest", }) as any as S.Schema; export interface GetIdentityCenterAuthTokenResponse { - token?: string; + token?: string | redacted.Redacted; expirationTime?: Date; } export const GetIdentityCenterAuthTokenResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ - token: S.optional(S.String), + token: S.optional(SensitiveString), expirationTime: S.optional( T.DateFromString.pipe(T.TimestampFormat("date-time")), ), diff --git a/packages/aws/src/services/repostspace.ts b/packages/aws/src/services/repostspace.ts index 77e73d52a6..626bb5e335 100644 --- a/packages/aws/src/services/repostspace.ts +++ b/packages/aws/src/services/repostspace.ts @@ -1302,6 +1302,7 @@ export type ListChannelsError = | InternalServerException | ThrottlingException | ValidationException + | ResourceNotFoundException | CommonErrors; /** * Returns the list of channel within a private re:Post with some information about each channel. @@ -1334,6 +1335,7 @@ export const listChannels: API.OperationMethod< InternalServerException, ThrottlingException, ValidationException, + ResourceNotFoundException, ], operationName: "ListChannels", pagination: { diff --git a/packages/aws/src/services/route-53-domains.ts b/packages/aws/src/services/route-53-domains.ts index 0a1212cc7d..1fc960bafd 100644 --- a/packages/aws/src/services/route-53-domains.ts +++ b/packages/aws/src/services/route-53-domains.ts @@ -2649,6 +2649,7 @@ export type RenewDomainError = | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD + | DomainNotFound | CommonErrors; /** * This operation renews a domain for the specified number of years. The cost of renewing @@ -2674,6 +2675,7 @@ export const renewDomain: API.OperationMethod< OperationLimitExceeded, TLDRulesViolation, UnsupportedTLD, + DomainNotFound, ], operationName: "RenewDomain", })); @@ -2726,6 +2728,7 @@ export type RetrieveDomainAuthCodeError = | InvalidInput | TLDInMaintenance | UnsupportedTLD + | DomainNotFound | CommonErrors; /** * This operation returns the authorization code for the domain. To transfer a domain to @@ -2739,7 +2742,7 @@ export const retrieveDomainAuthCode: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: RetrieveDomainAuthCodeRequest, output: RetrieveDomainAuthCodeResponse, - errors: [InvalidInput, TLDInMaintenance, UnsupportedTLD], + errors: [InvalidInput, TLDInMaintenance, UnsupportedTLD, DomainNotFound], operationName: "RetrieveDomainAuthCode", })); export type TransferDomainError = @@ -2934,6 +2937,7 @@ export type UpdateDomainNameserversError = | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD + | DomainNotFound | CommonErrors; /** * This operation replaces the current set of name servers for the domain with the @@ -2958,6 +2962,7 @@ export const updateDomainNameservers: API.OperationMethod< OperationLimitExceeded, TLDRulesViolation, UnsupportedTLD, + DomainNotFound, ], operationName: "UpdateDomainNameservers", })); From feb4c63835489c1d0aa16fe4411a77b31db1b96f Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 13:32:43 -0700 Subject: [PATCH 43/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=202?= =?UTF-8?q?=20service(s)=20=E2=80=94=20resource-groups,=20s3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - resource-groups - s3 Regenerated: resource-groups, s3 Snapshot 2026-07-15 13:32 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/resource-groups.json | 3 +++ packages/aws/patches/s3.json | 10 ++++++++-- packages/aws/src/services/resource-groups.ts | 18 +++++++++++++++++- packages/aws/src/services/s3.ts | 5 ++++- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/packages/aws/patches/resource-groups.json b/packages/aws/patches/resource-groups.json index 053fca5fff..2c0cf47ecc 100644 --- a/packages/aws/patches/resource-groups.json +++ b/packages/aws/patches/resource-groups.json @@ -1,5 +1,8 @@ { "operations": { + "listGroupingStatuses": { + "errors": ["NotFoundException"] + }, "createGroup": { "syntheticErrors": [ { diff --git a/packages/aws/patches/s3.json b/packages/aws/patches/s3.json index bbfe7f979e..a121019033 100644 --- a/packages/aws/patches/s3.json +++ b/packages/aws/patches/s3.json @@ -356,7 +356,7 @@ "errors": ["RequestLimitExceeded", "SlowDown", "InvalidRequest"] }, "putObjectLegalHold": { - "errors": ["RequestLimitExceeded", "SlowDown", "MalformedXML"] + "errors": ["RequestLimitExceeded", "SlowDown", "MalformedXML", "InvalidRequest"] }, "listMultipartUploads": { "errors": ["RequestLimitExceeded", "SlowDown", "NoSuchBucket", "PermanentRedirect"] @@ -383,7 +383,13 @@ "errors": ["RequestLimitExceeded", "SlowDown", "NoSuchBucket", "PermanentRedirect"] }, "restoreObject": { - "errors": ["RequestLimitExceeded", "SlowDown", "NoSuchKey", "PermanentRedirect"] + "errors": [ + "RequestLimitExceeded", + "SlowDown", + "NoSuchKey", + "PermanentRedirect", + "InvalidObjectState" + ] }, "uploadPartCopy": { "errors": ["RequestLimitExceeded", "SlowDown", "NoSuchBucket"] diff --git a/packages/aws/src/services/resource-groups.ts b/packages/aws/src/services/resource-groups.ts index 78ef22b55e..eea990d4c2 100644 --- a/packages/aws/src/services/resource-groups.ts +++ b/packages/aws/src/services/resource-groups.ts @@ -325,7 +325,14 @@ export interface GetAccountSettingsRequest {} export const GetAccountSettingsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "POST", uri: "/get-account-settings" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetAccountSettingsRequest", @@ -1266,26 +1273,32 @@ export const UpdateGroupQueryOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class MethodNotAllowedException extends S.TaggedErrorClass()( "MethodNotAllowedException", { Message: S.optional(S.String) }, + T.HttpError(405), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { Message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class GroupAlreadyExists extends S.TaggedErrorClass()( "GroupAlreadyExists", @@ -1298,6 +1311,7 @@ export class GroupAlreadyExists extends S.TaggedErrorClass() export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} //# Operations @@ -1673,6 +1687,7 @@ export type ListGroupingStatusesError = | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException + | NotFoundException | CommonErrors; /** * Returns the status of the last grouping or ungrouping action for @@ -1707,6 +1722,7 @@ export const listGroupingStatuses: API.OperationMethod< InternalServerErrorException, MethodNotAllowedException, TooManyRequestsException, + NotFoundException, ], operationName: "ListGroupingStatuses", pagination: { diff --git a/packages/aws/src/services/s3.ts b/packages/aws/src/services/s3.ts index ef42d2ae5e..23af80fb6a 100644 --- a/packages/aws/src/services/s3.ts +++ b/packages/aws/src/services/s3.ts @@ -19659,6 +19659,7 @@ export type PutObjectLegalHoldError = | RequestLimitExceeded | SlowDown | MalformedXML + | InvalidRequest | CommonErrors; /** * This operation is not supported for directory buckets. @@ -19677,7 +19678,7 @@ export const putObjectLegalHold: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: PutObjectLegalHoldRequest, output: PutObjectLegalHoldOutput, - errors: [RequestLimitExceeded, SlowDown, MalformedXML], + errors: [RequestLimitExceeded, SlowDown, MalformedXML, InvalidRequest], operationName: "PutObjectLegalHold", })); export type PutObjectLockConfigurationError = @@ -19918,6 +19919,7 @@ export type RestoreObjectError = | SlowDown | NoSuchKey | PermanentRedirect + | InvalidObjectState | CommonErrors; /** * This operation is not supported for directory buckets. @@ -20073,6 +20075,7 @@ export const restoreObject: API.OperationMethod< SlowDown, NoSuchKey, PermanentRedirect, + InvalidObjectState, ], operationName: "RestoreObject", })); From e1ecb03b1360a839637da97031b812356c8fff28 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 13:47:50 -0700 Subject: [PATCH 44/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20s3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - s3 Regenerated: s3 Snapshot 2026-07-15 13:47 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/s3.json | 7 +++++++ packages/aws/src/services/s3.ts | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/aws/patches/s3.json b/packages/aws/patches/s3.json index a121019033..e86285a50c 100644 --- a/packages/aws/patches/s3.json +++ b/packages/aws/patches/s3.json @@ -16,6 +16,13 @@ "PreconditionFailed": ["ConflictError"], "ConditionalRequestConflict": ["ConflictError", "RetryableError"] }, + "structures": { + "GetObjectTaggingOutput": { + "members": { + "TagSet": { "optional": true } + } + } + }, "operations": { "createBucket": { "errors": [ diff --git a/packages/aws/src/services/s3.ts b/packages/aws/src/services/s3.ts index 23af80fb6a..a5925d637d 100644 --- a/packages/aws/src/services/s3.ts +++ b/packages/aws/src/services/s3.ts @@ -8333,13 +8333,13 @@ export const GetObjectTaggingRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend( }) as any as S.Schema; export interface GetObjectTaggingOutput { VersionId?: string; - TagSet: Tag[]; + TagSet?: Tag[]; } export const GetObjectTaggingOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( () => S.Struct({ VersionId: S.optional(S.String).pipe(T.HttpHeader("x-amz-version-id")), - TagSet: TagSet, + TagSet: S.optional(TagSet), }).pipe(T.all(T.XmlName("Tagging"), ns)), ).annotate({ identifier: "GetObjectTaggingOutput", From 941fd059b64283e7aaddaf800d02363e84e7b851 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 14:02:56 -0700 Subject: [PATCH 45/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=202?= =?UTF-8?q?=20service(s)=20=E2=80=94=20s3-control,=20ssm-contacts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - s3-control - ssm-contacts Regenerated: s3-control, ssm-contacts Snapshot 2026-07-15 14:02 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/s3-control.json | 212 ++++++++++--- packages/aws/patches/ssm-contacts.json | 370 ++++++++++++++++++++-- packages/aws/src/client/api.ts | 11 +- packages/aws/src/services/s3-control.ts | 19 ++ packages/aws/src/services/ssm-contacts.ts | 84 ++++- 5 files changed, 630 insertions(+), 66 deletions(-) diff --git a/packages/aws/patches/s3-control.json b/packages/aws/patches/s3-control.json index 7ed4b8ba8c..6fd3977cb8 100644 --- a/packages/aws/patches/s3-control.json +++ b/packages/aws/patches/s3-control.json @@ -1,55 +1,107 @@ { "errorCategories": { - "NoSuchAccessPoint": ["NotFoundError"], - "NoSuchAccessPointPolicy": ["NotFoundError"], - "AccessPointAlreadyOwnedByYou": ["AlreadyExistsError"], - "MalformedPolicy": ["BadRequestError"], - "InvalidRequest": ["BadRequestError"], - "MissingBucketLevelActivityMetrics": ["BadRequestError"], - "ObjectLambdaNotAvailable": ["AuthError"], - "NoSuchConfiguration": ["NotFoundError"], - "NoSuchMultiRegionAccessPoint": ["NotFoundError"] + "NoSuchAccessPoint": [ + "NotFoundError" + ], + "NoSuchAccessPointPolicy": [ + "NotFoundError" + ], + "AccessPointAlreadyOwnedByYou": [ + "AlreadyExistsError" + ], + "MalformedPolicy": [ + "BadRequestError" + ], + "InvalidRequest": [ + "BadRequestError" + ], + "MissingBucketLevelActivityMetrics": [ + "BadRequestError" + ], + "ObjectLambdaNotAvailable": [ + "AuthError" + ], + "NoSuchConfiguration": [ + "NotFoundError" + ], + "NoSuchMultiRegionAccessPoint": [ + "NotFoundError" + ], + "JobStatusTransitionForbidden": [ + "BadRequestError" + ] }, "structures": { "AccountLevel": { "members": { - "BucketLevel": { "optional": true } + "BucketLevel": { + "optional": true + } } } }, "operations": { "createAccessPoint": { - "errors": ["AccessPointAlreadyOwnedByYou", "InvalidRequest"] + "errors": [ + "AccessPointAlreadyOwnedByYou", + "InvalidRequest" + ] }, "getAccessPoint": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "deleteAccessPoint": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "getAccessPointPolicy": { - "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + "errors": [ + "NoSuchAccessPoint", + "NoSuchAccessPointPolicy" + ] }, "putAccessPointPolicy": { - "errors": ["NoSuchAccessPoint", "MalformedPolicy"] + "errors": [ + "NoSuchAccessPoint", + "MalformedPolicy" + ] }, "deleteAccessPointPolicy": { - "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + "errors": [ + "NoSuchAccessPoint", + "NoSuchAccessPointPolicy" + ] }, "getAccessPointPolicyStatus": { - "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + "errors": [ + "NoSuchAccessPoint", + "NoSuchAccessPointPolicy" + ] }, "tagResource": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "untagResource": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "listTagsForResource": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "createAccessPointForObjectLambda": { - "errors": ["AccessPointAlreadyOwnedByYou", "InvalidRequest", "NoSuchAccessPoint"], + "errors": [ + "AccessPointAlreadyOwnedByYou", + "InvalidRequest", + "NoSuchAccessPoint" + ], "syntheticErrors": [ { "name": "ObjectLambdaNotAvailable", @@ -61,61 +113,139 @@ ] }, "getAccessPointForObjectLambda": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "deleteAccessPointForObjectLambda": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "getAccessPointConfigurationForObjectLambda": { - "errors": ["NoSuchAccessPoint"] + "errors": [ + "NoSuchAccessPoint" + ] }, "putAccessPointConfigurationForObjectLambda": { - "errors": ["NoSuchAccessPoint", "InvalidRequest"] + "errors": [ + "NoSuchAccessPoint", + "InvalidRequest" + ] }, "getAccessPointPolicyForObjectLambda": { - "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + "errors": [ + "NoSuchAccessPoint", + "NoSuchAccessPointPolicy" + ] }, "putAccessPointPolicyForObjectLambda": { - "errors": ["NoSuchAccessPoint", "MalformedPolicy"] + "errors": [ + "NoSuchAccessPoint", + "MalformedPolicy" + ] }, "deleteAccessPointPolicyForObjectLambda": { - "errors": ["NoSuchAccessPoint", "NoSuchAccessPointPolicy"] + "errors": [ + "NoSuchAccessPoint", + "NoSuchAccessPointPolicy" + ] }, "putStorageLensConfiguration": { - "errors": ["InvalidRequest", "MissingBucketLevelActivityMetrics"] + "errors": [ + "InvalidRequest", + "MissingBucketLevelActivityMetrics" + ] }, "getStorageLensConfiguration": { - "errors": ["NoSuchConfiguration"] + "errors": [ + "NoSuchConfiguration" + ] }, "deleteStorageLensConfiguration": { - "errors": ["NoSuchConfiguration"] + "errors": [ + "NoSuchConfiguration" + ] }, "getStorageLensConfigurationTagging": { - "errors": ["NoSuchConfiguration"] + "errors": [ + "NoSuchConfiguration" + ] }, "putStorageLensConfigurationTagging": { - "errors": ["NoSuchConfiguration"] + "errors": [ + "NoSuchConfiguration" + ] }, "deleteStorageLensConfigurationTagging": { - "errors": ["NoSuchConfiguration"] + "errors": [ + "NoSuchConfiguration" + ] }, "createMultiRegionAccessPoint": { - "errors": ["InvalidRequest"] + "errors": [ + "InvalidRequest" + ] }, "getMultiRegionAccessPoint": { - "errors": ["NoSuchMultiRegionAccessPoint"] + "errors": [ + "NoSuchMultiRegionAccessPoint" + ] }, "deleteMultiRegionAccessPoint": { - "errors": ["NoSuchMultiRegionAccessPoint", "InvalidRequest"] + "errors": [ + "NoSuchMultiRegionAccessPoint", + "InvalidRequest" + ] }, "describeMultiRegionAccessPointOperation": { - "errors": ["InvalidRequest"] + "errors": [ + "InvalidRequest" + ] }, "getMultiRegionAccessPointPolicy": { - "errors": ["NoSuchMultiRegionAccessPoint"] + "errors": [ + "NoSuchMultiRegionAccessPoint" + ] }, "putMultiRegionAccessPointPolicy": { - "errors": ["NoSuchMultiRegionAccessPoint", "InvalidRequest"] + "errors": [ + "NoSuchMultiRegionAccessPoint", + "InvalidRequest" + ] + }, + "updateJobStatus": { + "errors": [ + "InvalidRequest" + ], + "syntheticErrors": [ + { + "name": "JobStatusTransitionForbidden", + "from": "InvalidRequest", + "message": { + "includes": "job status forbidden" + } + } + ] + }, + "updateJobPriority": { + "errors": [ + "InvalidRequest" + ], + "syntheticErrors": [ + { + "name": "JobStatusTransitionForbidden", + "from": "InvalidRequest", + "message": { + "includes": "job status forbidden" + } + } + ] + }, + "createJob": { + "errors": [ + "InvalidRequest" + ] } } -} +} \ No newline at end of file diff --git a/packages/aws/patches/ssm-contacts.json b/packages/aws/patches/ssm-contacts.json index 1bc776c5bf..d09d91490d 100644 --- a/packages/aws/patches/ssm-contacts.json +++ b/packages/aws/patches/ssm-contacts.json @@ -5,7 +5,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -14,7 +16,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -23,7 +27,16 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } } ] }, @@ -32,7 +45,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -41,17 +56,23 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, "createRotation": { - "errors": ["ConflictException"], + "errors": [ + "ConflictException" + ], "syntheticErrors": [ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -60,7 +81,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -69,7 +92,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -78,7 +103,16 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } } ] }, @@ -87,7 +121,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -96,7 +132,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -105,7 +143,16 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } } ] }, @@ -114,7 +161,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -123,7 +172,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -132,7 +183,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -141,7 +194,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -150,7 +205,9 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } } ] }, @@ -159,12 +216,285 @@ { "name": "IncidentManagerNotOnboarded", "from": "ValidationException", - "message": { "includes": "Account not found for the request" } + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "startEngagement": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "stopEngagement": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "describeEngagement": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "listEngagements": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "acceptPage": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "describePage": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "listPagesByContact": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "listPagesByEngagement": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "listPageReceipts": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "listPageResolutions": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "activateContactChannel": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "deactivateContactChannel": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "sendActivationCode": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "createRotationOverride": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } + } + ] + }, + "deleteRotationOverride": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } + } + ] + }, + "getRotationOverride": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } + } + ] + }, + "listRotationOverrides": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } + } + ] + }, + "listRotationShifts": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + }, + { + "name": "InvalidRotationArn", + "from": "ValidationException", + "message": { + "includes": "Invalid resource Arn" + } + } + ] + }, + "listPreviewRotationShifts": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "putContactPolicy": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } + } + ] + }, + "getContactPolicy": { + "syntheticErrors": [ + { + "name": "IncidentManagerNotOnboarded", + "from": "ValidationException", + "message": { + "includes": "Account not found for the request" + } } ] } }, "errorCategories": { - "IncidentManagerNotOnboarded": ["BadRequestError"] + "IncidentManagerNotOnboarded": [ + "BadRequestError" + ], + "InvalidRotationArn": [ + "BadRequestError" + ] } } diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 7759e65536..f44abf4797 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -310,9 +310,16 @@ export const make = >( // like Lex Runtime V2 (RecognizeUtterance) reject payload-hash // signatures on these routes. Glacier is the exception: it REQUIRES a // real x-amz-content-sha256 (computed below), so it keeps the hashed - // path for buffered bodies. + // path for buffered bodies. SageMaker Runtime is another exception: + // its event-stream route (InvokeEndpointWithResponseStream) rejects + // UNSIGNED-PAYLOAD with InvalidSignatureException — the service always + // reconstructs the canonical request from the actual body hash — so + // buffered bodies stay on the hashed path (plain InvokeEndpoint accepts + // payload-hash signatures too). const hasStreamingInput = - resolvedRequest.hasStreamingInput === true && _serviceSdkId !== "Glacier"; + resolvedRequest.hasStreamingInput === true && + _serviceSdkId !== "Glacier" && + _serviceSdkId !== "SageMaker Runtime"; // Use unsigned payload for streaming bodies OR streaming-input // operations OR when service provides checksum with body const useUnsignedPayload = diff --git a/packages/aws/src/services/s3-control.ts b/packages/aws/src/services/s3-control.ts index 7f0db81264..0091555ca4 100644 --- a/packages/aws/src/services/s3-control.ts +++ b/packages/aws/src/services/s3-control.ts @@ -7738,6 +7738,7 @@ export class NoSuchConfiguration extends S.TaggedErrorClass export class NoSuchPublicAccessBlockConfiguration extends S.TaggedErrorClass()( "NoSuchPublicAccessBlockConfiguration", { Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class InvalidNextTokenException extends S.TaggedErrorClass()( "InvalidNextTokenException", @@ -7759,6 +7760,14 @@ export class MissingBucketLevelActivityMetrics extends S.TaggedErrorClass()( + "JobStatusTransitionForbidden", + {}, + T.SyntheticError({ + from: "InvalidRequest", + message: { includes: "job status forbidden" }, + }), +).pipe(C.withBadRequestError) {} export class JobStatusException extends S.TaggedErrorClass()( "JobStatusException", { Message: S.optional(S.String) }, @@ -8014,6 +8023,7 @@ export type CreateJobError = | IdempotencyException | InternalServiceException | TooManyRequestsException + | InvalidRequest | CommonErrors; /** * This operation creates an S3 Batch Operations job. @@ -8052,6 +8062,7 @@ export const createJob: API.OperationMethod< IdempotencyException, InternalServiceException, TooManyRequestsException, + InvalidRequest, ], operationName: "CreateJob", endpointHostPrefix: "{AccountId}.", @@ -11041,6 +11052,8 @@ export type UpdateJobPriorityError = | InternalServiceException | NotFoundException | TooManyRequestsException + | InvalidRequest + | JobStatusTransitionForbidden | CommonErrors; /** * Updates an existing S3 Batch Operations job's priority. For more information, see S3 Batch Operations in the *Amazon S3 User Guide*. @@ -11074,6 +11087,8 @@ export const updateJobPriority: API.OperationMethod< InternalServiceException, NotFoundException, TooManyRequestsException, + InvalidRequest, + JobStatusTransitionForbidden, ], operationName: "UpdateJobPriority", endpointHostPrefix: "{AccountId}.", @@ -11084,6 +11099,8 @@ export type UpdateJobStatusError = | JobStatusException | NotFoundException | TooManyRequestsException + | InvalidRequest + | JobStatusTransitionForbidden | CommonErrors; /** * Updates the status for the specified job. Use this operation to confirm that you want to @@ -11119,6 +11136,8 @@ export const updateJobStatus: API.OperationMethod< JobStatusException, NotFoundException, TooManyRequestsException, + InvalidRequest, + JobStatusTransitionForbidden, ], operationName: "UpdateJobStatus", endpointHostPrefix: "{AccountId}.", diff --git a/packages/aws/src/services/ssm-contacts.ts b/packages/aws/src/services/ssm-contacts.ts index 9e4fc68351..ec80e91b74 100644 --- a/packages/aws/src/services/ssm-contacts.ts +++ b/packages/aws/src/services/ssm-contacts.ts @@ -1577,6 +1577,7 @@ export const UpdateRotationResult = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { Message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -1584,10 +1585,12 @@ export class InternalServerException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.String, ResourceId: S.String, ResourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -1597,6 +1600,7 @@ export class ThrottlingException extends S.TaggedErrorClass ServiceCode: S.optional(S.String), RetryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -1605,6 +1609,19 @@ export class ValidationException extends S.TaggedErrorClass Reason: S.optional(ValidationExceptionReason), Fields: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), +).pipe(C.withBadRequestError) {} +export class IncidentManagerNotOnboarded extends S.TaggedErrorClass()( + "IncidentManagerNotOnboarded", + { + Message: S.String, + Reason: S.optional(ValidationExceptionReason), + Fields: S.optional(ValidationExceptionFieldList), + }, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Account not found for the request" }, + }), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -1614,10 +1631,12 @@ export class ConflictException extends S.TaggedErrorClass()( ResourceType: S.String, DependentEntities: S.optional(DependentEntityList), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class DataEncryptionException extends S.TaggedErrorClass()( "DataEncryptionException", { Message: S.String }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -1628,9 +1647,10 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( - "IncidentManagerNotOnboarded", +export class InvalidRotationArn extends S.TaggedErrorClass()( + "InvalidRotationArn", { Message: S.String, Reason: S.optional(ValidationExceptionReason), @@ -1638,7 +1658,7 @@ export class IncidentManagerNotOnboarded extends S.TaggedErrorClass Date: Wed, 15 Jul 2026 14:18:02 -0700 Subject: [PATCH 46/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20securitylake?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - securitylake Regenerated: securitylake Snapshot 2026-07-15 14:18 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/securitylake.json | 26 ++++++++++++++++ packages/aws/src/client/api.ts | 4 ++- packages/aws/src/services/securitylake.ts | 36 ++++++++++++++++++++--- 3 files changed, 61 insertions(+), 5 deletions(-) diff --git a/packages/aws/patches/securitylake.json b/packages/aws/patches/securitylake.json index 53640fd221..5b6cc10f57 100644 --- a/packages/aws/patches/securitylake.json +++ b/packages/aws/patches/securitylake.json @@ -3,19 +3,45 @@ "createAwsLogSource": { "errors": ["UnauthorizedException"] }, "deleteAwsLogSource": { "errors": ["UnauthorizedException"] }, "listLogSources": { "errors": ["UnauthorizedException"] }, + "createCustomLogSource": { "errors": ["UnauthorizedException"] }, + "deleteCustomLogSource": { "errors": ["UnauthorizedException"] }, "createDataLake": { "errors": ["UnauthorizedException"] }, "updateDataLake": { "errors": ["UnauthorizedException"] }, "deleteDataLake": { "errors": ["UnauthorizedException"] }, "listDataLakes": { "errors": ["UnauthorizedException"] }, + "getDataLakeSources": { "errors": ["UnauthorizedException"] }, + "listDataLakeExceptions": { "errors": ["UnauthorizedException"] }, + "createDataLakeExceptionSubscription": { + "errors": ["UnauthorizedException"] + }, + "getDataLakeExceptionSubscription": { + "errors": ["UnauthorizedException"] + }, + "updateDataLakeExceptionSubscription": { + "errors": ["UnauthorizedException"] + }, + "deleteDataLakeExceptionSubscription": { + "errors": ["UnauthorizedException"] + }, "createSubscriber": { "errors": ["UnauthorizedException"] }, "getSubscriber": { "errors": ["UnauthorizedException"] }, "updateSubscriber": { "errors": ["UnauthorizedException"] }, "deleteSubscriber": { "errors": ["UnauthorizedException"] }, "listSubscribers": { "errors": ["UnauthorizedException"] }, + "createSubscriberNotification": { "errors": ["UnauthorizedException"] }, + "updateSubscriberNotification": { "errors": ["UnauthorizedException"] }, + "deleteSubscriberNotification": { "errors": ["UnauthorizedException"] }, "listTagsForResource": { "errors": ["UnauthorizedException"] }, "tagResource": { "errors": ["UnauthorizedException"] }, "untagResource": { "errors": ["UnauthorizedException"] } }, + "structures": { + "HttpsNotificationConfiguration": { + "members": { + "authorizationApiKeyValue": { "sensitive": true } + } + } + }, "errorCategories": { "UnauthorizedException": ["AuthError"] } diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index f44abf4797..081ad850f8 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -323,7 +323,9 @@ export const make = >( // Use unsigned payload for streaming bodies OR streaming-input // operations OR when service provides checksum with body const useUnsignedPayload = - (isStreamingBody || hasStreamingInput || (hasServiceChecksum && hasBody)) && + (isStreamingBody || + hasStreamingInput || + (hasServiceChecksum && hasBody)) && !hasContentSha256; let signingHeaders = useUnsignedPayload ? { diff --git a/packages/aws/src/services/securitylake.ts b/packages/aws/src/services/securitylake.ts index 05e32b5ae7..7b98d3bf5c 100644 --- a/packages/aws/src/services/securitylake.ts +++ b/packages/aws/src/services/securitylake.ts @@ -1,4 +1,5 @@ import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as redacted from "effect/Redacted"; import * as S from "@distilled.cloud/core/schema"; import * as stream from "effect/Stream"; import * as API from "../client/api.ts"; @@ -7,6 +8,7 @@ import * as C from "../category.ts"; import type { Credentials } from "../credentials.ts"; import type { CommonErrors } from "../errors.ts"; import type { Region as Rgn } from "../region.ts"; +import { SensitiveString } from "../sensitive.ts"; const svc = T.AwsApiService({ sdkId: "SecurityLake", serviceShapeName: "SecurityLake", @@ -1376,7 +1378,7 @@ export const HttpMethod = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface HttpsNotificationConfiguration { endpoint: string; authorizationApiKeyName?: string; - authorizationApiKeyValue?: string; + authorizationApiKeyValue?: string | redacted.Redacted; httpMethod?: HttpMethod; targetRoleArn: string; } @@ -1385,7 +1387,7 @@ export const HttpsNotificationConfiguration = S.Struct({ endpoint: S.String, authorizationApiKeyName: S.optional(S.String), - authorizationApiKeyValue: S.optional(S.String), + authorizationApiKeyValue: S.optional(SensitiveString), httpMethod: S.optional(HttpMethod), targetRoleArn: S.String, }), @@ -1504,10 +1506,12 @@ export const UpdateSubscriberNotificationResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String), errorCode: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", @@ -1516,11 +1520,12 @@ export class ConflictException extends S.TaggedErrorClass()( resourceName: S.optional(S.String), resourceType: S.optional(S.String), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", @@ -1529,6 +1534,7 @@ export class ResourceNotFoundException extends S.TaggedErrorClass()( "ThrottlingException", @@ -1538,7 +1544,7 @@ export class ThrottlingException extends S.TaggedErrorClass quotaCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", @@ -1553,6 +1559,7 @@ export type CreateDataLakeExceptionSubscriptionError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Creates the specified notification subscription in Amazon Security Lake for the organization @@ -1573,6 +1580,7 @@ export const createDataLakeExceptionSubscription: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "CreateDataLakeExceptionSubscription", })); @@ -1583,6 +1591,7 @@ export type DeleteDataLakeExceptionSubscriptionError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Deletes the specified notification subscription in Amazon Security Lake for the organization @@ -1603,6 +1612,7 @@ export const deleteDataLakeExceptionSubscription: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteDataLakeExceptionSubscription", })); @@ -1644,6 +1654,7 @@ export type GetDataLakeExceptionSubscriptionError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Retrieves the protocol and endpoint that were provided when subscribing to Amazon SNS topics for exception notifications. @@ -1663,6 +1674,7 @@ export const getDataLakeExceptionSubscription: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "GetDataLakeExceptionSubscription", })); @@ -1673,6 +1685,7 @@ export type ListDataLakeExceptionsError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Lists the Amazon Security Lake exceptions that you can use to find the source of problems and @@ -1708,6 +1721,7 @@ export const listDataLakeExceptions: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "ListDataLakeExceptions", pagination: { @@ -1857,6 +1871,7 @@ export type UpdateDataLakeExceptionSubscriptionError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Updates the specified notification subscription in Amazon Security Lake for the organization @@ -1877,6 +1892,7 @@ export const updateDataLakeExceptionSubscription: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "UpdateDataLakeExceptionSubscription", })); @@ -1925,6 +1941,7 @@ export type CreateCustomLogSourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region @@ -1950,6 +1967,7 @@ export const createCustomLogSource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "CreateCustomLogSource", })); @@ -2076,6 +2094,7 @@ export type DeleteCustomLogSourceError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Removes a custom log source from Amazon Security Lake, to stop sending data from the custom @@ -2096,6 +2115,7 @@ export const deleteCustomLogSource: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteCustomLogSource", })); @@ -2207,6 +2227,7 @@ export type GetDataLakeSourcesError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled @@ -2242,6 +2263,7 @@ export const getDataLakeSources: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "GetDataLakeSources", pagination: { @@ -2568,6 +2590,7 @@ export type CreateSubscriberNotificationError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Notifies the subscriber when new data is written to the data lake for the sources that @@ -2589,6 +2612,7 @@ export const createSubscriberNotification: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "CreateSubscriberNotification", })); @@ -2599,6 +2623,7 @@ export type DeleteSubscriberNotificationError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Deletes the specified subscription notification in Amazon Security Lake for the organization @@ -2619,6 +2644,7 @@ export const deleteSubscriberNotification: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "DeleteSubscriberNotification", })); @@ -2629,6 +2655,7 @@ export type UpdateSubscriberNotificationError = | InternalServerException | ResourceNotFoundException | ThrottlingException + | UnauthorizedException | CommonErrors; /** * Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or @@ -2649,6 +2676,7 @@ export const updateSubscriberNotification: API.OperationMethod< InternalServerException, ResourceNotFoundException, ThrottlingException, + UnauthorizedException, ], operationName: "UpdateSubscriberNotification", })); From 7f0fd9cb5ef7e5ea237e619eb4a822b67af7816b Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 14:33:08 -0700 Subject: [PATCH 47/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20schemas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - schemas Regenerated: schemas Snapshot 2026-07-15 14:33 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/schemas.json | 7 +++++++ packages/aws/src/services/schemas.ts | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 packages/aws/patches/schemas.json diff --git a/packages/aws/patches/schemas.json b/packages/aws/patches/schemas.json new file mode 100644 index 0000000000..b9891d4fbf --- /dev/null +++ b/packages/aws/patches/schemas.json @@ -0,0 +1,7 @@ +{ + "operations": { + "putCodeBinding": { + "errors": ["ConflictException"] + } + } +} diff --git a/packages/aws/src/services/schemas.ts b/packages/aws/src/services/schemas.ts index d2ee0a0dc0..563aa28d57 100644 --- a/packages/aws/src/services/schemas.ts +++ b/packages/aws/src/services/schemas.ts @@ -1439,42 +1439,52 @@ export const UpdateSchemaResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ForbiddenException extends S.TaggedErrorClass()( "ForbiddenException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerErrorException extends S.TaggedErrorClass()( "InternalServerErrorException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ServiceUnavailableException extends S.TaggedErrorClass()( "ServiceUnavailableException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(503), ).pipe(C.withServerError) {} export class UnauthorizedException extends S.TaggedErrorClass()( "UnauthorizedException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(401), ).pipe(C.withAuthError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class GoneException extends S.TaggedErrorClass()( "GoneException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(410), ).pipe(C.withBadRequestError) {} export class PreconditionFailedException extends S.TaggedErrorClass()( "PreconditionFailedException", { Code: S.optional(S.String), Message: S.optional(S.String) }, + T.HttpError(412), ) {} //# Operations @@ -2167,6 +2177,7 @@ export type PutCodeBindingError = | NotFoundException | TooManyRequestsException | UnauthorizedException + | ConflictException | CommonErrors; /** * Put code binding URI @@ -2187,6 +2198,7 @@ export const putCodeBinding: API.OperationMethod< NotFoundException, TooManyRequestsException, UnauthorizedException, + ConflictException, ], operationName: "PutCodeBinding", })); From f2becc8b476e1cb91d0b0e7c5de3da24fc35887a Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 14:48:14 -0700 Subject: [PATCH 48/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=202?= =?UTF-8?q?=20service(s)=20=E2=80=94=20service-catalog,=20socialmessaging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - service-catalog - socialmessaging Regenerated: service-catalog, socialmessaging Snapshot 2026-07-15 14:48 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/service-catalog.json | 15 +++++++++++++++ packages/aws/patches/socialmessaging.json | 9 +++++++++ packages/aws/src/services/service-catalog.ts | 10 ++++++++++ packages/aws/src/services/socialmessaging.ts | 18 +++++++++++++----- 4 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 packages/aws/patches/service-catalog.json create mode 100644 packages/aws/patches/socialmessaging.json diff --git a/packages/aws/patches/service-catalog.json b/packages/aws/patches/service-catalog.json new file mode 100644 index 0000000000..c10f7449a9 --- /dev/null +++ b/packages/aws/patches/service-catalog.json @@ -0,0 +1,15 @@ +{ + "operations": { + "executeProvisionedProductServiceAction": { + "syntheticErrors": [ + { + "name": "ProvisionedProductNotFound", + "from": "ValidationException", + "message": { + "includes": "Provisioned product not found" + } + } + ] + } + } +} diff --git a/packages/aws/patches/socialmessaging.json b/packages/aws/patches/socialmessaging.json new file mode 100644 index 0000000000..db4cec1506 --- /dev/null +++ b/packages/aws/patches/socialmessaging.json @@ -0,0 +1,9 @@ +{ + "structures": { + "WhatsAppSignupCallback": { + "members": { + "accessToken": { "sensitive": true } + } + } + } +} diff --git a/packages/aws/src/services/service-catalog.ts b/packages/aws/src/services/service-catalog.ts index 26839f5128..f1ba62b64f 100644 --- a/packages/aws/src/services/service-catalog.ts +++ b/packages/aws/src/services/service-catalog.ts @@ -4290,6 +4290,14 @@ export class ResourceInUseException extends S.TaggedErrorClass()( + "ProvisionedProductNotFound", + {}, + T.SyntheticError({ + from: "ValidationException", + message: { includes: "Provisioned product not found" }, + }), +) {} //# Operations export type AcceptPortfolioShareError = @@ -5497,6 +5505,7 @@ export type ExecuteProvisionedProductServiceActionError = | InvalidParametersException | InvalidStateException | ResourceNotFoundException + | ProvisionedProductNotFound | CommonErrors; /** * Executes a self-service action against a provisioned product. @@ -5513,6 +5522,7 @@ export const executeProvisionedProductServiceAction: API.OperationMethod< InvalidParametersException, InvalidStateException, ResourceNotFoundException, + ProvisionedProductNotFound, ], operationName: "ExecuteProvisionedProductServiceAction", })); diff --git a/packages/aws/src/services/socialmessaging.ts b/packages/aws/src/services/socialmessaging.ts index 57d7db1d51..c36929ca20 100644 --- a/packages/aws/src/services/socialmessaging.ts +++ b/packages/aws/src/services/socialmessaging.ts @@ -252,11 +252,15 @@ export const UntagResourceOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => identifier: "UntagResourceOutput", }) as any as S.Schema; export interface WhatsAppSignupCallback { - accessToken: string; + accessToken: string | redacted.Redacted; callbackUrl?: string; } export const WhatsAppSignupCallback = /*@__PURE__*/ /*#__PURE__*/ S.suspend( - () => S.Struct({ accessToken: S.String, callbackUrl: S.optional(S.String) }), + () => + S.Struct({ + accessToken: SensitiveString, + callbackUrl: S.optional(S.String), + }), ).annotate({ identifier: "WhatsAppSignupCallback", }) as any as S.Schema; @@ -1732,33 +1736,37 @@ export const SendWhatsAppMessageOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class InternalServiceException extends S.TaggedErrorClass()( "InternalServiceException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class InvalidParametersException extends S.TaggedErrorClass()( "InvalidParametersException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ThrottledRequestException extends S.TaggedErrorClass()( "ThrottledRequestException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class DependencyException extends S.TaggedErrorClass()( "DependencyException", { message: S.optional(S.String) }, - T.Retryable(), + T.all(T.HttpError(502), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class LimitExceededException extends S.TaggedErrorClass()( "LimitExceededException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class AccessDeniedByMetaException extends S.TaggedErrorClass()( "AccessDeniedByMetaException", { message: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} //# Operations From 8f0a6317f578c1a84f925dca42d9757d10bfc511 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 15:03:21 -0700 Subject: [PATCH 49/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20verifiedpermissions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - verifiedpermissions Regenerated: verifiedpermissions Snapshot 2026-07-15 15:03 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/verifiedpermissions.json | 12 +++- .../aws/src/services/verifiedpermissions.ts | 69 ++++++++++++------- 2 files changed, 57 insertions(+), 24 deletions(-) diff --git a/packages/aws/patches/verifiedpermissions.json b/packages/aws/patches/verifiedpermissions.json index 51893c72f7..8d52c406a0 100644 --- a/packages/aws/patches/verifiedpermissions.json +++ b/packages/aws/patches/verifiedpermissions.json @@ -10,6 +10,16 @@ "getSchema": { "errors": ["ValidationException"] }, "isAuthorized": { "errors": ["ValidationException"] }, "isAuthorizedWithToken": { "errors": ["ValidationException"] }, - "batchIsAuthorized": { "errors": ["ValidationException"] } + "batchIsAuthorized": { "errors": ["ValidationException"] }, + "batchIsAuthorizedWithToken": { "errors": ["ValidationException"] }, + "batchGetPolicy": { "errors": ["ValidationException"] }, + "createIdentitySource": { "errors": ["ValidationException"] }, + "updateIdentitySource": { "errors": ["ValidationException"] }, + "createPolicyTemplate": { "errors": ["ValidationException"] }, + "updatePolicyTemplate": { "errors": ["ValidationException"] }, + "createPolicyStoreAlias": { "errors": ["ValidationException"] }, + "deletePolicyStoreAlias": { + "errors": ["ValidationException", "ResourceNotFoundException"] + } } } diff --git a/packages/aws/src/services/verifiedpermissions.ts b/packages/aws/src/services/verifiedpermissions.ts index 3cc47d9840..016542bb98 100644 --- a/packages/aws/src/services/verifiedpermissions.ts +++ b/packages/aws/src/services/verifiedpermissions.ts @@ -1001,7 +1001,7 @@ export const GetSchemaInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), ), ).annotate({ identifier: "GetSchemaInput" }) as any as S.Schema; -export type NamespaceList = string | redacted.Redacted[]; +export type NamespaceList = (string | redacted.Redacted)[]; export const NamespaceList = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface GetSchemaOutput { @@ -1009,7 +1009,7 @@ export interface GetSchemaOutput { schema: string | redacted.Redacted; createdDate: Date; lastUpdatedDate: Date; - namespaces?: string | redacted.Redacted[]; + namespaces?: (string | redacted.Redacted)[]; } export const GetSchemaOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ @@ -1117,7 +1117,7 @@ export const PutSchemaInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "PutSchemaInput" }) as any as S.Schema; export interface PutSchemaOutput { policyStoreId: string; - namespaces: string | redacted.Redacted[]; + namespaces: (string | redacted.Redacted)[]; createdDate: Date; lastUpdatedDate: Date; } @@ -1257,7 +1257,7 @@ export const BatchGetPolicyOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => ).annotate({ identifier: "BatchGetPolicyOutput", }) as any as S.Schema; -export type ClientIds = string | redacted.Redacted[]; +export type ClientIds = (string | redacted.Redacted)[]; export const ClientIds = /*@__PURE__*/ /*#__PURE__*/ S.Array(SensitiveString); export interface CognitoGroupConfiguration { groupEntityType: string | redacted.Redacted; @@ -1269,7 +1269,7 @@ export const CognitoGroupConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend( }) as any as S.Schema; export interface CognitoUserPoolConfiguration { userPoolArn: string; - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; groupConfiguration?: CognitoGroupConfiguration; } export const CognitoUserPoolConfiguration = @@ -1309,7 +1309,7 @@ export const OpenIdConnectAccessTokenConfiguration = }) as any as S.Schema; export interface OpenIdConnectIdentityTokenConfiguration { principalIdClaim?: string | redacted.Redacted; - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; } export const OpenIdConnectIdentityTokenConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -1414,7 +1414,7 @@ export const GetIdentitySourceInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export type OpenIdIssuer = "COGNITO" | (string & {}); export const OpenIdIssuer = /*@__PURE__*/ /*#__PURE__*/ S.String; export interface IdentitySourceDetails { - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; userPoolArn?: string; discoveryUrl?: string; openIdIssuer?: OpenIdIssuer; @@ -1440,7 +1440,7 @@ export const CognitoGroupConfigurationDetail = }) as any as S.Schema; export interface CognitoUserPoolConfigurationDetail { userPoolArn: string; - clientIds: string | redacted.Redacted[]; + clientIds: (string | redacted.Redacted)[]; issuer: string; groupConfiguration?: CognitoGroupConfigurationDetail; } @@ -1480,7 +1480,7 @@ export const OpenIdConnectAccessTokenConfigurationDetail = }) as any as S.Schema; export interface OpenIdConnectIdentityTokenConfigurationDetail { principalIdClaim?: string | redacted.Redacted; - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; } export const OpenIdConnectIdentityTokenConfigurationDetail = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -1573,7 +1573,7 @@ export const UpdateCognitoGroupConfiguration = }) as any as S.Schema; export interface UpdateCognitoUserPoolConfiguration { userPoolArn: string; - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; groupConfiguration?: UpdateCognitoGroupConfiguration; } export const UpdateCognitoUserPoolConfiguration = @@ -1611,7 +1611,7 @@ export const UpdateOpenIdConnectAccessTokenConfiguration = }) as any as S.Schema; export interface UpdateOpenIdConnectIdentityTokenConfiguration { principalIdClaim?: string | redacted.Redacted; - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; } export const UpdateOpenIdConnectIdentityTokenConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -1755,7 +1755,7 @@ export const ListIdentitySourcesInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend( identifier: "ListIdentitySourcesInput", }) as any as S.Schema; export interface IdentitySourceItemDetails { - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; userPoolArn?: string; discoveryUrl?: string; openIdIssuer?: OpenIdIssuer; @@ -1782,7 +1782,7 @@ export const CognitoGroupConfigurationItem = }) as any as S.Schema; export interface CognitoUserPoolConfigurationItem { userPoolArn: string; - clientIds: string | redacted.Redacted[]; + clientIds: (string | redacted.Redacted)[]; issuer: string; groupConfiguration?: CognitoGroupConfigurationItem; } @@ -1822,7 +1822,7 @@ export const OpenIdConnectAccessTokenConfigurationItem = }) as any as S.Schema; export interface OpenIdConnectIdentityTokenConfigurationItem { principalIdClaim?: string | redacted.Redacted; - clientIds?: string | redacted.Redacted[]; + clientIds?: (string | redacted.Redacted)[]; } export const OpenIdConnectIdentityTokenConfigurationItem = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => @@ -2555,15 +2555,17 @@ export const ListPolicyStoreAliasesOutput = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: ResourceType }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -2572,15 +2574,17 @@ export class ThrottlingException extends S.TaggedErrorClass serviceCode: S.optional(S.String), quotaCode: S.optional(S.String), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { message: S.optional(S.String), resourceName: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resources: ResourceConflictList }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -2591,6 +2595,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ValidationException", @@ -2599,6 +2604,7 @@ export class ValidationException extends S.TaggedErrorClass export class InvalidStateException extends S.TaggedErrorClass()( "InvalidStateException", { message: S.String }, + T.HttpError(406), ).pipe(C.withBadRequestError) {} //# Operations @@ -2830,6 +2836,7 @@ export const batchIsAuthorized: API.OperationMethod< })); export type BatchIsAuthorizedWithTokenError = | ResourceNotFoundException + | ValidationException | CommonErrors; /** * Makes a series of decisions about multiple authorization requests for one token. The principal in this request comes from an external identity source in the form of an identity or access token, formatted as a JSON web token (JWT). The information in the parameters can also define additional context that Verified Permissions can include in the evaluations. @@ -2848,7 +2855,7 @@ export const batchIsAuthorizedWithToken: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: BatchIsAuthorizedWithTokenInput, output: BatchIsAuthorizedWithTokenOutput, - errors: [ResourceNotFoundException], + errors: [ResourceNotFoundException, ValidationException], operationName: "BatchIsAuthorizedWithToken", })); export type GetSchemaError = @@ -2936,7 +2943,7 @@ export const putSchema: API.OperationMethod< ], operationName: "PutSchema", })); -export type BatchGetPolicyError = CommonErrors; +export type BatchGetPolicyError = ValidationException | CommonErrors; /** * Retrieves information about a group (batch) of policies. * @@ -2950,13 +2957,14 @@ export const batchGetPolicy: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: BatchGetPolicyInput, output: BatchGetPolicyOutput, - errors: [], + errors: [ValidationException], operationName: "BatchGetPolicy", })); export type CreateIdentitySourceError = | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Adds an identity source to a policy store–an Amazon Cognito user pool or OpenID Connect (OIDC) identity provider (IdP). @@ -2985,6 +2993,7 @@ export const createIdentitySource: API.OperationMethod< ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, + ValidationException, ], operationName: "CreateIdentitySource", })); @@ -3006,6 +3015,7 @@ export const getIdentitySource: API.OperationMethod< export type UpdateIdentitySourceError = | ConflictException | ResourceNotFoundException + | ValidationException | CommonErrors; /** * Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type. @@ -3020,7 +3030,7 @@ export const updateIdentitySource: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdateIdentitySourceInput, output: UpdateIdentitySourceOutput, - errors: [ConflictException, ResourceNotFoundException], + errors: [ConflictException, ResourceNotFoundException, ValidationException], operationName: "UpdateIdentitySource", })); export type DeleteIdentitySourceError = @@ -3235,6 +3245,7 @@ export type CreatePolicyTemplateError = | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Creates a policy template. A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well. @@ -3253,6 +3264,7 @@ export const createPolicyTemplate: API.OperationMethod< ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, + ValidationException, ], operationName: "CreatePolicyTemplate", })); @@ -3274,6 +3286,7 @@ export const getPolicyTemplate: API.OperationMethod< export type UpdatePolicyTemplateError = | ConflictException | ResourceNotFoundException + | ValidationException | CommonErrors; /** * Updates the specified policy template. You can update only the description and the some elements of the policyBody. @@ -3290,7 +3303,7 @@ export const updatePolicyTemplate: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: UpdatePolicyTemplateInput, output: UpdatePolicyTemplateOutput, - errors: [ConflictException, ResourceNotFoundException], + errors: [ConflictException, ResourceNotFoundException, ValidationException], operationName: "UpdatePolicyTemplate", })); export type DeletePolicyTemplateError = @@ -3353,6 +3366,7 @@ export type CreatePolicyStoreAliasError = | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException + | ValidationException | CommonErrors; /** * Creates a policy store alias for the specified policy store. A policy store alias is an alternative identifier that you can use to reference a policy store in API operations. @@ -3373,6 +3387,7 @@ export const createPolicyStoreAlias: API.OperationMethod< ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, + ValidationException, ], operationName: "CreatePolicyStoreAlias", })); @@ -3391,7 +3406,11 @@ export const getPolicyStoreAlias: API.OperationMethod< errors: [ResourceNotFoundException], operationName: "GetPolicyStoreAlias", })); -export type DeletePolicyStoreAliasError = InvalidStateException | CommonErrors; +export type DeletePolicyStoreAliasError = + | InvalidStateException + | ValidationException + | ResourceNotFoundException + | CommonErrors; /** * Deletes the specified policy store alias. * @@ -3411,7 +3430,11 @@ export const deletePolicyStoreAlias: API.OperationMethod< > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({ input: DeletePolicyStoreAliasInput, output: DeletePolicyStoreAliasOutput, - errors: [InvalidStateException], + errors: [ + InvalidStateException, + ValidationException, + ResourceNotFoundException, + ], operationName: "DeletePolicyStoreAlias", })); export type ListPolicyStoreAliasesError = CommonErrors; From d81764518e0c9475c14520799ee173fec57ad7fd Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 15:33:31 -0700 Subject: [PATCH 50/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=201?= =?UTF-8?q?=20service(s)=20=E2=80=94=20signer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - signer Regenerated: signer Snapshot 2026-07-15 15:33 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/signer.json | 19 ++++++++++++++++--- packages/aws/src/services/signer.ts | 14 ++++++++++++-- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/packages/aws/patches/signer.json b/packages/aws/patches/signer.json index a561263b8f..f6c242c97a 100644 --- a/packages/aws/patches/signer.json +++ b/packages/aws/patches/signer.json @@ -5,12 +5,25 @@ { "name": "SigningProfileAlreadyExists", "from": "ValidationException", - "message": { "includes": "already exists" } + "message": { + "includes": "already exists" + } } ] } }, "errorCategories": { - "SigningProfileAlreadyExists": ["AlreadyExistsError"] + "SigningProfileAlreadyExists": [ + "AlreadyExistsError" + ] + }, + "structures": { + "SigningMaterial": { + "members": { + "certificateArn": { + "optional": true + } + } + } } -} +} \ No newline at end of file diff --git a/packages/aws/src/services/signer.ts b/packages/aws/src/services/signer.ts index af842a4012..9ee60a5d04 100644 --- a/packages/aws/src/services/signer.ts +++ b/packages/aws/src/services/signer.ts @@ -211,10 +211,10 @@ export const Source = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ s3: S.optional(S3Source) }), ).annotate({ identifier: "Source" }) as any as S.Schema; export interface SigningMaterial { - certificateArn: string; + certificateArn?: string; } export const SigningMaterial = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => - S.Struct({ certificateArn: S.String }), + S.Struct({ certificateArn: S.optional(S.String) }), ).annotate({ identifier: "SigningMaterial", }) as any as S.Schema; @@ -1212,38 +1212,47 @@ export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServiceErrorException extends S.TaggedErrorClass()( "InternalServiceErrorException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceLimitExceededException extends S.TaggedErrorClass()( "ServiceLimitExceededException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class TooManyRequestsException extends S.TaggedErrorClass()( "TooManyRequestsException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class BadRequestException extends S.TaggedErrorClass()( "BadRequestException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class SigningProfileAlreadyExists extends S.TaggedErrorClass()( "SigningProfileAlreadyExists", @@ -1256,6 +1265,7 @@ export class SigningProfileAlreadyExists extends S.TaggedErrorClass()( "ThrottlingException", { message: S.optional(S.String), code: S.optional(S.String) }, + T.HttpError(429), ).pipe(C.withThrottlingError) {} //# Operations From 2ea26911f7481ea7f15ab593339f6942a69dae54 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 16:19:28 -0700 Subject: [PATCH 51/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=205?= =?UTF-8?q?=20service(s)=20=E2=80=94=20amp,=20entityresolution,=20lakeform?= =?UTF-8?q?ation,=20license-manager,=20notifications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - amp - entityresolution - lakeformation - license-manager - notifications Regenerated: amp, entityresolution, lakeformation, license-manager, notifications Snapshot 2026-07-15 16:19 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/amp.json | 4 ++++ packages/aws/patches/entityresolution.json | 5 +++++ packages/aws/patches/lakeformation.json | 1 + packages/aws/patches/license-manager.json | 6 ++++++ packages/aws/patches/notifications.json | 7 +++++++ packages/aws/src/services/amp.ts | 13 +++++++++++-- packages/aws/src/services/entityresolution.ts | 2 ++ packages/aws/src/services/lakeformation.ts | 2 ++ packages/aws/src/services/license-manager.ts | 4 ++++ packages/aws/src/services/notifications.ts | 11 +++++++++-- 10 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 packages/aws/patches/notifications.json diff --git a/packages/aws/patches/amp.json b/packages/aws/patches/amp.json index 3193e9ecb2..271d240bd6 100644 --- a/packages/aws/patches/amp.json +++ b/packages/aws/patches/amp.json @@ -14,5 +14,9 @@ } } } + }, + "operations": { + "createLoggingConfiguration": { "errors": ["ConflictException"] }, + "createQueryLoggingConfiguration": { "errors": ["ConflictException"] } } } diff --git a/packages/aws/patches/entityresolution.json b/packages/aws/patches/entityresolution.json index 13b24b1f84..3905975f12 100644 --- a/packages/aws/patches/entityresolution.json +++ b/packages/aws/patches/entityresolution.json @@ -1,4 +1,9 @@ { + "operations": { + "deleteIdNamespace": { + "errors": ["ConflictException"] + } + }, "structures": { "CreateSchemaMappingOutput": { "members": { diff --git a/packages/aws/patches/lakeformation.json b/packages/aws/patches/lakeformation.json index 051606b4bd..a93149e332 100644 --- a/packages/aws/patches/lakeformation.json +++ b/packages/aws/patches/lakeformation.json @@ -104,6 +104,7 @@ ] }, "listLakeFormationOptIns": { + "errors": ["EntityNotFoundException"], "syntheticErrors": [ { "name": "InvalidLakeFormationPrincipal", diff --git a/packages/aws/patches/license-manager.json b/packages/aws/patches/license-manager.json index ad57e95a8b..2672d1b6a3 100644 --- a/packages/aws/patches/license-manager.json +++ b/packages/aws/patches/license-manager.json @@ -20,6 +20,12 @@ "getAccessToken": { "errors": ["InvalidParameterValueException"] }, + "getLicense": { + "errors": ["ResourceNotFoundException"] + }, + "getGrant": { + "errors": ["ResourceNotFoundException"] + }, "getLicenseConfiguration": { "syntheticErrors": [ { diff --git a/packages/aws/patches/notifications.json b/packages/aws/patches/notifications.json new file mode 100644 index 0000000000..adc3356e82 --- /dev/null +++ b/packages/aws/patches/notifications.json @@ -0,0 +1,7 @@ +{ + "operations": { + "listManagedNotificationChildEvents": { + "errors": ["ResourceNotFoundException"] + } + } +} diff --git a/packages/aws/src/services/amp.ts b/packages/aws/src/services/amp.ts index bdb88d8308..c98284be55 100644 --- a/packages/aws/src/services/amp.ts +++ b/packages/aws/src/services/amp.ts @@ -2295,6 +2295,7 @@ export const DeleteResourcePolicyResponse = export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -2302,7 +2303,7 @@ export class InternalServerException extends S.TaggedErrorClass()( "ThrottlingException", @@ -2312,11 +2313,12 @@ export class ThrottlingException extends S.TaggedErrorClass quotaCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, - T.Retryable(), + T.all(T.HttpError(429), T.Retryable()), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -2325,10 +2327,12 @@ export class ValidationException extends S.TaggedErrorClass reason: S.String, fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -2339,6 +2343,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.String }, - T.Retryable(), + T.all(T.HttpError(500), T.Retryable()), ).pipe(C.withServerError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -2219,7 +2221,7 @@ export class ThrottlingException extends S.TaggedErrorClass quotaCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -2228,10 +2230,12 @@ export class ValidationException extends S.TaggedErrorClass reason: S.optional(S.String), fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resourceId: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -2242,6 +2246,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass Date: Wed, 15 Jul 2026 18:34:40 -0700 Subject: [PATCH 52/63] =?UTF-8?q?chore(aws/distilled):=20regen=200=20servi?= =?UTF-8?q?ce(s)=20=E2=80=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Snapshot 2026-07-15 18:34 Co-Authored-By: Claude Opus 4.8 --- packages/aws/src/client/api.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index 081ad850f8..b544bcbb66 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -315,11 +315,15 @@ export const make = >( // UNSIGNED-PAYLOAD with InvalidSignatureException — the service always // reconstructs the canonical request from the actual body hash — so // buffered bodies stay on the hashed path (plain InvokeEndpoint accepts - // payload-hash signatures too). + // payload-hash signatures too). AppConfig behaves the same way: its + // CreateHostedConfigurationVersion route rejects UNSIGNED-PAYLOAD with + // SignatureDoesNotMatch (the service's expected canonical request hashes + // the actual body), so it also stays on the hashed path. const hasStreamingInput = resolvedRequest.hasStreamingInput === true && _serviceSdkId !== "Glacier" && - _serviceSdkId !== "SageMaker Runtime"; + _serviceSdkId !== "SageMaker Runtime" && + _serviceSdkId !== "AppConfig"; // Use unsigned payload for streaming bodies OR streaming-input // operations OR when service provides checksum with body const useUnsignedPayload = From e4f47e340ba3b0cfdda52dd1047b42fb6d560538 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Wed, 15 Jul 2026 19:19:55 -0700 Subject: [PATCH 53/63] =?UTF-8?q?chore(aws/distilled):=20patch+regen=202?= =?UTF-8?q?=20service(s)=20=E2=80=94=20socialmessaging,=20vpc-lattice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Typed-error / schema patches: - socialmessaging - vpc-lattice Regenerated: socialmessaging, vpc-lattice Snapshot 2026-07-15 19:19 Co-Authored-By: Claude Opus 4.8 --- packages/aws/patches/socialmessaging.json | 3 +++ packages/aws/patches/vpc-lattice.json | 7 +++++++ packages/aws/src/services/socialmessaging.ts | 2 ++ packages/aws/src/services/vpc-lattice.ts | 11 +++++++++-- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 packages/aws/patches/vpc-lattice.json diff --git a/packages/aws/patches/socialmessaging.json b/packages/aws/patches/socialmessaging.json index db4cec1506..5b1822749f 100644 --- a/packages/aws/patches/socialmessaging.json +++ b/packages/aws/patches/socialmessaging.json @@ -5,5 +5,8 @@ "accessToken": { "sensitive": true } } } + }, + "operations": { + "sendWhatsAppMessage": { "errors": ["AccessDeniedByMetaException"] } } } diff --git a/packages/aws/patches/vpc-lattice.json b/packages/aws/patches/vpc-lattice.json new file mode 100644 index 0000000000..56eb4104db --- /dev/null +++ b/packages/aws/patches/vpc-lattice.json @@ -0,0 +1,7 @@ +{ + "operations": { + "listAccessLogSubscriptions": { + "errors": ["ResourceNotFoundException"] + } + } +} diff --git a/packages/aws/src/services/socialmessaging.ts b/packages/aws/src/services/socialmessaging.ts index c36929ca20..78a2cc71df 100644 --- a/packages/aws/src/services/socialmessaging.ts +++ b/packages/aws/src/services/socialmessaging.ts @@ -2724,6 +2724,7 @@ export type SendWhatsAppMessageError = | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException + | AccessDeniedByMetaException | CommonErrors; /** * Send a WhatsApp message. For examples of sending a message using the Amazon Web Services @@ -2746,6 +2747,7 @@ export const sendWhatsAppMessage: API.OperationMethod< InvalidParametersException, ResourceNotFoundException, ThrottledRequestException, + AccessDeniedByMetaException, ], operationName: "SendWhatsAppMessage", })); diff --git a/packages/aws/src/services/vpc-lattice.ts b/packages/aws/src/services/vpc-lattice.ts index 97303f3fc0..266bbec89e 100644 --- a/packages/aws/src/services/vpc-lattice.ts +++ b/packages/aws/src/services/vpc-lattice.ts @@ -4324,10 +4324,12 @@ export const RegisterTargetsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend( export class AccessDeniedException extends S.TaggedErrorClass()( "AccessDeniedException", { message: S.String }, + T.HttpError(403), ).pipe(C.withAuthError) {} export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", @@ -4335,11 +4337,12 @@ export class InternalServerException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.String, resourceId: S.String, resourceType: S.String }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", @@ -4349,7 +4352,7 @@ export class ThrottlingException extends S.TaggedErrorClass quotaCode: S.optional(S.String), retryAfterSeconds: S.optional(S.Number).pipe(T.HttpHeader("Retry-After")), }, - T.Retryable({ throttling: true }), + T.all(T.HttpError(429), T.Retryable({ throttling: true })), ).pipe(C.withThrottlingError, C.withRetryableError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", @@ -4358,6 +4361,7 @@ export class ValidationException extends S.TaggedErrorClass reason: S.String, fieldList: S.optional(ValidationExceptionFieldList), }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -4368,6 +4372,7 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass Date: Thu, 16 Jul 2026 23:57:33 -0700 Subject: [PATCH 54/63] fix(aws): harden live errors and payload signing Type retryable Deadline and AppRegistry failures surfaced by live AWS coverage. Hash buffered streaming payloads for API Gateway Management, Bedrock Runtime, IoT Data, IoT Wireless, and Lambda Invoke, with focused signer regressions. --- packages/aws/patches/deadline.json | 7 +- .../patches/service-catalog-appregistry.json | 16 + packages/aws/src/client/api.ts | 18 +- packages/aws/src/services/deadline.ts | 3066 ++++++++--------- .../services/service-catalog-appregistry.ts | 508 ++- .../apigatewaymanagementapi-signing.test.ts | 87 + .../client/bedrock-runtime-signing.test.ts | 78 + .../client/iot-data-plane-signing.test.ts | 72 + .../test/client/iot-wireless-signing.test.ts | 79 + .../aws/test/client/lambda-signing.test.ts | 77 + 10 files changed, 2186 insertions(+), 1822 deletions(-) create mode 100644 packages/aws/patches/service-catalog-appregistry.json create mode 100644 packages/aws/test/client/apigatewaymanagementapi-signing.test.ts create mode 100644 packages/aws/test/client/bedrock-runtime-signing.test.ts create mode 100644 packages/aws/test/client/iot-data-plane-signing.test.ts create mode 100644 packages/aws/test/client/iot-wireless-signing.test.ts create mode 100644 packages/aws/test/client/lambda-signing.test.ts diff --git a/packages/aws/patches/deadline.json b/packages/aws/patches/deadline.json index 76a18acc30..6e1e28f5ab 100644 --- a/packages/aws/patches/deadline.json +++ b/packages/aws/patches/deadline.json @@ -7,7 +7,9 @@ "createMonitor": { "errors": ["ConflictException"] }, "updateFarm": { "errors": ["ConflictException"] }, "updateStorageProfile": { "errors": ["ConflictException"] }, - "updateBudget": { "errors": ["ConflictException"] }, + "updateBudget": { + "errors": ["ConflictException", "InternalServerException"] + }, "updateMonitor": { "errors": ["ConflictException"] }, "deleteFarm": { "errors": ["ConflictException"] }, "deleteBudget": { "errors": ["ConflictException"] }, @@ -15,5 +17,8 @@ "errors": ["ConflictException", "ResourceNotFoundException"] }, "deleteMonitor": { "errors": ["ConflictException"] } + }, + "errorCategories": { + "InternalServerException": ["ServerError", "RetryableError"] } } diff --git a/packages/aws/patches/service-catalog-appregistry.json b/packages/aws/patches/service-catalog-appregistry.json new file mode 100644 index 0000000000..58756faa48 --- /dev/null +++ b/packages/aws/patches/service-catalog-appregistry.json @@ -0,0 +1,16 @@ +{ + "errors": { + "ThrottlingException": { + "message": { "type": "string", "optional": true }, + "serviceCode": { "type": "string", "optional": true } + } + }, + "errorCategories": { + "ThrottlingException": ["ThrottlingError", "RetryableError"] + }, + "operations": { + "associateAttributeGroup": { + "errors": ["ThrottlingException"] + } + } +} diff --git a/packages/aws/src/client/api.ts b/packages/aws/src/client/api.ts index b544bcbb66..d268fb0076 100644 --- a/packages/aws/src/client/api.ts +++ b/packages/aws/src/client/api.ts @@ -318,12 +318,26 @@ export const make = >( // payload-hash signatures too). AppConfig behaves the same way: its // CreateHostedConfigurationVersion route rejects UNSIGNED-PAYLOAD with // SignatureDoesNotMatch (the service's expected canonical request hashes - // the actual body), so it also stays on the hashed path. + // the actual body), so it also stays on the hashed path. API Gateway's + // management API likewise models PostToConnection.Data as streaming, but + // rejects UNSIGNED-PAYLOAD and reconstructs the signature with the frame's + // actual SHA-256. Bedrock Runtime's InvokeModel operations do the same for + // their model-native request bodies. IoT Data Plane's shadow and publish + // operations also reject UNSIGNED-PAYLOAD for buffered payloads (as a + // generic Forbidden response), so those bodies must be hashed as well. + // IoT Wireless likewise hashes buffered GeoJSON position payloads. + // Lambda Invoke models Payload as streaming, but buffered invocations + // must hash the actual body or Lambda rejects the signature. const hasStreamingInput = resolvedRequest.hasStreamingInput === true && _serviceSdkId !== "Glacier" && _serviceSdkId !== "SageMaker Runtime" && - _serviceSdkId !== "AppConfig"; + _serviceSdkId !== "AppConfig" && + _serviceSdkId !== "ApiGatewayManagementApi" && + _serviceSdkId !== "Bedrock Runtime" && + _serviceSdkId !== "IoT Data Plane" && + _serviceSdkId !== "IoT Wireless" && + _serviceSdkId !== "Lambda"; // Use unsigned payload for streaming bodies OR streaming-input // operations OR when service provides checksum with body const useUnsignedPayload = diff --git a/packages/aws/src/services/deadline.ts b/packages/aws/src/services/deadline.ts index fa89b5b792..d3f7bd683c 100644 --- a/packages/aws/src/services/deadline.ts +++ b/packages/aws/src/services/deadline.ts @@ -659,39 +659,38 @@ export interface BatchGetSessionActionIdentifier { jobId: string; sessionActionId: string; } -export const BatchGetSessionActionIdentifier = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String, - queueId: S.String, - jobId: S.String, - sessionActionId: S.String, - }), - ).annotate({ - identifier: "BatchGetSessionActionIdentifier", - }) as any as S.Schema; +export const BatchGetSessionActionIdentifier = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String, + queueId: S.String, + jobId: S.String, + sessionActionId: S.String, + }), +).annotate({ + identifier: "BatchGetSessionActionIdentifier", +}) as any as S.Schema; export type BatchGetSessionActionIdentifiers = BatchGetSessionActionIdentifier[]; -export const BatchGetSessionActionIdentifiers = - /*@__PURE__*/ S.Array(BatchGetSessionActionIdentifier); +export const BatchGetSessionActionIdentifiers = /*@__PURE__*/ S.Array( + BatchGetSessionActionIdentifier, +); export interface BatchGetSessionActionRequest { identifiers: BatchGetSessionActionIdentifier[]; } -export const BatchGetSessionActionRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ identifiers: BatchGetSessionActionIdentifiers }).pipe( - T.all( - T.Http({ method: "POST", uri: "/2023-10-12/batch-get-session-action" }), - svc, - auth, - proto, - ver, - rules, - ), +export const BatchGetSessionActionRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ identifiers: BatchGetSessionActionIdentifiers }).pipe( + T.all( + T.Http({ method: "POST", uri: "/2023-10-12/batch-get-session-action" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "BatchGetSessionActionRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "BatchGetSessionActionRequest", +}) as any as S.Schema; export type SessionActionStatus = | "ASSIGNED" | "RUNNING" @@ -710,19 +709,19 @@ export interface TaskRunManifestPropertiesResponse { outputManifestPath?: string; outputManifestHash?: string; } -export const TaskRunManifestPropertiesResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - outputManifestPath: S.optional(S.String), - outputManifestHash: S.optional(S.String), - }), - ).annotate({ - identifier: "TaskRunManifestPropertiesResponse", - }) as any as S.Schema; +export const TaskRunManifestPropertiesResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + outputManifestPath: S.optional(S.String), + outputManifestHash: S.optional(S.String), + }), +).annotate({ + identifier: "TaskRunManifestPropertiesResponse", +}) as any as S.Schema; export type TaskRunManifestPropertiesListResponse = TaskRunManifestPropertiesResponse[]; -export const TaskRunManifestPropertiesListResponse = - /*@__PURE__*/ S.Array(TaskRunManifestPropertiesResponse); +export const TaskRunManifestPropertiesListResponse = /*@__PURE__*/ S.Array( + TaskRunManifestPropertiesResponse, +); export interface AcquiredLimit { limitId: string; count: number; @@ -735,21 +734,19 @@ export const AcquiredLimits = /*@__PURE__*/ S.Array(AcquiredLimit); export interface EnvironmentEnterSessionActionDefinition { environmentId: string; } -export const EnvironmentEnterSessionActionDefinition = - /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( - { - identifier: "EnvironmentEnterSessionActionDefinition", - }, - ) as any as S.Schema; +export const EnvironmentEnterSessionActionDefinition = /*@__PURE__*/ S.suspend( + () => S.Struct({ environmentId: S.String }), +).annotate({ + identifier: "EnvironmentEnterSessionActionDefinition", +}) as any as S.Schema; export interface EnvironmentExitSessionActionDefinition { environmentId: string; } -export const EnvironmentExitSessionActionDefinition = - /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( - { - identifier: "EnvironmentExitSessionActionDefinition", - }, - ) as any as S.Schema; +export const EnvironmentExitSessionActionDefinition = /*@__PURE__*/ S.suspend( + () => S.Struct({ environmentId: S.String }), +).annotate({ + identifier: "EnvironmentExitSessionActionDefinition", +}) as any as S.Schema; export type TaskParameterValue = | { int: string; @@ -803,16 +800,15 @@ export interface TaskRunSessionActionDefinition { stepId: string; parameters: { [key: string]: TaskParameterValue | undefined }; } -export const TaskRunSessionActionDefinition = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - taskId: S.optional(S.String), - stepId: S.String, - parameters: TaskParameters, - }), - ).annotate({ - identifier: "TaskRunSessionActionDefinition", - }) as any as S.Schema; +export const TaskRunSessionActionDefinition = /*@__PURE__*/ S.suspend(() => + S.Struct({ + taskId: S.optional(S.String), + stepId: S.String, + parameters: TaskParameters, + }), +).annotate({ + identifier: "TaskRunSessionActionDefinition", +}) as any as S.Schema; export interface SyncInputJobAttachmentsSessionActionDefinition { stepId?: string; } @@ -915,19 +911,18 @@ export interface BatchGetSessionActionError_ { code: BatchGetSessionActionErrorCode; message: string; } -export const BatchGetSessionActionError_ = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String, - queueId: S.String, - jobId: S.String, - sessionActionId: S.String, - code: BatchGetSessionActionErrorCode, - message: S.String, - }), - ).annotate({ - identifier: "BatchGetSessionActionError", - }) as any as S.Schema; +export const BatchGetSessionActionError_ = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String, + queueId: S.String, + jobId: S.String, + sessionActionId: S.String, + code: BatchGetSessionActionErrorCode, + message: S.String, + }), +).annotate({ + identifier: "BatchGetSessionActionError", +}) as any as S.Schema; export type BatchGetSessionActionErrors = BatchGetSessionActionError_[]; export const BatchGetSessionActionErrors = /*@__PURE__*/ S.Array( BatchGetSessionActionError_, @@ -936,15 +931,14 @@ export interface BatchGetSessionActionResponse { sessionActions: BatchGetSessionActionItem[]; errors: BatchGetSessionActionError_[]; } -export const BatchGetSessionActionResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - sessionActions: BatchGetSessionActionItems, - errors: BatchGetSessionActionErrors, - }), - ).annotate({ - identifier: "BatchGetSessionActionResponse", - }) as any as S.Schema; +export const BatchGetSessionActionResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + sessionActions: BatchGetSessionActionItems, + errors: BatchGetSessionActionErrors, + }), +).annotate({ + identifier: "BatchGetSessionActionResponse", +}) as any as S.Schema; export interface BatchGetStepIdentifier { farmId: string; queueId: string; @@ -1641,97 +1635,97 @@ export interface CreateQueueFleetAssociationRequest { queueId: string; fleetId: string; } -export const CreateQueueFleetAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String, - fleetId: S.String, - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const CreateQueueFleetAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String, + fleetId: S.String, + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "CreateQueueFleetAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "CreateQueueFleetAssociationRequest", +}) as any as S.Schema; export interface CreateQueueFleetAssociationResponse {} -export const CreateQueueFleetAssociationResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "CreateQueueFleetAssociationResponse", - }) as any as S.Schema; +export const CreateQueueFleetAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "CreateQueueFleetAssociationResponse", +}) as any as S.Schema; export interface CreateQueueLimitAssociationRequest { farmId: string; queueId: string; limitId: string; } -export const CreateQueueLimitAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String, - limitId: S.String, - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/2023-10-12/farms/{farmId}/queue-limit-associations", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const CreateQueueLimitAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String, + limitId: S.String, + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/2023-10-12/farms/{farmId}/queue-limit-associations", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "CreateQueueLimitAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "CreateQueueLimitAssociationRequest", +}) as any as S.Schema; export interface CreateQueueLimitAssociationResponse {} -export const CreateQueueLimitAssociationResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "CreateQueueLimitAssociationResponse", - }) as any as S.Schema; +export const CreateQueueLimitAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "CreateQueueLimitAssociationResponse", +}) as any as S.Schema; export interface DeleteQueueFleetAssociationRequest { farmId: string; queueId: string; fleetId: string; } -export const DeleteQueueFleetAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteQueueFleetAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteQueueFleetAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteQueueFleetAssociationRequest", +}) as any as S.Schema; export interface DeleteQueueFleetAssociationResponse {} -export const DeleteQueueFleetAssociationResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DeleteQueueFleetAssociationResponse", - }) as any as S.Schema; +export const DeleteQueueFleetAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteQueueFleetAssociationResponse", +}) as any as S.Schema; export type ConflictExceptionReason = | "CONFLICT_EXCEPTION" | "CONCURRENT_MODIFICATION" @@ -1745,60 +1739,59 @@ export interface DeleteQueueLimitAssociationRequest { queueId: string; limitId: string; } -export const DeleteQueueLimitAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - limitId: S.String.pipe(T.HttpLabel("limitId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteQueueLimitAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + limitId: S.String.pipe(T.HttpLabel("limitId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteQueueLimitAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteQueueLimitAssociationRequest", +}) as any as S.Schema; export interface DeleteQueueLimitAssociationResponse {} -export const DeleteQueueLimitAssociationResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DeleteQueueLimitAssociationResponse", - }) as any as S.Schema; +export const DeleteQueueLimitAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteQueueLimitAssociationResponse", +}) as any as S.Schema; export interface GetQueueFleetAssociationRequest { farmId: string; queueId: string; fleetId: string; } -export const GetQueueFleetAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const GetQueueFleetAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "GetQueueFleetAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "GetQueueFleetAssociationRequest", +}) as any as S.Schema; export type QueueFleetAssociationStatus = | "ACTIVE" | "STOP_SCHEDULING_AND_COMPLETE_TASKS" @@ -1815,49 +1808,47 @@ export interface GetQueueFleetAssociationResponse { updatedAt?: Date; updatedBy?: string; } -export const GetQueueFleetAssociationResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueId: S.String, - fleetId: S.String, - status: QueueFleetAssociationStatus, - createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), - createdBy: S.String, - updatedAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - updatedBy: S.optional(S.String), - }), - ).annotate({ - identifier: "GetQueueFleetAssociationResponse", - }) as any as S.Schema; +export const GetQueueFleetAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueId: S.String, + fleetId: S.String, + status: QueueFleetAssociationStatus, + createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), + createdBy: S.String, + updatedAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + updatedBy: S.optional(S.String), + }), +).annotate({ + identifier: "GetQueueFleetAssociationResponse", +}) as any as S.Schema; export interface GetQueueLimitAssociationRequest { farmId: string; queueId: string; limitId: string; } -export const GetQueueLimitAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - limitId: S.String.pipe(T.HttpLabel("limitId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const GetQueueLimitAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + limitId: S.String.pipe(T.HttpLabel("limitId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "GetQueueLimitAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "GetQueueLimitAssociationRequest", +}) as any as S.Schema; export type QueueLimitAssociationStatus = | "ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" @@ -1874,30 +1865,29 @@ export interface GetQueueLimitAssociationResponse { updatedAt?: Date; updatedBy?: string; } -export const GetQueueLimitAssociationResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueId: S.String, - limitId: S.String, - status: QueueLimitAssociationStatus, - createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), - createdBy: S.String, - updatedAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - updatedBy: S.optional(S.String), - }), - ).annotate({ - identifier: "GetQueueLimitAssociationResponse", - }) as any as S.Schema; +export const GetQueueLimitAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueId: S.String, + limitId: S.String, + status: QueueLimitAssociationStatus, + createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), + createdBy: S.String, + updatedAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + updatedBy: S.optional(S.String), + }), +).annotate({ + identifier: "GetQueueLimitAssociationResponse", +}) as any as S.Schema; export interface GetSessionsStatisticsAggregationRequest { farmId: string; nextToken?: string; maxResults?: number; aggregationId: string; } -export const GetSessionsStatisticsAggregationRequest = - /*@__PURE__*/ S.suspend(() => +export const GetSessionsStatisticsAggregationRequest = /*@__PURE__*/ S.suspend( + () => S.Struct({ farmId: S.String.pipe(T.HttpLabel("farmId")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), @@ -1916,9 +1906,9 @@ export const GetSessionsStatisticsAggregationRequest = rules, ), ), - ).annotate({ - identifier: "GetSessionsStatisticsAggregationRequest", - }) as any as S.Schema; +).annotate({ + identifier: "GetSessionsStatisticsAggregationRequest", +}) as any as S.Schema; export type UsageType = "COMPUTE" | "LICENSE" | (string & {}); export const UsageType = /*@__PURE__*/ S.String; export interface Stats { @@ -1986,39 +1976,38 @@ export interface GetSessionsStatisticsAggregationResponse { statusMessage?: string; nextToken?: string; } -export const GetSessionsStatisticsAggregationResponse = - /*@__PURE__*/ S.suspend(() => +export const GetSessionsStatisticsAggregationResponse = /*@__PURE__*/ S.suspend( + () => S.Struct({ statistics: S.optional(StatisticsList), status: SessionsStatisticsAggregationStatus, statusMessage: S.optional(S.String), nextToken: S.optional(S.String), }), - ).annotate({ - identifier: "GetSessionsStatisticsAggregationResponse", - }) as any as S.Schema; +).annotate({ + identifier: "GetSessionsStatisticsAggregationResponse", +}) as any as S.Schema; export interface ListAvailableMeteredProductsRequest { nextToken?: string; maxResults?: number; } -export const ListAvailableMeteredProductsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ method: "GET", uri: "/2023-10-12/metered-products" }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListAvailableMeteredProductsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ method: "GET", uri: "/2023-10-12/metered-products" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListAvailableMeteredProductsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListAvailableMeteredProductsRequest", +}) as any as S.Schema; export interface MeteredProductSummary { productId: string; family: string; @@ -2043,15 +2032,15 @@ export interface ListAvailableMeteredProductsResponse { meteredProducts: MeteredProductSummary[]; nextToken?: string; } -export const ListAvailableMeteredProductsResponse = - /*@__PURE__*/ S.suspend(() => +export const ListAvailableMeteredProductsResponse = /*@__PURE__*/ S.suspend( + () => S.Struct({ meteredProducts: MeteredProductSummaryList, nextToken: S.optional(S.String), }), - ).annotate({ - identifier: "ListAvailableMeteredProductsResponse", - }) as any as S.Schema; +).annotate({ + identifier: "ListAvailableMeteredProductsResponse", +}) as any as S.Schema; export interface ListQueueFleetAssociationsRequest { farmId: string; nextToken?: string; @@ -2059,30 +2048,29 @@ export interface ListQueueFleetAssociationsRequest { queueId?: string; fleetId?: string; } -export const ListQueueFleetAssociationsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - queueId: S.optional(S.String).pipe(T.HttpQuery("queueId")), - fleetId: S.optional(S.String).pipe(T.HttpQuery("fleetId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListQueueFleetAssociationsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + queueId: S.optional(S.String).pipe(T.HttpQuery("queueId")), + fleetId: S.optional(S.String).pipe(T.HttpQuery("fleetId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListQueueFleetAssociationsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListQueueFleetAssociationsRequest", +}) as any as S.Schema; export interface QueueFleetAssociationSummary { queueId: string; fleetId: string; @@ -2092,38 +2080,37 @@ export interface QueueFleetAssociationSummary { updatedAt?: Date; updatedBy?: string; } -export const QueueFleetAssociationSummary = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueId: S.String, - fleetId: S.String, - status: QueueFleetAssociationStatus, - createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), - createdBy: S.String, - updatedAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - updatedBy: S.optional(S.String), - }), - ).annotate({ - identifier: "QueueFleetAssociationSummary", - }) as any as S.Schema; +export const QueueFleetAssociationSummary = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueId: S.String, + fleetId: S.String, + status: QueueFleetAssociationStatus, + createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), + createdBy: S.String, + updatedAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + updatedBy: S.optional(S.String), + }), +).annotate({ + identifier: "QueueFleetAssociationSummary", +}) as any as S.Schema; export type QueueFleetAssociationSummaries = QueueFleetAssociationSummary[]; -export const QueueFleetAssociationSummaries = - /*@__PURE__*/ S.Array(QueueFleetAssociationSummary); +export const QueueFleetAssociationSummaries = /*@__PURE__*/ S.Array( + QueueFleetAssociationSummary, +); export interface ListQueueFleetAssociationsResponse { queueFleetAssociations: QueueFleetAssociationSummary[]; nextToken?: string; } -export const ListQueueFleetAssociationsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueFleetAssociations: QueueFleetAssociationSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListQueueFleetAssociationsResponse", - }) as any as S.Schema; +export const ListQueueFleetAssociationsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueFleetAssociations: QueueFleetAssociationSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListQueueFleetAssociationsResponse", +}) as any as S.Schema; export interface ListQueueLimitAssociationsRequest { farmId: string; nextToken?: string; @@ -2131,30 +2118,29 @@ export interface ListQueueLimitAssociationsRequest { queueId?: string; limitId?: string; } -export const ListQueueLimitAssociationsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - queueId: S.optional(S.String).pipe(T.HttpQuery("queueId")), - limitId: S.optional(S.String).pipe(T.HttpQuery("limitId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queue-limit-associations", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListQueueLimitAssociationsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + queueId: S.optional(S.String).pipe(T.HttpQuery("queueId")), + limitId: S.optional(S.String).pipe(T.HttpQuery("limitId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queue-limit-associations", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListQueueLimitAssociationsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListQueueLimitAssociationsRequest", +}) as any as S.Schema; export interface QueueLimitAssociationSummary { queueId: string; limitId: string; @@ -2164,38 +2150,37 @@ export interface QueueLimitAssociationSummary { updatedAt?: Date; updatedBy?: string; } -export const QueueLimitAssociationSummary = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueId: S.String, - limitId: S.String, - status: QueueLimitAssociationStatus, - createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), - createdBy: S.String, - updatedAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - updatedBy: S.optional(S.String), - }), - ).annotate({ - identifier: "QueueLimitAssociationSummary", - }) as any as S.Schema; +export const QueueLimitAssociationSummary = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueId: S.String, + limitId: S.String, + status: QueueLimitAssociationStatus, + createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), + createdBy: S.String, + updatedAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + updatedBy: S.optional(S.String), + }), +).annotate({ + identifier: "QueueLimitAssociationSummary", +}) as any as S.Schema; export type QueueLimitAssociationSummaries = QueueLimitAssociationSummary[]; -export const QueueLimitAssociationSummaries = - /*@__PURE__*/ S.Array(QueueLimitAssociationSummary); +export const QueueLimitAssociationSummaries = /*@__PURE__*/ S.Array( + QueueLimitAssociationSummary, +); export interface ListQueueLimitAssociationsResponse { queueLimitAssociations: QueueLimitAssociationSummary[]; nextToken?: string; } -export const ListQueueLimitAssociationsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueLimitAssociations: QueueLimitAssociationSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListQueueLimitAssociationsResponse", - }) as any as S.Schema; +export const ListQueueLimitAssociationsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueLimitAssociations: QueueLimitAssociationSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListQueueLimitAssociationsResponse", +}) as any as S.Schema; export interface ListTagsForResourceRequest { resourceArn: string; } @@ -2218,10 +2203,11 @@ export const Tags = /*@__PURE__*/ S.Record(S.String, S.String.pipe(S.optional)); export interface ListTagsForResourceResponse { tags?: { [key: string]: string | undefined }; } -export const ListTagsForResourceResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({ tags: S.optional(Tags) })).annotate({ - identifier: "ListTagsForResourceResponse", - }) as any as S.Schema; +export const ListTagsForResourceResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ tags: S.optional(Tags) }), +).annotate({ + identifier: "ListTagsForResourceResponse", +}) as any as S.Schema; export type ComparisonOperator = | "EQUAL" | "NOT_EQUAL" @@ -2371,17 +2357,16 @@ export interface SearchGroupedFilterExpressions { filters: SearchFilterExpression[]; operator: LogicalOperator; } -export const SearchGroupedFilterExpressions = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - filters: S.suspend(() => SearchFilterExpressions).annotate({ - identifier: "SearchFilterExpressions", - }), - operator: LogicalOperator, +export const SearchGroupedFilterExpressions = /*@__PURE__*/ S.suspend(() => + S.Struct({ + filters: S.suspend(() => SearchFilterExpressions).annotate({ + identifier: "SearchFilterExpressions", }), - ).annotate({ - identifier: "SearchGroupedFilterExpressions", - }) as any as S.Schema; + operator: LogicalOperator, + }), +).annotate({ + identifier: "SearchGroupedFilterExpressions", +}) as any as S.Schema; export interface UserJobsFirst { userIdentityId: string; } @@ -2862,9 +2847,7 @@ export interface StartSessionsStatisticsAggregationResponse { } export const StartSessionsStatisticsAggregationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ aggregationId: S.String })).annotate( - { - identifier: "StartSessionsStatisticsAggregationResponse", - }, + { identifier: "StartSessionsStatisticsAggregationResponse" }, ) as any as S.Schema; export interface TagResourceRequest { resourceArn: string; @@ -2934,34 +2917,34 @@ export interface UpdateQueueFleetAssociationRequest { fleetId: string; status: UpdateQueueFleetAssociationStatus; } -export const UpdateQueueFleetAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - status: UpdateQueueFleetAssociationStatus, - }).pipe( - T.all( - T.Http({ - method: "PATCH", - uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const UpdateQueueFleetAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + status: UpdateQueueFleetAssociationStatus, + }).pipe( + T.all( + T.Http({ + method: "PATCH", + uri: "/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "UpdateQueueFleetAssociationRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "UpdateQueueFleetAssociationRequest", +}) as any as S.Schema; export interface UpdateQueueFleetAssociationResponse {} -export const UpdateQueueFleetAssociationResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "UpdateQueueFleetAssociationResponse", - }) as any as S.Schema; +export const UpdateQueueFleetAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "UpdateQueueFleetAssociationResponse", +}) as any as S.Schema; export type UpdateQueueLimitAssociationStatus = | "ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" @@ -2974,35 +2957,35 @@ export interface UpdateQueueLimitAssociationRequest { limitId: string; status: UpdateQueueLimitAssociationStatus; } -export const UpdateQueueLimitAssociationRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - limitId: S.String.pipe(T.HttpLabel("limitId")), - status: UpdateQueueLimitAssociationStatus, - }).pipe( - T.all( - T.Http({ - method: "PATCH", - uri: "/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "UpdateQueueLimitAssociationRequest", - }) as any as S.Schema; -export interface UpdateQueueLimitAssociationResponse {} -export const UpdateQueueLimitAssociationResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "UpdateQueueLimitAssociationResponse", - }) as any as S.Schema; -export interface CreateFarmRequest { +export const UpdateQueueLimitAssociationRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + limitId: S.String.pipe(T.HttpLabel("limitId")), + status: UpdateQueueLimitAssociationStatus, + }).pipe( + T.all( + T.Http({ + method: "PATCH", + uri: "/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "UpdateQueueLimitAssociationRequest", +}) as any as S.Schema; +export interface UpdateQueueLimitAssociationResponse {} +export const UpdateQueueLimitAssociationResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "UpdateQueueLimitAssociationResponse", +}) as any as S.Schema; +export interface CreateFarmRequest { clientToken?: string; displayName: string; description?: string | redacted.Redacted; @@ -3218,36 +3201,36 @@ export interface AssociateMemberToFarmRequest { principalId: string; identityCenterRegion?: string; } -export const AssociateMemberToFarmRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - principalType: DeadlinePrincipalType, - identityStoreId: S.String, - membershipLevel: MembershipLevel, - principalId: S.String.pipe(T.HttpLabel("principalId")), - identityCenterRegion: S.optional(S.String), - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/2023-10-12/farms/{farmId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssociateMemberToFarmRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + principalType: DeadlinePrincipalType, + identityStoreId: S.String, + membershipLevel: MembershipLevel, + principalId: S.String.pipe(T.HttpLabel("principalId")), + identityCenterRegion: S.optional(S.String), + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/2023-10-12/farms/{farmId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssociateMemberToFarmRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssociateMemberToFarmRequest", +}) as any as S.Schema; export interface AssociateMemberToFarmResponse {} -export const AssociateMemberToFarmResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "AssociateMemberToFarmResponse", - }) as any as S.Schema; +export const AssociateMemberToFarmResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "AssociateMemberToFarmResponse", +}) as any as S.Schema; export interface CreateLimitRequest { farmId: string; clientToken?: string; @@ -3316,42 +3299,40 @@ export interface CreateStorageProfileRequest { osFamily: StorageProfileOperatingSystemFamily; fileSystemLocations?: FileSystemLocation[]; } -export const CreateStorageProfileRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - clientToken: S.optional(S.String).pipe( - T.HttpHeader("X-Amz-Client-Token"), - T.IdempotencyToken(), - ), - displayName: S.String, - osFamily: StorageProfileOperatingSystemFamily, - fileSystemLocations: S.optional(FileSystemLocationsList), - }).pipe( - T.all( - T.Http({ - method: "POST", - uri: "/2023-10-12/farms/{farmId}/storage-profiles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const CreateStorageProfileRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + clientToken: S.optional(S.String).pipe( + T.HttpHeader("X-Amz-Client-Token"), + T.IdempotencyToken(), ), - ).annotate({ - identifier: "CreateStorageProfileRequest", - }) as any as S.Schema; + displayName: S.String, + osFamily: StorageProfileOperatingSystemFamily, + fileSystemLocations: S.optional(FileSystemLocationsList), + }).pipe( + T.all( + T.Http({ + method: "POST", + uri: "/2023-10-12/farms/{farmId}/storage-profiles", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "CreateStorageProfileRequest", +}) as any as S.Schema; export interface CreateStorageProfileResponse { storageProfileId: string; } -export const CreateStorageProfileResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ storageProfileId: S.String }), - ).annotate({ - identifier: "CreateStorageProfileResponse", - }) as any as S.Schema; +export const CreateStorageProfileResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ storageProfileId: S.String }), +).annotate({ + identifier: "CreateStorageProfileResponse", +}) as any as S.Schema; export interface DeleteLimitRequest { farmId: string; limitId: string; @@ -3386,62 +3367,62 @@ export interface DeleteStorageProfileRequest { farmId: string; storageProfileId: string; } -export const DeleteStorageProfileRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - storageProfileId: S.String.pipe(T.HttpLabel("storageProfileId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteStorageProfileRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + storageProfileId: S.String.pipe(T.HttpLabel("storageProfileId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteStorageProfileRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteStorageProfileRequest", +}) as any as S.Schema; export interface DeleteStorageProfileResponse {} -export const DeleteStorageProfileResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DeleteStorageProfileResponse", - }) as any as S.Schema; +export const DeleteStorageProfileResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteStorageProfileResponse", +}) as any as S.Schema; export interface DisassociateMemberFromFarmRequest { farmId: string; principalId: string; } -export const DisassociateMemberFromFarmRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - principalId: S.String.pipe(T.HttpLabel("principalId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DisassociateMemberFromFarmRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + principalId: S.String.pipe(T.HttpLabel("principalId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DisassociateMemberFromFarmRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DisassociateMemberFromFarmRequest", +}) as any as S.Schema; export interface DisassociateMemberFromFarmResponse {} -export const DisassociateMemberFromFarmResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DisassociateMemberFromFarmResponse", - }) as any as S.Schema; +export const DisassociateMemberFromFarmResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DisassociateMemberFromFarmResponse", +}) as any as S.Schema; export interface GetLimitRequest { farmId: string; limitId: string; @@ -3708,15 +3689,14 @@ export interface ListStorageProfilesResponse { storageProfiles: StorageProfileSummary[]; nextToken?: string; } -export const ListStorageProfilesResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - storageProfiles: StorageProfileSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListStorageProfilesResponse", - }) as any as S.Schema; +export const ListStorageProfilesResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + storageProfiles: StorageProfileSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListStorageProfilesResponse", +}) as any as S.Schema; export interface UpdateLimitRequest { farmId: string; limitId: string; @@ -3762,40 +3742,40 @@ export interface UpdateStorageProfileRequest { fileSystemLocationsToAdd?: FileSystemLocation[]; fileSystemLocationsToRemove?: FileSystemLocation[]; } -export const UpdateStorageProfileRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - storageProfileId: S.String.pipe(T.HttpLabel("storageProfileId")), - clientToken: S.optional(S.String).pipe( - T.HttpHeader("X-Amz-Client-Token"), - T.IdempotencyToken(), - ), - displayName: S.optional(S.String), - osFamily: S.optional(StorageProfileOperatingSystemFamily), - fileSystemLocationsToAdd: S.optional(FileSystemLocationsList), - fileSystemLocationsToRemove: S.optional(FileSystemLocationsList), - }).pipe( - T.all( - T.Http({ - method: "PATCH", - uri: "/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const UpdateStorageProfileRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + storageProfileId: S.String.pipe(T.HttpLabel("storageProfileId")), + clientToken: S.optional(S.String).pipe( + T.HttpHeader("X-Amz-Client-Token"), + T.IdempotencyToken(), ), - ).annotate({ - identifier: "UpdateStorageProfileRequest", - }) as any as S.Schema; + displayName: S.optional(S.String), + osFamily: S.optional(StorageProfileOperatingSystemFamily), + fileSystemLocationsToAdd: S.optional(FileSystemLocationsList), + fileSystemLocationsToRemove: S.optional(FileSystemLocationsList), + }).pipe( + T.all( + T.Http({ + method: "PATCH", + uri: "/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "UpdateStorageProfileRequest", +}) as any as S.Schema; export interface UpdateStorageProfileResponse {} -export const UpdateStorageProfileResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "UpdateStorageProfileResponse", - }) as any as S.Schema; +export const UpdateStorageProfileResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "UpdateStorageProfileResponse", +}) as any as S.Schema; export type UsageTrackingResource = { queueId: string }; export const UsageTrackingResource = /*@__PURE__*/ S.Union([ S.Struct({ queueId: S.String }), @@ -4139,16 +4119,16 @@ export interface CustomerManagedAutoScalingConfiguration { workerIdleDurationSeconds?: number; scaleOutWorkersPerMinute?: number; } -export const CustomerManagedAutoScalingConfiguration = - /*@__PURE__*/ S.suspend(() => +export const CustomerManagedAutoScalingConfiguration = /*@__PURE__*/ S.suspend( + () => S.Struct({ standbyWorkerCount: S.optional(S.Number), workerIdleDurationSeconds: S.optional(S.Number), scaleOutWorkersPerMinute: S.optional(S.Number), }), - ).annotate({ - identifier: "CustomerManagedAutoScalingConfiguration", - }) as any as S.Schema; +).annotate({ + identifier: "CustomerManagedAutoScalingConfiguration", +}) as any as S.Schema; export interface VCpuCountRange { min: number; max?: number; @@ -4180,12 +4160,11 @@ export interface AcceleratorTotalMemoryMiBRange { min: number; max?: number; } -export const AcceleratorTotalMemoryMiBRange = - /*@__PURE__*/ S.suspend(() => - S.Struct({ min: S.Number, max: S.optional(S.Number) }), - ).annotate({ - identifier: "AcceleratorTotalMemoryMiBRange", - }) as any as S.Schema; +export const AcceleratorTotalMemoryMiBRange = /*@__PURE__*/ S.suspend(() => + S.Struct({ min: S.Number, max: S.optional(S.Number) }), +).annotate({ + identifier: "AcceleratorTotalMemoryMiBRange", +}) as any as S.Schema; export type CustomerManagedFleetOperatingSystemFamily = | "WINDOWS" | "LINUX" @@ -4205,8 +4184,9 @@ export const FleetAmountCapability = /*@__PURE__*/ S.suspend(() => identifier: "FleetAmountCapability", }) as any as S.Schema; export type CustomFleetAmountCapabilities = FleetAmountCapability[]; -export const CustomFleetAmountCapabilities = - /*@__PURE__*/ S.Array(FleetAmountCapability); +export const CustomFleetAmountCapabilities = /*@__PURE__*/ S.Array( + FleetAmountCapability, +); export type AttributeCapabilityValuesList = string[]; export const AttributeCapabilityValuesList = /*@__PURE__*/ S.Array(S.String); export interface FleetAttributeCapability { @@ -4219,8 +4199,9 @@ export const FleetAttributeCapability = /*@__PURE__*/ S.suspend(() => identifier: "FleetAttributeCapability", }) as any as S.Schema; export type CustomFleetAttributeCapabilities = FleetAttributeCapability[]; -export const CustomFleetAttributeCapabilities = - /*@__PURE__*/ S.Array(FleetAttributeCapability); +export const CustomFleetAttributeCapabilities = /*@__PURE__*/ S.Array( + FleetAttributeCapability, +); export interface CustomerManagedWorkerCapabilities { vCpuCount: VCpuCountRange; memoryMiB: MemoryMiBRange; @@ -4232,22 +4213,21 @@ export interface CustomerManagedWorkerCapabilities { customAmounts?: FleetAmountCapability[]; customAttributes?: FleetAttributeCapability[]; } -export const CustomerManagedWorkerCapabilities = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - vCpuCount: VCpuCountRange, - memoryMiB: MemoryMiBRange, - acceleratorTypes: S.optional(AcceleratorTypes), - acceleratorCount: S.optional(AcceleratorCountRange), - acceleratorTotalMemoryMiB: S.optional(AcceleratorTotalMemoryMiBRange), - osFamily: CustomerManagedFleetOperatingSystemFamily, - cpuArchitectureType: CpuArchitectureType, - customAmounts: S.optional(CustomFleetAmountCapabilities), - customAttributes: S.optional(CustomFleetAttributeCapabilities), - }), - ).annotate({ - identifier: "CustomerManagedWorkerCapabilities", - }) as any as S.Schema; +export const CustomerManagedWorkerCapabilities = /*@__PURE__*/ S.suspend(() => + S.Struct({ + vCpuCount: VCpuCountRange, + memoryMiB: MemoryMiBRange, + acceleratorTypes: S.optional(AcceleratorTypes), + acceleratorCount: S.optional(AcceleratorCountRange), + acceleratorTotalMemoryMiB: S.optional(AcceleratorTotalMemoryMiBRange), + osFamily: CustomerManagedFleetOperatingSystemFamily, + cpuArchitectureType: CpuArchitectureType, + customAmounts: S.optional(CustomFleetAmountCapabilities), + customAttributes: S.optional(CustomFleetAttributeCapabilities), + }), +).annotate({ + identifier: "CustomerManagedWorkerCapabilities", +}) as any as S.Schema; export type TagPropagationMode = | "NO_PROPAGATION" | "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH" @@ -4260,20 +4240,19 @@ export interface CustomerManagedFleetConfiguration { storageProfileId?: string; tagPropagationMode?: TagPropagationMode; } -export const CustomerManagedFleetConfiguration = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - mode: AutoScalingMode, - autoScalingConfiguration: S.optional( - CustomerManagedAutoScalingConfiguration, - ), - workerCapabilities: CustomerManagedWorkerCapabilities, - storageProfileId: S.optional(S.String), - tagPropagationMode: S.optional(TagPropagationMode), - }), - ).annotate({ - identifier: "CustomerManagedFleetConfiguration", - }) as any as S.Schema; +export const CustomerManagedFleetConfiguration = /*@__PURE__*/ S.suspend(() => + S.Struct({ + mode: AutoScalingMode, + autoScalingConfiguration: S.optional( + CustomerManagedAutoScalingConfiguration, + ), + workerCapabilities: CustomerManagedWorkerCapabilities, + storageProfileId: S.optional(S.String), + tagPropagationMode: S.optional(TagPropagationMode), + }), +).annotate({ + identifier: "CustomerManagedFleetConfiguration", +}) as any as S.Schema; export type ServiceManagedFleetOperatingSystemFamily = | "WINDOWS" | "LINUX" @@ -4337,8 +4316,8 @@ export interface ServiceManagedEc2InstanceCapabilities { customAmounts?: FleetAmountCapability[]; customAttributes?: FleetAttributeCapability[]; } -export const ServiceManagedEc2InstanceCapabilities = - /*@__PURE__*/ S.suspend(() => +export const ServiceManagedEc2InstanceCapabilities = /*@__PURE__*/ S.suspend( + () => S.Struct({ vCpuCount: VCpuCountRange, memoryMiB: MemoryMiBRange, @@ -4351,9 +4330,9 @@ export const ServiceManagedEc2InstanceCapabilities = customAmounts: S.optional(CustomFleetAmountCapabilities), customAttributes: S.optional(CustomFleetAttributeCapabilities), }), - ).annotate({ - identifier: "ServiceManagedEc2InstanceCapabilities", - }) as any as S.Schema; +).annotate({ + identifier: "ServiceManagedEc2InstanceCapabilities", +}) as any as S.Schema; export type Ec2MarketType = | "on-demand" | "spot" @@ -4363,10 +4342,11 @@ export const Ec2MarketType = /*@__PURE__*/ S.String; export interface ServiceManagedEc2InstanceMarketOptions { type: Ec2MarketType; } -export const ServiceManagedEc2InstanceMarketOptions = - /*@__PURE__*/ S.suspend(() => S.Struct({ type: Ec2MarketType })).annotate({ - identifier: "ServiceManagedEc2InstanceMarketOptions", - }) as any as S.Schema; +export const ServiceManagedEc2InstanceMarketOptions = /*@__PURE__*/ S.suspend( + () => S.Struct({ type: Ec2MarketType }), +).annotate({ + identifier: "ServiceManagedEc2InstanceMarketOptions", +}) as any as S.Schema; export type VpcResourceConfigurationArns = string[]; export const VpcResourceConfigurationArns = /*@__PURE__*/ S.Array(S.String); export interface VpcConfiguration { @@ -4386,18 +4366,17 @@ export interface PersistentVolumeConfiguration { mountPath: string; lastUsedTtlHours?: number; } -export const PersistentVolumeConfiguration = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - sizeGiB: S.optional(S.Number), - iops: S.optional(S.Number), - throughputMiB: S.optional(S.Number), - mountPath: S.String, - lastUsedTtlHours: S.optional(S.Number), - }), - ).annotate({ - identifier: "PersistentVolumeConfiguration", - }) as any as S.Schema; +export const PersistentVolumeConfiguration = /*@__PURE__*/ S.suspend(() => + S.Struct({ + sizeGiB: S.optional(S.Number), + iops: S.optional(S.Number), + throughputMiB: S.optional(S.Number), + mountPath: S.String, + lastUsedTtlHours: S.optional(S.Number), + }), +).annotate({ + identifier: "PersistentVolumeConfiguration", +}) as any as S.Schema; export interface ServiceManagedEc2AutoScalingConfiguration { standbyWorkerCount?: number; workerIdleDurationSeconds?: number; @@ -4421,21 +4400,20 @@ export interface ServiceManagedEc2FleetConfiguration { persistentVolumeConfiguration?: PersistentVolumeConfiguration; autoScalingConfiguration?: ServiceManagedEc2AutoScalingConfiguration; } -export const ServiceManagedEc2FleetConfiguration = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - instanceCapabilities: ServiceManagedEc2InstanceCapabilities, - instanceMarketOptions: ServiceManagedEc2InstanceMarketOptions, - vpcConfiguration: S.optional(VpcConfiguration), - storageProfileId: S.optional(S.String), - persistentVolumeConfiguration: S.optional(PersistentVolumeConfiguration), - autoScalingConfiguration: S.optional( - ServiceManagedEc2AutoScalingConfiguration, - ), - }), - ).annotate({ - identifier: "ServiceManagedEc2FleetConfiguration", - }) as any as S.Schema; +export const ServiceManagedEc2FleetConfiguration = /*@__PURE__*/ S.suspend(() => + S.Struct({ + instanceCapabilities: ServiceManagedEc2InstanceCapabilities, + instanceMarketOptions: ServiceManagedEc2InstanceMarketOptions, + vpcConfiguration: S.optional(VpcConfiguration), + storageProfileId: S.optional(S.String), + persistentVolumeConfiguration: S.optional(PersistentVolumeConfiguration), + autoScalingConfiguration: S.optional( + ServiceManagedEc2AutoScalingConfiguration, + ), + }), +).annotate({ + identifier: "ServiceManagedEc2FleetConfiguration", +}) as any as S.Schema; export type FleetConfiguration = | { customerManaged: CustomerManagedFleetConfiguration; @@ -4787,62 +4765,61 @@ export interface AssociateMemberToFleetRequest { principalId: string; identityCenterRegion?: string; } -export const AssociateMemberToFleetRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - principalType: DeadlinePrincipalType, - identityStoreId: S.String, - membershipLevel: MembershipLevel, - principalId: S.String.pipe(T.HttpLabel("principalId")), - identityCenterRegion: S.optional(S.String), - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssociateMemberToFleetRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + principalType: DeadlinePrincipalType, + identityStoreId: S.String, + membershipLevel: MembershipLevel, + principalId: S.String.pipe(T.HttpLabel("principalId")), + identityCenterRegion: S.optional(S.String), + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssociateMemberToFleetRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssociateMemberToFleetRequest", +}) as any as S.Schema; export interface AssociateMemberToFleetResponse {} -export const AssociateMemberToFleetResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "AssociateMemberToFleetResponse", - }) as any as S.Schema; +export const AssociateMemberToFleetResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "AssociateMemberToFleetResponse", +}) as any as S.Schema; export interface AssumeFleetRoleForReadRequest { farmId: string; fleetId: string; } -export const AssumeFleetRoleForReadRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/read-roles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssumeFleetRoleForReadRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/read-roles", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssumeFleetRoleForReadRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssumeFleetRoleForReadRequest", +}) as any as S.Schema; export interface AwsCredentials { accessKeyId: string | redacted.Redacted; secretAccessKey: string | redacted.Redacted; @@ -4860,44 +4837,43 @@ export const AwsCredentials = /*@__PURE__*/ S.suspend(() => export interface AssumeFleetRoleForReadResponse { credentials: AwsCredentials; } -export const AssumeFleetRoleForReadResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ credentials: AwsCredentials }), - ).annotate({ - identifier: "AssumeFleetRoleForReadResponse", - }) as any as S.Schema; +export const AssumeFleetRoleForReadResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ credentials: AwsCredentials }), +).annotate({ + identifier: "AssumeFleetRoleForReadResponse", +}) as any as S.Schema; export interface DisassociateMemberFromFleetRequest { farmId: string; fleetId: string; principalId: string; } -export const DisassociateMemberFromFleetRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - principalId: S.String.pipe(T.HttpLabel("principalId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DisassociateMemberFromFleetRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + principalId: S.String.pipe(T.HttpLabel("principalId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DisassociateMemberFromFleetRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DisassociateMemberFromFleetRequest", +}) as any as S.Schema; export interface DisassociateMemberFromFleetResponse {} -export const DisassociateMemberFromFleetResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DisassociateMemberFromFleetResponse", - }) as any as S.Schema; +export const DisassociateMemberFromFleetResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DisassociateMemberFromFleetResponse", +}) as any as S.Schema; export interface ListFleetMembersRequest { farmId: string; fleetId: string; @@ -5262,8 +5238,9 @@ export const WorkerAttributeCapability = /*@__PURE__*/ S.suspend(() => identifier: "WorkerAttributeCapability", }) as any as S.Schema; export type WorkerAttributeCapabilityList = WorkerAttributeCapability[]; -export const WorkerAttributeCapabilityList = - /*@__PURE__*/ S.Array(WorkerAttributeCapability); +export const WorkerAttributeCapabilityList = /*@__PURE__*/ S.Array( + WorkerAttributeCapability, +); export interface WorkerCapabilities { amounts: WorkerAmountCapability[]; attributes: WorkerAttributeCapability[]; @@ -5424,75 +5401,71 @@ export interface AssumeFleetRoleForWorkerRequest { fleetId: string; workerId: string; } -export const AssumeFleetRoleForWorkerRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - workerId: S.String.pipe(T.HttpLabel("workerId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/fleet-roles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssumeFleetRoleForWorkerRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + workerId: S.String.pipe(T.HttpLabel("workerId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/fleet-roles", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssumeFleetRoleForWorkerRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssumeFleetRoleForWorkerRequest", +}) as any as S.Schema; export interface AssumeFleetRoleForWorkerResponse { credentials: AwsCredentials; } -export const AssumeFleetRoleForWorkerResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ credentials: AwsCredentials }), - ).annotate({ - identifier: "AssumeFleetRoleForWorkerResponse", - }) as any as S.Schema; +export const AssumeFleetRoleForWorkerResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ credentials: AwsCredentials }), +).annotate({ + identifier: "AssumeFleetRoleForWorkerResponse", +}) as any as S.Schema; export interface AssumeQueueRoleForWorkerRequest { farmId: string; fleetId: string; workerId: string; queueId: string; } -export const AssumeQueueRoleForWorkerRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - workerId: S.String.pipe(T.HttpLabel("workerId")), - queueId: S.String.pipe(T.HttpQuery("queueId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/queue-roles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssumeQueueRoleForWorkerRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + workerId: S.String.pipe(T.HttpLabel("workerId")), + queueId: S.String.pipe(T.HttpQuery("queueId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/queue-roles", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssumeQueueRoleForWorkerRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssumeQueueRoleForWorkerRequest", +}) as any as S.Schema; export interface AssumeQueueRoleForWorkerResponse { credentials?: AwsCredentials; } -export const AssumeQueueRoleForWorkerResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ credentials: S.optional(AwsCredentials) }), - ).annotate({ - identifier: "AssumeQueueRoleForWorkerResponse", - }) as any as S.Schema; +export const AssumeQueueRoleForWorkerResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ credentials: S.optional(AwsCredentials) }), +).annotate({ + identifier: "AssumeQueueRoleForWorkerResponse", +}) as any as S.Schema; export interface JobDetailsIdentifiers { jobId: string; } @@ -5504,10 +5477,11 @@ export const JobDetailsIdentifiers = /*@__PURE__*/ S.suspend(() => export interface JobAttachmentDetailsIdentifiers { jobId: string; } -export const JobAttachmentDetailsIdentifiers = - /*@__PURE__*/ S.suspend(() => S.Struct({ jobId: S.String })).annotate({ - identifier: "JobAttachmentDetailsIdentifiers", - }) as any as S.Schema; +export const JobAttachmentDetailsIdentifiers = /*@__PURE__*/ S.suspend(() => + S.Struct({ jobId: S.String }), +).annotate({ + identifier: "JobAttachmentDetailsIdentifiers", +}) as any as S.Schema; export interface StepDetailsIdentifiers { jobId: string; stepId: string; @@ -5521,12 +5495,11 @@ export interface EnvironmentDetailsIdentifiers { jobId: string; environmentId: string; } -export const EnvironmentDetailsIdentifiers = - /*@__PURE__*/ S.suspend(() => - S.Struct({ jobId: S.String, environmentId: S.String }), - ).annotate({ - identifier: "EnvironmentDetailsIdentifiers", - }) as any as S.Schema; +export const EnvironmentDetailsIdentifiers = /*@__PURE__*/ S.suspend(() => + S.Struct({ jobId: S.String, environmentId: S.String }), +).annotate({ + identifier: "EnvironmentDetailsIdentifiers", +}) as any as S.Schema; export type JobEntityIdentifiersUnion = | { jobDetails: JobDetailsIdentifiers; @@ -5861,30 +5834,29 @@ export interface ListSessionsForWorkerRequest { nextToken?: string; maxResults?: number; } -export const ListSessionsForWorkerRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - workerId: S.String.pipe(T.HttpLabel("workerId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/sessions", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListSessionsForWorkerRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + workerId: S.String.pipe(T.HttpLabel("workerId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/sessions", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListSessionsForWorkerRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListSessionsForWorkerRequest", +}) as any as S.Schema; export interface WorkerSessionSummary { sessionId: string; queueId: string; @@ -5914,15 +5886,14 @@ export interface ListSessionsForWorkerResponse { sessions: WorkerSessionSummary[]; nextToken?: string; } -export const ListSessionsForWorkerResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - sessions: ListSessionsForWorkerSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListSessionsForWorkerResponse", - }) as any as S.Schema; +export const ListSessionsForWorkerResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + sessions: ListSessionsForWorkerSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListSessionsForWorkerResponse", +}) as any as S.Schema; export type CompletedStatus = | "SUCCEEDED" | "FAILED" @@ -5935,19 +5906,19 @@ export interface TaskRunManifestPropertiesRequest { outputManifestPath?: string; outputManifestHash?: string; } -export const TaskRunManifestPropertiesRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - outputManifestPath: S.optional(S.String), - outputManifestHash: S.optional(S.String), - }), - ).annotate({ - identifier: "TaskRunManifestPropertiesRequest", - }) as any as S.Schema; +export const TaskRunManifestPropertiesRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + outputManifestPath: S.optional(S.String), + outputManifestHash: S.optional(S.String), + }), +).annotate({ + identifier: "TaskRunManifestPropertiesRequest", +}) as any as S.Schema; export type TaskRunManifestPropertiesListRequest = TaskRunManifestPropertiesRequest[]; -export const TaskRunManifestPropertiesListRequest = - /*@__PURE__*/ S.Array(TaskRunManifestPropertiesRequest); +export const TaskRunManifestPropertiesListRequest = /*@__PURE__*/ S.Array( + TaskRunManifestPropertiesRequest, +); export interface UpdatedSessionActionInfo { completedStatus?: CompletedStatus; processExitCode?: number; @@ -5991,62 +5962,57 @@ export interface UpdateWorkerScheduleRequest { [key: string]: UpdatedSessionActionInfo | undefined; }; } -export const UpdateWorkerScheduleRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - fleetId: S.String.pipe(T.HttpLabel("fleetId")), - workerId: S.String.pipe(T.HttpLabel("workerId")), - updatedSessionActions: S.optional(UpdatedSessionActions), - }).pipe( - T.all( - T.Http({ - method: "PATCH", - uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/schedule", - }), - svc, - auth, - proto, - ver, - rules, - ), - ), - ).annotate({ - identifier: "UpdateWorkerScheduleRequest", - }) as any as S.Schema; -export interface AssignedEnvironmentEnterSessionActionDefinition { - environmentId: string; -} -export const AssignedEnvironmentEnterSessionActionDefinition = - /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( - { - identifier: "AssignedEnvironmentEnterSessionActionDefinition", - }, +export const UpdateWorkerScheduleRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + fleetId: S.String.pipe(T.HttpLabel("fleetId")), + workerId: S.String.pipe(T.HttpLabel("workerId")), + updatedSessionActions: S.optional(UpdatedSessionActions), + }).pipe( + T.all( + T.Http({ + method: "PATCH", + uri: "/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/schedule", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "UpdateWorkerScheduleRequest", +}) as any as S.Schema; +export interface AssignedEnvironmentEnterSessionActionDefinition { + environmentId: string; +} +export const AssignedEnvironmentEnterSessionActionDefinition = + /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( + { identifier: "AssignedEnvironmentEnterSessionActionDefinition" }, ) as any as S.Schema; export interface AssignedEnvironmentExitSessionActionDefinition { environmentId: string; } export const AssignedEnvironmentExitSessionActionDefinition = /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( - { - identifier: "AssignedEnvironmentExitSessionActionDefinition", - }, + { identifier: "AssignedEnvironmentExitSessionActionDefinition" }, ) as any as S.Schema; export interface AssignedTaskRunSessionActionDefinition { taskId?: string; stepId: string; parameters: { [key: string]: TaskParameterValue | undefined }; } -export const AssignedTaskRunSessionActionDefinition = - /*@__PURE__*/ S.suspend(() => +export const AssignedTaskRunSessionActionDefinition = /*@__PURE__*/ S.suspend( + () => S.Struct({ taskId: S.optional(S.String), stepId: S.String, parameters: TaskParameters, }), - ).annotate({ - identifier: "AssignedTaskRunSessionActionDefinition", - }) as any as S.Schema; +).annotate({ + identifier: "AssignedTaskRunSessionActionDefinition", +}) as any as S.Schema; export interface AssignedSyncInputJobAttachmentsSessionActionDefinition { stepId?: string; } @@ -6081,16 +6047,15 @@ export type AssignedSessionActionDefinition = taskRun?: never; syncInputJobAttachments: AssignedSyncInputJobAttachmentsSessionActionDefinition; }; -export const AssignedSessionActionDefinition = - /*@__PURE__*/ S.Union([ - S.Struct({ envEnter: AssignedEnvironmentEnterSessionActionDefinition }), - S.Struct({ envExit: AssignedEnvironmentExitSessionActionDefinition }), - S.Struct({ taskRun: AssignedTaskRunSessionActionDefinition }), - S.Struct({ - syncInputJobAttachments: - AssignedSyncInputJobAttachmentsSessionActionDefinition, - }), - ]); +export const AssignedSessionActionDefinition = /*@__PURE__*/ S.Union([ + S.Struct({ envEnter: AssignedEnvironmentEnterSessionActionDefinition }), + S.Struct({ envExit: AssignedEnvironmentExitSessionActionDefinition }), + S.Struct({ taskRun: AssignedTaskRunSessionActionDefinition }), + S.Struct({ + syncInputJobAttachments: + AssignedSyncInputJobAttachmentsSessionActionDefinition, + }), +]); export interface AssignedSessionAction { sessionActionId: string; definition: AssignedSessionActionDefinition; @@ -6143,17 +6108,16 @@ export interface UpdateWorkerScheduleResponse { desiredWorkerStatus?: DesiredWorkerStatus; updateIntervalSeconds: number; } -export const UpdateWorkerScheduleResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - assignedSessions: AssignedSessions, - cancelSessionActions: CancelSessionActions, - desiredWorkerStatus: S.optional(DesiredWorkerStatus), - updateIntervalSeconds: S.Number, - }), - ).annotate({ - identifier: "UpdateWorkerScheduleResponse", - }) as any as S.Schema; +export const UpdateWorkerScheduleResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + assignedSessions: AssignedSessions, + cancelSessionActions: CancelSessionActions, + desiredWorkerStatus: S.optional(DesiredWorkerStatus), + updateIntervalSeconds: S.Number, + }), +).annotate({ + identifier: "UpdateWorkerScheduleResponse", +}) as any as S.Schema; export type DefaultQueueBudgetAction = | "NONE" | "STOP_SCHEDULING_AND_COMPLETE_TASKS" @@ -6165,19 +6129,19 @@ export const RequiredFileSystemLocationNames = /*@__PURE__*/ S.Array(S.String); export type AllowedStorageProfileIds = string[]; export const AllowedStorageProfileIds = /*@__PURE__*/ S.Array(S.String); export interface PriorityFifoSchedulingConfiguration {} -export const PriorityFifoSchedulingConfiguration = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "PriorityFifoSchedulingConfiguration", - }) as any as S.Schema; +export const PriorityFifoSchedulingConfiguration = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "PriorityFifoSchedulingConfiguration", +}) as any as S.Schema; export interface PriorityBalancedSchedulingConfiguration { renderingTaskBuffer?: number; } -export const PriorityBalancedSchedulingConfiguration = - /*@__PURE__*/ S.suspend(() => - S.Struct({ renderingTaskBuffer: S.optional(S.Number) }), - ).annotate({ - identifier: "PriorityBalancedSchedulingConfiguration", - }) as any as S.Schema; +export const PriorityBalancedSchedulingConfiguration = /*@__PURE__*/ S.suspend( + () => S.Struct({ renderingTaskBuffer: S.optional(S.Number) }), +).annotate({ + identifier: "PriorityBalancedSchedulingConfiguration", +}) as any as S.Schema; export interface SchedulingMaxPriorityOverrideAlwaysScheduleFirst {} export const SchedulingMaxPriorityOverrideAlwaysScheduleFirst = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ @@ -6186,12 +6150,11 @@ export const SchedulingMaxPriorityOverrideAlwaysScheduleFirst = export type SchedulingMaxPriorityOverride = { alwaysScheduleFirst: SchedulingMaxPriorityOverrideAlwaysScheduleFirst; }; -export const SchedulingMaxPriorityOverride = - /*@__PURE__*/ S.Union([ - S.Struct({ - alwaysScheduleFirst: SchedulingMaxPriorityOverrideAlwaysScheduleFirst, - }), - ]); +export const SchedulingMaxPriorityOverride = /*@__PURE__*/ S.Union([ + S.Struct({ + alwaysScheduleFirst: SchedulingMaxPriorityOverrideAlwaysScheduleFirst, + }), +]); export interface SchedulingMinPriorityOverrideAlwaysScheduleLast {} export const SchedulingMinPriorityOverrideAlwaysScheduleLast = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ @@ -6200,12 +6163,11 @@ export const SchedulingMinPriorityOverrideAlwaysScheduleLast = export type SchedulingMinPriorityOverride = { alwaysScheduleLast: SchedulingMinPriorityOverrideAlwaysScheduleLast; }; -export const SchedulingMinPriorityOverride = - /*@__PURE__*/ S.Union([ - S.Struct({ - alwaysScheduleLast: SchedulingMinPriorityOverrideAlwaysScheduleLast, - }), - ]); +export const SchedulingMinPriorityOverride = /*@__PURE__*/ S.Union([ + S.Struct({ + alwaysScheduleLast: SchedulingMinPriorityOverrideAlwaysScheduleLast, + }), +]); export interface WeightedBalancedSchedulingConfiguration { priorityWeight?: number; errorWeight?: number; @@ -6215,8 +6177,8 @@ export interface WeightedBalancedSchedulingConfiguration { maxPriorityOverride?: SchedulingMaxPriorityOverride; minPriorityOverride?: SchedulingMinPriorityOverride; } -export const WeightedBalancedSchedulingConfiguration = - /*@__PURE__*/ S.suspend(() => +export const WeightedBalancedSchedulingConfiguration = /*@__PURE__*/ S.suspend( + () => S.Struct({ priorityWeight: S.optional(S.Number), errorWeight: S.optional(S.Number), @@ -6226,9 +6188,9 @@ export const WeightedBalancedSchedulingConfiguration = maxPriorityOverride: S.optional(SchedulingMaxPriorityOverride), minPriorityOverride: S.optional(SchedulingMinPriorityOverride), }), - ).annotate({ - identifier: "WeightedBalancedSchedulingConfiguration", - }) as any as S.Schema; +).annotate({ + identifier: "WeightedBalancedSchedulingConfiguration", +}) as any as S.Schema; export type SchedulingConfiguration = | { priorityFifo: PriorityFifoSchedulingConfiguration; @@ -6551,105 +6513,101 @@ export interface AssociateMemberToQueueRequest { principalId: string; identityCenterRegion?: string; } -export const AssociateMemberToQueueRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - principalType: DeadlinePrincipalType, - identityStoreId: S.String, - membershipLevel: MembershipLevel, - principalId: S.String.pipe(T.HttpLabel("principalId")), - identityCenterRegion: S.optional(S.String), - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssociateMemberToQueueRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + principalType: DeadlinePrincipalType, + identityStoreId: S.String, + membershipLevel: MembershipLevel, + principalId: S.String.pipe(T.HttpLabel("principalId")), + identityCenterRegion: S.optional(S.String), + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssociateMemberToQueueRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssociateMemberToQueueRequest", +}) as any as S.Schema; export interface AssociateMemberToQueueResponse {} -export const AssociateMemberToQueueResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "AssociateMemberToQueueResponse", - }) as any as S.Schema; +export const AssociateMemberToQueueResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "AssociateMemberToQueueResponse", +}) as any as S.Schema; export interface AssumeQueueRoleForReadRequest { farmId: string; queueId: string; } -export const AssumeQueueRoleForReadRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/read-roles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssumeQueueRoleForReadRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/read-roles", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssumeQueueRoleForReadRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssumeQueueRoleForReadRequest", +}) as any as S.Schema; export interface AssumeQueueRoleForReadResponse { credentials: AwsCredentials; } -export const AssumeQueueRoleForReadResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ credentials: AwsCredentials }), - ).annotate({ - identifier: "AssumeQueueRoleForReadResponse", - }) as any as S.Schema; +export const AssumeQueueRoleForReadResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ credentials: AwsCredentials }), +).annotate({ + identifier: "AssumeQueueRoleForReadResponse", +}) as any as S.Schema; export interface AssumeQueueRoleForUserRequest { farmId: string; queueId: string; } -export const AssumeQueueRoleForUserRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/user-roles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssumeQueueRoleForUserRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/user-roles", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssumeQueueRoleForUserRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssumeQueueRoleForUserRequest", +}) as any as S.Schema; export interface AssumeQueueRoleForUserResponse { credentials: AwsCredentials; } -export const AssumeQueueRoleForUserResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ credentials: AwsCredentials }), - ).annotate({ - identifier: "AssumeQueueRoleForUserResponse", - }) as any as S.Schema; +export const AssumeQueueRoleForUserResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ credentials: AwsCredentials }), +).annotate({ + identifier: "AssumeQueueRoleForUserResponse", +}) as any as S.Schema; export type EnvironmentTemplateType = "JSON" | "YAML" | (string & {}); export const EnvironmentTemplateType = /*@__PURE__*/ S.String; export interface CreateQueueEnvironmentRequest { @@ -6660,107 +6618,105 @@ export interface CreateQueueEnvironmentRequest { templateType: EnvironmentTemplateType; template: string | redacted.Redacted; } -export const CreateQueueEnvironmentRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - clientToken: S.optional(S.String).pipe( - T.HttpHeader("X-Amz-Client-Token"), - T.IdempotencyToken(), - ), - priority: S.Number, - templateType: EnvironmentTemplateType, - template: SensitiveString, - }).pipe( - T.all( - T.Http({ - method: "POST", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const CreateQueueEnvironmentRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + clientToken: S.optional(S.String).pipe( + T.HttpHeader("X-Amz-Client-Token"), + T.IdempotencyToken(), ), - ).annotate({ - identifier: "CreateQueueEnvironmentRequest", - }) as any as S.Schema; + priority: S.Number, + templateType: EnvironmentTemplateType, + template: SensitiveString, + }).pipe( + T.all( + T.Http({ + method: "POST", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "CreateQueueEnvironmentRequest", +}) as any as S.Schema; export interface CreateQueueEnvironmentResponse { queueEnvironmentId: string; } -export const CreateQueueEnvironmentResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ queueEnvironmentId: S.String }), - ).annotate({ - identifier: "CreateQueueEnvironmentResponse", - }) as any as S.Schema; +export const CreateQueueEnvironmentResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ queueEnvironmentId: S.String }), +).annotate({ + identifier: "CreateQueueEnvironmentResponse", +}) as any as S.Schema; export interface DeleteQueueEnvironmentRequest { farmId: string; queueId: string; queueEnvironmentId: string; } -export const DeleteQueueEnvironmentRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - queueEnvironmentId: S.String.pipe(T.HttpLabel("queueEnvironmentId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteQueueEnvironmentRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + queueEnvironmentId: S.String.pipe(T.HttpLabel("queueEnvironmentId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteQueueEnvironmentRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteQueueEnvironmentRequest", +}) as any as S.Schema; export interface DeleteQueueEnvironmentResponse {} -export const DeleteQueueEnvironmentResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DeleteQueueEnvironmentResponse", - }) as any as S.Schema; +export const DeleteQueueEnvironmentResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteQueueEnvironmentResponse", +}) as any as S.Schema; export interface DisassociateMemberFromQueueRequest { farmId: string; queueId: string; principalId: string; } -export const DisassociateMemberFromQueueRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - principalId: S.String.pipe(T.HttpLabel("principalId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DisassociateMemberFromQueueRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + principalId: S.String.pipe(T.HttpLabel("principalId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DisassociateMemberFromQueueRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DisassociateMemberFromQueueRequest", +}) as any as S.Schema; export interface DisassociateMemberFromQueueResponse {} -export const DisassociateMemberFromQueueResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DisassociateMemberFromQueueResponse", - }) as any as S.Schema; +export const DisassociateMemberFromQueueResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DisassociateMemberFromQueueResponse", +}) as any as S.Schema; export interface GetQueueEnvironmentRequest { farmId: string; queueId: string; @@ -6798,97 +6754,93 @@ export interface GetQueueEnvironmentResponse { updatedAt?: Date; updatedBy?: string; } -export const GetQueueEnvironmentResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - queueEnvironmentId: S.String, - name: S.String, - priority: S.Number, - templateType: EnvironmentTemplateType, - template: SensitiveString, - createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), - createdBy: S.String, - updatedAt: S.optional( - T.DateFromString.pipe(T.TimestampFormat("date-time")), - ), - updatedBy: S.optional(S.String), - }), - ).annotate({ - identifier: "GetQueueEnvironmentResponse", - }) as any as S.Schema; -export interface GetStorageProfileForQueueRequest { - farmId: string; - queueId: string; - storageProfileId: string; -} -export const GetStorageProfileForQueueRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - storageProfileId: S.String.pipe(T.HttpLabel("storageProfileId")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles/{storageProfileId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const GetQueueEnvironmentResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + queueEnvironmentId: S.String, + name: S.String, + priority: S.Number, + templateType: EnvironmentTemplateType, + template: SensitiveString, + createdAt: T.DateFromString.pipe(T.TimestampFormat("date-time")), + createdBy: S.String, + updatedAt: S.optional( + T.DateFromString.pipe(T.TimestampFormat("date-time")), + ), + updatedBy: S.optional(S.String), + }), +).annotate({ + identifier: "GetQueueEnvironmentResponse", +}) as any as S.Schema; +export interface GetStorageProfileForQueueRequest { + farmId: string; + queueId: string; + storageProfileId: string; +} +export const GetStorageProfileForQueueRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + storageProfileId: S.String.pipe(T.HttpLabel("storageProfileId")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles/{storageProfileId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "GetStorageProfileForQueueRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "GetStorageProfileForQueueRequest", +}) as any as S.Schema; export interface GetStorageProfileForQueueResponse { storageProfileId: string; displayName: string; osFamily: StorageProfileOperatingSystemFamily; fileSystemLocations?: FileSystemLocation[]; } -export const GetStorageProfileForQueueResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - storageProfileId: S.String, - displayName: S.String, - osFamily: StorageProfileOperatingSystemFamily, - fileSystemLocations: S.optional(FileSystemLocationsList), - }), - ).annotate({ - identifier: "GetStorageProfileForQueueResponse", - }) as any as S.Schema; +export const GetStorageProfileForQueueResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + storageProfileId: S.String, + displayName: S.String, + osFamily: StorageProfileOperatingSystemFamily, + fileSystemLocations: S.optional(FileSystemLocationsList), + }), +).annotate({ + identifier: "GetStorageProfileForQueueResponse", +}) as any as S.Schema; export interface ListQueueEnvironmentsRequest { farmId: string; queueId: string; nextToken?: string; maxResults?: number; } -export const ListQueueEnvironmentsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListQueueEnvironmentsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListQueueEnvironmentsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListQueueEnvironmentsRequest", +}) as any as S.Schema; export interface QueueEnvironmentSummary { queueEnvironmentId: string; name: string; @@ -6911,15 +6863,14 @@ export interface ListQueueEnvironmentsResponse { environments: QueueEnvironmentSummary[]; nextToken?: string; } -export const ListQueueEnvironmentsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - environments: QueueEnvironmentSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListQueueEnvironmentsResponse", - }) as any as S.Schema; +export const ListQueueEnvironmentsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + environments: QueueEnvironmentSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListQueueEnvironmentsResponse", +}) as any as S.Schema; export interface ListQueueMembersRequest { farmId: string; queueId: string; @@ -6983,42 +6934,40 @@ export interface ListStorageProfilesForQueueRequest { nextToken?: string; maxResults?: number; } -export const ListStorageProfilesForQueueRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListStorageProfilesForQueueRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListStorageProfilesForQueueRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListStorageProfilesForQueueRequest", +}) as any as S.Schema; export interface ListStorageProfilesForQueueResponse { storageProfiles: StorageProfileSummary[]; nextToken?: string; } -export const ListStorageProfilesForQueueResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - storageProfiles: StorageProfileSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListStorageProfilesForQueueResponse", - }) as any as S.Schema; +export const ListStorageProfilesForQueueResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + storageProfiles: StorageProfileSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListStorageProfilesForQueueResponse", +}) as any as S.Schema; export interface UpdateQueueEnvironmentRequest { farmId: string; queueId: string; @@ -7028,40 +6977,40 @@ export interface UpdateQueueEnvironmentRequest { templateType?: EnvironmentTemplateType; template?: string | redacted.Redacted; } -export const UpdateQueueEnvironmentRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - queueEnvironmentId: S.String.pipe(T.HttpLabel("queueEnvironmentId")), - clientToken: S.optional(S.String).pipe( - T.HttpHeader("X-Amz-Client-Token"), - T.IdempotencyToken(), - ), - priority: S.optional(S.Number), - templateType: S.optional(EnvironmentTemplateType), - template: S.optional(SensitiveString), - }).pipe( - T.all( - T.Http({ - method: "PATCH", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const UpdateQueueEnvironmentRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + queueEnvironmentId: S.String.pipe(T.HttpLabel("queueEnvironmentId")), + clientToken: S.optional(S.String).pipe( + T.HttpHeader("X-Amz-Client-Token"), + T.IdempotencyToken(), ), - ).annotate({ - identifier: "UpdateQueueEnvironmentRequest", - }) as any as S.Schema; + priority: S.optional(S.Number), + templateType: S.optional(EnvironmentTemplateType), + template: S.optional(SensitiveString), + }).pipe( + T.all( + T.Http({ + method: "PATCH", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "UpdateQueueEnvironmentRequest", +}) as any as S.Schema; export interface UpdateQueueEnvironmentResponse {} -export const UpdateQueueEnvironmentResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "UpdateQueueEnvironmentResponse", - }) as any as S.Schema; +export const UpdateQueueEnvironmentResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "UpdateQueueEnvironmentResponse", +}) as any as S.Schema; export type JobTemplateType = "JSON" | "YAML" | (string & {}); export const JobTemplateType = /*@__PURE__*/ S.String; export type CreateJobTargetTaskRunStatus = @@ -7366,38 +7315,38 @@ export interface AssociateMemberToJobRequest { principalId: string; identityCenterRegion?: string; } -export const AssociateMemberToJobRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - jobId: S.String.pipe(T.HttpLabel("jobId")), - principalType: DeadlinePrincipalType, - identityStoreId: S.String, - membershipLevel: MembershipLevel, - principalId: S.String.pipe(T.HttpLabel("principalId")), - identityCenterRegion: S.optional(S.String), - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssociateMemberToJobRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + jobId: S.String.pipe(T.HttpLabel("jobId")), + principalType: DeadlinePrincipalType, + identityStoreId: S.String, + membershipLevel: MembershipLevel, + principalId: S.String.pipe(T.HttpLabel("principalId")), + identityCenterRegion: S.optional(S.String), + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssociateMemberToJobRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssociateMemberToJobRequest", +}) as any as S.Schema; export interface AssociateMemberToJobResponse {} -export const AssociateMemberToJobResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "AssociateMemberToJobResponse", - }) as any as S.Schema; +export const AssociateMemberToJobResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "AssociateMemberToJobResponse", +}) as any as S.Schema; export interface S3Location { bucketName: string; key: string; @@ -7447,34 +7396,34 @@ export interface DisassociateMemberFromJobRequest { jobId: string; principalId: string; } -export const DisassociateMemberFromJobRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - jobId: S.String.pipe(T.HttpLabel("jobId")), - principalId: S.String.pipe(T.HttpLabel("principalId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DisassociateMemberFromJobRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + jobId: S.String.pipe(T.HttpLabel("jobId")), + principalId: S.String.pipe(T.HttpLabel("principalId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DisassociateMemberFromJobRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DisassociateMemberFromJobRequest", +}) as any as S.Schema; export interface DisassociateMemberFromJobResponse {} -export const DisassociateMemberFromJobResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DisassociateMemberFromJobResponse", - }) as any as S.Schema; +export const DisassociateMemberFromJobResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DisassociateMemberFromJobResponse", +}) as any as S.Schema; export interface GetSessionRequest { farmId: string; queueId: string; @@ -7800,52 +7749,50 @@ export const ListJobMembersResponse = /*@__PURE__*/ S.suspend(() => ).annotate({ identifier: "ListJobMembersResponse", }) as any as S.Schema; -export interface ListJobParameterDefinitionsRequest { - farmId: string; - queueId: string; - jobId: string; - nextToken?: string; - maxResults?: number; -} -export const ListJobParameterDefinitionsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - jobId: S.String.pipe(T.HttpLabel("jobId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions", - }), - svc, - auth, - proto, - ver, - rules, - ), +export interface ListJobParameterDefinitionsRequest { + farmId: string; + queueId: string; + jobId: string; + nextToken?: string; + maxResults?: number; +} +export const ListJobParameterDefinitionsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + jobId: S.String.pipe(T.HttpLabel("jobId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListJobParameterDefinitionsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListJobParameterDefinitionsRequest", +}) as any as S.Schema; export type JobParameterDefinitions = any[]; export const JobParameterDefinitions = /*@__PURE__*/ S.Array(S.Any); export interface ListJobParameterDefinitionsResponse { jobParameterDefinitions: any[]; nextToken?: string; } -export const ListJobParameterDefinitionsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - jobParameterDefinitions: JobParameterDefinitions, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListJobParameterDefinitionsResponse", - }) as any as S.Schema; +export const ListJobParameterDefinitionsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + jobParameterDefinitions: JobParameterDefinitions, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListJobParameterDefinitionsResponse", +}) as any as S.Schema; export interface ListSessionActionsRequest { farmId: string; queueId: string; @@ -7885,34 +7832,30 @@ export interface EnvironmentEnterSessionActionDefinitionSummary { } export const EnvironmentEnterSessionActionDefinitionSummary = /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( - { - identifier: "EnvironmentEnterSessionActionDefinitionSummary", - }, + { identifier: "EnvironmentEnterSessionActionDefinitionSummary" }, ) as any as S.Schema; export interface EnvironmentExitSessionActionDefinitionSummary { environmentId: string; } export const EnvironmentExitSessionActionDefinitionSummary = /*@__PURE__*/ S.suspend(() => S.Struct({ environmentId: S.String })).annotate( - { - identifier: "EnvironmentExitSessionActionDefinitionSummary", - }, + { identifier: "EnvironmentExitSessionActionDefinitionSummary" }, ) as any as S.Schema; export interface TaskRunSessionActionDefinitionSummary { taskId?: string; stepId: string; parameters?: { [key: string]: TaskParameterValue | undefined }; } -export const TaskRunSessionActionDefinitionSummary = - /*@__PURE__*/ S.suspend(() => +export const TaskRunSessionActionDefinitionSummary = /*@__PURE__*/ S.suspend( + () => S.Struct({ taskId: S.optional(S.String), stepId: S.String, parameters: S.optional(TaskParameters), }), - ).annotate({ - identifier: "TaskRunSessionActionDefinitionSummary", - }) as any as S.Schema; +).annotate({ + identifier: "TaskRunSessionActionDefinitionSummary", +}) as any as S.Schema; export interface SyncInputJobAttachmentsSessionActionDefinitionSummary { stepId?: string; } @@ -7947,16 +7890,15 @@ export type SessionActionDefinitionSummary = taskRun?: never; syncInputJobAttachments: SyncInputJobAttachmentsSessionActionDefinitionSummary; }; -export const SessionActionDefinitionSummary = - /*@__PURE__*/ S.Union([ - S.Struct({ envEnter: EnvironmentEnterSessionActionDefinitionSummary }), - S.Struct({ envExit: EnvironmentExitSessionActionDefinitionSummary }), - S.Struct({ taskRun: TaskRunSessionActionDefinitionSummary }), - S.Struct({ - syncInputJobAttachments: - SyncInputJobAttachmentsSessionActionDefinitionSummary, - }), - ]); +export const SessionActionDefinitionSummary = /*@__PURE__*/ S.Union([ + S.Struct({ envEnter: EnvironmentEnterSessionActionDefinitionSummary }), + S.Struct({ envExit: EnvironmentExitSessionActionDefinitionSummary }), + S.Struct({ taskRun: TaskRunSessionActionDefinitionSummary }), + S.Struct({ + syncInputJobAttachments: + SyncInputJobAttachmentsSessionActionDefinitionSummary, + }), +]); export interface SessionActionSummary { sessionActionId: string; status: SessionActionStatus; @@ -8130,31 +8072,30 @@ export interface ListStepDependenciesRequest { nextToken?: string; maxResults?: number; } -export const ListStepDependenciesRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - farmId: S.String.pipe(T.HttpLabel("farmId")), - queueId: S.String.pipe(T.HttpLabel("queueId")), - jobId: S.String.pipe(T.HttpLabel("jobId")), - stepId: S.String.pipe(T.HttpLabel("stepId")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/dependencies", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListStepDependenciesRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + farmId: S.String.pipe(T.HttpLabel("farmId")), + queueId: S.String.pipe(T.HttpLabel("queueId")), + jobId: S.String.pipe(T.HttpLabel("jobId")), + stepId: S.String.pipe(T.HttpLabel("stepId")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/dependencies", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListStepDependenciesRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListStepDependenciesRequest", +}) as any as S.Schema; export interface StepDependency { stepId: string; status: DependencyConsumerResolutionStatus; @@ -8168,15 +8109,11 @@ export interface ListStepDependenciesResponse { dependencies: StepDependency[]; nextToken?: string; } -export const ListStepDependenciesResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - dependencies: StepDependencies, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListStepDependenciesResponse", - }) as any as S.Schema; +export const ListStepDependenciesResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ dependencies: StepDependencies, nextToken: S.optional(S.String) }), +).annotate({ + identifier: "ListStepDependenciesResponse", +}) as any as S.Schema; export interface ListStepsRequest { farmId: string; queueId: string; @@ -8471,39 +8408,37 @@ export interface CreateLicenseEndpointRequest { securityGroupIds: string[]; tags?: { [key: string]: string | undefined }; } -export const CreateLicenseEndpointRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - clientToken: S.optional(S.String).pipe( - T.HttpHeader("X-Amz-Client-Token"), - T.IdempotencyToken(), - ), - vpcId: S.String, - subnetIds: SubnetIdList, - securityGroupIds: SecurityGroupIdList, - tags: S.optional(Tags), - }).pipe( - T.all( - T.Http({ method: "POST", uri: "/2023-10-12/license-endpoints" }), - svc, - auth, - proto, - ver, - rules, - ), +export const CreateLicenseEndpointRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + clientToken: S.optional(S.String).pipe( + T.HttpHeader("X-Amz-Client-Token"), + T.IdempotencyToken(), ), - ).annotate({ - identifier: "CreateLicenseEndpointRequest", - }) as any as S.Schema; + vpcId: S.String, + subnetIds: SubnetIdList, + securityGroupIds: SecurityGroupIdList, + tags: S.optional(Tags), + }).pipe( + T.all( + T.Http({ method: "POST", uri: "/2023-10-12/license-endpoints" }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "CreateLicenseEndpointRequest", +}) as any as S.Schema; export interface CreateLicenseEndpointResponse { licenseEndpointId: string; } -export const CreateLicenseEndpointResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ licenseEndpointId: S.String }), - ).annotate({ - identifier: "CreateLicenseEndpointResponse", - }) as any as S.Schema; +export const CreateLicenseEndpointResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ licenseEndpointId: S.String }), +).annotate({ + identifier: "CreateLicenseEndpointResponse", +}) as any as S.Schema; export interface GetLicenseEndpointRequest { licenseEndpointId: string; } @@ -8558,53 +8493,52 @@ export const GetLicenseEndpointResponse = /*@__PURE__*/ S.suspend(() => export interface DeleteLicenseEndpointRequest { licenseEndpointId: string; } -export const DeleteLicenseEndpointRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - licenseEndpointId: S.String.pipe(T.HttpLabel("licenseEndpointId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/license-endpoints/{licenseEndpointId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteLicenseEndpointRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + licenseEndpointId: S.String.pipe(T.HttpLabel("licenseEndpointId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/license-endpoints/{licenseEndpointId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteLicenseEndpointRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteLicenseEndpointRequest", +}) as any as S.Schema; export interface DeleteLicenseEndpointResponse {} -export const DeleteLicenseEndpointResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DeleteLicenseEndpointResponse", - }) as any as S.Schema; +export const DeleteLicenseEndpointResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteLicenseEndpointResponse", +}) as any as S.Schema; export interface ListLicenseEndpointsRequest { nextToken?: string; maxResults?: number; } -export const ListLicenseEndpointsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ method: "GET", uri: "/2023-10-12/license-endpoints" }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListLicenseEndpointsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ method: "GET", uri: "/2023-10-12/license-endpoints" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListLicenseEndpointsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListLicenseEndpointsRequest", +}) as any as S.Schema; export interface LicenseEndpointSummary { licenseEndpointId?: string; status?: LicenseEndpointStatus; @@ -8629,45 +8563,44 @@ export interface ListLicenseEndpointsResponse { licenseEndpoints: LicenseEndpointSummary[]; nextToken?: string; } -export const ListLicenseEndpointsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - licenseEndpoints: LicenseEndpointSummaries, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListLicenseEndpointsResponse", - }) as any as S.Schema; +export const ListLicenseEndpointsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + licenseEndpoints: LicenseEndpointSummaries, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListLicenseEndpointsResponse", +}) as any as S.Schema; export interface DeleteMeteredProductRequest { licenseEndpointId: string; productId: string; } -export const DeleteMeteredProductRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - licenseEndpointId: S.String.pipe(T.HttpLabel("licenseEndpointId")), - productId: S.String.pipe(T.HttpLabel("productId")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteMeteredProductRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + licenseEndpointId: S.String.pipe(T.HttpLabel("licenseEndpointId")), + productId: S.String.pipe(T.HttpLabel("productId")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteMeteredProductRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteMeteredProductRequest", +}) as any as S.Schema; export interface DeleteMeteredProductResponse {} -export const DeleteMeteredProductResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "DeleteMeteredProductResponse", - }) as any as S.Schema; +export const DeleteMeteredProductResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "DeleteMeteredProductResponse", +}) as any as S.Schema; export interface ListMeteredProductsRequest { licenseEndpointId: string; nextToken?: string; @@ -8698,15 +8631,14 @@ export interface ListMeteredProductsResponse { meteredProducts: MeteredProductSummary[]; nextToken?: string; } -export const ListMeteredProductsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - meteredProducts: MeteredProductSummaryList, - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListMeteredProductsResponse", - }) as any as S.Schema; +export const ListMeteredProductsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + meteredProducts: MeteredProductSummaryList, + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListMeteredProductsResponse", +}) as any as S.Schema; export interface PutMeteredProductRequest { licenseEndpointId: string; productId: string; @@ -8986,32 +8918,32 @@ export interface UpdateMonitorSettingsRequest { monitorId: string; settings: { [key: string]: string | undefined }; } -export const UpdateMonitorSettingsRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - monitorId: S.String.pipe(T.HttpLabel("monitorId")), - settings: SettingsMap, - }).pipe( - T.all( - T.Http({ - method: "PATCH", - uri: "/2023-10-12/monitors/{monitorId}/settings", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const UpdateMonitorSettingsRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + monitorId: S.String.pipe(T.HttpLabel("monitorId")), + settings: SettingsMap, + }).pipe( + T.all( + T.Http({ + method: "PATCH", + uri: "/2023-10-12/monitors/{monitorId}/settings", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "UpdateMonitorSettingsRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "UpdateMonitorSettingsRequest", +}) as any as S.Schema; export interface UpdateMonitorSettingsResponse {} -export const UpdateMonitorSettingsResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ - identifier: "UpdateMonitorSettingsResponse", - }) as any as S.Schema; +export const UpdateMonitorSettingsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({}), +).annotate({ + identifier: "UpdateMonitorSettingsResponse", +}) as any as S.Schema; //# Errors export class AccessDeniedException extends S.TaggedErrorClass()( @@ -9082,6 +9014,10 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "InternalServerException", + {}, +).pipe(C.withServerError, C.withRetryableError) {} //# Operations export type BatchGetJobError = @@ -10622,6 +10558,7 @@ export type UpdateBudgetError = | ThrottlingException | ValidationException | ConflictException + | InternalServerException | CommonErrors; /** * Updates a budget that sets spending thresholds for rendering activity. @@ -10641,6 +10578,7 @@ export const updateBudget: API.OperationMethod< ThrottlingException, ValidationException, ConflictException, + InternalServerException, ], operationName: "UpdateBudget", endpointHostPrefix: "management.", diff --git a/packages/aws/src/services/service-catalog-appregistry.ts b/packages/aws/src/services/service-catalog-appregistry.ts index d774573920..d83ec60978 100644 --- a/packages/aws/src/services/service-catalog-appregistry.ts +++ b/packages/aws/src/services/service-catalog-appregistry.ts @@ -116,40 +116,38 @@ export interface AssociateAttributeGroupRequest { application: string; attributeGroup: string; } -export const AssociateAttributeGroupRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - application: S.String.pipe(T.HttpLabel("application")), - attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), - }).pipe( - T.all( - T.Http({ - method: "PUT", - uri: "/applications/{application}/attribute-groups/{attributeGroup}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const AssociateAttributeGroupRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + application: S.String.pipe(T.HttpLabel("application")), + attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), + }).pipe( + T.all( + T.Http({ + method: "PUT", + uri: "/applications/{application}/attribute-groups/{attributeGroup}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "AssociateAttributeGroupRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "AssociateAttributeGroupRequest", +}) as any as S.Schema; export interface AssociateAttributeGroupResponse { applicationArn?: string; attributeGroupArn?: string; } -export const AssociateAttributeGroupResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - applicationArn: S.optional(S.String), - attributeGroupArn: S.optional(S.String), - }), - ).annotate({ - identifier: "AssociateAttributeGroupResponse", - }) as any as S.Schema; +export const AssociateAttributeGroupResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + applicationArn: S.optional(S.String), + attributeGroupArn: S.optional(S.String), + }), +).annotate({ + identifier: "AssociateAttributeGroupResponse", +}) as any as S.Schema; export type ResourceType = "CFN_STACK" | "RESOURCE_TAG_VALUE" | (string & {}); export const ResourceType = /*@__PURE__*/ S.String; export type AssociationOption = @@ -274,27 +272,26 @@ export interface CreateAttributeGroupRequest { tags?: { [key: string]: string | undefined }; clientToken: string; } -export const CreateAttributeGroupRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - name: S.String, - description: S.optional(S.String), - attributes: S.String, - tags: S.optional(Tags), - clientToken: S.String.pipe(T.IdempotencyToken()), - }).pipe( - T.all( - T.Http({ method: "POST", uri: "/attribute-groups" }), - svc, - auth, - proto, - ver, - rules, - ), +export const CreateAttributeGroupRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + name: S.String, + description: S.optional(S.String), + attributes: S.String, + tags: S.optional(Tags), + clientToken: S.String.pipe(T.IdempotencyToken()), + }).pipe( + T.all( + T.Http({ method: "POST", uri: "/attribute-groups" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "CreateAttributeGroupRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "CreateAttributeGroupRequest", +}) as any as S.Schema; export interface AttributeGroup { id?: string; arn?: string; @@ -322,12 +319,11 @@ export const AttributeGroup = /*@__PURE__*/ S.suspend(() => export interface CreateAttributeGroupResponse { attributeGroup?: AttributeGroup; } -export const CreateAttributeGroupResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ attributeGroup: S.optional(AttributeGroup) }), - ).annotate({ - identifier: "CreateAttributeGroupResponse", - }) as any as S.Schema; +export const CreateAttributeGroupResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ attributeGroup: S.optional(AttributeGroup) }), +).annotate({ + identifier: "CreateAttributeGroupResponse", +}) as any as S.Schema; export interface DeleteApplicationRequest { application: string; } @@ -380,23 +376,22 @@ export const DeleteApplicationResponse = /*@__PURE__*/ S.suspend(() => export interface DeleteAttributeGroupRequest { attributeGroup: string; } -export const DeleteAttributeGroupRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), - }).pipe( - T.all( - T.Http({ method: "DELETE", uri: "/attribute-groups/{attributeGroup}" }), - svc, - auth, - proto, - ver, - rules, - ), +export const DeleteAttributeGroupRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), + }).pipe( + T.all( + T.Http({ method: "DELETE", uri: "/attribute-groups/{attributeGroup}" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DeleteAttributeGroupRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DeleteAttributeGroupRequest", +}) as any as S.Schema; export interface AttributeGroupSummary { id?: string; arn?: string; @@ -426,90 +421,85 @@ export const AttributeGroupSummary = /*@__PURE__*/ S.suspend(() => export interface DeleteAttributeGroupResponse { attributeGroup?: AttributeGroupSummary; } -export const DeleteAttributeGroupResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ attributeGroup: S.optional(AttributeGroupSummary) }), - ).annotate({ - identifier: "DeleteAttributeGroupResponse", - }) as any as S.Schema; +export const DeleteAttributeGroupResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ attributeGroup: S.optional(AttributeGroupSummary) }), +).annotate({ + identifier: "DeleteAttributeGroupResponse", +}) as any as S.Schema; export interface DisassociateAttributeGroupRequest { application: string; attributeGroup: string; } -export const DisassociateAttributeGroupRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - application: S.String.pipe(T.HttpLabel("application")), - attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/applications/{application}/attribute-groups/{attributeGroup}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DisassociateAttributeGroupRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + application: S.String.pipe(T.HttpLabel("application")), + attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/applications/{application}/attribute-groups/{attributeGroup}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DisassociateAttributeGroupRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DisassociateAttributeGroupRequest", +}) as any as S.Schema; export interface DisassociateAttributeGroupResponse { applicationArn?: string; attributeGroupArn?: string; } -export const DisassociateAttributeGroupResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - applicationArn: S.optional(S.String), - attributeGroupArn: S.optional(S.String), - }), - ).annotate({ - identifier: "DisassociateAttributeGroupResponse", - }) as any as S.Schema; +export const DisassociateAttributeGroupResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + applicationArn: S.optional(S.String), + attributeGroupArn: S.optional(S.String), + }), +).annotate({ + identifier: "DisassociateAttributeGroupResponse", +}) as any as S.Schema; export interface DisassociateResourceRequest { application: string; resourceType: ResourceType; resource: string; } -export const DisassociateResourceRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - application: S.String.pipe(T.HttpLabel("application")), - resourceType: ResourceType.pipe(T.HttpLabel("resourceType")), - resource: S.String.pipe(T.HttpLabel("resource")), - }).pipe( - T.all( - T.Http({ - method: "DELETE", - uri: "/applications/{application}/resources/{resourceType}/{resource}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const DisassociateResourceRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + application: S.String.pipe(T.HttpLabel("application")), + resourceType: ResourceType.pipe(T.HttpLabel("resourceType")), + resource: S.String.pipe(T.HttpLabel("resource")), + }).pipe( + T.all( + T.Http({ + method: "DELETE", + uri: "/applications/{application}/resources/{resourceType}/{resource}", + }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "DisassociateResourceRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "DisassociateResourceRequest", +}) as any as S.Schema; export interface DisassociateResourceResponse { applicationArn?: string; resourceArn?: string; } -export const DisassociateResourceResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - applicationArn: S.optional(S.String), - resourceArn: S.optional(S.String), - }), - ).annotate({ - identifier: "DisassociateResourceResponse", - }) as any as S.Schema; +export const DisassociateResourceResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + applicationArn: S.optional(S.String), + resourceArn: S.optional(S.String), + }), +).annotate({ + identifier: "DisassociateResourceResponse", +}) as any as S.Schema; export interface GetApplicationRequest { application: string; } @@ -608,33 +598,32 @@ export interface GetAssociatedResourceRequest { resourceTagStatus?: ResourceItemStatus[]; maxResults?: number; } -export const GetAssociatedResourceRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - application: S.String.pipe(T.HttpLabel("application")), - resourceType: ResourceType.pipe(T.HttpLabel("resourceType")), - resource: S.String.pipe(T.HttpLabel("resource")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - resourceTagStatus: S.optional(GetAssociatedResourceFilter).pipe( - T.HttpQuery("resourceTagStatus"), - ), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ - method: "GET", - uri: "/applications/{application}/resources/{resourceType}/{resource}", - }), - svc, - auth, - proto, - ver, - rules, - ), +export const GetAssociatedResourceRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + application: S.String.pipe(T.HttpLabel("application")), + resourceType: ResourceType.pipe(T.HttpLabel("resourceType")), + resource: S.String.pipe(T.HttpLabel("resource")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + resourceTagStatus: S.optional(GetAssociatedResourceFilter).pipe( + T.HttpQuery("resourceTagStatus"), ), - ).annotate({ - identifier: "GetAssociatedResourceRequest", - }) as any as S.Schema; + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ + method: "GET", + uri: "/applications/{application}/resources/{resourceType}/{resource}", + }), + svc, + auth, + proto, + ver, + rules, + ), + ), +).annotate({ + identifier: "GetAssociatedResourceRequest", +}) as any as S.Schema; export interface ResourceIntegrations { resourceGroup?: ResourceGroup; } @@ -704,16 +693,15 @@ export interface GetAssociatedResourceResponse { options?: AssociationOption[]; applicationTagResult?: ApplicationTagResult; } -export const GetAssociatedResourceResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - resource: S.optional(Resource), - options: S.optional(Options), - applicationTagResult: S.optional(ApplicationTagResult), - }), - ).annotate({ - identifier: "GetAssociatedResourceResponse", - }) as any as S.Schema; +export const GetAssociatedResourceResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + resource: S.optional(Resource), + options: S.optional(Options), + applicationTagResult: S.optional(ApplicationTagResult), + }), +).annotate({ + identifier: "GetAssociatedResourceResponse", +}) as any as S.Schema; export interface GetAttributeGroupRequest { attributeGroup: string; } @@ -766,7 +754,14 @@ export const GetAttributeGroupResponse = /*@__PURE__*/ S.suspend(() => export interface GetConfigurationRequest {} export const GetConfigurationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe( - T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules), + T.all( + T.Http({ method: "GET", uri: "/configuration" }), + svc, + auth, + proto, + ver, + rules, + ), ), ).annotate({ identifier: "GetConfigurationRequest", @@ -835,8 +830,8 @@ export interface ListAssociatedAttributeGroupsRequest { nextToken?: string; maxResults?: number; } -export const ListAssociatedAttributeGroupsRequest = - /*@__PURE__*/ S.suspend(() => +export const ListAssociatedAttributeGroupsRequest = /*@__PURE__*/ S.suspend( + () => S.Struct({ application: S.String.pipe(T.HttpLabel("application")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), @@ -854,48 +849,47 @@ export const ListAssociatedAttributeGroupsRequest = rules, ), ), - ).annotate({ - identifier: "ListAssociatedAttributeGroupsRequest", - }) as any as S.Schema; +).annotate({ + identifier: "ListAssociatedAttributeGroupsRequest", +}) as any as S.Schema; export type AttributeGroupIds = string[]; export const AttributeGroupIds = /*@__PURE__*/ S.Array(S.String); export interface ListAssociatedAttributeGroupsResponse { attributeGroups?: string[]; nextToken?: string; } -export const ListAssociatedAttributeGroupsResponse = - /*@__PURE__*/ S.suspend(() => +export const ListAssociatedAttributeGroupsResponse = /*@__PURE__*/ S.suspend( + () => S.Struct({ attributeGroups: S.optional(AttributeGroupIds), nextToken: S.optional(S.String), }), - ).annotate({ - identifier: "ListAssociatedAttributeGroupsResponse", - }) as any as S.Schema; +).annotate({ + identifier: "ListAssociatedAttributeGroupsResponse", +}) as any as S.Schema; export interface ListAssociatedResourcesRequest { application: string; nextToken?: string; maxResults?: number; } -export const ListAssociatedResourcesRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - application: S.String.pipe(T.HttpLabel("application")), - nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), - maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), - }).pipe( - T.all( - T.Http({ method: "GET", uri: "/applications/{application}/resources" }), - svc, - auth, - proto, - ver, - rules, - ), +export const ListAssociatedResourcesRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + application: S.String.pipe(T.HttpLabel("application")), + nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), + maxResults: S.optional(S.Number).pipe(T.HttpQuery("maxResults")), + }).pipe( + T.all( + T.Http({ method: "GET", uri: "/applications/{application}/resources" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "ListAssociatedResourcesRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "ListAssociatedResourcesRequest", +}) as any as S.Schema; export interface ResourceDetails { tagValue?: string; } @@ -926,15 +920,14 @@ export interface ListAssociatedResourcesResponse { resources?: ResourceInfo[]; nextToken?: string; } -export const ListAssociatedResourcesResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - resources: S.optional(Resources), - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListAssociatedResourcesResponse", - }) as any as S.Schema; +export const ListAssociatedResourcesResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + resources: S.optional(Resources), + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListAssociatedResourcesResponse", +}) as any as S.Schema; export interface ListAttributeGroupsRequest { nextToken?: string; maxResults?: number; @@ -964,22 +957,21 @@ export interface ListAttributeGroupsResponse { attributeGroups?: AttributeGroupSummary[]; nextToken?: string; } -export const ListAttributeGroupsResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - attributeGroups: S.optional(AttributeGroupSummaries), - nextToken: S.optional(S.String), - }), - ).annotate({ - identifier: "ListAttributeGroupsResponse", - }) as any as S.Schema; +export const ListAttributeGroupsResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ + attributeGroups: S.optional(AttributeGroupSummaries), + nextToken: S.optional(S.String), + }), +).annotate({ + identifier: "ListAttributeGroupsResponse", +}) as any as S.Schema; export interface ListAttributeGroupsForApplicationRequest { application: string; nextToken?: string; maxResults?: number; } -export const ListAttributeGroupsForApplicationRequest = - /*@__PURE__*/ S.suspend(() => +export const ListAttributeGroupsForApplicationRequest = /*@__PURE__*/ S.suspend( + () => S.Struct({ application: S.String.pipe(T.HttpLabel("application")), nextToken: S.optional(S.String).pipe(T.HttpQuery("nextToken")), @@ -997,9 +989,9 @@ export const ListAttributeGroupsForApplicationRequest = rules, ), ), - ).annotate({ - identifier: "ListAttributeGroupsForApplicationRequest", - }) as any as S.Schema; +).annotate({ + identifier: "ListAttributeGroupsForApplicationRequest", +}) as any as S.Schema; export interface AttributeGroupDetails { id?: string; arn?: string; @@ -1053,10 +1045,11 @@ export const ListTagsForResourceRequest = /*@__PURE__*/ S.suspend(() => export interface ListTagsForResourceResponse { tags?: { [key: string]: string | undefined }; } -export const ListTagsForResourceResponse = - /*@__PURE__*/ S.suspend(() => S.Struct({ tags: S.optional(Tags) })).annotate({ - identifier: "ListTagsForResourceResponse", - }) as any as S.Schema; +export const ListTagsForResourceResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ tags: S.optional(Tags) }), +).annotate({ + identifier: "ListTagsForResourceResponse", +}) as any as S.Schema; export interface PutConfigurationRequest { configuration: AppRegistryConfiguration; } @@ -1210,61 +1203,64 @@ export interface UpdateAttributeGroupRequest { description?: string; attributes?: string; } -export const UpdateAttributeGroupRequest = - /*@__PURE__*/ S.suspend(() => - S.Struct({ - attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), - name: S.optional(S.String), - description: S.optional(S.String), - attributes: S.optional(S.String), - }).pipe( - T.all( - T.Http({ method: "PATCH", uri: "/attribute-groups/{attributeGroup}" }), - svc, - auth, - proto, - ver, - rules, - ), +export const UpdateAttributeGroupRequest = /*@__PURE__*/ S.suspend(() => + S.Struct({ + attributeGroup: S.String.pipe(T.HttpLabel("attributeGroup")), + name: S.optional(S.String), + description: S.optional(S.String), + attributes: S.optional(S.String), + }).pipe( + T.all( + T.Http({ method: "PATCH", uri: "/attribute-groups/{attributeGroup}" }), + svc, + auth, + proto, + ver, + rules, ), - ).annotate({ - identifier: "UpdateAttributeGroupRequest", - }) as any as S.Schema; + ), +).annotate({ + identifier: "UpdateAttributeGroupRequest", +}) as any as S.Schema; export interface UpdateAttributeGroupResponse { attributeGroup?: AttributeGroup; } -export const UpdateAttributeGroupResponse = - /*@__PURE__*/ S.suspend(() => - S.Struct({ attributeGroup: S.optional(AttributeGroup) }), - ).annotate({ - identifier: "UpdateAttributeGroupResponse", - }) as any as S.Schema; +export const UpdateAttributeGroupResponse = /*@__PURE__*/ S.suspend(() => + S.Struct({ attributeGroup: S.optional(AttributeGroup) }), +).annotate({ + identifier: "UpdateAttributeGroupResponse", +}) as any as S.Schema; //# Errors export class ConflictException extends S.TaggedErrorClass()( "ConflictException", { message: S.optional(S.String) }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServerException extends S.TaggedErrorClass()( "InternalServerException", { message: S.optional(S.String) }, + T.HttpError(500), ).pipe(C.withServerError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { message: S.optional(S.String) }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ServiceQuotaExceededException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", { message: S.optional(S.String) }, + T.HttpError(402), ).pipe(C.withQuotaError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class ThrottlingException extends S.TaggedErrorClass()( "ThrottlingException", - { message: S.String, serviceCode: S.optional(S.String) }, -).pipe(C.withThrottlingError) {} + { message: S.optional(S.String), serviceCode: S.optional(S.String) }, +).pipe(C.withThrottlingError, C.withRetryableError) {} //# Operations export type AssociateAttributeGroupError = @@ -1273,6 +1269,7 @@ export type AssociateAttributeGroupError = | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException + | ThrottlingException | CommonErrors; /** * Associates an attribute group with an application to augment the application's metadata @@ -1293,6 +1290,7 @@ export const associateAttributeGroup: API.OperationMethod< ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, + ThrottlingException, ], operationName: "AssociateAttributeGroup", })); diff --git a/packages/aws/test/client/apigatewaymanagementapi-signing.test.ts b/packages/aws/test/client/apigatewaymanagementapi-signing.test.ts new file mode 100644 index 0000000000..b159c7fabc --- /dev/null +++ b/packages/aws/test/client/apigatewaymanagementapi-signing.test.ts @@ -0,0 +1,87 @@ +import { AwsV4Signer } from "aws4fetch"; +import { describe, expect, it } from "vitest"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Redacted from "effect/Redacted"; +import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse"; +import * as Credentials from "../../src/credentials.browser.ts"; +import { Endpoint } from "../../src/endpoint.ts"; +import { Region } from "../../src/region.ts"; +import { postToConnection } from "../../src/services/apigatewaymanagementapi.ts"; + +const accessKeyId = "AKIDEXAMPLE"; +const secretAccessKey = "test-secret-access-key"; +const endpoint = "https://abc123.execute-api.us-west-2.amazonaws.com/test"; + +describe("ApiGatewayManagementApi signing", () => { + it("hashes PostToConnection's buffered frame in the SigV4 canonical request", async () => { + let captured: + | Parameters[0]>[0] + | undefined; + + const client = HttpClient.make((request) => { + captured = request; + return Effect.succeed( + HttpClientResponse.fromWeb( + request, + new Response(undefined, { + status: 200, + headers: { "content-length": "0" }, + }), + ), + ); + }); + + await Effect.runPromise( + postToConnection({ + ConnectionId: "connection-id==", + Data: "echo:hello-websocket", + }).pipe( + Effect.provide(Layer.succeed(HttpClient.HttpClient, client)), + Effect.provideService( + Credentials.Credentials, + Effect.succeed({ + accessKeyId: Redacted.make(accessKeyId), + secretAccessKey: Redacted.make(secretAccessKey), + sessionToken: undefined, + }), + ), + Effect.provideService(Region, Effect.succeed("us-west-2")), + Effect.provideService(Endpoint, Effect.succeed(endpoint)), + ), + ); + + expect(captured).toBeDefined(); + expect(captured!.url).toBe(`${endpoint}/@connections/connection-id%3D%3D`); + expect(captured!.headers["x-amz-content-sha256"]).toBeUndefined(); + + const datetime = captured!.headers["x-amz-date"]!; + const expected = await new AwsV4Signer({ + method: "POST", + url: captured!.url, + body: "echo:hello-websocket", + accessKeyId, + secretAccessKey, + service: "execute-api", + region: "us-west-2", + datetime, + }).sign(); + + expect(captured!.headers.authorization).toBe( + expected.headers.get("authorization"), + ); + expect( + await new AwsV4Signer({ + method: "POST", + url: captured!.url, + body: "echo:hello-websocket", + accessKeyId, + secretAccessKey, + service: "execute-api", + region: "us-west-2", + datetime, + }).canonicalString(), + ).toContain("/test/%40connections/connection-id%253D%253D"); + }); +}); diff --git a/packages/aws/test/client/bedrock-runtime-signing.test.ts b/packages/aws/test/client/bedrock-runtime-signing.test.ts new file mode 100644 index 0000000000..ce4f26d3d9 --- /dev/null +++ b/packages/aws/test/client/bedrock-runtime-signing.test.ts @@ -0,0 +1,78 @@ +import { AwsV4Signer } from "aws4fetch"; +import { describe, expect, it } from "vitest"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Redacted from "effect/Redacted"; +import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse"; +import * as Credentials from "../../src/credentials.browser.ts"; +import { Endpoint } from "../../src/endpoint.ts"; +import { Region } from "../../src/region.ts"; +import { invokeModel } from "../../src/services/bedrock-runtime.ts"; + +const accessKeyId = "AKIDEXAMPLE"; +const secretAccessKey = "test-secret-access-key"; +const endpoint = "https://bedrock-runtime.us-west-2.amazonaws.com"; + +describe("Bedrock Runtime signing", () => { + it("hashes InvokeModel's buffered body in the SigV4 canonical request", async () => { + let captured: + | Parameters[0]>[0] + | undefined; + + const client = HttpClient.make((request) => { + captured = request; + return Effect.succeed( + HttpClientResponse.fromWeb( + request, + new Response("{}", { + status: 200, + headers: { "content-type": "application/json" }, + }), + ), + ); + }); + const body = JSON.stringify({ prompt: "hello" }); + + await Effect.runPromise( + invokeModel({ + modelId: "us.amazon.nova-micro-v1:0", + contentType: "application/json", + accept: "application/json", + body, + }).pipe( + Effect.provide(Layer.succeed(HttpClient.HttpClient, client)), + Effect.provideService( + Credentials.Credentials, + Effect.succeed({ + accessKeyId: Redacted.make(accessKeyId), + secretAccessKey: Redacted.make(secretAccessKey), + sessionToken: undefined, + }), + ), + Effect.provideService(Region, Effect.succeed("us-west-2")), + Effect.provideService(Endpoint, Effect.succeed(endpoint)), + ), + ); + + expect(captured).toBeDefined(); + expect(captured!.headers["x-amz-content-sha256"]).toBeUndefined(); + + const datetime = captured!.headers["x-amz-date"]!; + const expected = await new AwsV4Signer({ + method: "POST", + url: captured!.url, + body, + headers: { accept: "application/json" }, + accessKeyId, + secretAccessKey, + service: "bedrock", + region: "us-west-2", + datetime, + }).sign(); + + expect(captured!.headers.authorization).toBe( + expected.headers.get("authorization"), + ); + }); +}); diff --git a/packages/aws/test/client/iot-data-plane-signing.test.ts b/packages/aws/test/client/iot-data-plane-signing.test.ts new file mode 100644 index 0000000000..b2500da8e5 --- /dev/null +++ b/packages/aws/test/client/iot-data-plane-signing.test.ts @@ -0,0 +1,72 @@ +import { AwsV4Signer } from "aws4fetch"; +import { describe, expect, it } from "vitest"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Redacted from "effect/Redacted"; +import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse"; +import * as Credentials from "../../src/credentials.browser.ts"; +import { Endpoint } from "../../src/endpoint.ts"; +import { Region } from "../../src/region.ts"; +import { updateThingShadow } from "../../src/services/iot-data-plane.ts"; + +const accessKeyId = "AKIDEXAMPLE"; +const secretAccessKey = "test-secret-access-key"; +const endpoint = "https://data-ats.iot.us-west-2.amazonaws.com"; + +describe("IoT Data Plane signing", () => { + it("hashes UpdateThingShadow's buffered payload in the SigV4 canonical request", async () => { + let captured: + | Parameters[0]>[0] + | undefined; + + const client = HttpClient.make((request) => { + captured = request; + return Effect.succeed( + HttpClientResponse.fromWeb( + request, + new Response("{}", { + status: 200, + headers: { "content-type": "application/json" }, + }), + ), + ); + }); + const payload = JSON.stringify({ state: { desired: { led: "on" } } }); + + await Effect.runPromise( + updateThingShadow({ thingName: "test-thing", payload }).pipe( + Effect.provide(Layer.succeed(HttpClient.HttpClient, client)), + Effect.provideService( + Credentials.Credentials, + Effect.succeed({ + accessKeyId: Redacted.make(accessKeyId), + secretAccessKey: Redacted.make(secretAccessKey), + sessionToken: undefined, + }), + ), + Effect.provideService(Region, Effect.succeed("us-west-2")), + Effect.provideService(Endpoint, Effect.succeed(endpoint)), + ), + ); + + expect(captured).toBeDefined(); + expect(captured!.headers["x-amz-content-sha256"]).toBeUndefined(); + + const datetime = captured!.headers["x-amz-date"]!; + const expected = await new AwsV4Signer({ + method: "POST", + url: captured!.url, + body: payload, + accessKeyId, + secretAccessKey, + service: "iotdata", + region: "us-west-2", + datetime, + }).sign(); + + expect(captured!.headers.authorization).toBe( + expected.headers.get("authorization"), + ); + }); +}); diff --git a/packages/aws/test/client/iot-wireless-signing.test.ts b/packages/aws/test/client/iot-wireless-signing.test.ts new file mode 100644 index 0000000000..9daed36e97 --- /dev/null +++ b/packages/aws/test/client/iot-wireless-signing.test.ts @@ -0,0 +1,79 @@ +import { AwsV4Signer } from "aws4fetch"; +import { describe, expect, it } from "vitest"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Redacted from "effect/Redacted"; +import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse"; +import * as Credentials from "../../src/credentials.browser.ts"; +import { Endpoint } from "../../src/endpoint.ts"; +import { Region } from "../../src/region.ts"; +import { updateResourcePosition } from "../../src/services/iot-wireless.ts"; + +const accessKeyId = "AKIDEXAMPLE"; +const secretAccessKey = "test-secret-access-key"; +const endpoint = "https://api.iotwireless.us-west-2.amazonaws.com"; + +describe("IoT Wireless signing", () => { + it("hashes UpdateResourcePosition's buffered GeoJSON payload", async () => { + let captured: + | Parameters[0]>[0] + | undefined; + + const client = HttpClient.make((request) => { + captured = request; + return Effect.succeed( + HttpClientResponse.fromWeb( + request, + new Response(undefined, { + status: 200, + headers: { "content-length": "0" }, + }), + ), + ); + }); + const body = JSON.stringify({ + type: "Point", + coordinates: [-122.33, 47.61, 10], + }); + + await Effect.runPromise( + updateResourcePosition({ + ResourceIdentifier: "device-id", + ResourceType: "WirelessDevice", + GeoJsonPayload: body, + }).pipe( + Effect.provide(Layer.succeed(HttpClient.HttpClient, client)), + Effect.provideService( + Credentials.Credentials, + Effect.succeed({ + accessKeyId: Redacted.make(accessKeyId), + secretAccessKey: Redacted.make(secretAccessKey), + sessionToken: undefined, + }), + ), + Effect.provideService(Region, Effect.succeed("us-west-2")), + Effect.provideService(Endpoint, Effect.succeed(endpoint)), + ), + ); + + expect(captured).toBeDefined(); + expect(captured!.headers["x-amz-content-sha256"]).toBeUndefined(); + + const datetime = captured!.headers["x-amz-date"]!; + const expected = await new AwsV4Signer({ + method: "PATCH", + url: `${captured!.url}?resourceType=WirelessDevice`, + body, + accessKeyId, + secretAccessKey, + service: "iotwireless", + region: "us-west-2", + datetime, + }).sign(); + + expect(captured!.headers.authorization).toBe( + expected.headers.get("authorization"), + ); + }); +}); diff --git a/packages/aws/test/client/lambda-signing.test.ts b/packages/aws/test/client/lambda-signing.test.ts new file mode 100644 index 0000000000..6b11b822a3 --- /dev/null +++ b/packages/aws/test/client/lambda-signing.test.ts @@ -0,0 +1,77 @@ +import { AwsV4Signer } from "aws4fetch"; +import { describe, expect, it } from "vitest"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Redacted from "effect/Redacted"; +import * as HttpClient from "effect/unstable/http/HttpClient"; +import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse"; +import * as Credentials from "../../src/credentials.browser.ts"; +import { Endpoint } from "../../src/endpoint.ts"; +import { Region } from "../../src/region.ts"; +import { invoke } from "../../src/services/lambda.ts"; + +const accessKeyId = "AKIDEXAMPLE"; +const secretAccessKey = "test-secret-access-key"; +const endpoint = "https://lambda.us-west-2.amazonaws.com"; + +describe("Lambda signing", () => { + it("hashes Invoke's buffered payload in the SigV4 canonical request", async () => { + let captured: + | Parameters[0]>[0] + | undefined; + + const client = HttpClient.make((request) => { + captured = request; + return Effect.succeed( + HttpClientResponse.fromWeb( + request, + new Response(undefined, { + status: 200, + headers: { "content-length": "0" }, + }), + ), + ); + }); + const body = JSON.stringify({ operation: "durable-test" }); + + await Effect.runPromise( + invoke({ + FunctionName: "test-function", + DurableExecutionName: "stable-execution", + Payload: body, + }).pipe( + Effect.provide(Layer.succeed(HttpClient.HttpClient, client)), + Effect.provideService( + Credentials.Credentials, + Effect.succeed({ + accessKeyId: Redacted.make(accessKeyId), + secretAccessKey: Redacted.make(secretAccessKey), + sessionToken: undefined, + }), + ), + Effect.provideService(Region, Effect.succeed("us-west-2")), + Effect.provideService(Endpoint, Effect.succeed(endpoint)), + ), + ); + + expect(captured).toBeDefined(); + expect(captured!.headers["x-amz-content-sha256"]).toBeUndefined(); + + const datetime = captured!.headers["x-amz-date"]!; + const expected = await new AwsV4Signer({ + method: "POST", + url: captured!.url, + body, + headers: { "x-amz-durable-execution-name": "stable-execution" }, + accessKeyId, + secretAccessKey, + service: "lambda", + region: "us-west-2", + datetime, + }).sign(); + + expect(captured!.headers.authorization).toBe( + expected.headers.get("authorization"), + ); + }); +}); From 869b33fd00f42e9d2b170efb1a13a428d655dd81 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 01:24:32 -0700 Subject: [PATCH 55/63] fix(aws): type transient IVS and Omics errors Model IVS playback-key deletion internal failures and Omics analytics rate limits so consumers can apply bounded typed retries instead of receiving UnknownAwsError. --- packages/aws/patches/ivs.json | 4 +++- packages/aws/patches/omics.json | 10 ++++++++++ packages/aws/src/services/ivs.ts | 2 ++ packages/aws/src/services/omics.ts | 6 ++++++ 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 packages/aws/patches/omics.json diff --git a/packages/aws/patches/ivs.json b/packages/aws/patches/ivs.json index cd78ded132..e34358d1f9 100644 --- a/packages/aws/patches/ivs.json +++ b/packages/aws/patches/ivs.json @@ -5,7 +5,9 @@ "createStreamKey": { "errors": ["ThrottlingException"] }, "deleteAdConfiguration": { "errors": ["ThrottlingException"] }, "deleteChannel": { "errors": ["ThrottlingException"] }, - "deletePlaybackKeyPair": { "errors": ["ThrottlingException"] }, + "deletePlaybackKeyPair": { + "errors": ["ThrottlingException", "InternalServerException"] + }, "deletePlaybackRestrictionPolicy": { "errors": ["ThrottlingException"] }, "deleteRecordingConfiguration": { "errors": ["ThrottlingException"] }, "deleteStreamKey": { "errors": ["ThrottlingException"] }, diff --git a/packages/aws/patches/omics.json b/packages/aws/patches/omics.json new file mode 100644 index 0000000000..1b5ebfd80f --- /dev/null +++ b/packages/aws/patches/omics.json @@ -0,0 +1,10 @@ +{ + "errorCategories": { + "TooManyRequestsException": ["ThrottlingError", "RetryableError"] + }, + "operations": { + "getVariantStore": { + "errors": ["TooManyRequestsException"] + } + } +} diff --git a/packages/aws/src/services/ivs.ts b/packages/aws/src/services/ivs.ts index 685c4ea580..bc8ac3155f 100644 --- a/packages/aws/src/services/ivs.ts +++ b/packages/aws/src/services/ivs.ts @@ -2659,6 +2659,7 @@ export type DeletePlaybackKeyPairError = | ResourceNotFoundException | ValidationException | ThrottlingException + | InternalServerException | CommonErrors; /** * Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s `privateKey`. For more information, see Setting Up Private Channels in the *Amazon IVS User Guide*. @@ -2677,6 +2678,7 @@ export const deletePlaybackKeyPair: API.OperationMethod< ResourceNotFoundException, ValidationException, ThrottlingException, + InternalServerException, ], operationName: "DeletePlaybackKeyPair", })); diff --git a/packages/aws/src/services/omics.ts b/packages/aws/src/services/omics.ts index b0d5aa7213..714a0ef915 100644 --- a/packages/aws/src/services/omics.ts +++ b/packages/aws/src/services/omics.ts @@ -6695,6 +6695,10 @@ export class RangeNotSatisfiableException extends S.TaggedErrorClass()( + "TooManyRequestsException", + {}, +).pipe(C.withThrottlingError, C.withRetryableError) {} //# Operations export type DeleteS3AccessPolicyError = @@ -10275,6 +10279,7 @@ export type GetVariantStoreError = | ResourceNotFoundException | ThrottlingException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. @@ -10295,6 +10300,7 @@ export const getVariantStore: API.OperationMethod< ResourceNotFoundException, ThrottlingException, ValidationException, + TooManyRequestsException, ], operationName: "GetVariantStore", endpointHostPrefix: "analytics-", From 859a3b5c8dc2c5ce114d7208dd3c5dde34e09375 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 02:06:34 -0700 Subject: [PATCH 56/63] fix(aws): match current Batch queue validation errors --- packages/aws/patches/batch.json | 2 +- packages/aws/src/services/batch.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws/patches/batch.json b/packages/aws/patches/batch.json index 7d28cb24db..adb08891d4 100644 --- a/packages/aws/patches/batch.json +++ b/packages/aws/patches/batch.json @@ -42,7 +42,7 @@ "name": "ComputeEnvironmentNotValid", "from": "ClientException", "message": { - "includes": "must be created and valid before attaching" + "matches": "must be (created and )?valid before attaching" } }, { diff --git a/packages/aws/src/services/batch.ts b/packages/aws/src/services/batch.ts index 679bf9223a..ca30a69fd7 100644 --- a/packages/aws/src/services/batch.ts +++ b/packages/aws/src/services/batch.ts @@ -4927,7 +4927,7 @@ export class ComputeEnvironmentNotValid extends S.TaggedErrorClass()( From b481225560d370d7cec0bee3501196c000cdb75d Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 04:14:01 -0700 Subject: [PATCH 57/63] fix(aws): preserve SQS invalid parameter messages --- packages/aws/patches/sqs.json | 5 +++++ packages/aws/src/services/sqs.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/aws/patches/sqs.json b/packages/aws/patches/sqs.json index ae5e6556c9..5a45fb6aa5 100644 --- a/packages/aws/patches/sqs.json +++ b/packages/aws/patches/sqs.json @@ -54,6 +54,11 @@ ] } }, + "errors": { + "InvalidParameterValueException": { + "message": { "type": "string" } + } + }, "structures": { "SendMessageBatchResult": { "members": { diff --git a/packages/aws/src/services/sqs.ts b/packages/aws/src/services/sqs.ts index b7068b8c59..54b6bf13bb 100644 --- a/packages/aws/src/services/sqs.ts +++ b/packages/aws/src/services/sqs.ts @@ -1114,7 +1114,7 @@ export class RequestLimitExceeded extends S.TaggedErrorClass()( "InvalidParameterValueException", - {}, + { message: S.optional(S.String) }, ).pipe(C.withBadRequestError) {} export class MessageNotInflight extends S.TaggedErrorClass()( "MessageNotInflight", From dd0ebb72eb4207d0a18d05b8f857afdd4eff3ad3 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 04:52:43 -0700 Subject: [PATCH 58/63] fix(aws): type and retry OAM throttling --- packages/aws/patches/oam.json | 22 ++++++++++++ packages/aws/src/services/oam.ts | 57 ++++++++++++++++++++++++++++---- 2 files changed, 73 insertions(+), 6 deletions(-) create mode 100644 packages/aws/patches/oam.json diff --git a/packages/aws/patches/oam.json b/packages/aws/patches/oam.json new file mode 100644 index 0000000000..25e6250b01 --- /dev/null +++ b/packages/aws/patches/oam.json @@ -0,0 +1,22 @@ +{ + "errorCategories": { + "TooManyRequestsException": ["ThrottlingError", "RetryableError"] + }, + "operations": { + "createLink": { "errors": ["TooManyRequestsException"] }, + "createSink": { "errors": ["TooManyRequestsException"] }, + "deleteLink": { "errors": ["TooManyRequestsException"] }, + "deleteSink": { "errors": ["TooManyRequestsException"] }, + "getLink": { "errors": ["TooManyRequestsException"] }, + "getSink": { "errors": ["TooManyRequestsException"] }, + "getSinkPolicy": { "errors": ["TooManyRequestsException"] }, + "listAttachedLinks": { "errors": ["TooManyRequestsException"] }, + "listLinks": { "errors": ["TooManyRequestsException"] }, + "listSinks": { "errors": ["TooManyRequestsException"] }, + "listTagsForResource": { "errors": ["TooManyRequestsException"] }, + "putSinkPolicy": { "errors": ["TooManyRequestsException"] }, + "tagResource": { "errors": ["TooManyRequestsException"] }, + "untagResource": { "errors": ["TooManyRequestsException"] }, + "updateLink": { "errors": ["TooManyRequestsException"] } + } +} diff --git a/packages/aws/src/services/oam.ts b/packages/aws/src/services/oam.ts index 9e4649ac2d..4542bba486 100644 --- a/packages/aws/src/services/oam.ts +++ b/packages/aws/src/services/oam.ts @@ -425,10 +425,7 @@ export interface ListAttachedLinksOutput { NextToken?: string; } export const ListAttachedLinksOutput = /*@__PURE__*/ S.suspend(() => - S.Struct({ - Items: ListAttachedLinksItems, - NextToken: S.optional(S.String), - }), + S.Struct({ Items: ListAttachedLinksItems, NextToken: S.optional(S.String) }), ).annotate({ identifier: "ListAttachedLinksOutput", }) as any as S.Schema; @@ -690,6 +687,7 @@ export class ConflictException extends S.TaggedErrorClass()( Message: S.optional(S.String), amznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), }, + T.HttpError(409), ).pipe(C.withConflictError) {} export class InternalServiceFault extends S.TaggedErrorClass()( "InternalServiceFault", @@ -697,6 +695,7 @@ export class InternalServiceFault extends S.TaggedErrorClass()( "InvalidParameterException", @@ -704,6 +703,7 @@ export class InvalidParameterException extends S.TaggedErrorClass()( "MissingRequiredParameterException", @@ -711,6 +711,7 @@ export class MissingRequiredParameterException extends S.TaggedErrorClass()( "ServiceQuotaExceededException", @@ -718,21 +719,29 @@ export class ServiceQuotaExceededException extends S.TaggedErrorClass()( + "TooManyRequestsException", + {}, +).pipe(C.withThrottlingError, C.withRetryableError) {} export class ResourceNotFoundException extends S.TaggedErrorClass()( "ResourceNotFoundException", { Message: S.optional(S.String), amznErrorType: S.optional(S.String).pipe(T.HttpHeader("x-amzn-ErrorType")), }, + T.HttpError(404), ).pipe(C.withBadRequestError) {} export class ValidationException extends S.TaggedErrorClass()( "ValidationException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} export class TooManyTagsException extends S.TaggedErrorClass()( "TooManyTagsException", { Message: S.optional(S.String) }, + T.HttpError(400), ).pipe(C.withBadRequestError) {} //# Operations @@ -742,6 +751,7 @@ export type CreateLinkError = | InvalidParameterException | MissingRequiredParameterException | ServiceQuotaExceededException + | TooManyRequestsException | CommonErrors; /** * Creates a link between a source account and a sink that you have created in a monitoring account. After the link is created, data is sent from the source account to the monitoring account. When you create a link, you can optionally specify filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account. @@ -768,6 +778,7 @@ export const createLink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ServiceQuotaExceededException, + TooManyRequestsException, ], operationName: "CreateLink", })); @@ -777,6 +788,7 @@ export type CreateSinkError = | InvalidParameterException | MissingRequiredParameterException | ServiceQuotaExceededException + | TooManyRequestsException | CommonErrors; /** * Use this to create a *sink* in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account. Source accounts can link to the sink to send observability data. @@ -799,6 +811,7 @@ export const createSink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ServiceQuotaExceededException, + TooManyRequestsException, ], operationName: "CreateSink", })); @@ -807,6 +820,7 @@ export type DeleteLinkError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Deletes a link between a monitoring account sink and a source account. You must run this operation in the source account. @@ -824,6 +838,7 @@ export const deleteLink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "DeleteLink", })); @@ -833,6 +848,7 @@ export type DeleteSinkError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Deletes a sink. You must delete all links to a sink before you can delete that sink. @@ -851,6 +867,7 @@ export const deleteSink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "DeleteSink", })); @@ -859,6 +876,7 @@ export type GetLinkError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Returns complete information about one link. @@ -878,6 +896,7 @@ export const getLink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "GetLink", })); @@ -886,6 +905,7 @@ export type GetSinkError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Returns complete information about one monitoring account sink. @@ -905,6 +925,7 @@ export const getSink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "GetSink", })); @@ -913,6 +934,7 @@ export type GetSinkPolicyError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Returns the current sink policy attached to this sink. The sink policy specifies what accounts can attach to this sink as source accounts, and what types of data they can share. @@ -930,6 +952,7 @@ export const getSinkPolicy: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "GetSinkPolicy", })); @@ -938,6 +961,7 @@ export type ListAttachedLinksError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Returns a list of source account links that are linked to this monitoring account sink. @@ -974,6 +998,7 @@ export const listAttachedLinks: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "ListAttachedLinks", pagination: { @@ -987,6 +1012,7 @@ export type ListLinksError = | InternalServiceFault | InvalidParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Use this operation in a source account to return a list of links to monitoring account sinks that this source account has. @@ -1020,6 +1046,7 @@ export const listLinks: API.OperationMethod< InternalServiceFault, InvalidParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "ListLinks", pagination: { @@ -1033,6 +1060,7 @@ export type ListSinksError = | InternalServiceFault | InvalidParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Use this operation in a monitoring account to return the list of sinks created in that account. @@ -1064,6 +1092,7 @@ export const listSinks: API.OperationMethod< InternalServiceFault, InvalidParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "ListSinks", pagination: { @@ -1076,6 +1105,7 @@ export const listSinks: API.OperationMethod< export type ListTagsForResourceError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Displays the tags associated with a resource. Both sinks and links support tagging. @@ -1088,7 +1118,11 @@ export const listTagsForResource: API.OperationMethod< > = /*@__PURE__*/ API.make(() => ({ input: ListTagsForResourceInput, output: ListTagsForResourceOutput, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "ListTagsForResource", })); export type PutSinkPolicyError = @@ -1096,6 +1130,7 @@ export type PutSinkPolicyError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Creates or updates the resource policy that grants permissions to source accounts to link to the monitoring account sink. When you create a sink policy, you can grant permissions to all accounts in an organization or to individual accounts. @@ -1129,6 +1164,7 @@ export const putSinkPolicy: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "PutSinkPolicy", })); @@ -1136,6 +1172,7 @@ export type TagResourceError = | ResourceNotFoundException | TooManyTagsException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Assigns one or more tags (key-value pairs) to the specified resource. Both sinks and links can be tagged. @@ -1162,12 +1199,14 @@ export const tagResource: API.OperationMethod< ResourceNotFoundException, TooManyTagsException, ValidationException, + TooManyRequestsException, ], operationName: "TagResource", })); export type UntagResourceError = | ResourceNotFoundException | ValidationException + | TooManyRequestsException | CommonErrors; /** * Removes one or more tags from the specified resource. @@ -1182,7 +1221,11 @@ export const untagResource: API.OperationMethod< > = /*@__PURE__*/ API.make(() => ({ input: UntagResourceInput, output: UntagResourceOutput, - errors: [ResourceNotFoundException, ValidationException], + errors: [ + ResourceNotFoundException, + ValidationException, + TooManyRequestsException, + ], operationName: "UntagResource", })); export type UpdateLinkError = @@ -1190,6 +1233,7 @@ export type UpdateLinkError = | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException + | TooManyRequestsException | CommonErrors; /** * Use this operation to change what types of data are shared from a source account to its linked monitoring account sink. You can't change the sink or change the monitoring account with this operation. @@ -1211,6 +1255,7 @@ export const updateLink: API.OperationMethod< InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, + TooManyRequestsException, ], operationName: "UpdateLink", })); From 48873191da603de30f8149c575d0ceab3d834797 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 05:00:52 -0700 Subject: [PATCH 59/63] fix(aws): type transient Glue crawler target validation --- packages/aws/patches/glue.json | 13 ++++++++++++- packages/aws/src/services/glue.ts | 15 +++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/packages/aws/patches/glue.json b/packages/aws/patches/glue.json index 5e9da90b76..7287f0d323 100644 --- a/packages/aws/patches/glue.json +++ b/packages/aws/patches/glue.json @@ -6,6 +6,11 @@ "name": "GlueRoleNotAssumable", "from": "InvalidInputException", "message": { "includes": "unable to assume" } + }, + { + "name": "GlueS3TargetNotReady", + "from": "InvalidInputException", + "message": { "includes": "InvalidAccessKeyId" } } ] }, @@ -15,6 +20,11 @@ "name": "GlueRoleNotAssumable", "from": "InvalidInputException", "message": { "includes": "unable to assume" } + }, + { + "name": "GlueS3TargetNotReady", + "from": "InvalidInputException", + "message": { "includes": "InvalidAccessKeyId" } } ] }, @@ -47,6 +57,7 @@ } }, "errorCategories": { - "GlueRoleNotAssumable": ["RetryableError"] + "GlueRoleNotAssumable": ["RetryableError"], + "GlueS3TargetNotReady": ["RetryableError"] } } diff --git a/packages/aws/src/services/glue.ts b/packages/aws/src/services/glue.ts index c97ec29c5b..150c830003 100644 --- a/packages/aws/src/services/glue.ts +++ b/packages/aws/src/services/glue.ts @@ -18445,6 +18445,17 @@ export class GlueRoleNotAssumable extends S.TaggedErrorClass()( + "GlueS3TargetNotReady", + { + Message: S.optional(S.String), + FromFederationSource: S.optional(S.Boolean), + }, + T.SyntheticError({ + from: "InvalidInputException", + message: { includes: "InvalidAccessKeyId" }, + }), +).pipe(C.withRetryableError) {} export class IdempotentParameterMismatchException extends S.TaggedErrorClass()( "IdempotentParameterMismatchException", { Message: S.optional(S.String) }, @@ -19384,6 +19395,7 @@ export type CreateCrawlerError = | OperationTimeoutException | ResourceNumberLimitExceededException | GlueRoleNotAssumable + | GlueS3TargetNotReady | CommonErrors; /** * Creates a new crawler with specified targets, role, configuration, and optional schedule. @@ -19404,6 +19416,7 @@ export const createCrawler: API.OperationMethod< OperationTimeoutException, ResourceNumberLimitExceededException, GlueRoleNotAssumable, + GlueS3TargetNotReady, ], operationName: "CreateCrawler", })); @@ -27221,6 +27234,7 @@ export type UpdateCrawlerError = | OperationTimeoutException | VersionMismatchException | GlueRoleNotAssumable + | GlueS3TargetNotReady | CommonErrors; /** * Updates a crawler. If a crawler is @@ -27242,6 +27256,7 @@ export const updateCrawler: API.OperationMethod< OperationTimeoutException, VersionMismatchException, GlueRoleNotAssumable, + GlueS3TargetNotReady, ], operationName: "UpdateCrawler", })); From 136956b62865c53a2c55dbb8490653abb93b94c8 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 11:03:55 -0700 Subject: [PATCH 60/63] fix(aws): type Batch delete not-found races --- packages/aws/patches/batch.json | 19 ++++++++++++++++++- packages/aws/src/services/batch.ts | 10 +++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/packages/aws/patches/batch.json b/packages/aws/patches/batch.json index adb08891d4..638b24855a 100644 --- a/packages/aws/patches/batch.json +++ b/packages/aws/patches/batch.json @@ -20,6 +20,13 @@ }, "deleteComputeEnvironment": { "syntheticErrors": [ + { + "name": "ComputeEnvironmentNotFound", + "from": "ClientException", + "message": { + "matches": "compute-environment/.* does not exist" + } + }, { "name": "ComputeEnvironmentInUse", "from": "ClientException", @@ -74,6 +81,13 @@ }, "deleteJobQueue": { "syntheticErrors": [ + { + "name": "JobQueueNotFound", + "from": "ClientException", + "message": { + "matches": "job-queue/.* does not exist" + } + }, { "name": "JobQueueBeingModified", "from": "ClientException", @@ -88,7 +102,10 @@ "ComputeEnvironmentNotFound": ["NotFoundError"], "ComputeEnvironmentBeingModified": ["ConflictError", "RetryableError"], "ComputeEnvironmentInUse": ["DependencyViolationError", "RetryableError"], - "ComputeEnvironmentNotValid": ["DependencyViolationError", "RetryableError"], + "ComputeEnvironmentNotValid": [ + "DependencyViolationError", + "RetryableError" + ], "JobQueueNotFound": ["NotFoundError"], "JobQueueAlreadyExists": ["AlreadyExistsError", "ConflictError"], "JobQueueBeingModified": ["ConflictError", "RetryableError"] diff --git a/packages/aws/src/services/batch.ts b/packages/aws/src/services/batch.ts index ca30a69fd7..625b3863e5 100644 --- a/packages/aws/src/services/batch.ts +++ b/packages/aws/src/services/batch.ts @@ -5158,6 +5158,7 @@ export const createServiceEnvironment: API.OperationMethod< export type DeleteComputeEnvironmentError = | ClientException | ServerException + | ComputeEnvironmentNotFound | ComputeEnvironmentInUse | ComputeEnvironmentBeingModified | CommonErrors; @@ -5182,6 +5183,7 @@ export const deleteComputeEnvironment: API.OperationMethod< errors: [ ClientException, ServerException, + ComputeEnvironmentNotFound, ComputeEnvironmentInUse, ComputeEnvironmentBeingModified, ], @@ -5208,6 +5210,7 @@ export const deleteConsumableResource: API.OperationMethod< export type DeleteJobQueueError = | ClientException | ServerException + | JobQueueNotFound | JobQueueBeingModified | CommonErrors; /** @@ -5226,7 +5229,12 @@ export const deleteJobQueue: API.OperationMethod< > = /*@__PURE__*/ API.make(() => ({ input: DeleteJobQueueRequest, output: DeleteJobQueueResponse, - errors: [ClientException, ServerException, JobQueueBeingModified], + errors: [ + ClientException, + ServerException, + JobQueueNotFound, + JobQueueBeingModified, + ], operationName: "DeleteJobQueue", })); export type DeleteQuotaShareError = From fb118a1958137dcc1da33cf85d566f5f1a674f0d Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 15:12:34 -0700 Subject: [PATCH 61/63] fix(aws): type Amplify front-door TimeoutException (API Gateway 504) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Amplify's control plane sits behind API Gateway, which times out slow calls with HTTP 504, x-amzn-errortype TimeoutException, body 'Endpoint request timed out' — previously an UnknownAwsError. Add the typed tag (optional message) to all 37 amplify operations. Deliberately no errorCategories: auto-retrying at the client would blindly re-run the non-idempotent CreateApp; the alchemy provider owns the observe-then- retry loop instead. Co-Authored-By: Claude Fable 5 --- packages/aws/patches/amplify.json | 44 ++++++++++++++++ packages/aws/src/services/amplify.ts | 78 ++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) diff --git a/packages/aws/patches/amplify.json b/packages/aws/patches/amplify.json index 9e8079fbf2..30069d503e 100644 --- a/packages/aws/patches/amplify.json +++ b/packages/aws/patches/amplify.json @@ -1,4 +1,48 @@ { + "operations": { + "createApp": { "errors": ["TimeoutException"] }, + "createBackendEnvironment": { "errors": ["TimeoutException"] }, + "createBranch": { "errors": ["TimeoutException"] }, + "createDeployment": { "errors": ["TimeoutException"] }, + "createDomainAssociation": { "errors": ["TimeoutException"] }, + "createWebhook": { "errors": ["TimeoutException"] }, + "deleteApp": { "errors": ["TimeoutException"] }, + "deleteBackendEnvironment": { "errors": ["TimeoutException"] }, + "deleteBranch": { "errors": ["TimeoutException"] }, + "deleteDomainAssociation": { "errors": ["TimeoutException"] }, + "deleteJob": { "errors": ["TimeoutException"] }, + "deleteWebhook": { "errors": ["TimeoutException"] }, + "generateAccessLogs": { "errors": ["TimeoutException"] }, + "getApp": { "errors": ["TimeoutException"] }, + "getArtifactUrl": { "errors": ["TimeoutException"] }, + "getBackendEnvironment": { "errors": ["TimeoutException"] }, + "getBranch": { "errors": ["TimeoutException"] }, + "getDomainAssociation": { "errors": ["TimeoutException"] }, + "getJob": { "errors": ["TimeoutException"] }, + "getWebhook": { "errors": ["TimeoutException"] }, + "listApps": { "errors": ["TimeoutException"] }, + "listArtifacts": { "errors": ["TimeoutException"] }, + "listBackendEnvironments": { "errors": ["TimeoutException"] }, + "listBranches": { "errors": ["TimeoutException"] }, + "listDomainAssociations": { "errors": ["TimeoutException"] }, + "listJobs": { "errors": ["TimeoutException"] }, + "listTagsForResource": { "errors": ["TimeoutException"] }, + "listWebhooks": { "errors": ["TimeoutException"] }, + "startDeployment": { "errors": ["TimeoutException"] }, + "startJob": { "errors": ["TimeoutException"] }, + "stopJob": { "errors": ["TimeoutException"] }, + "tagResource": { "errors": ["TimeoutException"] }, + "untagResource": { "errors": ["TimeoutException"] }, + "updateApp": { "errors": ["TimeoutException"] }, + "updateBranch": { "errors": ["TimeoutException"] }, + "updateDomainAssociation": { "errors": ["TimeoutException"] }, + "updateWebhook": { "errors": ["TimeoutException"] } + }, + "errors": { + "TimeoutException": { + "message": { "type": "string" } + } + }, "structures": { "App": { "members": { diff --git a/packages/aws/src/services/amplify.ts b/packages/aws/src/services/amplify.ts index c18523d9df..0da11be4c1 100644 --- a/packages/aws/src/services/amplify.ts +++ b/packages/aws/src/services/amplify.ts @@ -2098,6 +2098,10 @@ export class UnauthorizedException extends S.TaggedErrorClass()( + "TimeoutException", + { message: S.optional(S.String) }, +) {} export class NotFoundException extends S.TaggedErrorClass()( "NotFoundException", { message: S.optional(S.String) }, @@ -2116,6 +2120,7 @@ export type CreateAppError = | InternalFailureException | LimitExceededException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a new Amplify app. @@ -2134,6 +2139,7 @@ export const createApp: API.OperationMethod< InternalFailureException, LimitExceededException, UnauthorizedException, + TimeoutException, ], operationName: "CreateApp", })); @@ -2143,6 +2149,7 @@ export type CreateBackendEnvironmentError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a new backend environment for an Amplify app. @@ -2167,6 +2174,7 @@ export const createBackendEnvironment: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "CreateBackendEnvironment", })); @@ -2177,6 +2185,7 @@ export type CreateBranchError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a new branch for an Amplify app. @@ -2196,6 +2205,7 @@ export const createBranch: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "CreateBranch", })); @@ -2204,6 +2214,7 @@ export type CreateDeploymentError = | InternalFailureException | LimitExceededException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a deployment for a manually deployed Amplify app. Manually deployed apps are @@ -2227,6 +2238,7 @@ export const createDeployment: API.OperationMethod< InternalFailureException, LimitExceededException, UnauthorizedException, + TimeoutException, ], operationName: "CreateDeployment", })); @@ -2237,6 +2249,7 @@ export type CreateDomainAssociationError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a new domain association for an Amplify app. This action associates a custom @@ -2257,6 +2270,7 @@ export const createDomainAssociation: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "CreateDomainAssociation", })); @@ -2267,6 +2281,7 @@ export type CreateWebhookError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a new webhook on an Amplify app. @@ -2286,6 +2301,7 @@ export const createWebhook: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "CreateWebhook", })); @@ -2295,6 +2311,7 @@ export type DeleteAppError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Deletes an existing Amplify app specified by an app ID. @@ -2313,6 +2330,7 @@ export const deleteApp: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "DeleteApp", })); @@ -2322,6 +2340,7 @@ export type DeleteBackendEnvironmentError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Deletes a backend environment for an Amplify app. @@ -2346,6 +2365,7 @@ export const deleteBackendEnvironment: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "DeleteBackendEnvironment", })); @@ -2355,6 +2375,7 @@ export type DeleteBranchError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Deletes a branch for an Amplify app. @@ -2373,6 +2394,7 @@ export const deleteBranch: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "DeleteBranch", })); @@ -2382,6 +2404,7 @@ export type DeleteDomainAssociationError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Deletes a domain association for an Amplify app. @@ -2400,6 +2423,7 @@ export const deleteDomainAssociation: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "DeleteDomainAssociation", })); @@ -2409,6 +2433,7 @@ export type DeleteJobError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Deletes a job for a branch of an Amplify app. @@ -2427,6 +2452,7 @@ export const deleteJob: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "DeleteJob", })); @@ -2436,6 +2462,7 @@ export type DeleteWebhookError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Deletes a webhook. @@ -2454,6 +2481,7 @@ export const deleteWebhook: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "DeleteWebhook", })); @@ -2462,6 +2490,7 @@ export type GenerateAccessLogsError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns the website access logs for a specific time range using a presigned URL. @@ -2479,6 +2508,7 @@ export const generateAccessLogs: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GenerateAccessLogs", })); @@ -2487,6 +2517,7 @@ export type GetAppError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns an existing Amplify app specified by an app ID. @@ -2504,6 +2535,7 @@ export const getApp: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetApp", })); @@ -2513,6 +2545,7 @@ export type GetArtifactUrlError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns the artifact info that corresponds to an artifact id. @@ -2531,6 +2564,7 @@ export const getArtifactUrl: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetArtifactUrl", })); @@ -2539,6 +2573,7 @@ export type GetBackendEnvironmentError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns a backend environment for an Amplify app. @@ -2562,6 +2597,7 @@ export const getBackendEnvironment: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetBackendEnvironment", })); @@ -2570,6 +2606,7 @@ export type GetBranchError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns a branch for an Amplify app. @@ -2587,6 +2624,7 @@ export const getBranch: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetBranch", })); @@ -2595,6 +2633,7 @@ export type GetDomainAssociationError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns the domain information for an Amplify app. @@ -2612,6 +2651,7 @@ export const getDomainAssociation: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetDomainAssociation", })); @@ -2621,6 +2661,7 @@ export type GetJobError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns a job for a branch of an Amplify app. @@ -2639,6 +2680,7 @@ export const getJob: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetJob", })); @@ -2648,6 +2690,7 @@ export type GetWebhookError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns the webhook information that corresponds to a specified webhook ID. @@ -2666,6 +2709,7 @@ export const getWebhook: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "GetWebhook", })); @@ -2673,6 +2717,7 @@ export type ListAppsError = | BadRequestException | InternalFailureException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns a list of the existing Amplify apps. @@ -2704,6 +2749,7 @@ export const listApps: API.OperationMethod< BadRequestException, InternalFailureException, UnauthorizedException, + TimeoutException, ], operationName: "ListApps", pagination: { @@ -2718,6 +2764,7 @@ export type ListArtifactsError = | InternalFailureException | LimitExceededException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns a list of end-to-end testing artifacts for a specified app, branch, and @@ -2742,6 +2789,7 @@ export const listArtifacts: API.OperationMethod< InternalFailureException, LimitExceededException, UnauthorizedException, + TimeoutException, ], operationName: "ListArtifacts", })); @@ -2749,6 +2797,7 @@ export type ListBackendEnvironmentsError = | BadRequestException | InternalFailureException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Lists the backend environments for an Amplify app. @@ -2771,6 +2820,7 @@ export const listBackendEnvironments: API.OperationMethod< BadRequestException, InternalFailureException, UnauthorizedException, + TimeoutException, ], operationName: "ListBackendEnvironments", })); @@ -2778,6 +2828,7 @@ export type ListBranchesError = | BadRequestException | InternalFailureException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Lists the branches of an Amplify app. @@ -2809,6 +2860,7 @@ export const listBranches: API.OperationMethod< BadRequestException, InternalFailureException, UnauthorizedException, + TimeoutException, ], operationName: "ListBranches", pagination: { @@ -2822,6 +2874,7 @@ export type ListDomainAssociationsError = | BadRequestException | InternalFailureException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns the domain associations for an Amplify app. @@ -2853,6 +2906,7 @@ export const listDomainAssociations: API.OperationMethod< BadRequestException, InternalFailureException, UnauthorizedException, + TimeoutException, ], operationName: "ListDomainAssociations", pagination: { @@ -2867,6 +2921,7 @@ export type ListJobsError = | InternalFailureException | LimitExceededException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Lists the jobs for a branch of an Amplify app. @@ -2899,6 +2954,7 @@ export const listJobs: API.OperationMethod< InternalFailureException, LimitExceededException, UnauthorizedException, + TimeoutException, ], operationName: "ListJobs", pagination: { @@ -2912,6 +2968,7 @@ export type ListTagsForResourceError = | BadRequestException | InternalFailureException | ResourceNotFoundException + | TimeoutException | CommonErrors; /** * Returns a list of tags for a specified Amazon Resource Name (ARN). @@ -2928,6 +2985,7 @@ export const listTagsForResource: API.OperationMethod< BadRequestException, InternalFailureException, ResourceNotFoundException, + TimeoutException, ], operationName: "ListTagsForResource", })); @@ -2936,6 +2994,7 @@ export type ListWebhooksError = | InternalFailureException | LimitExceededException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Returns a list of webhooks for an Amplify app. @@ -2953,6 +3012,7 @@ export const listWebhooks: API.OperationMethod< InternalFailureException, LimitExceededException, UnauthorizedException, + TimeoutException, ], operationName: "ListWebhooks", })); @@ -2962,6 +3022,7 @@ export type StartDeploymentError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Starts a deployment for a manually deployed app. Manually deployed apps are not @@ -2986,6 +3047,7 @@ export const startDeployment: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "StartDeployment", })); @@ -2995,6 +3057,7 @@ export type StartJobError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Starts a new job for a branch of an Amplify app. @@ -3013,6 +3076,7 @@ export const startJob: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "StartJob", })); @@ -3022,6 +3086,7 @@ export type StopJobError = | LimitExceededException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Stops a job that is in progress for a branch of an Amplify app. @@ -3040,6 +3105,7 @@ export const stopJob: API.OperationMethod< LimitExceededException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "StopJob", })); @@ -3047,6 +3113,7 @@ export type TagResourceError = | BadRequestException | InternalFailureException | ResourceNotFoundException + | TimeoutException | CommonErrors; /** * Tags the resource with a tag key and value. @@ -3063,6 +3130,7 @@ export const tagResource: API.OperationMethod< BadRequestException, InternalFailureException, ResourceNotFoundException, + TimeoutException, ], operationName: "TagResource", })); @@ -3070,6 +3138,7 @@ export type UntagResourceError = | BadRequestException | InternalFailureException | ResourceNotFoundException + | TimeoutException | CommonErrors; /** * Untags a resource with a specified Amazon Resource Name (ARN). @@ -3086,6 +3155,7 @@ export const untagResource: API.OperationMethod< BadRequestException, InternalFailureException, ResourceNotFoundException, + TimeoutException, ], operationName: "UntagResource", })); @@ -3094,6 +3164,7 @@ export type UpdateAppError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Updates an existing Amplify app. @@ -3111,6 +3182,7 @@ export const updateApp: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "UpdateApp", })); @@ -3120,6 +3192,7 @@ export type UpdateBranchError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Updates a branch for an Amplify app. @@ -3138,6 +3211,7 @@ export const updateBranch: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "UpdateBranch", })); @@ -3147,6 +3221,7 @@ export type UpdateDomainAssociationError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Creates a new domain association for an Amplify app. @@ -3165,6 +3240,7 @@ export const updateDomainAssociation: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "UpdateDomainAssociation", })); @@ -3174,6 +3250,7 @@ export type UpdateWebhookError = | InternalFailureException | NotFoundException | UnauthorizedException + | TimeoutException | CommonErrors; /** * Updates a webhook. @@ -3192,6 +3269,7 @@ export const updateWebhook: API.OperationMethod< InternalFailureException, NotFoundException, UnauthorizedException, + TimeoutException, ], operationName: "UpdateWebhook", })); From 52b02f74f28e12e9d3c9f96dcca91d77df834829 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 22:06:55 -0700 Subject: [PATCH 62/63] chore: format --- packages/aws/src/client/response-parser.ts | 13 +- packages/aws/src/hash/crc32.ts | 2 +- packages/aws/src/hash/md5.ts | 2 +- packages/aws/src/protocols/rest-json.ts | 8 +- packages/aws/src/rules-engine/partitions.json | 2 +- packages/azure/src/services/migrate.ts | 94 ++-- packages/gcp/src/services/aiplatform-v1.ts | 268 ++-------- .../gcp/src/services/androidpublisher-v3.ts | 6 +- packages/gcp/src/services/apigee-v1.ts | 64 +-- .../gcp/src/services/apigeeregistry-v1.ts | 6 +- packages/gcp/src/services/apihub-v1.ts | 8 +- packages/gcp/src/services/apim-v1alpha.ts | 8 +- .../gcp/src/services/assuredworkloads-v1.ts | 6 +- packages/gcp/src/services/backupdr-v1.ts | 4 +- packages/gcp/src/services/beyondcorp-v1.ts | 6 +- .../gcp/src/services/chromemanagement-v1.ts | 4 +- packages/gcp/src/services/cloudchannel-v1.ts | 22 +- .../src/services/cloudcontrolspartner-v1.ts | 8 +- packages/gcp/src/services/clouddeploy-v1.ts | 10 +- packages/gcp/src/services/cloudkms-v1.ts | 40 +- packages/gcp/src/services/connectors-v2.ts | 18 +- .../src/services/contactcenterinsights-v1.ts | 162 ++---- packages/gcp/src/services/dataform-v1.ts | 4 +- .../gcp/src/services/datalabeling-v1beta1.ts | 20 +- packages/gcp/src/services/datamanager-v1.ts | 4 +- packages/gcp/src/services/datamigration-v1.ts | 8 +- packages/gcp/src/services/dataproc-v1.ts | 40 +- .../gcp/src/services/developerconnect-v1.ts | 30 +- packages/gcp/src/services/dialogflow-v3.ts | 6 +- .../gcp/src/services/discoveryengine-v1.ts | 264 ++-------- packages/gcp/src/services/displayvideo-v4.ts | 68 +-- packages/gcp/src/services/documentai-v1.ts | 6 +- packages/gcp/src/services/domains-v1.ts | 8 +- packages/gcp/src/services/gkebackup-v1.ts | 22 +- packages/gcp/src/services/gkeonprem-v1.ts | 30 +- packages/gcp/src/services/healthcare-v1.ts | 120 +---- packages/gcp/src/services/integrations-v1.ts | 28 +- packages/gcp/src/services/kmsinventory-v1.ts | 4 +- packages/gcp/src/services/managedkafka-v1.ts | 46 +- .../src/services/networkconnectivity-v1.ts | 26 +- .../gcp/src/services/networkmanagement-v1.ts | 36 +- .../gcp/src/services/oracledatabase-v1.ts | 6 +- .../gcp/src/services/policysimulator-v1.ts | 8 +- packages/gcp/src/services/privateca-v1.ts | 30 +- .../services/recommendationengine-v1beta1.ts | 16 +- packages/gcp/src/services/recommender-v1.ts | 36 +- packages/gcp/src/services/retail-v2.ts | 40 +- packages/gcp/src/services/searchads360-v23.ts | 24 +- .../src/services/securesourcemanager-v1.ts | 44 +- .../gcp/src/services/securitycenter-v1.ts | 106 +--- packages/gcp/src/services/sts-v1.ts | 8 +- .../gcp/src/services/toolresults-v1beta3.ts | 6 +- packages/gcp/src/services/translate-v3.ts | 4 +- packages/gcp/src/services/vmwareengine-v1.ts | 24 +- packages/gcp/src/services/workstations-v1.ts | 84 +-- .../unstable-services/aiplatform-v1beta1.ts | 498 ++++-------------- .../assuredworkloads-v1beta1.ts | 6 +- .../unstable-services/beyondcorp-v1alpha.ts | 6 +- .../src/unstable-services/cloudbuild-v1.ts | 24 +- .../cloudcontrolspartner-v1beta.ts | 8 +- .../src/unstable-services/connectors-v1.ts | 54 +- .../src/unstable-services/dataform-v1beta1.ts | 4 +- .../src/unstable-services/dialogflow-v2.ts | 104 +--- .../unstable-services/dialogflow-v2beta1.ts | 104 +--- .../unstable-services/dialogflow-v3beta1.ts | 6 +- .../discoveryengine-v1alpha.ts | 292 ++-------- .../discoveryengine-v1beta.ts | 220 ++------ .../src/unstable-services/displayvideo-v2.ts | 32 +- .../src/unstable-services/displayvideo-v3.ts | 36 +- .../unstable-services/documentai-v1beta3.ts | 12 +- .../src/unstable-services/domains-v1alpha2.ts | 8 +- .../src/unstable-services/domains-v1beta1.ts | 8 +- .../gcp/src/unstable-services/gkehub-v1.ts | 6 +- .../src/unstable-services/gkehub-v1alpha.ts | 6 +- .../src/unstable-services/gkehub-v1beta.ts | 6 +- .../unstable-services/healthcare-v1beta1.ts | 140 ++--- packages/gcp/src/unstable-services/iam-v1.ts | 70 +-- .../src/unstable-services/monitoring-v1.ts | 4 +- .../networkmanagement-v1beta1.ts | 8 +- .../networksecurity-v1beta1.ts | 28 +- .../policysimulator-v1alpha.ts | 4 +- .../policysimulator-v1beta.ts | 8 +- .../unstable-services/privateca-v1beta1.ts | 16 +- .../unstable-services/recommender-v1beta1.ts | 36 +- .../src/unstable-services/retail-v2alpha.ts | 46 +- .../src/unstable-services/retail-v2beta.ts | 46 +- .../securitycenter-v1beta2.ts | 10 +- .../serviceconsumermanagement-v1beta1.ts | 12 +- .../gcp/src/unstable-services/tpu-v2alpha1.ts | 6 +- .../unstable-services/workstations-v1beta.ts | 90 +--- 90 files changed, 798 insertions(+), 3133 deletions(-) diff --git a/packages/aws/src/client/response-parser.ts b/packages/aws/src/client/response-parser.ts index 06517cf1d2..49acfc5c11 100644 --- a/packages/aws/src/client/response-parser.ts +++ b/packages/aws/src/client/response-parser.ts @@ -255,12 +255,13 @@ export const makeResponseParser = ( // the Retry-After header. Without coercion the decode fails and // the error degrades to a plain object, losing its error class // and retry/throttling categorization. - (data as Record)[String(prop.name)] = - isNumberAST(prop.type) - ? Number(headerValue) - : isBooleanAST(prop.type) - ? headerValue === "true" - : headerValue; + (data as Record)[String(prop.name)] = isNumberAST( + prop.type, + ) + ? Number(headerValue) + : isBooleanAST(prop.type) + ? headerValue === "true" + : headerValue; } } } diff --git a/packages/aws/src/hash/crc32.ts b/packages/aws/src/hash/crc32.ts index 94a23c6f23..ea29a4a427 100644 --- a/packages/aws/src/hash/crc32.ts +++ b/packages/aws/src/hash/crc32.ts @@ -22,7 +22,7 @@ class NodeCrc32 implements Checksum { } } -export const getCrc32ChecksumAlgorithmFunction = (): (new () => Checksum) => { +export const getCrc32ChecksumAlgorithmFunction = (): new () => Checksum => { if (typeof (zlib as any).crc32 === "function") { return NodeCrc32; } diff --git a/packages/aws/src/hash/md5.ts b/packages/aws/src/hash/md5.ts index d31d993418..eb71ad4dbd 100644 --- a/packages/aws/src/hash/md5.ts +++ b/packages/aws/src/hash/md5.ts @@ -18,6 +18,6 @@ class NodeMd5 implements Checksum { } } -export const getMd5ChecksumAlgorithmFunction = (): (new () => Checksum) => { +export const getMd5ChecksumAlgorithmFunction = (): new () => Checksum => { return NodeMd5; }; diff --git a/packages/aws/src/protocols/rest-json.ts b/packages/aws/src/protocols/rest-json.ts index bc94ab96d5..4eda84c2ce 100644 --- a/packages/aws/src/protocols/rest-json.ts +++ b/packages/aws/src/protocols/rest-json.ts @@ -134,9 +134,7 @@ export const restJson1Protocol: Protocol = ( prefixHeaderProps.push({ name, prefix: prefix.toLowerCase() }); } else if (hasHttpPayload(prop)) { const isEventStream = isOutputEventStream(prop.type); - const eventSchema = isEventStream - ? getEventSchema(prop.type) - : undefined; + const eventSchema = isEventStream ? getEventSchema(prop.type) : undefined; outputPayloadProp = { name, isStreaming: isStreamingType(prop.type), @@ -151,9 +149,7 @@ export const restJson1Protocol: Protocol = ( } else if (isStreamingType(prop.type)) { // Streaming members (including event streams) implicitly become the payload const isEventStream = isOutputEventStream(prop.type); - const eventSchema = isEventStream - ? getEventSchema(prop.type) - : undefined; + const eventSchema = isEventStream ? getEventSchema(prop.type) : undefined; outputPayloadProp = { name, isStreaming: true, diff --git a/packages/aws/src/rules-engine/partitions.json b/packages/aws/src/rules-engine/partitions.json index 8ea34e28a0..258fa8eb4e 100644 --- a/packages/aws/src/rules-engine/partitions.json +++ b/packages/aws/src/rules-engine/partitions.json @@ -165,4 +165,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/azure/src/services/migrate.ts b/packages/azure/src/services/migrate.ts index c489b60dce..38bb87994c 100644 --- a/packages/azure/src/services/migrate.ts +++ b/packages/azure/src/services/migrate.ts @@ -14145,53 +14145,53 @@ export const PrivateEndpointConnectionControllerDeletePrivateEndpointConnectionI // Output Schema export type PrivateEndpointConnectionControllerDeletePrivateEndpointConnectionOutput = - | "Continue" - | "SwitchingProtocols" - | "OK" - | "Created" - | "Accepted" - | "NonAuthoritativeInformation" - | "NoContent" - | "ResetContent" - | "PartialContent" - | "MultipleChoices" - | "Ambiguous" - | "MovedPermanently" - | "Moved" - | "Found" - | "Redirect" - | "SeeOther" - | "RedirectMethod" - | "NotModified" - | "UseProxy" - | "Unused" - | "TemporaryRedirect" - | "RedirectKeepVerb" - | "BadRequest" - | "Unauthorized" - | "PaymentRequired" - | "Forbidden" - | "NotFound" - | "MethodNotAllowed" - | "NotAcceptable" - | "ProxyAuthenticationRequired" - | "RequestTimeout" - | "Conflict" - | "Gone" - | "LengthRequired" - | "PreconditionFailed" - | "RequestEntityTooLarge" - | "RequestUriTooLong" - | "UnsupportedMediaType" - | "RequestedRangeNotSatisfiable" - | "ExpectationFailed" - | "UpgradeRequired" - | "InternalServerError" - | "NotImplemented" - | "BadGateway" - | "ServiceUnavailable" - | "GatewayTimeout" - | "HttpVersionNotSupported"; + | "Continue" + | "SwitchingProtocols" + | "OK" + | "Created" + | "Accepted" + | "NonAuthoritativeInformation" + | "NoContent" + | "ResetContent" + | "PartialContent" + | "MultipleChoices" + | "Ambiguous" + | "MovedPermanently" + | "Moved" + | "Found" + | "Redirect" + | "SeeOther" + | "RedirectMethod" + | "NotModified" + | "UseProxy" + | "Unused" + | "TemporaryRedirect" + | "RedirectKeepVerb" + | "BadRequest" + | "Unauthorized" + | "PaymentRequired" + | "Forbidden" + | "NotFound" + | "MethodNotAllowed" + | "NotAcceptable" + | "ProxyAuthenticationRequired" + | "RequestTimeout" + | "Conflict" + | "Gone" + | "LengthRequired" + | "PreconditionFailed" + | "RequestEntityTooLarge" + | "RequestUriTooLong" + | "UnsupportedMediaType" + | "RequestedRangeNotSatisfiable" + | "ExpectationFailed" + | "UpgradeRequired" + | "InternalServerError" + | "NotImplemented" + | "BadGateway" + | "ServiceUnavailable" + | "GatewayTimeout" + | "HttpVersionNotSupported"; export const PrivateEndpointConnectionControllerDeletePrivateEndpointConnectionOutput = /*@__PURE__*/ Schema.Literals([ "Continue", diff --git a/packages/gcp/src/services/aiplatform-v1.ts b/packages/gcp/src/services/aiplatform-v1.ts index 0b961be184..a17f740ad4 100644 --- a/packages/gcp/src/services/aiplatform-v1.ts +++ b/packages/gcp/src/services/aiplatform-v1.ts @@ -35509,11 +35509,7 @@ export const GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeature /*@__PURE__*/ GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse; export type GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token. */ export const generateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -35724,11 +35720,7 @@ export const FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleCloudAiplatformV1FetchFeatureValuesResponse; export type FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Fetch feature values under a FeatureView. */ export const fetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -35772,11 +35764,7 @@ export const TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -36009,11 +35997,7 @@ export const SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureVie /*@__PURE__*/ GoogleCloudAiplatformV1SearchNearestEntitiesResponse; export type SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response. */ export const searchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -36094,11 +36078,7 @@ export const DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -36136,11 +36116,7 @@ export const WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -36188,9 +36164,7 @@ export const ListWaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsR /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListWaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listWaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.PaginatedOperationMethod< @@ -36229,9 +36203,7 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -36276,9 +36248,7 @@ export const ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSync /*@__PURE__*/ GoogleCloudAiplatformV1ListFeatureViewSyncsResponse; export type ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists FeatureViewSyncs in a given FeatureView. */ export const listProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.PaginatedOperationMethod< @@ -36317,9 +36287,7 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs /*@__PURE__*/ GoogleCloudAiplatformV1FeatureViewSync; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of a single FeatureViewSync. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.OperationMethod< @@ -38463,9 +38431,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesResp /*@__PURE__*/ GoogleCloudAiplatformV1SandboxEnvironmentTemplate; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of the specific SandboxEnvironmentTemplate. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -38499,11 +38465,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specific SandboxEnvironmentTemplate. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -38547,11 +38509,7 @@ export const CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a SandboxEnvironmentTemplate in a given reasoning engine. */ export const createProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -38595,9 +38553,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesRes /*@__PURE__*/ GoogleCloudAiplatformV1ListSandboxEnvironmentTemplatesResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists SandboxEnvironmentTemplates in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.PaginatedOperationMethod< @@ -38636,11 +38592,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -38675,11 +38627,7 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -38714,9 +38662,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -38754,11 +38700,7 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -39127,9 +39069,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsRe /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39167,11 +39107,7 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsR /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39206,11 +39142,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39245,11 +39177,7 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39872,9 +39800,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsResp /*@__PURE__*/ GoogleCloudAiplatformV1SandboxEnvironmentSnapshot; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of the specific SandboxEnvironmentSnapshot. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -39917,9 +39843,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsRes /*@__PURE__*/ GoogleCloudAiplatformV1ListSandboxEnvironmentSnapshotsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists SandboxEnvironmentSnapshots in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.PaginatedOperationMethod< @@ -39958,11 +39882,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specific SandboxEnvironmentSnapshot. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -39997,11 +39917,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -40036,11 +39952,7 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -40075,9 +39987,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -40115,11 +40025,7 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -41859,11 +41765,7 @@ export const SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModel /*@__PURE__*/ GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse; export type SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Searches Model Monitoring Statistics generated within a given time window. */ export const searchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobs: API.OperationMethod< @@ -42151,11 +42053,7 @@ export const DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -42189,11 +42087,7 @@ export const CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -48666,11 +48560,7 @@ export const ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperiments /*@__PURE__*/ GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse; export type ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Exports a TensorboardTimeSeries' data. Data is returned in paginated responses. */ export const exportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -48757,9 +48647,7 @@ export const ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesR /*@__PURE__*/ GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse; export type ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission. */ export const readBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -48874,11 +48762,7 @@ export const DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -48913,11 +48797,7 @@ export const CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -48952,9 +48832,7 @@ export const GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -49003,9 +48881,7 @@ export const ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.PaginatedOperationMethod< @@ -49047,11 +48923,7 @@ export const WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -57509,9 +57381,7 @@ export const QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecut /*@__PURE__*/ GoogleCloudAiplatformV1LineageSubgraph; export type QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events. */ export const queryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutions: API.OperationMethod< @@ -57959,11 +57829,7 @@ export const AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresCont /*@__PURE__*/ GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse; export type AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContextsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped. */ export const addContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -58359,9 +58225,7 @@ export const QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsR /*@__PURE__*/ GoogleCloudAiplatformV1LineageSubgraph; export type QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. */ export const queryContextLineageSubgraphProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -58736,9 +58600,7 @@ export const QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifact /*@__PURE__*/ GoogleCloudAiplatformV1LineageSubgraph; export type QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifactsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph. */ export const queryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifacts: API.OperationMethod< @@ -60980,11 +60842,7 @@ export const StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes /*@__PURE__*/ GoogleCloudAiplatformV1ReadFeatureValuesResponse; export type StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses. */ export const streamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes: API.OperationMethod< @@ -61925,11 +61783,7 @@ export const WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -61977,9 +61831,7 @@ export const ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.PaginatedOperationMethod< @@ -62017,9 +61869,7 @@ export const GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -62053,11 +61903,7 @@ export const DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -62092,11 +61938,7 @@ export const CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -64157,11 +63999,7 @@ export const DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< @@ -64194,11 +64032,7 @@ export const CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/androidpublisher-v3.ts b/packages/gcp/src/services/androidpublisher-v3.ts index ce60b10845..7257b7afb5 100644 --- a/packages/gcp/src/services/androidpublisher-v3.ts +++ b/packages/gcp/src/services/androidpublisher-v3.ts @@ -8646,11 +8646,7 @@ export const BatchUpdateStatesMonetizationOnetimeproductsPurchaseOptionsOffersRe /*@__PURE__*/ BatchUpdateOneTimeProductOfferStatesResponse; export type BatchUpdateStatesMonetizationOnetimeproductsPurchaseOptionsOffersError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a batch of one-time product offer states. */ export const batchUpdateStatesMonetizationOnetimeproductsPurchaseOptionsOffers: API.OperationMethod< diff --git a/packages/gcp/src/services/apigee-v1.ts b/packages/gcp/src/services/apigee-v1.ts index a4d518b514..28a7dff011 100644 --- a/packages/gcp/src/services/apigee-v1.ts +++ b/packages/gcp/src/services/apigee-v1.ts @@ -9364,11 +9364,7 @@ export const GenerateKeyPairOrUpdateDeveloperAppStatusOrganizationsDevelopersApp /*@__PURE__*/ GoogleCloudApigeeV1DeveloperApp; export type GenerateKeyPairOrUpdateDeveloperAppStatusOrganizationsDevelopersAppsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approve` or `revoke`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still approved. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approve` or `revoke`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API. */ export const generateKeyPairOrUpdateDeveloperAppStatusOrganizationsDevelopersApps: API.OperationMethod< @@ -9884,11 +9880,7 @@ export const UpdateDeveloperAppKeyApiProductOrganizationsDevelopersAppsKeysApipr /*@__PURE__*/ GoogleProtobufEmpty; export type UpdateDeveloperAppKeyApiProductOrganizationsDevelopersAppsKeysApiproductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs. A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to `revoked` will not allow access to the API. */ export const updateDeveloperAppKeyApiProductOrganizationsDevelopersAppsKeysApiproducts: API.OperationMethod< @@ -9998,11 +9990,7 @@ export const UpdateDeveloperAppAttributeOrganizationsDevelopersAppsAttributesRes /*@__PURE__*/ GoogleCloudApigeeV1Attribute; export type UpdateDeveloperAppAttributeOrganizationsDevelopersAppsAttributesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a developer app attribute. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds. */ export const updateDeveloperAppAttributeOrganizationsDevelopersAppsAttributes: API.OperationMethod< @@ -11321,11 +11309,7 @@ export const ComputeEnvironmentScoresOrganizationsSecurityProfilesEnvironmentsRe /*@__PURE__*/ GoogleCloudApigeeV1ComputeEnvironmentScoresResponse; export type ComputeEnvironmentScoresOrganizationsSecurityProfilesEnvironmentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment. */ export const computeEnvironmentScoresOrganizationsSecurityProfilesEnvironments: API.OperationMethod< @@ -15614,9 +15598,7 @@ export const ListEnvironmentResourcesOrganizationsEnvironmentsResourcefilesRespo /*@__PURE__*/ GoogleCloudApigeeV1ListEnvironmentResourcesResponse; export type ListEnvironmentResourcesOrganizationsEnvironmentsResourcefilesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all resource files, optionally filtering by type. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files). */ export const listEnvironmentResourcesOrganizationsEnvironmentsResourcefiles: API.OperationMethod< @@ -16756,11 +16738,7 @@ export const GenerateDeployChangeReportOrganizationsEnvironmentsApisRevisionsDep /*@__PURE__*/ GoogleCloudApigeeV1DeploymentChangeReport; export type GenerateDeployChangeReportOrganizationsEnvironmentsApisRevisionsDeploymentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a report for a dry run analysis of a DeployApiProxy request without committing the deployment. In addition to the standard validations performed when adding deployments, additional analysis will be done to detect possible traffic routing changes that would result from this deployment being created. Any potential routing conflicts or unsafe changes will be reported in the response. This routing analysis is not performed for a non-dry-run DeployApiProxy request. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments:generateDeployChangeReport`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.deploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}` */ export const generateDeployChangeReportOrganizationsEnvironmentsApisRevisionsDeployments: API.OperationMethod< @@ -16799,11 +16777,7 @@ export const GenerateUndeployChangeReportOrganizationsEnvironmentsApisRevisionsD /*@__PURE__*/ GoogleCloudApigeeV1DeploymentChangeReport; export type GenerateUndeployChangeReportOrganizationsEnvironmentsApisRevisionsDeploymentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a report for a dry run analysis of an UndeployApiProxy request without committing the undeploy. In addition to the standard validations performed when removing deployments, additional analysis will be done to detect possible traffic routing changes that would result from this deployment being removed. Any potential routing conflicts or unsafe changes will be reported in the response. This routing analysis is not performed for a non-dry-run UndeployApiProxy request. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments:generateUndeployChangeReport`, two permissions are required: * `apigee.deployments.delete` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.undeploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}` */ export const generateUndeployChangeReportOrganizationsEnvironmentsApisRevisionsDeployments: API.OperationMethod< @@ -16965,11 +16939,7 @@ export const DeleteDataOrganizationsEnvironmentsApisRevisionsDebugsessionsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteDataOrganizationsEnvironmentsApisRevisionsDebugsessionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the data from a debug session. This does not cancel the debug session or prevent further data from being collected if the session is still active in runtime pods. */ export const deleteDataOrganizationsEnvironmentsApisRevisionsDebugsessions: API.OperationMethod< @@ -17441,11 +17411,7 @@ export const DetachSharedFlowFromFlowHookOrganizationsEnvironmentsFlowhooksRespo /*@__PURE__*/ GoogleCloudApigeeV1FlowHook; export type DetachSharedFlowFromFlowHookOrganizationsEnvironmentsFlowhooksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Detaches a shared flow from a flow hook. */ export const detachSharedFlowFromFlowHookOrganizationsEnvironmentsFlowhooks: API.OperationMethod< @@ -18927,11 +18893,7 @@ export const GenerateDownloadUrlOrganizationsEnvironmentsArchiveDeploymentsRespo /*@__PURE__*/ GoogleCloudApigeeV1GenerateDownloadUrlResponse; export type GenerateDownloadUrlOrganizationsEnvironmentsArchiveDeploymentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL. */ export const generateDownloadUrlOrganizationsEnvironmentsArchiveDeployments: API.OperationMethod< @@ -20340,11 +20302,7 @@ export const UpdateAppGroupAppKeyApiProductOrganizationsAppgroupsAppsKeysApiprod /*@__PURE__*/ GoogleProtobufEmpty; export type UpdateAppGroupAppKeyApiProductOrganizationsAppgroupsAppsKeysApiproductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs. A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to `revoked` will not allow access to the API. */ export const updateAppGroupAppKeyApiProductOrganizationsAppgroupsAppsKeysApiproducts: API.OperationMethod< diff --git a/packages/gcp/src/services/apigeeregistry-v1.ts b/packages/gcp/src/services/apigeeregistry-v1.ts index cfa4f7fb4d..eb686bd370 100644 --- a/packages/gcp/src/services/apigeeregistry-v1.ts +++ b/packages/gcp/src/services/apigeeregistry-v1.ts @@ -2739,11 +2739,7 @@ export const TestIamPermissionsProjectsLocationsApisVersionsSpecsArtifactsRespon /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsApisVersionsSpecsArtifactsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsApisVersionsSpecsArtifacts: API.OperationMethod< diff --git a/packages/gcp/src/services/apihub-v1.ts b/packages/gcp/src/services/apihub-v1.ts index 2a5d261e23..99c380f26e 100644 --- a/packages/gcp/src/services/apihub-v1.ts +++ b/packages/gcp/src/services/apihub-v1.ts @@ -4078,9 +4078,7 @@ export const ListProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperatio /*@__PURE__*/ GoogleCloudApihubV1ListDiscoveredApiOperationsResponse; export type ListProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all the DiscoveredAPIOperations in a given project, location and ApiObservation. */ export const listProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperations: API.PaginatedOperationMethod< @@ -4119,9 +4117,7 @@ export const GetProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperation /*@__PURE__*/ GoogleCloudApihubV1DiscoveredApiOperation; export type GetProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a DiscoveredAPIOperation in a given project, location, ApiObservation and ApiOperation. */ export const getProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/apim-v1alpha.ts b/packages/gcp/src/services/apim-v1alpha.ts index a3a36f1ce8..b44bec668c 100644 --- a/packages/gcp/src/services/apim-v1alpha.ts +++ b/packages/gcp/src/services/apim-v1alpha.ts @@ -1503,9 +1503,7 @@ export const GetProjectsLocationsObservationJobsApiObservationsApiOperationsResp /*@__PURE__*/ ApiOperation; export type GetProjectsLocationsObservationJobsApiObservationsApiOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetApiOperation retrieves a single ApiOperation by name. */ export const getProjectsLocationsObservationJobsApiObservationsApiOperations: API.OperationMethod< @@ -1545,9 +1543,7 @@ export const ListProjectsLocationsObservationJobsApiObservationsApiOperationsRes /*@__PURE__*/ ListApiOperationsResponse; export type ListProjectsLocationsObservationJobsApiObservationsApiOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation. */ export const listProjectsLocationsObservationJobsApiObservationsApiOperations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/assuredworkloads-v1.ts b/packages/gcp/src/services/assuredworkloads-v1.ts index 7980c9df01..0adc78a5f9 100644 --- a/packages/gcp/src/services/assuredworkloads-v1.ts +++ b/packages/gcp/src/services/assuredworkloads-v1.ts @@ -1833,11 +1833,7 @@ export const BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations /*@__PURE__*/ GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse; export type BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */ export const batchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations: API.OperationMethod< diff --git a/packages/gcp/src/services/backupdr-v1.ts b/packages/gcp/src/services/backupdr-v1.ts index edc85e6b0c..1c6c0dccb5 100644 --- a/packages/gcp/src/services/backupdr-v1.ts +++ b/packages/gcp/src/services/backupdr-v1.ts @@ -4916,9 +4916,7 @@ export const FetchForResourceTypeProjectsLocationsBackupVaultsDataSourcesBackups /*@__PURE__*/ FetchBackupsForResourceTypeResponse; export type FetchForResourceTypeProjectsLocationsBackupVaultsDataSourcesBackupsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Fetch Backups for a given resource type. */ export const fetchForResourceTypeProjectsLocationsBackupVaultsDataSourcesBackups: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/beyondcorp-v1.ts b/packages/gcp/src/services/beyondcorp-v1.ts index 7b37424410..4457c69a37 100644 --- a/packages/gcp/src/services/beyondcorp-v1.ts +++ b/packages/gcp/src/services/beyondcorp-v1.ts @@ -3438,11 +3438,7 @@ export const TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsResp /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsSecurityGatewaysApplications: API.OperationMethod< diff --git a/packages/gcp/src/services/chromemanagement-v1.ts b/packages/gcp/src/services/chromemanagement-v1.ts index 99ec50c41c..9fc8ed3d60 100644 --- a/packages/gcp/src/services/chromemanagement-v1.ts +++ b/packages/gcp/src/services/chromemanagement-v1.ts @@ -5388,9 +5388,7 @@ export const QueryContentTransfersBreakdownsCustomersEnterpriseSecurityInsightsR /*@__PURE__*/ GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse; export type QueryContentTransfersBreakdownsCustomersEnterpriseSecurityInsightsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns summaries of content transfers for a given metric and breakdown dimension. */ export const queryContentTransfersBreakdownsCustomersEnterpriseSecurityInsights: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/cloudchannel-v1.ts b/packages/gcp/src/services/cloudchannel-v1.ts index 907797f058..467df59baf 100644 --- a/packages/gcp/src/services/cloudchannel-v1.ts +++ b/packages/gcp/src/services/cloudchannel-v1.ts @@ -4009,11 +4009,7 @@ export const CreateAccountsChannelPartnerLinksChannelPartnerRepricingConfigsResp /*@__PURE__*/ GoogleCloudChannelV1ChannelPartnerRepricingConfig; export type CreateAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any ChannelPartner or RepricingConfig.EntitlementGranularity.entitlement, for any RepricingConfig.effective_invoice_month. * The contained ChannelPartnerRepricingConfig.repricing_config value must be different from the value used in the current config for a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error. */ export const createAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.OperationMethod< @@ -4059,9 +4055,7 @@ export const ListAccountsChannelPartnerLinksChannelPartnerRepricingConfigsRespon /*@__PURE__*/ GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse; export type ListAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists information about how a Reseller modifies their bill before sending it to a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the ChannelPartnerRepricingConfig resources. The data for each resource is displayed in the ascending order of: * Channel Partner ID * RepricingConfig.effective_invoice_month * ChannelPartnerRepricingConfig.update_time If unsuccessful, returns an error. */ export const listAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.PaginatedOperationMethod< @@ -4103,11 +4097,7 @@ export const PatchAccountsChannelPartnerLinksChannelPartnerRepricingConfigsRespo /*@__PURE__*/ GoogleCloudChannelV1ChannelPartnerRepricingConfig; export type PatchAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. This method overwrites the existing CustomerRepricingConfig. You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateChannelPartnerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month. When updating a config in the future: * This config must already exist. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error. */ export const patchAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.OperationMethod< @@ -4176,11 +4166,7 @@ export const DeleteAccountsChannelPartnerLinksChannelPartnerRepricingConfigsResp /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the given ChannelPartnerRepricingConfig permanently. You can only delete configs if their RepricingConfig.effective_invoice_month is set to a date after the current month. Possible error codes: * PERMISSION_DENIED: The account making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * FAILED_PRECONDITION: The ChannelPartnerRepricingConfig is active or in the past. * NOT_FOUND: No ChannelPartnerRepricingConfig found for the name in the request. */ export const deleteAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.OperationMethod< diff --git a/packages/gcp/src/services/cloudcontrolspartner-v1.ts b/packages/gcp/src/services/cloudcontrolspartner-v1.ts index df1428a519..f3f8095ac3 100644 --- a/packages/gcp/src/services/cloudcontrolspartner-v1.ts +++ b/packages/gcp/src/services/cloudcontrolspartner-v1.ts @@ -939,9 +939,7 @@ export const GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsRespon /*@__PURE__*/ PartnerPermissions; export type GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the partner permissions granted for a workload */ export const getPartnerPermissionsOrganizationsLocationsCustomersWorkloads: API.OperationMethod< @@ -1021,9 +1019,7 @@ export const ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsR /*@__PURE__*/ ListAccessApprovalRequestsResponse; export type ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Deprecated: Only returns access approval requests directly associated with an assured workload folder. */ export const listOrganizationsLocationsCustomersWorkloadsAccessApprovalRequests: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/clouddeploy-v1.ts b/packages/gcp/src/services/clouddeploy-v1.ts index edf4243e88..22b1e54ed4 100644 --- a/packages/gcp/src/services/clouddeploy-v1.ts +++ b/packages/gcp/src/services/clouddeploy-v1.ts @@ -5217,11 +5217,7 @@ export const TerminateProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsR /*@__PURE__*/ TerminateJobRunResponse; export type TerminateProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Terminates a Job Run in a given project and location. */ export const terminateProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns: API.OperationMethod< @@ -5268,9 +5264,7 @@ export const ListProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsRespon /*@__PURE__*/ ListJobRunsResponse; export type ListProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists JobRuns in a given project and location. */ export const listProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/cloudkms-v1.ts b/packages/gcp/src/services/cloudkms-v1.ts index 098260ae76..1a09a5ad9e 100644 --- a/packages/gcp/src/services/cloudkms-v1.ts +++ b/packages/gcp/src/services/cloudkms-v1.ts @@ -4170,11 +4170,7 @@ export const DecapsulateProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResp /*@__PURE__*/ DecapsulateResponse; export type DecapsulateProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Decapsulates data that was encapsulated with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose KEY_ENCAPSULATION. */ export const decapsulateProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4390,9 +4386,7 @@ export const GetPublicKeyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRes /*@__PURE__*/ PublicKey; export type GetPublicKeyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT. */ export const getPublicKeyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4505,11 +4499,7 @@ export const MacVerifyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRespon /*@__PURE__*/ MacVerifyResponse; export type MacVerifyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful. */ export const macVerifyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4549,11 +4539,7 @@ export const AsymmetricDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersio /*@__PURE__*/ AsymmetricDecryptResponse; export type AsymmetricDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT. */ export const asymmetricDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4722,11 +4708,7 @@ export const RawDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRespo /*@__PURE__*/ RawDecryptResponse; export type RawDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Decrypts data that was originally encrypted using a raw cryptographic mechanism. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT. */ export const rawDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4763,11 +4745,7 @@ export const RawEncryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRespo /*@__PURE__*/ RawEncryptResponse; export type RawEncryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Encrypts data using portable cryptographic primitives. Most users should choose Encrypt and Decrypt rather than their raw counterparts. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT. */ export const rawEncryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4808,11 +4786,7 @@ export const AsymmetricSignProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsR /*@__PURE__*/ AsymmetricSignResponse; export type AsymmetricSignProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Signs data using a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_SIGN, producing a signature that can be verified with the public key retrieved from GetPublicKey. */ export const asymmetricSignProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< diff --git a/packages/gcp/src/services/connectors-v2.ts b/packages/gcp/src/services/connectors-v2.ts index 436d0a51ce..01721d8c63 100644 --- a/packages/gcp/src/services/connectors-v2.ts +++ b/packages/gcp/src/services/connectors-v2.ts @@ -1903,11 +1903,7 @@ export const GenerateConnectionToolspecOverrideProjectsLocationsConnectionsRespo /*@__PURE__*/ GenerateCustomToolspecResponse; export type GenerateConnectionToolspecOverrideProjectsLocationsConnectionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generate toolspec override for the given list of toolNames. */ export const generateConnectionToolspecOverrideProjectsLocationsConnections: API.OperationMethod< @@ -2500,11 +2496,7 @@ export const DeleteEntitiesWithConditionsProjectsLocationsConnectionsEntityTypes /*@__PURE__*/ Empty; export type DeleteEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes entities based on conditions specified in the request and not on entity id. */ export const deleteEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntities: API.OperationMethod< @@ -2638,11 +2630,7 @@ export const UpdateEntitiesWithConditionsProjectsLocationsConnectionsEntityTypes /*@__PURE__*/ UpdateEntitiesWithConditionsResponse; export type UpdateEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates entities based on conditions specified in the request and not on entity id. */ export const updateEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntities: API.OperationMethod< diff --git a/packages/gcp/src/services/contactcenterinsights-v1.ts b/packages/gcp/src/services/contactcenterinsights-v1.ts index 1fa89f12ca..f0d5e048c3 100644 --- a/packages/gcp/src/services/contactcenterinsights-v1.ts +++ b/packages/gcp/src/services/contactcenterinsights-v1.ts @@ -16714,11 +16714,7 @@ export const TuneQaScorecardRevisionProjectsLocationsQaScorecardsRevisionsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type TuneQaScorecardRevisionProjectsLocationsQaScorecardsRevisionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Fine tune one or more QaModels. */ export const tuneQaScorecardRevisionProjectsLocationsQaScorecardsRevisions: API.OperationMethod< @@ -20765,11 +20761,7 @@ export const SetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsRespo /*@__PURE__*/ GoogleIamV1Policy; export type SetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -20808,9 +20800,7 @@ export const GetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsRespo /*@__PURE__*/ GoogleIamV1Policy; export type GetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21000,11 +20990,7 @@ export const TestIamPermissionsProjectsLocationsAuthorizedViewSetsAuthorizedView /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21099,11 +21085,7 @@ export const GenerativeInsightsProjectsLocationsAuthorizedViewSetsAuthorizedView /*@__PURE__*/ GoogleLongrunningOperation; export type GenerativeInsightsProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics. */ export const generativeInsightsProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21147,11 +21129,7 @@ export const QueryPerformanceOverviewProjectsLocationsAuthorizedViewSetsAuthoriz /*@__PURE__*/ GoogleLongrunningOperation; export type QueryPerformanceOverviewProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period. */ export const queryPerformanceOverviewProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21195,11 +21173,7 @@ export const QueryMetricsProjectsLocationsAuthorizedViewSetsAuthorizedViewsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type QueryMetricsProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Query metrics. */ export const queryMetricsProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21233,9 +21207,7 @@ export const GenerateSignedAudioProjectsLocationsAuthorizedViewSetsAuthorizedVie /*@__PURE__*/ GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse; export type GenerateSignedAudioProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the signed URI for the audio for the given conversation. */ export const generateSignedAudioProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21273,9 +21245,7 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsR /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Conversation; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a conversation. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21325,9 +21295,7 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListConversationsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists conversations. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.PaginatedOperationMethod< @@ -21369,11 +21337,7 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a conversation. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21414,9 +21378,7 @@ export const CalculateStatsProjectsLocationsAuthorizedViewSetsAuthorizedViewsCon /*@__PURE__*/ GoogleCloudContactcenterinsightsV1CalculateStatsResponse; export type CalculateStatsProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets conversation statistics. */ export const calculateStatsProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21465,11 +21427,7 @@ export const CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1FeedbackLabel; export type CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Create feedback label. */ export const createProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21512,11 +21470,7 @@ export const PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversation /*@__PURE__*/ GoogleCloudContactcenterinsightsV1FeedbackLabel; export type PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Update feedback label. */ export const patchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21560,9 +21514,7 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List feedback labels. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.PaginatedOperationMethod< @@ -21601,9 +21553,7 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsF /*@__PURE__*/ GoogleCloudContactcenterinsightsV1FeedbackLabel; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get feedback label. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21638,11 +21588,7 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Delete feedback label. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21677,9 +21623,7 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsA /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get Assessment. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21723,9 +21667,7 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListAssessmentsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List Assessments. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.PaginatedOperationMethod< @@ -21767,11 +21709,7 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Delete an Assessment. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21811,11 +21749,7 @@ export const PublishProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversati /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type PublishProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Publish an Assessment. */ export const publishProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21855,11 +21789,7 @@ export const AppealProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type AppealProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Appeal an Assessment. */ export const appealProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21899,11 +21829,7 @@ export const CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Create Assessment. */ export const createProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21943,11 +21869,7 @@ export const FinalizeProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversat /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type FinalizeProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Finalize an Assessment. */ export const finalizeProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21987,11 +21909,7 @@ export const CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Note; export type CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Create Note. */ export const createProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.OperationMethod< @@ -22032,9 +21950,7 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListNotesResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List Notes. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.PaginatedOperationMethod< @@ -22081,11 +21997,7 @@ export const PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversation /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Note; export type PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Update Note. */ export const patchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.OperationMethod< @@ -22120,11 +22032,7 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Note. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.OperationMethod< @@ -22159,11 +22067,7 @@ export const CancelProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsR /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations: API.OperationMethod< @@ -22212,9 +22116,7 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsRes /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations: API.PaginatedOperationMethod< @@ -22253,9 +22155,7 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/dataform-v1.ts b/packages/gcp/src/services/dataform-v1.ts index 3c8d53802f..542c34b944 100644 --- a/packages/gcp/src/services/dataform-v1.ts +++ b/packages/gcp/src/services/dataform-v1.ts @@ -4279,9 +4279,7 @@ export const QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesRespon /*@__PURE__*/ QueryDirectoryContentsResponse; export type QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the contents of a given Workspace directory. */ export const queryDirectoryContentsProjectsLocationsRepositoriesWorkspaces: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/datalabeling-v1beta1.ts b/packages/gcp/src/services/datalabeling-v1beta1.ts index 7389d9f421..6c1f5eb6a8 100644 --- a/packages/gcp/src/services/datalabeling-v1beta1.ts +++ b/packages/gcp/src/services/datalabeling-v1beta1.ts @@ -5566,11 +5566,7 @@ export const DeleteProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessa /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Delete a FeedbackMessage. */ export const deleteProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.OperationMethod< @@ -5614,11 +5610,7 @@ export const CreateProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessa /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Create a FeedbackMessage object. */ export const createProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.OperationMethod< @@ -5659,9 +5651,7 @@ export const ListProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessage /*@__PURE__*/ GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse; export type ListProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List FeedbackMessages with pagination. */ export const listProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.PaginatedOperationMethod< @@ -5700,9 +5690,7 @@ export const GetProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages /*@__PURE__*/ GoogleCloudDatalabelingV1beta1FeedbackMessage; export type GetProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get a FeedbackMessage object. */ export const getProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.OperationMethod< diff --git a/packages/gcp/src/services/datamanager-v1.ts b/packages/gcp/src/services/datamanager-v1.ts index 128e5186bf..bab0556cf5 100644 --- a/packages/gcp/src/services/datamanager-v1.ts +++ b/packages/gcp/src/services/datamanager-v1.ts @@ -2772,9 +2772,7 @@ export const ListAccountTypesAccountsUserListGlobalLicensesUserListGlobalLicense /*@__PURE__*/ ListUserListGlobalLicenseCustomerInfosResponse; export type ListAccountTypesAccountsUserListGlobalLicensesUserListGlobalLicenseCustomerInfosError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all customer info for a user list global license. This feature is only available to data partners. */ export const listAccountTypesAccountsUserListGlobalLicensesUserListGlobalLicenseCustomerInfos: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/datamigration-v1.ts b/packages/gcp/src/services/datamigration-v1.ts index 51868634e5..06fd5beed7 100644 --- a/packages/gcp/src/services/datamigration-v1.ts +++ b/packages/gcp/src/services/datamigration-v1.ts @@ -5246,9 +5246,7 @@ export const DescribeDatabaseEntitiesProjectsLocationsConversionWorkspacesRespon /*@__PURE__*/ DescribeDatabaseEntitiesResponse; export type DescribeDatabaseEntitiesProjectsLocationsConversionWorkspacesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Describes the database entities tree for a specific conversion workspace and a specific tree type. Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database. */ export const describeDatabaseEntitiesProjectsLocationsConversionWorkspaces: API.PaginatedOperationMethod< @@ -5291,9 +5289,7 @@ export const DescribeConversionWorkspaceRevisionsProjectsLocationsConversionWork /*@__PURE__*/ DescribeConversionWorkspaceRevisionsResponse; export type DescribeConversionWorkspaceRevisionsProjectsLocationsConversionWorkspacesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Retrieves a list of committed revisions of a specific conversion workspace. */ export const describeConversionWorkspaceRevisionsProjectsLocationsConversionWorkspaces: API.OperationMethod< diff --git a/packages/gcp/src/services/dataproc-v1.ts b/packages/gcp/src/services/dataproc-v1.ts index 70c3a9b4fc..a48a834211 100644 --- a/packages/gcp/src/services/dataproc-v1.ts +++ b/packages/gcp/src/services/dataproc-v1.ts @@ -8923,9 +8923,7 @@ export const SearchStageAttemptsProjectsLocationsSessionsSparkApplicationsRespon /*@__PURE__*/ SearchSessionSparkApplicationStageAttemptsResponse; export type SearchStageAttemptsProjectsLocationsSessionsSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain data corresponding to a spark stage attempts for a Spark Application. */ export const searchStageAttemptsProjectsLocationsSessionsSparkApplications: API.PaginatedOperationMethod< @@ -8965,9 +8963,7 @@ export const AccessEnvironmentInfoProjectsLocationsSessionsSparkApplicationsResp /*@__PURE__*/ AccessSessionSparkApplicationEnvironmentInfoResponse; export type AccessEnvironmentInfoProjectsLocationsSessionsSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain environment details for a Spark Application */ export const accessEnvironmentInfoProjectsLocationsSessionsSparkApplications: API.OperationMethod< @@ -9392,9 +9388,7 @@ export const SearchExecutorStageSummaryProjectsLocationsSessionsSparkApplication /*@__PURE__*/ SearchSessionSparkApplicationExecutorStageSummaryResponse; export type SearchExecutorStageSummaryProjectsLocationsSessionsSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain executor summary with respect to a spark stage attempt. */ export const searchExecutorStageSummaryProjectsLocationsSessionsSparkApplications: API.PaginatedOperationMethod< @@ -9549,9 +9543,7 @@ export const SummarizeStageAttemptTasksProjectsLocationsSessionsSparkApplication /*@__PURE__*/ SummarizeSessionSparkApplicationStageAttemptTasksResponse; export type SummarizeStageAttemptTasksProjectsLocationsSessionsSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain summary of Tasks for a Spark Application Stage Attempt */ export const summarizeStageAttemptTasksProjectsLocationsSessionsSparkApplications: API.OperationMethod< @@ -9656,9 +9648,7 @@ export const SearchStageAttemptTasksProjectsLocationsSessionsSparkApplicationsRe /*@__PURE__*/ SearchSessionSparkApplicationStageAttemptTasksResponse; export type SearchStageAttemptTasksProjectsLocationsSessionsSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain data corresponding to tasks for a spark stage attempt for a Spark Application. */ export const searchStageAttemptTasksProjectsLocationsSessionsSparkApplications: API.PaginatedOperationMethod< @@ -9803,9 +9793,7 @@ export const AccessStageRddGraphProjectsLocationsSessionsSparkApplicationsRespon /*@__PURE__*/ AccessSessionSparkApplicationStageRddOperationGraphResponse; export type AccessStageRddGraphProjectsLocationsSessionsSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000. */ export const accessStageRddGraphProjectsLocationsSessionsSparkApplications: API.OperationMethod< @@ -10473,9 +10461,7 @@ export const SearchExecutorStageSummaryProjectsLocationsBatchesSparkApplications /*@__PURE__*/ SearchSparkApplicationExecutorStageSummaryResponse; export type SearchExecutorStageSummaryProjectsLocationsBatchesSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain executor summary with respect to a spark stage attempt. */ export const searchExecutorStageSummaryProjectsLocationsBatchesSparkApplications: API.PaginatedOperationMethod< @@ -10567,9 +10553,7 @@ export const SummarizeStageAttemptTasksProjectsLocationsBatchesSparkApplications /*@__PURE__*/ SummarizeSparkApplicationStageAttemptTasksResponse; export type SummarizeStageAttemptTasksProjectsLocationsBatchesSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain summary of Tasks for a Spark Application Stage Attempt */ export const summarizeStageAttemptTasksProjectsLocationsBatchesSparkApplications: API.OperationMethod< @@ -10963,9 +10947,7 @@ export const AccessEnvironmentInfoProjectsLocationsBatchesSparkApplicationsRespo /*@__PURE__*/ AccessSparkApplicationEnvironmentInfoResponse; export type AccessEnvironmentInfoProjectsLocationsBatchesSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain environment details for a Spark Application */ export const accessEnvironmentInfoProjectsLocationsBatchesSparkApplications: API.OperationMethod< @@ -11275,9 +11257,7 @@ export const SearchStageAttemptTasksProjectsLocationsBatchesSparkApplicationsRes /*@__PURE__*/ SearchSparkApplicationStageAttemptTasksResponse; export type SearchStageAttemptTasksProjectsLocationsBatchesSparkApplicationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtain data corresponding to tasks for a spark stage attempt for a Spark Application. */ export const searchStageAttemptTasksProjectsLocationsBatchesSparkApplications: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/developerconnect-v1.ts b/packages/gcp/src/services/developerconnect-v1.ts index 3fe94e2d54..686f80aec9 100644 --- a/packages/gcp/src/services/developerconnect-v1.ts +++ b/packages/gcp/src/services/developerconnect-v1.ts @@ -2682,11 +2682,7 @@ export const ProcessBitbucketCloudWebhookProjectsLocationsConnectionsGitReposito /*@__PURE__*/ Empty; export type ProcessBitbucketCloudWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events. */ export const processBitbucketCloudWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -2730,11 +2726,7 @@ export const ProcessBitbucketDataCenterWebhookProjectsLocationsConnectionsGitRep /*@__PURE__*/ Empty; export type ProcessBitbucketDataCenterWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events. */ export const processBitbucketDataCenterWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -2833,11 +2825,7 @@ export const FetchReadWriteTokenProjectsLocationsConnectionsGitRepositoryLinksRe /*@__PURE__*/ FetchReadWriteTokenResponse; export type FetchReadWriteTokenProjectsLocationsConnectionsGitRepositoryLinksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Fetches read/write token of a given gitRepositoryLink. */ export const fetchReadWriteTokenProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -2980,11 +2968,7 @@ export const ProcessGitLabEnterpriseWebhookProjectsLocationsConnectionsGitReposi /*@__PURE__*/ Empty; export type ProcessGitLabEnterpriseWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events. */ export const processGitLabEnterpriseWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -3105,11 +3089,7 @@ export const ProcessGitLabWebhookProjectsLocationsConnectionsGitRepositoryLinksR /*@__PURE__*/ Empty; export type ProcessGitLabWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** ProcessGitLabWebhook is called by the GitLab.com for notifying events. */ export const processGitLabWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< diff --git a/packages/gcp/src/services/dialogflow-v3.ts b/packages/gcp/src/services/dialogflow-v3.ts index 2241dc4b72..4a06153bda 100644 --- a/packages/gcp/src/services/dialogflow-v3.ts +++ b/packages/gcp/src/services/dialogflow-v3.ts @@ -14269,11 +14269,7 @@ export const ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessi /*@__PURE__*/ GoogleCloudDialogflowCxV3DetectIntentResponse; export type ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const serverStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessions: API.OperationMethod< ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsRequest, diff --git a/packages/gcp/src/services/discoveryengine-v1.ts b/packages/gcp/src/services/discoveryengine-v1.ts index 814b8061b0..29a1912210 100644 --- a/packages/gcp/src/services/discoveryengine-v1.ts +++ b/packages/gcp/src/services/discoveryengine-v1.ts @@ -23571,11 +23571,7 @@ export const EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -23619,11 +23615,7 @@ export const DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngin /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -23744,11 +23736,7 @@ export const BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesRe /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -26784,9 +26772,7 @@ export const BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBran /*@__PURE__*/ GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse; export type BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranchesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets index freshness metadata for Documents. Supported for website search only. */ export const batchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranches: API.OperationMethod< @@ -26826,11 +26812,7 @@ export const CancelProjectsLocationsCollectionsDataStoresBranchesOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsCollectionsDataStoresBranchesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsCollectionsDataStoresBranchesOperations: API.OperationMethod< @@ -27051,11 +27033,7 @@ export const CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1Document; export type CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a Document. */ export const createProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -27088,11 +27066,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Document. */ export const deleteProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -27134,11 +27108,7 @@ export const ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. */ export const importProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -27265,11 +27235,7 @@ export const CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsDataStoresCompletionConfig: API.OperationMethod< @@ -27313,11 +27279,7 @@ export const ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntri /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports all SuggestionDenyListEntry for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -27361,11 +27323,7 @@ export const PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntrie /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -27444,11 +27402,7 @@ export const ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsRe /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports CompletionSuggestions for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -27492,11 +27446,7 @@ export const PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsRes /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Permanently deletes all CompletionSuggestions for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -27540,11 +27490,7 @@ export const EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteS /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27588,11 +27534,7 @@ export const BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSea /*@__PURE__*/ GoogleLongrunningOperation; export type BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */ export const batchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27636,11 +27578,7 @@ export const DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27684,11 +27622,7 @@ export const RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineRe /*@__PURE__*/ GoogleLongrunningOperation; export type RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Request on-demand recrawl for a list of URIs. */ export const recrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27732,9 +27666,7 @@ export const FetchDomainVerificationStatusProjectsLocationsCollectionsDataStores /*@__PURE__*/ GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse; export type FetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */ export const fetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.PaginatedOperationMethod< @@ -27778,11 +27710,7 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a TargetSite. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27823,9 +27751,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleCloudDiscoveryengineV1ListTargetSitesResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a list of TargetSites. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.PaginatedOperationMethod< @@ -27864,9 +27790,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1TargetSite; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a TargetSite. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27906,11 +27830,7 @@ export const PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSi /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a TargetSite. */ export const patchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27954,11 +27874,7 @@ export const BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTa /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27993,11 +27909,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a TargetSite. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28046,9 +27958,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.PaginatedOperationMethod< @@ -28087,9 +27997,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.OperationMethod< @@ -28138,9 +28046,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.PaginatedOperationMethod< @@ -28179,9 +28085,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.OperationMethod< @@ -28221,9 +28125,7 @@ export const FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps /*@__PURE__*/ GoogleCloudDiscoveryengineV1FetchSitemapsResponse; export type FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Fetch Sitemaps in a DataStore. */ export const fetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -28258,11 +28160,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Sitemap. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -28302,11 +28200,7 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a Sitemap. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -28572,11 +28466,7 @@ export const StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1AnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -28745,11 +28635,7 @@ export const SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1SearchResponse; export type SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */ export const searchLiteProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -28935,11 +28821,7 @@ export const RecommendProjectsLocationsCollectionsDataStoresServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1RecommendResponse; export type RecommendProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Makes a recommendation, which requires a contextual user event. */ export const recommendProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30701,11 +30583,7 @@ export const StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1AnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsEnginesServingConfigs: API.OperationMethod< @@ -31379,9 +31257,7 @@ export const GetCardProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Resp /*@__PURE__*/ A2aV1AgentCard; export type GetCardProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Error = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetAgentCard returns the agent card for the agent. */ export const getCardProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1: API.OperationMethod< @@ -31422,11 +31298,7 @@ export const SendProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Message /*@__PURE__*/ A2aV1SendMessageResponse; export type SendProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1MessageError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested. */ export const sendProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Message: API.OperationMethod< @@ -31468,11 +31340,7 @@ export const StreamProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Messa /*@__PURE__*/ A2aV1StreamResponse; export type StreamProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1MessageError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state. */ export const streamProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Message: API.OperationMethod< @@ -31515,9 +31383,7 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksRes /*@__PURE__*/ A2aV1Task; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get the current state of a task from the agent. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks: API.OperationMethod< @@ -31555,9 +31421,7 @@ export const SubscribeProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Ta /*@__PURE__*/ A2aV1StreamResponse; export type SubscribeProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream. */ export const subscribeProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks: API.OperationMethod< @@ -31602,11 +31466,7 @@ export const CancelProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks /*@__PURE__*/ A2aV1Task; export type CancelProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Cancel a task from the agent. If supported one should expect no more task updates for the task. */ export const cancelProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks: API.OperationMethod< @@ -31644,9 +31504,7 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPus /*@__PURE__*/ A2aV1TaskPushNotificationConfig; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get a push notification config for a task. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -31693,9 +31551,7 @@ export const ListProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPu /*@__PURE__*/ A2aV1ListTaskPushNotificationConfigResponse; export type ListProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get a list of push notifications configured for a task. */ export const listProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.PaginatedOperationMethod< @@ -31737,11 +31593,7 @@ export const DeleteProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Delete a push notification config for a task. */ export const deleteProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -31789,11 +31641,7 @@ export const CreateProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks /*@__PURE__*/ A2aV1TaskPushNotificationConfig; export type CreateProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Set a push notification config for a task. */ export const createProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -31828,9 +31676,7 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsOperations: API.OperationMethod< @@ -31874,11 +31720,7 @@ export const CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -32919,11 +32761,7 @@ export const DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsR /*@__PURE__*/ GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse; export type DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Distributes a LicenseConfig from billing account level to project level. */ export const distributeLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -32969,11 +32807,7 @@ export const RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1RetractLicenseConfigResponse; export type RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */ export const retractLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< diff --git a/packages/gcp/src/services/displayvideo-v4.ts b/packages/gcp/src/services/displayvideo-v4.ts index 5afeeed3f3..636e6b99c4 100644 --- a/packages/gcp/src/services/displayvideo-v4.ts +++ b/packages/gcp/src/services/displayvideo-v4.ts @@ -15260,9 +15260,7 @@ export const ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespo /*@__PURE__*/ ListLineItemAssignedTargetingOptionsResponse; export type ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the targeting options assigned to a line item. */ export const listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -15365,11 +15363,7 @@ export const CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const createAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -15470,9 +15464,7 @@ export const GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a single targeting option assigned to a line item. */ export const getAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -15571,11 +15563,7 @@ export const DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const deleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -15634,11 +15622,7 @@ export const DeleteAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users. */ export const deleteAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< @@ -15701,9 +15685,7 @@ export const ListAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsRe /*@__PURE__*/ ListYoutubeAssetAssociationsResponse; export type ListAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the YouTube asset associations linked to the given resource. */ export const listAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations: API.PaginatedOperationMethod< @@ -15765,11 +15747,7 @@ export const CreateAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations /*@__PURE__*/ YoutubeAssetAssociation; export type CreateAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users. */ export const createAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< @@ -17560,11 +17538,7 @@ export const DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ Empty; export type DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an assigned targeting option from an ad group. This method is only supported for Demand Gen ad groups with the AdGroupFormat `AD_GROUP_FORMAT_DEMAND_GEN`. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const deleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -17772,9 +17746,7 @@ export const ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ ListAdGroupAssignedTargetingOptionsResponse; export type ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included. */ export const listAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -17876,11 +17848,7 @@ export const CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Assigns a targeting option to an ad group. Returns the assigned targeting option if successful. This method is only supported for Demand Gen ad groups. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const createAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -17938,11 +17906,7 @@ export const DeleteAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsR /*@__PURE__*/ Empty; export type DeleteAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users. */ export const deleteAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< @@ -18005,9 +17969,7 @@ export const ListAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsRes /*@__PURE__*/ ListYoutubeAssetAssociationsResponse; export type ListAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the YouTube asset associations linked to the given resource. */ export const listAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociations: API.PaginatedOperationMethod< @@ -18069,11 +18031,7 @@ export const CreateAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsR /*@__PURE__*/ YoutubeAssetAssociation; export type CreateAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users. */ export const createAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< diff --git a/packages/gcp/src/services/documentai-v1.ts b/packages/gcp/src/services/documentai-v1.ts index 7cf3f92a67..b38e1de92e 100644 --- a/packages/gcp/src/services/documentai-v1.ts +++ b/packages/gcp/src/services/documentai-v1.ts @@ -7600,11 +7600,7 @@ export const EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersion /*@__PURE__*/ GoogleLongrunningOperation; export type EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. */ export const evaluateProcessorVersionProjectsLocationsProcessorsProcessorVersions: API.OperationMethod< diff --git a/packages/gcp/src/services/domains-v1.ts b/packages/gcp/src/services/domains-v1.ts index 152ef19687..2d0b5c0671 100644 --- a/packages/gcp/src/services/domains-v1.ts +++ b/packages/gcp/src/services/domains-v1.ts @@ -1485,9 +1485,7 @@ export const RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsRespon /*@__PURE__*/ RetrieveGoogleDomainsDnsRecordsResponse; export type RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`. */ export const retrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrations: API.PaginatedOperationMethod< @@ -1793,9 +1791,7 @@ export const RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations /*@__PURE__*/ RetrieveGoogleDomainsForwardingConfigResponse; export type RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. */ export const retrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations: API.OperationMethod< diff --git a/packages/gcp/src/services/gkebackup-v1.ts b/packages/gcp/src/services/gkebackup-v1.ts index de02ff0917..71509590e5 100644 --- a/packages/gcp/src/services/gkebackup-v1.ts +++ b/packages/gcp/src/services/gkebackup-v1.ts @@ -3515,9 +3515,7 @@ export const GetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresResp /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestores: API.OperationMethod< @@ -3558,11 +3556,7 @@ export const SetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresResp /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestores: API.OperationMethod< @@ -3689,11 +3683,7 @@ export const TestIamPermissionsProjectsLocationsRestorePlansRestoresVolumeRestor /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsRestorePlansRestoresVolumeRestoresError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsRestorePlansRestoresVolumeRestores: API.OperationMethod< @@ -4695,11 +4685,7 @@ export const TestIamPermissionsProjectsLocationsBackupPlansBackupsVolumeBackupsR /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsBackupPlansBackupsVolumeBackupsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsBackupPlansBackupsVolumeBackups: API.OperationMethod< diff --git a/packages/gcp/src/services/gkeonprem-v1.ts b/packages/gcp/src/services/gkeonprem-v1.ts index 79a9d16f93..9c3fef5f73 100644 --- a/packages/gcp/src/services/gkeonprem-v1.ts +++ b/packages/gcp/src/services/gkeonprem-v1.ts @@ -4097,11 +4097,7 @@ export const TestIamPermissionsProjectsLocationsVmwareClustersVmwareNodePoolsRes /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsVmwareClustersVmwareNodePoolsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsVmwareClustersVmwareNodePools: API.OperationMethod< @@ -5012,11 +5008,7 @@ export const TestIamPermissionsProjectsLocationsBareMetalClustersBareMetalNodePo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsBareMetalClustersBareMetalNodePoolsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsBareMetalClustersBareMetalNodePools: API.OperationMethod< @@ -5142,9 +5134,7 @@ export const GetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsRes /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePools: API.OperationMethod< @@ -5290,11 +5280,7 @@ export const SetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsRes /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePools: API.OperationMethod< @@ -5329,9 +5315,7 @@ export const GetProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsRe /*@__PURE__*/ Operation; export type GetProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsBareMetalClustersBareMetalNodePoolsOperations: API.OperationMethod< @@ -5380,9 +5364,7 @@ export const ListProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsR /*@__PURE__*/ ListOperationsResponse; export type ListProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsBareMetalClustersBareMetalNodePoolsOperations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/healthcare-v1.ts b/packages/gcp/src/services/healthcare-v1.ts index d46b84b256..8f60fe6b79 100644 --- a/packages/gcp/src/services/healthcare-v1.ts +++ b/packages/gcp/src/services/healthcare-v1.ts @@ -4127,11 +4127,7 @@ export const SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebS /*@__PURE__*/ Operation; export type SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** SetBlobStorageSettings sets the blob storage settings of the specified resources. */ export const setBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4166,9 +4162,7 @@ export const GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesR /*@__PURE__*/ StudyMetrics; export type GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetStudyMetrics returns metrics for a study. */ export const getStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4203,9 +4197,7 @@ export const GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies /*@__PURE__*/ SeriesMetrics; export type GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetSeriesMetrics returns metrics for a series. */ export const getSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeries: API.OperationMethod< @@ -4240,9 +4232,7 @@ export const GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSe /*@__PURE__*/ StorageInfo; export type GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetStorageInfo returns the storage info of the specified resource. */ export const getStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstances: API.OperationMethod< @@ -4403,9 +4393,7 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesRespon /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudies: API.OperationMethod< @@ -4518,9 +4506,7 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesRe /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -4598,9 +4584,7 @@ export const RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesResp /*@__PURE__*/ HttpBody; export type RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -4637,9 +4621,7 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -4677,9 +4659,7 @@ export const RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). */ export const retrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4720,9 +4700,7 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4760,9 +4738,7 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4800,11 +4776,7 @@ export const DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). */ export const deleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4845,9 +4817,7 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -4885,9 +4855,7 @@ export const RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInst /*@__PURE__*/ HttpBody; export type RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4}. For details on the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -4925,9 +4893,7 @@ export const RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See [Retrieve Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata). */ export const retrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdata: API.OperationMethod< @@ -6189,11 +6155,7 @@ export const CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ AttributeDefinition; export type CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new Attribute definition in the parent consent store. */ export const createProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6234,11 +6196,7 @@ export const PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsResp /*@__PURE__*/ AttributeDefinition; export type PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates the specified Attribute definition. */ export const patchProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6272,9 +6230,7 @@ export const GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespon /*@__PURE__*/ AttributeDefinition; export type GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the specified Attribute definition. */ export const getProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6316,9 +6272,7 @@ export const ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespo /*@__PURE__*/ ListAttributeDefinitionsResponse; export type ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the Attribute definitions in the specified consent store. */ export const listProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.PaginatedOperationMethod< @@ -6356,11 +6310,7 @@ export const DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent. */ export const deleteProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6769,11 +6719,7 @@ export const ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsRespon /*@__PURE__*/ ArchiveUserDataMappingResponse; export type ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Archives the specified User data mapping. */ export const archiveProjectsLocationsDatasetsConsentStoresUserDataMappings: API.OperationMethod< @@ -7390,11 +7336,7 @@ export const TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesResp /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsDatasetsDataMapperWorkspaces: API.OperationMethod< @@ -8441,9 +8383,7 @@ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStor /*@__PURE__*/ HttpBody; export type Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2. */ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8741,9 +8681,7 @@ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirRe /*@__PURE__*/ HttpBody; export type Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2. */ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -9201,9 +9139,7 @@ export const Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperati /*@__PURE__*/ HttpBody; export type Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data status request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can have one of these states: * in-progress: response status code is `202` and `X-Progress` header is set to `in progress`. * complete: response status code is `200` and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource describing the reason for the error. */ export const get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< @@ -9238,11 +9174,7 @@ export const Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsR /*@__PURE__*/ HttpBody; export type Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request). Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response. */ export const delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/integrations-v1.ts b/packages/gcp/src/services/integrations-v1.ts index 5af925af49..6359bf4e5f 100644 --- a/packages/gcp/src/services/integrations-v1.ts +++ b/packages/gcp/src/services/integrations-v1.ts @@ -9406,11 +9406,7 @@ export const TakeoverEditLockProjectsLocationsProductsIntegrationsVersionsRespon /*@__PURE__*/ GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse; export type TakeoverEditLockProjectsLocationsProductsIntegrationsVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by. */ export const takeoverEditLockProjectsLocationsProductsIntegrationsVersions: API.OperationMethod< @@ -9687,11 +9683,7 @@ export const ResolveProjectsLocationsProductsIntegrationsExecutionsSuspensionsRe /*@__PURE__*/ GoogleCloudIntegrationsV1alphaResolveSuspensionResponse; export type ResolveProjectsLocationsProductsIntegrationsExecutionsSuspensionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** * Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again. */ export const resolveProjectsLocationsProductsIntegrationsExecutionsSuspensions: API.OperationMethod< @@ -9738,9 +9730,7 @@ export const ListProjectsLocationsProductsIntegrationsExecutionsSuspensionsRespo /*@__PURE__*/ GoogleCloudIntegrationsV1alphaListSuspensionsResponse; export type ListProjectsLocationsProductsIntegrationsExecutionsSuspensionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** * Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them. */ export const listProjectsLocationsProductsIntegrationsExecutionsSuspensions: API.PaginatedOperationMethod< @@ -9783,11 +9773,7 @@ export const LiftProjectsLocationsProductsIntegrationsExecutionsSuspensionsRespo /*@__PURE__*/ GoogleCloudIntegrationsV1alphaLiftSuspensionResponse; export type LiftProjectsLocationsProductsIntegrationsExecutionsSuspensionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** * Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task. */ export const liftProjectsLocationsProductsIntegrationsExecutionsSuspensions: API.OperationMethod< @@ -12079,11 +12065,7 @@ export const TakeoverEditLockProjectsLocationsIntegrationsVersionsTestCasesRespo /*@__PURE__*/ GoogleCloudIntegrationsV1alphaTestCase; export type TakeoverEditLockProjectsLocationsIntegrationsVersionsTestCasesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Clear the lock fields and assign them to current user */ export const takeoverEditLockProjectsLocationsIntegrationsVersionsTestCases: API.OperationMethod< diff --git a/packages/gcp/src/services/kmsinventory-v1.ts b/packages/gcp/src/services/kmsinventory-v1.ts index 56782f9529..31aeea3c91 100644 --- a/packages/gcp/src/services/kmsinventory-v1.ts +++ b/packages/gcp/src/services/kmsinventory-v1.ts @@ -614,9 +614,7 @@ export const GetProtectedResourcesSummaryProjectsLocationsKeyRingsCryptoKeysResp /*@__PURE__*/ GoogleCloudKmsInventoryV1ProtectedResourcesSummary; export type GetProtectedResourcesSummaryProjectsLocationsKeyRingsCryptoKeysError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By default, summary of resources within the same Cloud organization as the key will be returned, which requires the KMS organization service account to be configured(refer https://docs.cloud.google.com/kms/docs/view-key-usage#required-roles). If the KMS organization service account is not configured or key's project is not part of an organization, set fallback_scope to `FALLBACK_SCOPE_PROJECT` to retrieve a summary of protected resources within the key's project. */ export const getProtectedResourcesSummaryProjectsLocationsKeyRingsCryptoKeys: API.OperationMethod< diff --git a/packages/gcp/src/services/managedkafka-v1.ts b/packages/gcp/src/services/managedkafka-v1.ts index 836decbfe4..3222f18d03 100644 --- a/packages/gcp/src/services/managedkafka-v1.ts +++ b/packages/gcp/src/services/managedkafka-v1.ts @@ -3259,9 +3259,7 @@ export const ListProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyRe /*@__PURE__*/ HttpBody; export type ListProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get a list of IDs of schemas that reference the schema with the given subject and version. */ export const listProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedby: API.OperationMethod< @@ -3678,11 +3676,7 @@ export const LookupVersionProjectsLocationsSchemaRegistriesContextsSubjectsRespo /*@__PURE__*/ SchemaVersion; export type LookupVersionProjectsLocationsSchemaRegistriesContextsSubjectsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Lookup a schema under the specified subject. */ export const lookupVersionProjectsLocationsSchemaRegistriesContextsSubjects: API.OperationMethod< @@ -3719,9 +3713,7 @@ export const ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsRespon /*@__PURE__*/ HttpBody; export type ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get all versions of a subject. The response will be an array of versions of the subject. */ export const listProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3757,11 +3749,7 @@ export const CreateProjectsLocationsSchemaRegistriesContextsSubjectsVersionsResp /*@__PURE__*/ CreateVersionResponse; export type CreateProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Register a new version under a given subject with the given schema. */ export const createProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3798,9 +3786,7 @@ export const GetSchemaProjectsLocationsSchemaRegistriesContextsSubjectsVersionsR /*@__PURE__*/ HttpBody; export type GetSchemaProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get the schema string only for a version of a subject. The response will be the schema string. */ export const getSchemaProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3838,11 +3824,7 @@ export const DeleteProjectsLocationsSchemaRegistriesContextsSubjectsVersionsResp /*@__PURE__*/ HttpBody; export type DeleteProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Delete a version of a subject. The response will be the deleted version id. */ export const deleteProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3914,9 +3896,7 @@ export const ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsRefere /*@__PURE__*/ HttpBody; export type ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedbyError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get a list of IDs of schemas that reference the schema with the given subject and version. */ export const listProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedby: API.OperationMethod< @@ -4264,11 +4244,7 @@ export const CheckCompatibilityProjectsLocationsSchemaRegistriesContextsCompatib /*@__PURE__*/ CheckCompatibilityResponse; export type CheckCompatibilityProjectsLocationsSchemaRegistriesContextsCompatibilityError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Check compatibility of a schema with all versions or a specific version of a subject. */ export const checkCompatibilityProjectsLocationsSchemaRegistriesContextsCompatibility: API.OperationMethod< @@ -4499,11 +4475,7 @@ export const CheckCompatibilityProjectsLocationsSchemaRegistriesCompatibilityRes /*@__PURE__*/ CheckCompatibilityResponse; export type CheckCompatibilityProjectsLocationsSchemaRegistriesCompatibilityError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Check compatibility of a schema with all versions or a specific version of a subject. */ export const checkCompatibilityProjectsLocationsSchemaRegistriesCompatibility: API.OperationMethod< diff --git a/packages/gcp/src/services/networkconnectivity-v1.ts b/packages/gcp/src/services/networkconnectivity-v1.ts index 6c2954d0f0..e2f5ac097c 100644 --- a/packages/gcp/src/services/networkconnectivity-v1.ts +++ b/packages/gcp/src/services/networkconnectivity-v1.ts @@ -5030,11 +5030,7 @@ export const PatchProjectsLocationsMulticloudDataTransferConfigsDestinationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a `Destination` resource in a specified project and location. */ export const patchProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< @@ -5074,11 +5070,7 @@ export const DeleteProjectsLocationsMulticloudDataTransferConfigsDestinationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a `Destination` resource. */ export const deleteProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< @@ -5130,9 +5122,7 @@ export const ListProjectsLocationsMulticloudDataTransferConfigsDestinationsRespo /*@__PURE__*/ ListDestinationsResponse; export type ListProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the `Destination` resources in a specified project and location. */ export const listProjectsLocationsMulticloudDataTransferConfigsDestinations: API.PaginatedOperationMethod< @@ -5170,9 +5160,7 @@ export const GetProjectsLocationsMulticloudDataTransferConfigsDestinationsRespon /*@__PURE__*/ Destination; export type GetProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the details of a `Destination` resource. */ export const getProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< @@ -5220,11 +5208,7 @@ export const CreateProjectsLocationsMulticloudDataTransferConfigsDestinationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a `Destination` resource in a specified project and location. */ export const createProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< diff --git a/packages/gcp/src/services/networkmanagement-v1.ts b/packages/gcp/src/services/networkmanagement-v1.ts index dcb2e869c3..691269c194 100644 --- a/packages/gcp/src/services/networkmanagement-v1.ts +++ b/packages/gcp/src/services/networkmanagement-v1.ts @@ -3589,9 +3589,7 @@ export const GenerateProviderAccessTokenProjectsLocationsNetworkMonitoringProvid /*@__PURE__*/ GenerateProviderAccessTokenResponse; export type GenerateProviderAccessTokenProjectsLocationsNetworkMonitoringProvidersError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform. */ export const generateProviderAccessTokenProjectsLocationsNetworkMonitoringProviders: API.OperationMethod< @@ -3631,9 +3629,7 @@ export const GenerateMonitoringPointConfigProjectsLocationsNetworkMonitoringProv /*@__PURE__*/ GenerateMonitoringPointConfigResponse; export type GenerateMonitoringPointConfigProjectsLocationsNetworkMonitoringProvidersError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. */ export const generateMonitoringPointConfigProjectsLocationsNetworkMonitoringProviders: API.OperationMethod< @@ -3749,9 +3745,7 @@ export const DownloadInstallScriptProjectsLocationsNetworkMonitoringProvidersMon /*@__PURE__*/ HttpBody; export type DownloadInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Downloads an install script for MonitoringPoints for a given network monitoring provider. */ export const downloadInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -3789,9 +3783,7 @@ export const DownloadRecreateInstallScriptProjectsLocationsNetworkMonitoringProv /*@__PURE__*/ HttpBody; export type DownloadRecreateInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Downloads an install script for a specific Container MonitoringPoint. */ export const downloadRecreateInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -3829,9 +3821,7 @@ export const DownloadServerConnectConfigProjectsLocationsNetworkMonitoringProvid /*@__PURE__*/ HttpBody; export type DownloadServerConnectConfigProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Downloads the server connect configuration for a given network monitoring provider. */ export const downloadServerConnectConfigProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -3872,9 +3862,7 @@ export const ListProjectsLocationsNetworkMonitoringProvidersMonitoringPointsResp /*@__PURE__*/ ListMonitoringPointsResponse; export type ListProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists MonitoringPoints for a given network monitoring provider. */ export const listProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.PaginatedOperationMethod< @@ -3912,9 +3900,7 @@ export const GetProjectsLocationsNetworkMonitoringProvidersMonitoringPointsRespo /*@__PURE__*/ MonitoringPoint; export type GetProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the MonitoringPoint resource. */ export const getProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -4331,9 +4317,7 @@ export const QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsRespon /*@__PURE__*/ QueryOrgVpcFlowLogsConfigsResponse; export type QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */ export const queryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< @@ -4385,9 +4369,7 @@ export const ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsResp /*@__PURE__*/ ShowEffectiveFlowLogsConfigsResponse; export type ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */ export const showEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/oracledatabase-v1.ts b/packages/gcp/src/services/oracledatabase-v1.ts index 4dee03eeec..88d5338817 100644 --- a/packages/gcp/src/services/oracledatabase-v1.ts +++ b/packages/gcp/src/services/oracledatabase-v1.ts @@ -6095,11 +6095,7 @@ export const ConfigureExascaleProjectsLocationsCloudExadataInfrastructuresRespon /*@__PURE__*/ Operation; export type ConfigureExascaleProjectsLocationsCloudExadataInfrastructuresError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Configures Exascale for a single Exadata Infrastructure. */ export const configureExascaleProjectsLocationsCloudExadataInfrastructures: API.OperationMethod< diff --git a/packages/gcp/src/services/policysimulator-v1.ts b/packages/gcp/src/services/policysimulator-v1.ts index 50a5b4c4d5..9238aaf6d3 100644 --- a/packages/gcp/src/services/policysimulator-v1.ts +++ b/packages/gcp/src/services/policysimulator-v1.ts @@ -1761,9 +1761,7 @@ export const GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getOrganizationsLocationsOrgPolicyViolationsPreviewsOperations: API.OperationMethod< @@ -1803,9 +1801,7 @@ export const ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViola /*@__PURE__*/ GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse; export type ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview. */ export const listOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/privateca-v1.ts b/packages/gcp/src/services/privateca-v1.ts index 8d81caea7f..6cb2aa9a38 100644 --- a/packages/gcp/src/services/privateca-v1.ts +++ b/packages/gcp/src/services/privateca-v1.ts @@ -2581,11 +2581,7 @@ export const SetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertifica /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2627,11 +2623,7 @@ export const TestIamPermissionsProjectsLocationsCaPoolsCertificateAuthoritiesCer /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2678,9 +2670,7 @@ export const ListProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevoca /*@__PURE__*/ ListCertificateRevocationListsResponse; export type ListProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists CertificateRevocationLists. */ export const listProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.PaginatedOperationMethod< @@ -2719,9 +2709,7 @@ export const GetProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocat /*@__PURE__*/ CertificateRevocationList; export type GetProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns a CertificateRevocationList. */ export const getProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2765,11 +2753,7 @@ export const PatchProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevoc /*@__PURE__*/ Operation; export type PatchProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Update a CertificateRevocationList. */ export const patchProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2809,9 +2793,7 @@ export const GetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertifica /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< diff --git a/packages/gcp/src/services/recommendationengine-v1beta1.ts b/packages/gcp/src/services/recommendationengine-v1beta1.ts index 6b330c5e29..105bc0ec49 100644 --- a/packages/gcp/src/services/recommendationengine-v1beta1.ts +++ b/packages/gcp/src/services/recommendationengine-v1beta1.ts @@ -1680,9 +1680,7 @@ export const ListProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistratio /*@__PURE__*/ GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse; export type ListProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List the registered apiKeys for use with predict method. */ export const listProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrations: API.PaginatedOperationMethod< @@ -1730,11 +1728,7 @@ export const CreateProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrat /*@__PURE__*/ GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration; export type CreateProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Register an API key for use with predict method. */ export const createProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrations: API.OperationMethod< @@ -1769,11 +1763,7 @@ export const DeleteProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrat /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Unregister an apiKey from using for predict method. */ export const deleteProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrations: API.OperationMethod< diff --git a/packages/gcp/src/services/recommender-v1.ts b/packages/gcp/src/services/recommender-v1.ts index 87751fb0e4..ed6af2620c 100644 --- a/packages/gcp/src/services/recommender-v1.ts +++ b/packages/gcp/src/services/recommender-v1.ts @@ -1867,11 +1867,7 @@ export const MarkDismissedBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkDismissedBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -1911,11 +1907,7 @@ export const MarkClaimedBillingAccountsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkClaimedBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED, SUCCEEDED, FAILED, or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markClaimedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2002,11 +1994,7 @@ export const MarkSucceededBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkSucceededBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2046,11 +2034,7 @@ export const MarkFailedBillingAccountsLocationsRecommendersRecommendationsRespon /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkFailedBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markFailedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2208,11 +2192,7 @@ export const MarkDismissedOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkDismissedOrganizationsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2341,11 +2321,7 @@ export const MarkSucceededOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkSucceededOrganizationsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< diff --git a/packages/gcp/src/services/retail-v2.ts b/packages/gcp/src/services/retail-v2.ts index 74106d42a3..9c36364992 100644 --- a/packages/gcp/src/services/retail-v2.ts +++ b/packages/gcp/src/services/retail-v2.ts @@ -5630,9 +5630,7 @@ export const GetConversationalSearchCustomizationConfigProjectsLocationsCatalogs /*@__PURE__*/ GoogleCloudRetailV2ConversationalSearchCustomizationConfig; export type GetConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the conversational search customization config for a given catalog. */ export const getConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -5679,11 +5677,7 @@ export const UpdateConversationalSearchCustomizationConfigProjectsLocationsCatal /*@__PURE__*/ GoogleCloudRetailV2ConversationalSearchCustomizationConfig; export type UpdateConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates the conversational search customization config for a given catalog. */ export const updateConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -7346,11 +7340,7 @@ export const RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRes /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7571,11 +7561,7 @@ export const RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsResp /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeLocalInventoriesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7749,11 +7735,7 @@ export const AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const addFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7841,11 +7823,7 @@ export const RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigResp /*@__PURE__*/ GoogleCloudRetailV2AttributesConfig; export type RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */ export const removeCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -7888,11 +7866,7 @@ export const ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigRes /*@__PURE__*/ GoogleCloudRetailV2AttributesConfig; export type ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */ export const replaceCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< diff --git a/packages/gcp/src/services/searchads360-v23.ts b/packages/gcp/src/services/searchads360-v23.ts index 5ab2cb5bf5..cea41e80ed 100644 --- a/packages/gcp/src/services/searchads360-v23.ts +++ b/packages/gcp/src/services/searchads360-v23.ts @@ -43958,11 +43958,7 @@ export const ConfigureCampaignLifecycleGoalsCustomersCampaignLifecycleGoalRespon /*@__PURE__*/ GoogleAdsSearchads360V23Services__ConfigureCampaignLifecycleGoalsResponse; export type ConfigureCampaignLifecycleGoalsCustomersCampaignLifecycleGoalError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Process the given campaign lifecycle configurations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CampaignLifecycleGoalConfigError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() */ export const configureCampaignLifecycleGoalsCustomersCampaignLifecycleGoal: API.OperationMethod< @@ -44188,11 +44184,7 @@ export const MutateRecommendationSubscriptionCustomersRecommendationSubscription /*@__PURE__*/ GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionResponse; export type MutateRecommendationSubscriptionCustomersRecommendationSubscriptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Mutates given subscription with corresponding apply parameters. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() [RecommendationSubscriptionError]() [RequestError]() [UrlFieldError]() */ export const mutateRecommendationSubscriptionCustomersRecommendationSubscriptions: API.OperationMethod< @@ -45608,11 +45600,7 @@ export const RegenerateShareableLinkIdCustomersThirdPartyAppAnalyticsLinksRespon /*@__PURE__*/ GoogleAdsSearchads360V23Services__RegenerateShareableLinkIdResponse; export type RegenerateShareableLinkIdCustomersThirdPartyAppAnalyticsLinksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third party when setting up app analytics. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() */ export const regenerateShareableLinkIdCustomersThirdPartyAppAnalyticsLinks: API.OperationMethod< @@ -46758,11 +46746,7 @@ export const ConfigureCustomerLifecycleGoalsCustomersCustomerLifecycleGoalRespon /*@__PURE__*/ GoogleAdsSearchads360V23Services__ConfigureCustomerLifecycleGoalsResponse; export type ConfigureCustomerLifecycleGoalsCustomersCustomerLifecycleGoalError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Process the given customer lifecycle configurations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CustomerLifecycleGoalConfigError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() */ export const configureCustomerLifecycleGoalsCustomersCustomerLifecycleGoal: API.OperationMethod< diff --git a/packages/gcp/src/services/securesourcemanager-v1.ts b/packages/gcp/src/services/securesourcemanager-v1.ts index b95266e1dc..0e32483f1f 100644 --- a/packages/gcp/src/services/securesourcemanager-v1.ts +++ b/packages/gcp/src/services/securesourcemanager-v1.ts @@ -2511,11 +2511,7 @@ export const DeleteProjectsLocationsRepositoriesPullRequestsPullRequestCommentsR /*@__PURE__*/ Operation; export type DeleteProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a pull request comment. */ export const deleteProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2550,9 +2546,7 @@ export const GetProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResp /*@__PURE__*/ PullRequestComment; export type GetProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a pull request comment. */ export const getProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2593,11 +2587,7 @@ export const CreateProjectsLocationsRepositoriesPullRequestsPullRequestCommentsR /*@__PURE__*/ Operation; export type CreateProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a pull request comment. This function is used to create a single PullRequestComment of type Comment, or a single PullRequestComment of type Code that's replying to another PullRequestComment of type Code. Use BatchCreatePullRequestComments to create multiple PullRequestComments for code reviews. */ export const createProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2638,11 +2628,7 @@ export const PatchProjectsLocationsRepositoriesPullRequestsPullRequestCommentsRe /*@__PURE__*/ Operation; export type PatchProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a pull request comment. */ export const patchProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2684,11 +2670,7 @@ export const ResolveProjectsLocationsRepositoriesPullRequestsPullRequestComments /*@__PURE__*/ Operation; export type ResolveProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Resolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be resolved. */ export const resolveProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2732,11 +2714,7 @@ export const UnresolveProjectsLocationsRepositoriesPullRequestsPullRequestCommen /*@__PURE__*/ Operation; export type UnresolveProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Unresolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be unresolved. */ export const unresolveProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2777,9 +2755,7 @@ export const ListProjectsLocationsRepositoriesPullRequestsPullRequestCommentsRes /*@__PURE__*/ ListPullRequestCommentsResponse; export type ListProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists pull request comments. */ export const listProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.PaginatedOperationMethod< @@ -2827,11 +2803,7 @@ export const BatchCreateProjectsLocationsRepositoriesPullRequestsPullRequestComm /*@__PURE__*/ Operation; export type BatchCreateProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Batch creates pull request comments. This function is used to create multiple PullRequestComments for code review. There needs to be exactly one PullRequestComment of type Review, and at most 100 PullRequestComments of type Code per request. The Position of the code comments must be unique within the request. */ export const batchCreateProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< diff --git a/packages/gcp/src/services/securitycenter-v1.ts b/packages/gcp/src/services/securitycenter-v1.ts index f6570707a0..37ba4b8a6c 100644 --- a/packages/gcp/src/services/securitycenter-v1.ts +++ b/packages/gcp/src/services/securitycenter-v1.ts @@ -7557,9 +7557,7 @@ export const ListDescendantFoldersEventThreatDetectionSettingsCustomModulesRespo /*@__PURE__*/ ListDescendantEventThreatDetectionCustomModulesResponse; export type ListDescendantFoldersEventThreatDetectionSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listDescendantFoldersEventThreatDetectionSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantFoldersEventThreatDetectionSettingsCustomModulesRequest, @@ -7700,9 +7698,7 @@ export const ListFoldersEventThreatDetectionSettingsEffectiveCustomModulesRespon /*@__PURE__*/ ListEffectiveEventThreatDetectionCustomModulesResponse; export type ListFoldersEventThreatDetectionSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listFoldersEventThreatDetectionSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListFoldersEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -8685,9 +8681,7 @@ export const ListDescendantFoldersSecurityHealthAnalyticsSettingsCustomModulesRe /*@__PURE__*/ ListDescendantSecurityHealthAnalyticsCustomModulesResponse; export type ListDescendantFoldersSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listDescendantFoldersSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantFoldersSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -8836,9 +8830,7 @@ export const GetFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesResp /*@__PURE__*/ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule; export type GetFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.OperationMethod< GetFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -8874,9 +8866,7 @@ export const ListFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesRes /*@__PURE__*/ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse; export type ListFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -9220,11 +9210,7 @@ export const ValidateCustomModuleOrganizationsEventThreatDetectionSettingsRespon /*@__PURE__*/ ValidateEventThreatDetectionCustomModuleResponse; export type ValidateCustomModuleOrganizationsEventThreatDetectionSettingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const validateCustomModuleOrganizationsEventThreatDetectionSettings: API.OperationMethod< ValidateCustomModuleOrganizationsEventThreatDetectionSettingsRequest, @@ -9255,9 +9241,7 @@ export const GetOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesR /*@__PURE__*/ EffectiveEventThreatDetectionCustomModule; export type GetOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getOrganizationsEventThreatDetectionSettingsEffectiveCustomModules: API.OperationMethod< GetOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -9294,9 +9278,7 @@ export const ListOrganizationsEventThreatDetectionSettingsEffectiveCustomModules /*@__PURE__*/ ListEffectiveEventThreatDetectionCustomModulesResponse; export type ListOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listOrganizationsEventThreatDetectionSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -9340,9 +9322,7 @@ export const ListDescendantOrganizationsEventThreatDetectionSettingsCustomModule /*@__PURE__*/ ListDescendantEventThreatDetectionCustomModulesResponse; export type ListDescendantOrganizationsEventThreatDetectionSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listDescendantOrganizationsEventThreatDetectionSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantOrganizationsEventThreatDetectionSettingsCustomModulesRequest, @@ -11098,9 +11078,7 @@ export const ListOrganizationsSimulationsAttackExposureResultsValuedResourcesRes /*@__PURE__*/ ListValuedResourcesResponse; export type ListOrganizationsSimulationsAttackExposureResultsValuedResourcesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listOrganizationsSimulationsAttackExposureResultsValuedResources: API.PaginatedOperationMethod< ListOrganizationsSimulationsAttackExposureResultsValuedResourcesRequest, @@ -11574,9 +11552,7 @@ export const GetOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModul /*@__PURE__*/ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule; export type GetOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.OperationMethod< GetOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -11613,9 +11589,7 @@ export const ListOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModu /*@__PURE__*/ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse; export type ListOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -11656,9 +11630,7 @@ export const ListOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRespon /*@__PURE__*/ ListSecurityHealthAnalyticsCustomModulesResponse; export type ListOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11702,11 +11674,7 @@ export const CreateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesResp /*@__PURE__*/ GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule; export type CreateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const createOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< CreateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11745,11 +11713,7 @@ export const PatchOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRespo /*@__PURE__*/ GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule; export type PatchOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const patchOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< PatchOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11790,11 +11754,7 @@ export const SimulateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRe /*@__PURE__*/ SimulateSecurityHealthAnalyticsCustomModuleResponse; export type SimulateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const simulateOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< SimulateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11834,9 +11794,7 @@ export const ListDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomMod /*@__PURE__*/ ListDescendantSecurityHealthAnalyticsCustomModulesResponse; export type ListDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11873,11 +11831,7 @@ export const DeleteOrganizationsSecurityHealthAnalyticsSettingsCustomModulesResp /*@__PURE__*/ Empty; export type DeleteOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< DeleteOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -12978,9 +12932,7 @@ export const GetProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRes /*@__PURE__*/ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule; export type GetProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.OperationMethod< GetProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -13017,9 +12969,7 @@ export const ListProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRe /*@__PURE__*/ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse; export type ListProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -13302,9 +13252,7 @@ export const ListDescendantProjectsSecurityHealthAnalyticsSettingsCustomModulesR /*@__PURE__*/ ListDescendantSecurityHealthAnalyticsCustomModulesResponse; export type ListDescendantProjectsSecurityHealthAnalyticsSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listDescendantProjectsSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantProjectsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -13385,9 +13333,7 @@ export const GetProjectsEventThreatDetectionSettingsEffectiveCustomModulesRespon /*@__PURE__*/ EffectiveEventThreatDetectionCustomModule; export type GetProjectsEventThreatDetectionSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getProjectsEventThreatDetectionSettingsEffectiveCustomModules: API.OperationMethod< GetProjectsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -13422,9 +13368,7 @@ export const ListProjectsEventThreatDetectionSettingsEffectiveCustomModulesRespo /*@__PURE__*/ ListEffectiveEventThreatDetectionCustomModulesResponse; export type ListProjectsEventThreatDetectionSettingsEffectiveCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listProjectsEventThreatDetectionSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListProjectsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -13467,9 +13411,7 @@ export const ListDescendantProjectsEventThreatDetectionSettingsCustomModulesResp /*@__PURE__*/ ListDescendantEventThreatDetectionCustomModulesResponse; export type ListDescendantProjectsEventThreatDetectionSettingsCustomModulesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listDescendantProjectsEventThreatDetectionSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantProjectsEventThreatDetectionSettingsCustomModulesRequest, diff --git a/packages/gcp/src/services/sts-v1.ts b/packages/gcp/src/services/sts-v1.ts index 5e15137db6..3178eb05a6 100644 --- a/packages/gcp/src/services/sts-v1.ts +++ b/packages/gcp/src/services/sts-v1.ts @@ -402,9 +402,7 @@ export const GetOpenid_configurationProjectsLocationsWorkloadIdentityPoolsWell_k /*@__PURE__*/ GoogleIdentityStsV1OpenIdProviderConfig; export type GetOpenid_configurationProjectsLocationsWorkloadIdentityPoolsWell_knownError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the OIDC provider configuration for an agentic or managed workload identity pool following [the OIDC 1.0 discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). For now, only agentic system pools are supported. */ export const getOpenid_configurationProjectsLocationsWorkloadIdentityPoolsWell_known: API.OperationMethod< @@ -477,9 +475,7 @@ export const GetOpenid_configurationOrganizationsLocationsWorkloadIdentityPoolsW /*@__PURE__*/ GoogleIdentityStsV1OpenIdProviderConfig; export type GetOpenid_configurationOrganizationsLocationsWorkloadIdentityPoolsWell_knownError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the OIDC provider configuration for an agentic or managed workload identity pool following [the OIDC 1.0 discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). For now, only agentic system pools are supported. */ export const getOpenid_configurationOrganizationsLocationsWorkloadIdentityPoolsWell_known: API.OperationMethod< diff --git a/packages/gcp/src/services/toolresults-v1beta3.ts b/packages/gcp/src/services/toolresults-v1beta3.ts index be9543a96f..022ef55592 100644 --- a/packages/gcp/src/services/toolresults-v1beta3.ts +++ b/packages/gcp/src/services/toolresults-v1beta3.ts @@ -2942,11 +2942,7 @@ export const BatchCreateProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesR /*@__PURE__*/ BatchCreatePerfSamplesResponse; export type BatchCreateProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items which already existed in the database). May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist */ export const batchCreateProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples: API.OperationMethod< diff --git a/packages/gcp/src/services/translate-v3.ts b/packages/gcp/src/services/translate-v3.ts index c562f965bb..7fe43a3a2b 100644 --- a/packages/gcp/src/services/translate-v3.ts +++ b/packages/gcp/src/services/translate-v3.ts @@ -2530,9 +2530,7 @@ export const ListProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSen /*@__PURE__*/ ListAdaptiveMtSentencesResponse; export type ListProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentencesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all AdaptiveMtSentences under a given file/dataset. */ export const listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/vmwareengine-v1.ts b/packages/gcp/src/services/vmwareengine-v1.ts index e63a83e4fa..e3ecd08215 100644 --- a/packages/gcp/src/services/vmwareengine-v1.ts +++ b/packages/gcp/src/services/vmwareengine-v1.ts @@ -4862,11 +4862,7 @@ export const CreateProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRespon /*@__PURE__*/ Operation; export type CreateProjectsLocationsPrivateCloudsManagementDnsZoneBindingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager. */ export const createProjectsLocationsPrivateCloudsManagementDnsZoneBindings: API.OperationMethod< @@ -4904,11 +4900,7 @@ export const RepairProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRespon /*@__PURE__*/ Operation; export type RepairProjectsLocationsPrivateCloudsManagementDnsZoneBindingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Retries to create a `ManagementDnsZoneBinding` resource that is in failed state. */ export const repairProjectsLocationsPrivateCloudsManagementDnsZoneBindings: API.OperationMethod< @@ -5076,11 +5068,7 @@ export const DeleteProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRespon /*@__PURE__*/ Operation; export type DeleteProjectsLocationsPrivateCloudsManagementDnsZoneBindingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone. */ export const deleteProjectsLocationsPrivateCloudsManagementDnsZoneBindings: API.OperationMethod< @@ -5802,11 +5790,7 @@ export const TestIamPermissionsProjectsLocationsPrivateCloudsHcxActivationKeysRe /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsPrivateCloudsHcxActivationKeysError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsPrivateCloudsHcxActivationKeys: API.OperationMethod< diff --git a/packages/gcp/src/services/workstations-v1.ts b/packages/gcp/src/services/workstations-v1.ts index 19af238bb5..c8e3c59891 100644 --- a/packages/gcp/src/services/workstations-v1.ts +++ b/packages/gcp/src/services/workstations-v1.ts @@ -1617,9 +1617,7 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1661,11 +1659,7 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1762,9 +1756,7 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsRes /*@__PURE__*/ ListUsableWorkstationConfigsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigs: API.PaginatedOperationMethod< @@ -1858,11 +1850,7 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1986,9 +1974,7 @@ export const GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstatio /*@__PURE__*/ Workstation; export type GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the requested workstation. */ export const getProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2040,11 +2026,7 @@ export const CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new workstation. */ export const createProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2082,11 +2064,7 @@ export const StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ Operation; export type StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Stops running a workstation, reducing costs. */ export const stopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2128,11 +2106,7 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2173,9 +2147,7 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWor /*@__PURE__*/ ListUsableWorkstationsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2222,11 +2194,7 @@ export const DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specified workstation. */ export const deleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2264,11 +2232,7 @@ export const StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts running a workstation so that users can connect to it. */ export const startProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2319,11 +2283,7 @@ export const PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates an existing workstation. */ export const patchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2365,11 +2325,7 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2411,11 +2367,7 @@ export const GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationC /*@__PURE__*/ GenerateAccessTokenResponse; export type GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token. */ export const generateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2459,9 +2411,7 @@ export const ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ ListWorkstationsResponse; export type ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns all Workstations using the specified workstation configuration. */ export const listProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2505,9 +2455,7 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts b/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts index b3859bd523..7afd38f434 100644 --- a/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts +++ b/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts @@ -55702,11 +55702,7 @@ export const ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperiments /*@__PURE__*/ GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse; export type ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Exports a TensorboardTimeSeries' data. Data is returned in paginated responses. */ export const exportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -55851,9 +55847,7 @@ export const ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesR /*@__PURE__*/ GoogleCloudAiplatformV1beta1ReadTensorboardBlobDataResponse; export type ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission. */ export const readBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -55888,11 +55882,7 @@ export const DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -55927,11 +55917,7 @@ export const CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -55966,9 +55952,7 @@ export const GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -56006,11 +55990,7 @@ export const WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -56059,9 +56039,7 @@ export const ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.PaginatedOperationMethod< @@ -59174,11 +59152,7 @@ export const DeleteProjectsLocationsFeatureGroupsFeatureMonitorsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeatureGroupsFeatureMonitorsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeatureGroupsFeatureMonitorsOperations: API.OperationMethod< @@ -59286,9 +59260,7 @@ export const GetProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsR /*@__PURE__*/ GoogleCloudAiplatformV1beta1FeatureMonitorJob; export type GetProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get a feature monitor job. */ export const getProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs: API.OperationMethod< @@ -59337,11 +59309,7 @@ export const CreateProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJo /*@__PURE__*/ GoogleCloudAiplatformV1beta1FeatureMonitorJob; export type CreateProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new feature monitor job. */ export const createProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs: API.OperationMethod< @@ -59388,9 +59356,7 @@ export const ListProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponse; export type ListProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List feature monitor jobs. */ export const listProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs: API.PaginatedOperationMethod< @@ -61892,9 +61858,7 @@ export const ListProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsResp /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.PaginatedOperationMethod< @@ -61932,9 +61896,7 @@ export const GetProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -61971,11 +61933,7 @@ export const WaitProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -62009,11 +61967,7 @@ export const CancelProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -62048,11 +62002,7 @@ export const DeleteProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -62096,9 +62046,7 @@ export const ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA ) as any as Schema.Codec; export type ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2aError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const extendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2a: API.OperationMethod< @@ -62229,11 +62177,7 @@ export const CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksResp ) as any as Schema.Codec; export type CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const cancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62276,9 +62220,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62319,9 +62261,7 @@ export const SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksR /*@__PURE__*/ GoogleApiHttpBody; export type SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Stream get request for reasoning engine instance via the A2A stream get protocol apis. */ export const subscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62365,9 +62305,7 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevi ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62411,9 +62349,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -62545,9 +62481,7 @@ export const ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA ) as any as Schema.Codec; export type ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Error = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const extendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1: API.OperationMethod< @@ -62589,11 +62523,7 @@ export const StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Message /*@__PURE__*/ GoogleApiHttpBody; export type StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1MessageError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */ export const streamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Message: API.OperationMethod< @@ -62636,11 +62566,7 @@ export const SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1MessageRe ) as any as Schema.Codec; export type SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1MessageError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const sendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Message: API.OperationMethod< @@ -62683,11 +62609,7 @@ export const CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksRe ) as any as Schema.Codec; export type CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const cancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62731,9 +62653,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62774,9 +62694,7 @@ export const SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Task /*@__PURE__*/ GoogleApiHttpBody; export type SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Stream get request for reasoning engine instance via the A2A stream get protocol apis. */ export const subscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62820,9 +62738,7 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevi ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62866,9 +62782,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -62910,11 +62824,7 @@ export const StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageRe /*@__PURE__*/ GoogleApiHttpBody; export type StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */ export const streamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessage: API.OperationMethod< @@ -62957,11 +62867,7 @@ export const SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageResp ) as any as Schema.Codec; export type SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const sendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessage: API.OperationMethod< @@ -63136,9 +63042,7 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesA2aTasksRes ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesA2aTasks: API.OperationMethod< @@ -63268,9 +63172,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksRespo ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasks: API.OperationMethod< @@ -63313,9 +63215,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksPushN ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -63536,9 +63436,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksRes ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1Tasks: API.OperationMethod< @@ -63582,9 +63480,7 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesA2aV1TasksR ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesA2aV1Tasks: API.OperationMethod< @@ -63669,9 +63565,7 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksPus ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -64583,9 +64477,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsR /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.PaginatedOperationMethod< @@ -64624,11 +64516,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64663,9 +64551,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsRe /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64703,11 +64589,7 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsR /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64742,11 +64624,7 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64790,11 +64668,7 @@ export const CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a SandboxEnvironmentTemplate in a given reasoning engine. */ export const createProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -64841,9 +64715,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesRes /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListSandboxEnvironmentTemplatesResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists SandboxEnvironmentTemplates in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.PaginatedOperationMethod< @@ -64882,11 +64754,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specific SandboxEnvironmentTemplate. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -64921,9 +64789,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesResp /*@__PURE__*/ GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of the specific SandboxEnvironmentTemplate. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -64971,9 +64837,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOpe /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.PaginatedOperationMethod< @@ -65012,9 +64876,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -65052,11 +64914,7 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -65091,11 +64949,7 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -65130,11 +64984,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -65699,9 +65549,7 @@ export const ListProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRespo /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.PaginatedOperationMethod< @@ -65739,11 +65587,7 @@ export const CancelProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65778,9 +65622,7 @@ export const GetProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65816,11 +65658,7 @@ export const WaitProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65854,11 +65692,7 @@ export const DeleteProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65905,9 +65739,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsRes /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListSandboxEnvironmentSnapshotsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists SandboxEnvironmentSnapshots in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.PaginatedOperationMethod< @@ -65946,11 +65778,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specific SandboxEnvironmentSnapshot. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -65985,9 +65813,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsResp /*@__PURE__*/ GoogleCloudAiplatformV1beta1SandboxEnvironmentSnapshot; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of the specific SandboxEnvironmentSnapshot. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -66035,9 +65861,7 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOpe /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.PaginatedOperationMethod< @@ -66076,11 +65900,7 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -66115,9 +65935,7 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -66155,11 +65973,7 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -66194,11 +66008,7 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -69794,11 +69604,7 @@ export const SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModel /*@__PURE__*/ GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse; export type SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Searches Model Monitoring Statistics generated within a given time window. */ export const searchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobs: API.OperationMethod< @@ -69978,11 +69784,7 @@ export const DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -70091,11 +69893,7 @@ export const CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -71696,11 +71494,7 @@ export const StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes /*@__PURE__*/ GoogleCloudAiplatformV1beta1ReadFeatureValuesResponse; export type StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses. */ export const streamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes: API.OperationMethod< @@ -72170,9 +71964,7 @@ export const ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.PaginatedOperationMethod< @@ -72210,9 +72002,7 @@ export const GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -72249,11 +72039,7 @@ export const WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -72287,11 +72073,7 @@ export const CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -72326,11 +72108,7 @@ export const DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -73393,11 +73171,7 @@ export const GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeature /*@__PURE__*/ GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse; export type GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token. */ export const generateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73478,11 +73252,7 @@ export const StreamingFetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeat /*@__PURE__*/ GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse; export type StreamingFetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency. */ export const streamingFetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73663,11 +73433,7 @@ export const SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureVie /*@__PURE__*/ GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse; export type SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response. */ export const searchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73711,11 +73477,7 @@ export const TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73759,11 +73521,7 @@ export const FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse; export type FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Fetch feature values under a FeatureView. */ export const fetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73919,9 +73677,7 @@ export const ListProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespo /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.PaginatedOperationMethod< @@ -73959,11 +73715,7 @@ export const DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -73998,9 +73750,7 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -74036,11 +73786,7 @@ export const WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -74074,9 +73820,7 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs /*@__PURE__*/ GoogleCloudAiplatformV1beta1FeatureViewSync; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of a single FeatureViewSync. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.OperationMethod< @@ -74123,9 +73867,7 @@ export const ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSync /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse; export type ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists FeatureViewSyncs in a given FeatureView. */ export const listProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.PaginatedOperationMethod< @@ -75258,9 +75000,7 @@ export const ListProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocat /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListAnalyzedInvocationsResponse; export type ListProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists AnalyzedInvocations in a MonitoredAgent's AnalyzedSession. */ export const listProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocations: API.PaginatedOperationMethod< @@ -75299,9 +75039,7 @@ export const GetProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocati /*@__PURE__*/ GoogleCloudAiplatformV1beta1AnalyzedInvocation; export type GetProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the details of a specific AnalyzedInvocation. */ export const getProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocations: API.OperationMethod< @@ -75842,9 +75580,7 @@ export const QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecut /*@__PURE__*/ GoogleCloudAiplatformV1beta1LineageSubgraph; export type QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events. */ export const queryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutions: API.OperationMethod< @@ -76459,9 +76195,7 @@ export const QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifact /*@__PURE__*/ GoogleCloudAiplatformV1beta1LineageSubgraph; export type QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifactsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph. */ export const queryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifacts: API.OperationMethod< @@ -77246,9 +76980,7 @@ export const QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsR /*@__PURE__*/ GoogleCloudAiplatformV1beta1LineageSubgraph; export type QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. */ export const queryContextLineageSubgraphProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -77292,11 +77024,7 @@ export const AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresCont /*@__PURE__*/ GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsResponse; export type AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContextsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped. */ export const addContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -79627,11 +79355,7 @@ export const DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< @@ -79664,11 +79388,7 @@ export const CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< @@ -92980,9 +92700,7 @@ export const A2aGetReasoningEngineReasoningEnginesA2aTasksPushNotificationConfig ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesA2aTasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -93419,9 +93137,7 @@ export const A2aGetReasoningEngineReasoningEnginesA2aV1TasksPushNotificationConf ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -93975,9 +93691,7 @@ export const PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aTasksResp ) as any as Schema.Codec; export type PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -94106,9 +93820,7 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksRespon ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -94150,9 +93862,7 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksPushNo ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -94462,9 +94172,7 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksResp ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -94507,9 +94215,7 @@ export const PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aV1TasksRe ) as any as Schema.Codec; export type PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -94594,9 +94300,7 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksPush ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigs: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts b/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts index 1a6cb16f92..eab66107dc 100644 --- a/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts +++ b/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts @@ -1958,11 +1958,7 @@ export const BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations /*@__PURE__*/ GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse; export type BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */ export const batchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts b/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts index 3c09ba2a84..cac92054c1 100644 --- a/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts +++ b/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts @@ -5386,11 +5386,7 @@ export const TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsResp /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsSecurityGatewaysApplications: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/cloudbuild-v1.ts b/packages/gcp/src/unstable-services/cloudbuild-v1.ts index 9e6db4f887..7fdab516b3 100644 --- a/packages/gcp/src/unstable-services/cloudbuild-v1.ts +++ b/packages/gcp/src/unstable-services/cloudbuild-v1.ts @@ -4336,11 +4336,7 @@ export const RemoveBitbucketServerConnectedRepositoryProjectsLocationsBitbucketS /*@__PURE__*/ Empty; export type RemoveBitbucketServerConnectedRepositoryProjectsLocationsBitbucketServerConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental. */ export const removeBitbucketServerConnectedRepositoryProjectsLocationsBitbucketServerConfigs: API.OperationMethod< @@ -4429,11 +4425,7 @@ export const BatchCreateProjectsLocationsBitbucketServerConfigsConnectedReposito /*@__PURE__*/ Operation; export type BatchCreateProjectsLocationsBitbucketServerConfigsConnectedRepositoriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Batch connecting Bitbucket Server repositories to Cloud Build. */ export const batchCreateProjectsLocationsBitbucketServerConfigsConnectedRepositories: API.OperationMethod< @@ -4682,11 +4674,7 @@ export const RemoveGitLabConnectedRepositoryProjectsLocationsGitLabConfigsRespon /*@__PURE__*/ Empty; export type RemoveGitLabConnectedRepositoryProjectsLocationsGitLabConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */ export const removeGitLabConnectedRepositoryProjectsLocationsGitLabConfigs: API.OperationMethod< @@ -4773,11 +4761,7 @@ export const BatchCreateProjectsLocationsGitLabConfigsConnectedRepositoriesRespo /*@__PURE__*/ Operation; export type BatchCreateProjectsLocationsGitLabConfigsConnectedRepositoriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */ export const batchCreateProjectsLocationsGitLabConfigsConnectedRepositories: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts b/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts index 2a4c456b81..95db1cd787 100644 --- a/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts +++ b/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts @@ -978,9 +978,7 @@ export const GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsRespon /*@__PURE__*/ PartnerPermissions; export type GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the partner permissions granted for a workload */ export const getPartnerPermissionsOrganizationsLocationsCustomersWorkloads: API.OperationMethod< @@ -1025,9 +1023,7 @@ export const ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsR /*@__PURE__*/ ListAccessApprovalRequestsResponse; export type ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Deprecated: Only returns access approval requests directly associated with an assured workload folder. */ export const listOrganizationsLocationsCustomersWorkloadsAccessApprovalRequests: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/connectors-v1.ts b/packages/gcp/src/unstable-services/connectors-v1.ts index 5505f9971d..15c8b852e8 100644 --- a/packages/gcp/src/unstable-services/connectors-v1.ts +++ b/packages/gcp/src/unstable-services/connectors-v1.ts @@ -5100,9 +5100,7 @@ export const ListProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsR /*@__PURE__*/ ListCustomConnectorVersionsResponse; export type ListProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List CustomConnectorVersions in a given project */ export const listProjectsLocationsGlobalCustomConnectorsCustomConnectorVersions: API.PaginatedOperationMethod< @@ -5153,11 +5151,7 @@ export const CreateProjectsLocationsGlobalCustomConnectorsCustomConnectorVersion /*@__PURE__*/ Operation; export type CreateProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new CustomConnectorVersion in a given project and location. */ export const createProjectsLocationsGlobalCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -5192,9 +5186,7 @@ export const GetProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsRe /*@__PURE__*/ CustomConnectorVersion; export type GetProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets details of a single CustomConnectorVersion. */ export const getProjectsLocationsGlobalCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -6020,9 +6012,7 @@ export const GetEntityTypeProjectsLocationsConnectionsConnectionSchemaMetadataRe /*@__PURE__*/ Operation; export type GetEntityTypeProjectsLocationsConnectionsConnectionSchemaMetadataError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get entity type. */ export const getEntityTypeProjectsLocationsConnectionsConnectionSchemaMetadata: API.OperationMethod< @@ -6069,9 +6059,7 @@ export const ListActionsProjectsLocationsConnectionsConnectionSchemaMetadataResp /*@__PURE__*/ ListActionsResponse; export type ListActionsProjectsLocationsConnectionsConnectionSchemaMetadataError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List actions. */ export const listActionsProjectsLocationsConnectionsConnectionSchemaMetadata: API.PaginatedOperationMethod< @@ -6112,9 +6100,7 @@ export const GetActionProjectsLocationsConnectionsConnectionSchemaMetadataRespon /*@__PURE__*/ Operation; export type GetActionProjectsLocationsConnectionsConnectionSchemaMetadataError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get action. */ export const getActionProjectsLocationsConnectionsConnectionSchemaMetadata: API.OperationMethod< @@ -6159,9 +6145,7 @@ export const ListEntityTypesProjectsLocationsConnectionsConnectionSchemaMetadata /*@__PURE__*/ ListEntityTypesResponse; export type ListEntityTypesProjectsLocationsConnectionsConnectionSchemaMetadataError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List entity types. */ export const listEntityTypesProjectsLocationsConnectionsConnectionSchemaMetadata: API.PaginatedOperationMethod< @@ -7661,11 +7645,7 @@ export const PublishProjectsLocationsCustomConnectorsCustomConnectorVersionsResp /*@__PURE__*/ Operation; export type PublishProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Publish request for the CustomConnectorVersion. Once approved, the CustomConnectorVersion will be published as PartnerConnector. */ export const publishProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -7699,11 +7679,7 @@ export const DeleteProjectsLocationsCustomConnectorsCustomConnectorVersionsRespo /*@__PURE__*/ Operation; export type DeleteProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a single CustomConnectorVersion. */ export const deleteProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -7742,11 +7718,7 @@ export const DeprecateProjectsLocationsCustomConnectorsCustomConnectorVersionsRe /*@__PURE__*/ Operation; export type DeprecateProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deprecates a single CustomConnectorVersion. */ export const deprecateProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -7786,11 +7758,7 @@ export const WithdrawProjectsLocationsCustomConnectorsCustomConnectorVersionsRes /*@__PURE__*/ Operation; export type WithdrawProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Withdraw the publish request for the CustomConnectorVersion. This can only be used before the CustomConnectorVersion is published. */ export const withdrawProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/dataform-v1beta1.ts b/packages/gcp/src/unstable-services/dataform-v1beta1.ts index 563cabff47..a4651ed5c0 100644 --- a/packages/gcp/src/unstable-services/dataform-v1beta1.ts +++ b/packages/gcp/src/unstable-services/dataform-v1beta1.ts @@ -4306,9 +4306,7 @@ export const QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesRespon /*@__PURE__*/ QueryDirectoryContentsResponse; export type QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the contents of a given Workspace directory. */ export const queryDirectoryContentsProjectsLocationsRepositoriesWorkspaces: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/dialogflow-v2.ts b/packages/gcp/src/unstable-services/dialogflow-v2.ts index 80c369a523..e56b31bb28 100644 --- a/packages/gcp/src/unstable-services/dialogflow-v2.ts +++ b/packages/gcp/src/unstable-services/dialogflow-v2.ts @@ -12935,11 +12935,7 @@ export const SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsResp /*@__PURE__*/ GoogleCloudDialogflowV2SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestSmartRepliesProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsRequest, @@ -13024,11 +13020,7 @@ export const SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRespon /*@__PURE__*/ GoogleCloudDialogflowV2SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestFaqAnswersProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRequest, @@ -13068,11 +13060,7 @@ export const SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsR /*@__PURE__*/ GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestKnowledgeAssistProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsRequest, @@ -14753,11 +14741,7 @@ export const SetSuggestionFeatureConfigProjectsLocationsConversationProfilesResp /*@__PURE__*/ GoogleLongrunningOperation; export type SetSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const setSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< SetSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -14798,11 +14782,7 @@ export const ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRe /*@__PURE__*/ GoogleLongrunningOperation; export type ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const clearSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -17565,11 +17545,7 @@ export const DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteContextsProjectsLocationsAgentEnvironmentsUsersSessions: API.OperationMethod< DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRequest, @@ -17644,9 +17620,7 @@ export const GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespon /*@__PURE__*/ GoogleCloudDialogflowV2SessionEntityType; export type GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17681,9 +17655,7 @@ export const ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespo /*@__PURE__*/ GoogleCloudDialogflowV2ListSessionEntityTypesResponse; export type ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.PaginatedOperationMethod< ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17726,11 +17698,7 @@ export const PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesResp /*@__PURE__*/ GoogleCloudDialogflowV2SessionEntityType; export type PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const patchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17762,11 +17730,7 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17804,11 +17768,7 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleCloudDialogflowV2SessionEntityType; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17955,11 +17915,7 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -17993,11 +17949,7 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleCloudDialogflowV2Context; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -18496,11 +18448,7 @@ export const SuggestSmartRepliesProjectsLocationsConversationsParticipantsSugges /*@__PURE__*/ GoogleCloudDialogflowV2SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18542,11 +18490,7 @@ export const SuggestArticlesProjectsLocationsConversationsParticipantsSuggestion /*@__PURE__*/ GoogleCloudDialogflowV2SuggestArticlesResponse; export type SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestArticlesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18588,11 +18532,7 @@ export const SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggesti /*@__PURE__*/ GoogleCloudDialogflowV2SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18634,11 +18574,7 @@ export const SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSug /*@__PURE__*/ GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18767,11 +18703,7 @@ export const SuggestConversationSummaryProjectsLocationsConversationsSuggestions /*@__PURE__*/ GoogleCloudDialogflowV2SuggestConversationSummaryResponse; export type SuggestConversationSummaryProjectsLocationsConversationsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestConversationSummaryProjectsLocationsConversationsSuggestions: API.OperationMethod< SuggestConversationSummaryProjectsLocationsConversationsSuggestionsRequest, diff --git a/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts b/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts index 8c074b97f7..80fb992aa1 100644 --- a/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts +++ b/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts @@ -13493,11 +13493,7 @@ export const SetSuggestionFeatureConfigProjectsLocationsConversationProfilesResp /*@__PURE__*/ GoogleLongrunningOperation; export type SetSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const setSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< SetSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -13538,11 +13534,7 @@ export const ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRe /*@__PURE__*/ GoogleLongrunningOperation; export type ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const clearSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -15237,11 +15229,7 @@ export const DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteContextsProjectsLocationsAgentEnvironmentsUsersSessions: API.OperationMethod< DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRequest, @@ -15358,11 +15346,7 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleCloudDialogflowV2beta1Context; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -15476,11 +15460,7 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -15515,9 +15495,7 @@ export const ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespo /*@__PURE__*/ GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse; export type ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const listProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.PaginatedOperationMethod< ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15560,11 +15538,7 @@ export const PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesResp /*@__PURE__*/ GoogleCloudDialogflowV2beta1SessionEntityType; export type PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const patchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15596,11 +15570,7 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15642,11 +15612,7 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleCloudDialogflowV2beta1SessionEntityType; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15679,9 +15645,7 @@ export const GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespon /*@__PURE__*/ GoogleCloudDialogflowV2beta1SessionEntityType; export type GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const getProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17102,11 +17066,7 @@ export const SuggestSmartRepliesProjectsLocationsConversationsParticipantsSugges /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17148,11 +17108,7 @@ export const SuggestArticlesProjectsLocationsConversationsParticipantsSuggestion /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestArticlesResponse; export type SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestArticlesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17194,11 +17150,7 @@ export const SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggesti /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17240,11 +17192,7 @@ export const SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSug /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17461,11 +17409,7 @@ export const SuggestConversationSummaryProjectsLocationsConversationsSuggestions /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse; export type SuggestConversationSummaryProjectsLocationsConversationsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestConversationSummaryProjectsLocationsConversationsSuggestions: API.OperationMethod< SuggestConversationSummaryProjectsLocationsConversationsSuggestionsRequest, @@ -22504,11 +22448,7 @@ export const SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsResp /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestSmartRepliesProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsRequest, @@ -22549,11 +22489,7 @@ export const SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsR /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestKnowledgeAssistProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsRequest, @@ -22683,11 +22619,7 @@ export const SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRespon /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const suggestFaqAnswersProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRequest, diff --git a/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts b/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts index 88e5288319..ce8f0f0d4b 100644 --- a/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts +++ b/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts @@ -15342,11 +15342,7 @@ export const ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessi /*@__PURE__*/ GoogleCloudDialogflowCxV3beta1DetectIntentResponse; export type ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const serverStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessions: API.OperationMethod< ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsRequest, diff --git a/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts b/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts index 21b64713d6..365e80ae61 100644 --- a/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts +++ b/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts @@ -22364,11 +22364,7 @@ export const RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse; export type RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */ export const retractLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -22461,11 +22457,7 @@ export const DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsR /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse; export type DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Distributes a LicenseConfig from billing account level to project level. */ export const distributeLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -24177,11 +24169,7 @@ export const RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse; export type RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again. */ export const removeSuggestionProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -24225,11 +24213,7 @@ export const CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -24542,11 +24526,7 @@ export const StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsEnginesServingConfigs: API.OperationMethod< @@ -25450,9 +25430,7 @@ export const GetProjectsLocationsCollectionsEnginesSessionsAlphaEvolveExperiment /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesSessionsAlphaEvolveExperimentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesSessionsAlphaEvolveExperimentsOperations: API.OperationMethod< @@ -26240,9 +26218,7 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsOperations: API.OperationMethod< @@ -26286,11 +26262,7 @@ export const ImportProjectsLocationsCollectionsEnginesAssistantsAgentsFilesRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse; export type ImportProjectsLocationsCollectionsEnginesAssistantsAgentsFilesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports a file to an Agent. Currently only No-Code agents are supported. */ export const importProjectsLocationsCollectionsEnginesAssistantsAgentsFiles: API.OperationMethod< @@ -26338,11 +26310,7 @@ export const CreateProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaCannedQuery; export type CreateProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a CannedQuery. */ export const createProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26385,11 +26353,7 @@ export const PatchProjectsLocationsCollectionsEnginesAssistantsCannedQueriesResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaCannedQuery; export type PatchProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a CannedQuery. */ export const patchProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26423,9 +26387,7 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaCannedQuery; export type GetProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a CannedQuery. */ export const getProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26458,11 +26420,7 @@ export const DeleteProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a CannedQuery. */ export const deleteProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26506,9 +26464,7 @@ export const ListProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse; export type ListProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all CannedQuerys under an Assistant. */ export const listProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.PaginatedOperationMethod< @@ -27617,9 +27573,7 @@ export const GetDocumentProcessingConfigProjectsLocationsCollectionsDataStoresRe /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; export type GetDocumentProcessingConfigProjectsLocationsCollectionsDataStoresError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a DocumentProcessingConfig. */ export const getDocumentProcessingConfigProjectsLocationsCollectionsDataStores: API.OperationMethod< @@ -27662,11 +27616,7 @@ export const UpdateDocumentProcessingConfigProjectsLocationsCollectionsDataStore /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; export type UpdateDocumentProcessingConfigProjectsLocationsCollectionsDataStoresError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */ export const updateDocumentProcessingConfigProjectsLocationsCollectionsDataStores: API.OperationMethod< @@ -27798,9 +27748,7 @@ export const BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBran /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse; export type BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranchesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets index freshness metadata for Documents. Supported for website search only. */ export const batchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranches: API.OperationMethod< @@ -27875,11 +27823,7 @@ export const CancelProjectsLocationsCollectionsDataStoresBranchesOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsCollectionsDataStoresBranchesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsCollectionsDataStoresBranchesOperations: API.OperationMethod< @@ -28051,11 +27995,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Document. */ export const deleteProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28191,11 +28131,7 @@ export const CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDocument; export type CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a Document. */ export const createProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28237,11 +28173,7 @@ export const ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. */ export const importProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28296,9 +28228,7 @@ export const GetProcessedDocumentProjectsLocationsCollectionsDataStoresBranchesD /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaProcessedDocument; export type GetProcessedDocumentProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the parsed layout information for a Document. */ export const getProcessedDocumentProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28333,9 +28263,7 @@ export const GetProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaChunk; export type GetProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a Document. */ export const getProjectsLocationsCollectionsDataStoresBranchesDocumentsChunks: API.OperationMethod< @@ -28376,9 +28304,7 @@ export const ListProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksRe /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaListChunksResponse; export type ListProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a list of Chunks. */ export const listProjectsLocationsCollectionsDataStoresBranchesDocumentsChunks: API.PaginatedOperationMethod< @@ -28426,11 +28352,7 @@ export const BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSea /*@__PURE__*/ GoogleLongrunningOperation; export type BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */ export const batchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28474,11 +28396,7 @@ export const EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteS /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28522,9 +28440,7 @@ export const FetchDomainVerificationStatusProjectsLocationsCollectionsDataStores /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse; export type FetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */ export const fetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.PaginatedOperationMethod< @@ -28566,9 +28482,7 @@ export const GetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse; export type GetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */ export const getUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28612,11 +28526,7 @@ export const SetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type SetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */ export const setUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28660,11 +28570,7 @@ export const DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28708,11 +28614,7 @@ export const RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineRe /*@__PURE__*/ GoogleLongrunningOperation; export type RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Request on-demand recrawl for a list of URIs. */ export const recrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28761,9 +28663,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.PaginatedOperationMethod< @@ -28802,9 +28702,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.OperationMethod< @@ -28848,11 +28746,7 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a TargetSite. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28896,11 +28790,7 @@ export const BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTa /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28935,11 +28825,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a TargetSite. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28980,9 +28866,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a list of TargetSites. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.PaginatedOperationMethod< @@ -29026,11 +28910,7 @@ export const PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSi /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a TargetSite. */ export const patchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -29065,9 +28945,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaTargetSite; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a TargetSite. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -29116,9 +28994,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.PaginatedOperationMethod< @@ -29157,9 +29033,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.OperationMethod< @@ -29194,11 +29068,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Sitemap. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -29238,9 +29108,7 @@ export const FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse; export type FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Fetch Sitemaps in a DataStore. */ export const fetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -29284,11 +29152,7 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a Sitemap. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -29803,11 +29667,7 @@ export const ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsRe /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports CompletionSuggestions for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -29851,11 +29711,7 @@ export const PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsRes /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Permanently deletes all CompletionSuggestions for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -29899,11 +29755,7 @@ export const SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaSearchResponse; export type SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */ export const searchLiteProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30206,11 +30058,7 @@ export const RecommendProjectsLocationsCollectionsDataStoresServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaRecommendResponse; export type RecommendProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Makes a recommendation, which requires a contextual user event. */ export const recommendProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30297,11 +30145,7 @@ export const StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30689,11 +30533,7 @@ export const CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsDataStoresCompletionConfig: API.OperationMethod< @@ -30737,11 +30577,7 @@ export const ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntri /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports all SuggestionDenyListEntry for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -30785,11 +30621,7 @@ export const PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntrie /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -34146,11 +33978,7 @@ export const EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -34194,11 +34022,7 @@ export const DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngin /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -34379,11 +34203,7 @@ export const BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesRe /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -35383,9 +35203,7 @@ export const GetProcessedDocumentProjectsLocationsDataStoresBranchesDocumentsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaProcessedDocument; export type GetProcessedDocumentProjectsLocationsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the parsed layout information for a Document. */ export const getProcessedDocumentProjectsLocationsDataStoresBranchesDocuments: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts b/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts index b036301a65..a92885c6e6 100644 --- a/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts +++ b/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts @@ -20311,11 +20311,7 @@ export const DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsR /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigResponse; export type DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Distributes a LicenseConfig from billing account level to project level. */ export const distributeLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -20361,11 +20357,7 @@ export const RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaRetractLicenseConfigResponse; export type RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */ export const retractLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -21819,11 +21811,7 @@ export const CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsDataStoresCompletionConfig: API.OperationMethod< @@ -22421,11 +22409,7 @@ export const ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsRe /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports CompletionSuggestions for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -22469,11 +22453,7 @@ export const PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsRes /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Permanently deletes all CompletionSuggestions for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -22517,11 +22497,7 @@ export const ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntri /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports all SuggestionDenyListEntry for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -22565,11 +22541,7 @@ export const PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntrie /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -23298,9 +23270,7 @@ export const BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBran /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse; export type BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranchesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets index freshness metadata for Documents. Supported for website search only. */ export const batchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranches: API.OperationMethod< @@ -23428,11 +23398,7 @@ export const CancelProjectsLocationsCollectionsDataStoresBranchesOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsCollectionsDataStoresBranchesOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsCollectionsDataStoresBranchesOperations: API.OperationMethod< @@ -23619,11 +23585,7 @@ export const CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaDocument; export type CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a Document. */ export const createProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -23700,11 +23662,7 @@ export const ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. */ export const importProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -23737,11 +23695,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Document. */ export const deleteProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -23783,11 +23737,7 @@ export const SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaSearchResponse; export type SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */ export const searchLiteProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -23830,11 +23780,7 @@ export const StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -24183,11 +24129,7 @@ export const RecommendProjectsLocationsCollectionsDataStoresServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaRecommendResponse; export type RecommendProjectsLocationsCollectionsDataStoresServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Makes a recommendation, which requires a contextual user event. */ export const recommendProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -24229,11 +24171,7 @@ export const RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineRe /*@__PURE__*/ GoogleLongrunningOperation; export type RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Request on-demand recrawl for a list of URIs. */ export const recrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24277,11 +24215,7 @@ export const EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteS /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24325,11 +24259,7 @@ export const BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSea /*@__PURE__*/ GoogleLongrunningOperation; export type BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */ export const batchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24373,11 +24303,7 @@ export const DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24421,9 +24347,7 @@ export const FetchDomainVerificationStatusProjectsLocationsCollectionsDataStores /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse; export type FetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */ export const fetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.PaginatedOperationMethod< @@ -24476,9 +24400,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.PaginatedOperationMethod< @@ -24517,9 +24439,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.OperationMethod< @@ -24559,9 +24479,7 @@ export const FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse; export type FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Fetch Sitemaps in a DataStore. */ export const fetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -24605,11 +24523,7 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a Sitemap. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -24644,11 +24558,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a Sitemap. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -24688,11 +24598,7 @@ export const PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSi /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates a TargetSite. */ export const patchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24733,9 +24639,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaListTargetSitesResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a list of TargetSites. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.PaginatedOperationMethod< @@ -24783,11 +24687,7 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a TargetSite. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24831,11 +24731,7 @@ export const BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTa /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24870,9 +24766,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaTargetSite; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a TargetSite. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24907,11 +24801,7 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a TargetSite. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24960,9 +24850,7 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.PaginatedOperationMethod< @@ -25001,9 +24889,7 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.OperationMethod< @@ -25902,9 +25788,7 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsOperations: API.OperationMethod< @@ -26508,11 +26392,7 @@ export const StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsEnginesServingConfigs: API.OperationMethod< @@ -26605,11 +26485,7 @@ export const CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -26653,11 +26529,7 @@ export const RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponse; export type RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again. */ export const removeSuggestionProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -28252,11 +28124,7 @@ export const DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngin /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28300,11 +28168,7 @@ export const EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28394,11 +28258,7 @@ export const BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesRe /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/displayvideo-v2.ts b/packages/gcp/src/unstable-services/displayvideo-v2.ts index 3dfc67ae35..9cc47442c5 100644 --- a/packages/gcp/src/unstable-services/displayvideo-v2.ts +++ b/packages/gcp/src/unstable-services/displayvideo-v2.ts @@ -13103,9 +13103,7 @@ export const BulkListAdGroupAssignedTargetingOptionsAdvertisersYoutubeAdGroupsRe /*@__PURE__*/ BulkListAdGroupAssignedTargetingOptionsResponse; export type BulkListAdGroupAssignedTargetingOptionsAdvertisersYoutubeAdGroupsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists assigned targeting options for multiple YouTube ad groups across targeting types. Inherited assigned targeting options are not included. */ export const bulkListAdGroupAssignedTargetingOptionsAdvertisersYoutubeAdGroups: API.PaginatedOperationMethod< @@ -13303,9 +13301,7 @@ export const GetAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a single targeting option assigned to a YouTube ad group. Inherited assigned targeting options are not included. */ export const getAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -13412,9 +13408,7 @@ export const ListAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOption /*@__PURE__*/ ListYoutubeAdGroupAssignedTargetingOptionsResponse; export type ListAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the targeting options assigned to a YouTube ad group. Inherited assigned targeting options are not included. */ export const listAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -14621,9 +14615,7 @@ export const GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a single targeting option assigned to a line item. */ export const getAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -14728,9 +14720,7 @@ export const ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespo /*@__PURE__*/ ListLineItemAssignedTargetingOptionsResponse; export type ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the targeting options assigned to a line item. */ export const listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -14832,11 +14822,7 @@ export const CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const createAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -14936,11 +14922,7 @@ export const DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const deleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/displayvideo-v3.ts b/packages/gcp/src/unstable-services/displayvideo-v3.ts index c36cafa715..6cc702d0e4 100644 --- a/packages/gcp/src/unstable-services/displayvideo-v3.ts +++ b/packages/gcp/src/unstable-services/displayvideo-v3.ts @@ -11762,11 +11762,7 @@ export const DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const deleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -11867,9 +11863,7 @@ export const GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets a single targeting option assigned to a line item. */ export const getAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -11975,9 +11969,7 @@ export const ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespo /*@__PURE__*/ ListLineItemAssignedTargetingOptionsResponse; export type ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the targeting options assigned to a line item. */ export const listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -12080,11 +12072,7 @@ export const CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const createAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -13531,11 +13519,7 @@ export const DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ Empty; export type DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes an assigned targeting option from an ad group. This method is only supported for Demand Gen ad groups with the AdGroupFormat `AD_GROUP_FORMAT_DEMAND_GEN`. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const deleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -13642,9 +13626,7 @@ export const ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ ListAdGroupAssignedTargetingOptionsResponse; export type ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included. */ export const listAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -13746,11 +13728,7 @@ export const CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Assigns a targeting option to an ad group. Returns the assigned targeting option if successful. This method is only supported for Demand Gen ad groups. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const createAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/documentai-v1beta3.ts b/packages/gcp/src/unstable-services/documentai-v1beta3.ts index d29f48e80b..908cd848a9 100644 --- a/packages/gcp/src/unstable-services/documentai-v1beta3.ts +++ b/packages/gcp/src/unstable-services/documentai-v1beta3.ts @@ -7613,11 +7613,7 @@ export const EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersion /*@__PURE__*/ GoogleLongrunningOperation; export type EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. */ export const evaluateProcessorVersionProjectsLocationsProcessorsProcessorVersions: API.OperationMethod< @@ -7661,11 +7657,7 @@ export const ImportProcessorVersionProjectsLocationsProcessorsProcessorVersionsR /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProcessorVersionProjectsLocationsProcessorsProcessorVersionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Imports a processor version from source processor version. */ export const importProcessorVersionProjectsLocationsProcessorsProcessorVersions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/domains-v1alpha2.ts b/packages/gcp/src/unstable-services/domains-v1alpha2.ts index d4b8f83aa9..07dc4e39a9 100644 --- a/packages/gcp/src/unstable-services/domains-v1alpha2.ts +++ b/packages/gcp/src/unstable-services/domains-v1alpha2.ts @@ -1663,9 +1663,7 @@ export const RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations /*@__PURE__*/ RetrieveGoogleDomainsForwardingConfigResponse; export type RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. */ export const retrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations: API.OperationMethod< @@ -1924,9 +1922,7 @@ export const RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsRespon /*@__PURE__*/ RetrieveGoogleDomainsDnsRecordsResponse; export type RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`. */ export const retrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/domains-v1beta1.ts b/packages/gcp/src/unstable-services/domains-v1beta1.ts index 09133d5a52..8f1b3818c6 100644 --- a/packages/gcp/src/unstable-services/domains-v1beta1.ts +++ b/packages/gcp/src/unstable-services/domains-v1beta1.ts @@ -1705,9 +1705,7 @@ export const RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsRespon /*@__PURE__*/ RetrieveGoogleDomainsDnsRecordsResponse; export type RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`. */ export const retrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrations: API.PaginatedOperationMethod< @@ -2382,9 +2380,7 @@ export const RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations /*@__PURE__*/ RetrieveGoogleDomainsForwardingConfigResponse; export type RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. */ export const retrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/gkehub-v1.ts b/packages/gcp/src/unstable-services/gkehub-v1.ts index eac9fe248b..e4ff058297 100644 --- a/packages/gcp/src/unstable-services/gkehub-v1.ts +++ b/packages/gcp/src/unstable-services/gkehub-v1.ts @@ -4580,11 +4580,7 @@ export const GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRb /*@__PURE__*/ GenerateMembershipRBACRoleBindingYAMLResponse; export type GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */ export const generateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindings: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/gkehub-v1alpha.ts b/packages/gcp/src/unstable-services/gkehub-v1alpha.ts index 52589c3382..b202809312 100644 --- a/packages/gcp/src/unstable-services/gkehub-v1alpha.ts +++ b/packages/gcp/src/unstable-services/gkehub-v1alpha.ts @@ -5908,11 +5908,7 @@ export const GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRb /*@__PURE__*/ GenerateMembershipRBACRoleBindingYAMLResponse; export type GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */ export const generateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindings: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/gkehub-v1beta.ts b/packages/gcp/src/unstable-services/gkehub-v1beta.ts index 05a493094e..0ae8911cb0 100644 --- a/packages/gcp/src/unstable-services/gkehub-v1beta.ts +++ b/packages/gcp/src/unstable-services/gkehub-v1beta.ts @@ -4676,11 +4676,7 @@ export const GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRb /*@__PURE__*/ GenerateMembershipRBACRoleBindingYAMLResponse; export type GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */ export const generateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindings: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/healthcare-v1beta1.ts b/packages/gcp/src/unstable-services/healthcare-v1beta1.ts index bc00f1c231..0aeb930cdf 100644 --- a/packages/gcp/src/unstable-services/healthcare-v1beta1.ts +++ b/packages/gcp/src/unstable-services/healthcare-v1beta1.ts @@ -4757,11 +4757,7 @@ export const SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebS /*@__PURE__*/ Operation; export type SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** SetBlobStorageSettings sets the blob storage settings of the specified resources. */ export const setBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4796,9 +4792,7 @@ export const GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesR /*@__PURE__*/ StudyMetrics; export type GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetStudyMetrics returns metrics for a study. */ export const getStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4833,9 +4827,7 @@ export const GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies /*@__PURE__*/ SeriesMetrics; export type GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetSeriesMetrics returns metrics for a series. */ export const getSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeries: API.OperationMethod< @@ -4870,9 +4862,7 @@ export const GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSe /*@__PURE__*/ StorageInfo; export type GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** GetStorageInfo returns the storage info of the specified resource. */ export const getStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstances: API.OperationMethod< @@ -5084,9 +5074,7 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesRespon /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudies: API.OperationMethod< @@ -5260,9 +5248,7 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesRe /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5303,9 +5289,7 @@ export const RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesResp /*@__PURE__*/ HttpBody; export type RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5349,11 +5333,7 @@ export const UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesResp /*@__PURE__*/ Operation; export type UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** UpdateSeriesMetadata modifies the metadata of all instances in the given series. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of all instances within the series. */ export const updateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5436,9 +5416,7 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5479,9 +5457,7 @@ export const RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). */ export const retrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5525,9 +5501,7 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5568,11 +5542,7 @@ export const DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). */ export const deleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5613,9 +5583,7 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5660,11 +5628,7 @@ export const UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInst /*@__PURE__*/ HttpBody; export type UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** UpdateInstanceMetadata modifies the metadata of a single instance. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of the instance. */ export const updateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5705,9 +5669,7 @@ export const RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See [Retrieve Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata). */ export const retrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdata: API.OperationMethod< @@ -5751,9 +5713,7 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -5794,9 +5754,7 @@ export const RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInst /*@__PURE__*/ HttpBody; export type RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -6727,11 +6685,7 @@ export const TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesResp /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsDatasetsDataMapperWorkspaces: API.OperationMethod< @@ -7794,9 +7748,7 @@ export const Resource_incoming_referencesProjectsLocationsDatasetsFhirStoresFhir /*@__PURE__*/ HttpBody; export type Resource_incoming_referencesProjectsLocationsDatasetsFhirStoresFhirError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all the resources that directly refer to the given target FHIR resource. Can also support the case when the target resource doesn't exist, for example, if the target has been deleted. On success, the response body contains a Bundle with type `searchset`, where each entry in the Bundle contains the full content of the resource. If the operation fails, an `OperationOutcome` is returned describing the failure. If the request cannot be mapped to a valid API method on a FHIR store, a generic Google Cloud error might be returned instead. */ export const Resource_incoming_referencesProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -7948,9 +7900,7 @@ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirRe /*@__PURE__*/ HttpBody; export type Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2. */ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8132,9 +8082,7 @@ export const ConceptMap_search_translateProjectsLocationsDatasetsFhirStoresFhirR /*@__PURE__*/ HttpBody; export type ConceptMap_search_translateProjectsLocationsDatasetsFhirStoresFhirError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Translates a code from one value set to another by searching for appropriate concept maps. Implements the FHIR standard $translate operation ([DSTU2](https://www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.hl7.org/fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.org/fhir/R4/operation-conceptmap-translate.html), [R5](https://www.hl7.org/fhir/R5/operation-conceptmap-translate.html)). On success, the response body contains a JSON-encoded representation of a FHIR Parameters resource, which includes the translation result. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. */ export const ConceptMap_search_translateProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8484,9 +8432,7 @@ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStor /*@__PURE__*/ HttpBody; export type Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2. */ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8903,11 +8849,7 @@ export const Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsR /*@__PURE__*/ HttpBody; export type Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request). Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response. */ export const delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< @@ -8942,9 +8884,7 @@ export const Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperati /*@__PURE__*/ HttpBody; export type Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data status request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can have one of these states: * in-progress: response status code is `202` and `X-Progress` header is set to `in progress`. * complete: response status code is `200` and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource describing the reason for the error. */ export const get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< @@ -9819,11 +9759,7 @@ export const ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsRespon /*@__PURE__*/ ArchiveUserDataMappingResponse; export type ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Archives the specified User data mapping. */ export const archiveProjectsLocationsDatasetsConsentStoresUserDataMappings: API.OperationMethod< @@ -9856,9 +9792,7 @@ export const GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespon /*@__PURE__*/ AttributeDefinition; export type GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the specified Attribute definition. */ export const getProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -9900,9 +9834,7 @@ export const ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespo /*@__PURE__*/ ListAttributeDefinitionsResponse; export type ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists the Attribute definitions in the specified consent store. */ export const listProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.PaginatedOperationMethod< @@ -9946,11 +9878,7 @@ export const PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsResp /*@__PURE__*/ AttributeDefinition; export type PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates the specified Attribute definition. */ export const patchProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -9984,11 +9912,7 @@ export const DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent. */ export const deleteProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -10035,11 +9959,7 @@ export const CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ AttributeDefinition; export type CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new Attribute definition in the parent consent store. */ export const createProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/iam-v1.ts b/packages/gcp/src/unstable-services/iam-v1.ts index dad2f4c8e3..da865acea3 100644 --- a/packages/gcp/src/unstable-services/iam-v1.ts +++ b/packages/gcp/src/unstable-services/iam-v1.ts @@ -3875,11 +3875,7 @@ export const CreateProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdenti /*@__PURE__*/ Operation; export type CreateProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */ export const createProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -3914,9 +3910,7 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitie /*@__PURE__*/ WorkloadIdentityPoolManagedIdentity; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets an individual WorkloadIdentityPoolManagedIdentity. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -3962,9 +3956,7 @@ export const ListProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentiti /*@__PURE__*/ ListWorkloadIdentityPoolManagedIdentitiesResponse; export type ListProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identities are also listed. */ export const listProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.PaginatedOperationMethod< @@ -4010,11 +4002,7 @@ export const AddAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesM /*@__PURE__*/ Operation; export type AddAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50. */ export const addAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4054,11 +4042,7 @@ export const UndeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIden /*@__PURE__*/ Operation; export type UndeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Undeletes a WorkloadIdentityPoolManagedIdentity, as long as it was deleted fewer than 30 days ago. */ export const undeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4102,9 +4086,7 @@ export const ListAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespace /*@__PURE__*/ ListAttestationRulesResponse; export type ListAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** List all AttestationRule on a WorkloadIdentityPoolManagedIdentity. */ export const listAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.PaginatedOperationMethod< @@ -4150,11 +4132,7 @@ export const SetAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespaces /*@__PURE__*/ Operation; export type SetAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set. */ export const setAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4196,11 +4174,7 @@ export const RemoveAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespac /*@__PURE__*/ Operation; export type RemoveAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity. */ export const removeAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4243,11 +4217,7 @@ export const PatchProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentit /*@__PURE__*/ Operation; export type PatchProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates an existing WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */ export const patchProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4282,11 +4252,7 @@ export const DeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdenti /*@__PURE__*/ Operation; export type DeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a WorkloadIdentityPoolManagedIdentity. You can undelete a managed identity for 30 days. After 30 days, deletion is permanent. */ export const deleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4321,9 +4287,7 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitie /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesOperations: API.OperationMethod< @@ -4358,9 +4322,7 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitie /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesWorkloadSourcesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesWorkloadSourcesOperations: API.OperationMethod< @@ -4395,9 +4357,7 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesOperationsRespon /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesOperations: API.OperationMethod< @@ -4891,9 +4851,7 @@ export const GetProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsRes /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/monitoring-v1.ts b/packages/gcp/src/unstable-services/monitoring-v1.ts index 39268368d6..d39cb41c04 100644 --- a/packages/gcp/src/unstable-services/monitoring-v1.ts +++ b/packages/gcp/src/unstable-services/monitoring-v1.ts @@ -1746,9 +1746,7 @@ export const ListMetricsScopesByMonitoredProjectLocationsGlobalMetricsScopesResp /*@__PURE__*/ ListMetricsScopesByMonitoredProjectResponse; export type ListMetricsScopesByMonitoredProjectLocationsGlobalMetricsScopesError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response. */ export const listMetricsScopesByMonitoredProjectLocationsGlobalMetricsScopes: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts b/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts index 3f9cfd09fb..ceb5051955 100644 --- a/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts +++ b/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts @@ -3203,9 +3203,7 @@ export const QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsRespon /*@__PURE__*/ QueryOrgVpcFlowLogsConfigsResponse; export type QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */ export const queryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< @@ -3257,9 +3255,7 @@ export const ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsResp /*@__PURE__*/ ShowEffectiveFlowLogsConfigsResponse; export type ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */ export const showEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts b/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts index 8db9021227..783d8a7fe7 100644 --- a/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts +++ b/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts @@ -7027,9 +7027,7 @@ export const GetProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsR /*@__PURE__*/ WildfireVerdictChangeRequest; export type GetProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and location. */ export const getProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< @@ -7076,9 +7074,7 @@ export const ListProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests /*@__PURE__*/ ListWildfireVerdictChangeRequestsResponse; export type ListProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in a project and location. */ export const listProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.PaginatedOperationMethod< @@ -7124,11 +7120,7 @@ export const CreateProjectsLocationsFirewallEndpointsWildfireVerdictChangeReques /*@__PURE__*/ WildfireVerdictChangeRequest; export type CreateProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Create WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and location. */ export const createProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< @@ -9934,9 +9926,7 @@ export const ListOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeReq /*@__PURE__*/ ListWildfireVerdictChangeRequestsResponse; export type ListOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in an organization and location. */ export const listOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.PaginatedOperationMethod< @@ -9982,11 +9972,7 @@ export const CreateOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeR /*@__PURE__*/ WildfireVerdictChangeRequest; export type CreateOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Create WildfireVerdictChangeRequest in a given Firewall Endpoint in an organization and location. */ export const createOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< @@ -10021,9 +10007,7 @@ export const GetOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequ /*@__PURE__*/ WildfireVerdictChangeRequest; export type GetOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Get WildfireVerdictChangeRequest in a given Firewall Endpoint in an organization and location. */ export const getOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts b/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts index 76190f60df..6a63bf434e 100644 --- a/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts +++ b/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts @@ -1028,9 +1028,7 @@ export const GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getOrganizationsLocationsOrgPolicyViolationsPreviewsOperations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/policysimulator-v1beta.ts b/packages/gcp/src/unstable-services/policysimulator-v1beta.ts index b88b00f087..60fe0043a2 100644 --- a/packages/gcp/src/unstable-services/policysimulator-v1beta.ts +++ b/packages/gcp/src/unstable-services/policysimulator-v1beta.ts @@ -1275,9 +1275,7 @@ export const GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getOrganizationsLocationsOrgPolicyViolationsPreviewsOperations: API.OperationMethod< @@ -1317,9 +1315,7 @@ export const ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViola /*@__PURE__*/ GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse; export type ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview. */ export const listOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/privateca-v1beta1.ts b/packages/gcp/src/unstable-services/privateca-v1beta1.ts index 0a83a95739..87e41b6026 100644 --- a/packages/gcp/src/unstable-services/privateca-v1beta1.ts +++ b/packages/gcp/src/unstable-services/privateca-v1beta1.ts @@ -658,11 +658,7 @@ export const SetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevoc /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -702,9 +698,7 @@ export const GetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevoc /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -746,11 +740,7 @@ export const TestIamPermissionsProjectsLocationsCertificateAuthoritiesCertificat /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsCertificateAuthoritiesCertificateRevocationListsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/recommender-v1beta1.ts b/packages/gcp/src/unstable-services/recommender-v1beta1.ts index 0542038ed2..050311ee23 100644 --- a/packages/gcp/src/unstable-services/recommender-v1beta1.ts +++ b/packages/gcp/src/unstable-services/recommender-v1beta1.ts @@ -1352,11 +1352,7 @@ export const MarkSucceededOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkSucceededOrganizationsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< @@ -1526,11 +1522,7 @@ export const MarkDismissedOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkDismissedOrganizationsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2676,11 +2668,7 @@ export const MarkDismissedBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkDismissedBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2724,11 +2712,7 @@ export const MarkFailedBillingAccountsLocationsRecommendersRecommendationsRespon /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkFailedBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markFailedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2805,11 +2789,7 @@ export const MarkClaimedBillingAccountsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkClaimedBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markClaimedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2852,11 +2832,7 @@ export const MarkSucceededBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkSucceededBillingAccountsLocationsRecommendersRecommendationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/retail-v2alpha.ts b/packages/gcp/src/unstable-services/retail-v2alpha.ts index 534c983943..a18a242b32 100644 --- a/packages/gcp/src/unstable-services/retail-v2alpha.ts +++ b/packages/gcp/src/unstable-services/retail-v2alpha.ts @@ -5704,9 +5704,7 @@ export const GetConversationalSearchCustomizationConfigProjectsLocationsCatalogs /*@__PURE__*/ GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig; export type GetConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the conversational search customization config for a given catalog. */ export const getConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -6284,11 +6282,7 @@ export const UpdateConversationalSearchCustomizationConfigProjectsLocationsCatal /*@__PURE__*/ GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig; export type UpdateConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates the conversational search customization config for a given catalog. */ export const updateConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -6332,11 +6326,7 @@ export const RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigResp /*@__PURE__*/ GoogleCloudRetailV2alphaAttributesConfig; export type RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */ export const removeCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -6379,11 +6369,7 @@ export const ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigRes /*@__PURE__*/ GoogleCloudRetailV2alphaAttributesConfig; export type ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */ export const replaceCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -6473,11 +6459,7 @@ export const BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConf /*@__PURE__*/ GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse; export type BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes all specified CatalogAttributes from the AttributesConfig. */ export const batchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -8254,11 +8236,7 @@ export const AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const addFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -8432,11 +8410,7 @@ export const RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRes /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -8480,11 +8454,7 @@ export const RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsResp /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeLocalInventoriesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/retail-v2beta.ts b/packages/gcp/src/unstable-services/retail-v2beta.ts index 55f355f0d2..3056f463c7 100644 --- a/packages/gcp/src/unstable-services/retail-v2beta.ts +++ b/packages/gcp/src/unstable-services/retail-v2beta.ts @@ -5822,9 +5822,7 @@ export const GetConversationalSearchCustomizationConfigProjectsLocationsCatalogs /*@__PURE__*/ GoogleCloudRetailV2betaConversationalSearchCustomizationConfig; export type GetConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the conversational search customization config for a given catalog. */ export const getConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -5871,11 +5869,7 @@ export const UpdateConversationalSearchCustomizationConfigProjectsLocationsCatal /*@__PURE__*/ GoogleCloudRetailV2betaConversationalSearchCustomizationConfig; export type UpdateConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates the conversational search customization config for a given catalog. */ export const updateConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -6899,11 +6893,7 @@ export const RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsResp /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeLocalInventoriesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -6992,11 +6982,7 @@ export const RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRes /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7088,11 +7074,7 @@ export const AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const addFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7440,11 +7422,7 @@ export const RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigResp /*@__PURE__*/ GoogleCloudRetailV2betaAttributesConfig; export type RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */ export const removeCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -7487,11 +7465,7 @@ export const ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigRes /*@__PURE__*/ GoogleCloudRetailV2betaAttributesConfig; export type ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */ export const replaceCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -7535,11 +7509,7 @@ export const BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConf /*@__PURE__*/ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse; export type BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfigError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Removes all specified CatalogAttributes from the AttributesConfig. */ export const batchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts b/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts index 5f8fadc0ab..15ed0ef33a 100644 --- a/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts +++ b/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts @@ -8412,11 +8412,7 @@ export const UpdateContainerThreatDetectionSettingsProjectsLocationsClustersResp /*@__PURE__*/ ContainerThreatDetectionSettings; export type UpdateContainerThreatDetectionSettingsProjectsLocationsClustersError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; export const updateContainerThreatDetectionSettingsProjectsLocationsClusters: API.OperationMethod< UpdateContainerThreatDetectionSettingsProjectsLocationsClustersRequest, @@ -8452,9 +8448,7 @@ export const CalculateProjectsLocationsClustersContainerThreatDetectionSettingsR /*@__PURE__*/ ContainerThreatDetectionSettings; export type CalculateProjectsLocationsClustersContainerThreatDetectionSettingsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; export const calculateProjectsLocationsClustersContainerThreatDetectionSettings: API.OperationMethod< CalculateProjectsLocationsClustersContainerThreatDetectionSettingsRequest, diff --git a/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts b/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts index 3224cab1da..6d95f7ba14 100644 --- a/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts +++ b/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts @@ -2661,11 +2661,7 @@ export const DeleteServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesRespon /*@__PURE__*/ Operation; export type DeleteServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes a producer quota policy. */ export const deleteServicesConsumerQuotaMetricsLimitsProducerQuotaPolicies: API.OperationMethod< @@ -2718,11 +2714,7 @@ export const CreateServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesRespon /*@__PURE__*/ Operation; export type CreateServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a producer quota policy. A producer quota policy is applied by the owner or administrator of a service at an org or folder node to set the default quota limit for all consumers under the node where the policy is created. To create multiple policies at once, use ImportProducerQuotaPolicies instead. If a policy with the specified dimensions already exists, this call will fail. To overwrite an existing policy if one is already present ("upsert" semantics), use ImportProducerQuotaPolicies instead. */ export const createServicesConsumerQuotaMetricsLimitsProducerQuotaPolicies: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/tpu-v2alpha1.ts b/packages/gcp/src/unstable-services/tpu-v2alpha1.ts index f04c53769c..a6208fa07f 100644 --- a/packages/gcp/src/unstable-services/tpu-v2alpha1.ts +++ b/packages/gcp/src/unstable-services/tpu-v2alpha1.ts @@ -2025,11 +2025,7 @@ export const PerformMaintenanceQueuedResourceProjectsLocationsQueuedResourcesRes /*@__PURE__*/ Operation; export type PerformMaintenanceQueuedResourceProjectsLocationsQueuedResourcesError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Perform manual maintenance on specific nodes of a QueuedResource. */ export const performMaintenanceQueuedResourceProjectsLocationsQueuedResources: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/workstations-v1beta.ts b/packages/gcp/src/unstable-services/workstations-v1beta.ts index 138c08fac5..4e4c9e4308 100644 --- a/packages/gcp/src/unstable-services/workstations-v1beta.ts +++ b/packages/gcp/src/unstable-services/workstations-v1beta.ts @@ -1624,9 +1624,7 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsRes /*@__PURE__*/ ListUsableWorkstationConfigsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigs: API.PaginatedOperationMethod< @@ -1725,11 +1723,7 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1769,9 +1763,7 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1848,11 +1840,7 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1996,11 +1984,7 @@ export const PushCredentialsProjectsLocationsWorkstationClustersWorkstationConfi /*@__PURE__*/ Operation; export type PushCredentialsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Pushes credentials to a running workstation on behalf of a user. Once complete, supported credential types (application_default_credentials) are made available to processes running in the user container. */ export const pushCredentialsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2035,9 +2019,7 @@ export const GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstatio /*@__PURE__*/ Workstation; export type GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns the requested workstation. */ export const getProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2075,11 +2057,7 @@ export const StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Starts running a workstation so that users can connect to it. */ export const startProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2123,9 +2101,7 @@ export const ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ ListWorkstationsResponse; export type ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns all Workstations using the specified workstation configuration. */ export const listProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2167,11 +2143,7 @@ export const StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ Operation; export type StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Stops running a workstation, reducing costs. */ export const stopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2223,11 +2195,7 @@ export const CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Creates a new workstation. */ export const createProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2269,11 +2237,7 @@ export const GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationC /*@__PURE__*/ GenerateAccessTokenResponse; export type GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token. */ export const generateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2315,11 +2279,7 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2359,9 +2319,7 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2403,11 +2361,7 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2448,9 +2402,7 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWor /*@__PURE__*/ ListUsableWorkstationsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden; + DefaultErrors | NotFound | Forbidden; /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2505,11 +2457,7 @@ export const PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Updates an existing workstation. */ export const patchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2552,11 +2500,7 @@ export const DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - | DefaultErrors - | NotFound - | Forbidden - | BadRequest - | Conflict; + DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; /** Deletes the specified workstation. */ export const deleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< From 6ed69cae1e36e69c0a7d43284a662c1ac7e1cd26 Mon Sep 17 00:00:00 2001 From: Sam Goodwin Date: Fri, 17 Jul 2026 22:15:43 -0700 Subject: [PATCH 63/63] chore: reformat with oxfmt 0.36.0 (the lockfile/CI version) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous format commit was made with oxfmt 0.58.0 hoisted from the outer alchemy workspace (catalog: latest); this repo's lockfile and CI pin 0.36.0, which rejects 0.58 output (e.g. parens around constructor return types), failing ci-aws/azure/gcp/posthog/... Reverts the 87 skewed files to 0.36 canon. tsc and oxlint unaffected. Note: any local `bun run check` inside this repo from within the alchemy checkout resolves the hoisted 0.58 binary and will disagree — use bunx oxfmt@0.36.0 until the two repos align versions. Co-Authored-By: Claude Fable 5 --- packages/aws/src/hash/crc32.ts | 2 +- packages/aws/src/hash/md5.ts | 2 +- packages/azure/src/services/migrate.ts | 94 ++-- packages/gcp/src/services/aiplatform-v1.ts | 268 ++++++++-- .../gcp/src/services/androidpublisher-v3.ts | 6 +- packages/gcp/src/services/apigee-v1.ts | 64 ++- .../gcp/src/services/apigeeregistry-v1.ts | 6 +- packages/gcp/src/services/apihub-v1.ts | 8 +- packages/gcp/src/services/apim-v1alpha.ts | 8 +- .../gcp/src/services/assuredworkloads-v1.ts | 6 +- packages/gcp/src/services/backupdr-v1.ts | 4 +- packages/gcp/src/services/beyondcorp-v1.ts | 6 +- .../gcp/src/services/chromemanagement-v1.ts | 4 +- packages/gcp/src/services/cloudchannel-v1.ts | 22 +- .../src/services/cloudcontrolspartner-v1.ts | 8 +- packages/gcp/src/services/clouddeploy-v1.ts | 10 +- packages/gcp/src/services/cloudkms-v1.ts | 40 +- packages/gcp/src/services/connectors-v2.ts | 18 +- .../src/services/contactcenterinsights-v1.ts | 162 ++++-- packages/gcp/src/services/dataform-v1.ts | 4 +- .../gcp/src/services/datalabeling-v1beta1.ts | 20 +- packages/gcp/src/services/datamanager-v1.ts | 4 +- packages/gcp/src/services/datamigration-v1.ts | 8 +- packages/gcp/src/services/dataproc-v1.ts | 40 +- .../gcp/src/services/developerconnect-v1.ts | 30 +- packages/gcp/src/services/dialogflow-v3.ts | 6 +- .../gcp/src/services/discoveryengine-v1.ts | 264 ++++++++-- packages/gcp/src/services/displayvideo-v4.ts | 68 ++- packages/gcp/src/services/documentai-v1.ts | 6 +- packages/gcp/src/services/domains-v1.ts | 8 +- packages/gcp/src/services/gkebackup-v1.ts | 22 +- packages/gcp/src/services/gkeonprem-v1.ts | 30 +- packages/gcp/src/services/healthcare-v1.ts | 120 ++++- packages/gcp/src/services/integrations-v1.ts | 28 +- packages/gcp/src/services/kmsinventory-v1.ts | 4 +- packages/gcp/src/services/managedkafka-v1.ts | 46 +- .../src/services/networkconnectivity-v1.ts | 26 +- .../gcp/src/services/networkmanagement-v1.ts | 36 +- .../gcp/src/services/oracledatabase-v1.ts | 6 +- .../gcp/src/services/policysimulator-v1.ts | 8 +- packages/gcp/src/services/privateca-v1.ts | 30 +- .../services/recommendationengine-v1beta1.ts | 16 +- packages/gcp/src/services/recommender-v1.ts | 36 +- packages/gcp/src/services/retail-v2.ts | 40 +- packages/gcp/src/services/searchads360-v23.ts | 24 +- .../src/services/securesourcemanager-v1.ts | 44 +- .../gcp/src/services/securitycenter-v1.ts | 106 +++- packages/gcp/src/services/sts-v1.ts | 8 +- .../gcp/src/services/toolresults-v1beta3.ts | 6 +- packages/gcp/src/services/translate-v3.ts | 4 +- packages/gcp/src/services/vmwareengine-v1.ts | 24 +- packages/gcp/src/services/workstations-v1.ts | 84 ++- .../unstable-services/aiplatform-v1beta1.ts | 498 ++++++++++++++---- .../assuredworkloads-v1beta1.ts | 6 +- .../unstable-services/beyondcorp-v1alpha.ts | 6 +- .../src/unstable-services/cloudbuild-v1.ts | 24 +- .../cloudcontrolspartner-v1beta.ts | 8 +- .../src/unstable-services/connectors-v1.ts | 54 +- .../src/unstable-services/dataform-v1beta1.ts | 4 +- .../src/unstable-services/dialogflow-v2.ts | 104 +++- .../unstable-services/dialogflow-v2beta1.ts | 104 +++- .../unstable-services/dialogflow-v3beta1.ts | 6 +- .../discoveryengine-v1alpha.ts | 292 ++++++++-- .../discoveryengine-v1beta.ts | 220 ++++++-- .../src/unstable-services/displayvideo-v2.ts | 32 +- .../src/unstable-services/displayvideo-v3.ts | 36 +- .../unstable-services/documentai-v1beta3.ts | 12 +- .../src/unstable-services/domains-v1alpha2.ts | 8 +- .../src/unstable-services/domains-v1beta1.ts | 8 +- .../gcp/src/unstable-services/gkehub-v1.ts | 6 +- .../src/unstable-services/gkehub-v1alpha.ts | 6 +- .../src/unstable-services/gkehub-v1beta.ts | 6 +- .../unstable-services/healthcare-v1beta1.ts | 140 +++-- packages/gcp/src/unstable-services/iam-v1.ts | 70 ++- .../src/unstable-services/monitoring-v1.ts | 4 +- .../networkmanagement-v1beta1.ts | 8 +- .../networksecurity-v1beta1.ts | 28 +- .../policysimulator-v1alpha.ts | 4 +- .../policysimulator-v1beta.ts | 8 +- .../unstable-services/privateca-v1beta1.ts | 16 +- .../unstable-services/recommender-v1beta1.ts | 36 +- .../src/unstable-services/retail-v2alpha.ts | 46 +- .../src/unstable-services/retail-v2beta.ts | 46 +- .../securitycenter-v1beta2.ts | 10 +- .../serviceconsumermanagement-v1beta1.ts | 12 +- .../gcp/src/unstable-services/tpu-v2alpha1.ts | 6 +- .../unstable-services/workstations-v1beta.ts | 90 +++- 87 files changed, 3120 insertions(+), 788 deletions(-) diff --git a/packages/aws/src/hash/crc32.ts b/packages/aws/src/hash/crc32.ts index ea29a4a427..94a23c6f23 100644 --- a/packages/aws/src/hash/crc32.ts +++ b/packages/aws/src/hash/crc32.ts @@ -22,7 +22,7 @@ class NodeCrc32 implements Checksum { } } -export const getCrc32ChecksumAlgorithmFunction = (): new () => Checksum => { +export const getCrc32ChecksumAlgorithmFunction = (): (new () => Checksum) => { if (typeof (zlib as any).crc32 === "function") { return NodeCrc32; } diff --git a/packages/aws/src/hash/md5.ts b/packages/aws/src/hash/md5.ts index eb71ad4dbd..d31d993418 100644 --- a/packages/aws/src/hash/md5.ts +++ b/packages/aws/src/hash/md5.ts @@ -18,6 +18,6 @@ class NodeMd5 implements Checksum { } } -export const getMd5ChecksumAlgorithmFunction = (): new () => Checksum => { +export const getMd5ChecksumAlgorithmFunction = (): (new () => Checksum) => { return NodeMd5; }; diff --git a/packages/azure/src/services/migrate.ts b/packages/azure/src/services/migrate.ts index 38bb87994c..c489b60dce 100644 --- a/packages/azure/src/services/migrate.ts +++ b/packages/azure/src/services/migrate.ts @@ -14145,53 +14145,53 @@ export const PrivateEndpointConnectionControllerDeletePrivateEndpointConnectionI // Output Schema export type PrivateEndpointConnectionControllerDeletePrivateEndpointConnectionOutput = - | "Continue" - | "SwitchingProtocols" - | "OK" - | "Created" - | "Accepted" - | "NonAuthoritativeInformation" - | "NoContent" - | "ResetContent" - | "PartialContent" - | "MultipleChoices" - | "Ambiguous" - | "MovedPermanently" - | "Moved" - | "Found" - | "Redirect" - | "SeeOther" - | "RedirectMethod" - | "NotModified" - | "UseProxy" - | "Unused" - | "TemporaryRedirect" - | "RedirectKeepVerb" - | "BadRequest" - | "Unauthorized" - | "PaymentRequired" - | "Forbidden" - | "NotFound" - | "MethodNotAllowed" - | "NotAcceptable" - | "ProxyAuthenticationRequired" - | "RequestTimeout" - | "Conflict" - | "Gone" - | "LengthRequired" - | "PreconditionFailed" - | "RequestEntityTooLarge" - | "RequestUriTooLong" - | "UnsupportedMediaType" - | "RequestedRangeNotSatisfiable" - | "ExpectationFailed" - | "UpgradeRequired" - | "InternalServerError" - | "NotImplemented" - | "BadGateway" - | "ServiceUnavailable" - | "GatewayTimeout" - | "HttpVersionNotSupported"; + | "Continue" + | "SwitchingProtocols" + | "OK" + | "Created" + | "Accepted" + | "NonAuthoritativeInformation" + | "NoContent" + | "ResetContent" + | "PartialContent" + | "MultipleChoices" + | "Ambiguous" + | "MovedPermanently" + | "Moved" + | "Found" + | "Redirect" + | "SeeOther" + | "RedirectMethod" + | "NotModified" + | "UseProxy" + | "Unused" + | "TemporaryRedirect" + | "RedirectKeepVerb" + | "BadRequest" + | "Unauthorized" + | "PaymentRequired" + | "Forbidden" + | "NotFound" + | "MethodNotAllowed" + | "NotAcceptable" + | "ProxyAuthenticationRequired" + | "RequestTimeout" + | "Conflict" + | "Gone" + | "LengthRequired" + | "PreconditionFailed" + | "RequestEntityTooLarge" + | "RequestUriTooLong" + | "UnsupportedMediaType" + | "RequestedRangeNotSatisfiable" + | "ExpectationFailed" + | "UpgradeRequired" + | "InternalServerError" + | "NotImplemented" + | "BadGateway" + | "ServiceUnavailable" + | "GatewayTimeout" + | "HttpVersionNotSupported"; export const PrivateEndpointConnectionControllerDeletePrivateEndpointConnectionOutput = /*@__PURE__*/ Schema.Literals([ "Continue", diff --git a/packages/gcp/src/services/aiplatform-v1.ts b/packages/gcp/src/services/aiplatform-v1.ts index a17f740ad4..0b961be184 100644 --- a/packages/gcp/src/services/aiplatform-v1.ts +++ b/packages/gcp/src/services/aiplatform-v1.ts @@ -35509,7 +35509,11 @@ export const GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeature /*@__PURE__*/ GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse; export type GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token. */ export const generateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -35720,7 +35724,11 @@ export const FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleCloudAiplatformV1FetchFeatureValuesResponse; export type FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Fetch feature values under a FeatureView. */ export const fetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -35764,7 +35772,11 @@ export const TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -35997,7 +36009,11 @@ export const SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureVie /*@__PURE__*/ GoogleCloudAiplatformV1SearchNearestEntitiesResponse; export type SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response. */ export const searchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -36078,7 +36094,11 @@ export const DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -36116,7 +36136,11 @@ export const WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -36164,7 +36188,9 @@ export const ListWaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsR /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListWaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listWaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.PaginatedOperationMethod< @@ -36203,7 +36229,9 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -36248,7 +36276,9 @@ export const ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSync /*@__PURE__*/ GoogleCloudAiplatformV1ListFeatureViewSyncsResponse; export type ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists FeatureViewSyncs in a given FeatureView. */ export const listProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.PaginatedOperationMethod< @@ -36287,7 +36317,9 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs /*@__PURE__*/ GoogleCloudAiplatformV1FeatureViewSync; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of a single FeatureViewSync. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.OperationMethod< @@ -38431,7 +38463,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesResp /*@__PURE__*/ GoogleCloudAiplatformV1SandboxEnvironmentTemplate; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of the specific SandboxEnvironmentTemplate. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -38465,7 +38499,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specific SandboxEnvironmentTemplate. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -38509,7 +38547,11 @@ export const CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a SandboxEnvironmentTemplate in a given reasoning engine. */ export const createProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -38553,7 +38595,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesRes /*@__PURE__*/ GoogleCloudAiplatformV1ListSandboxEnvironmentTemplatesResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists SandboxEnvironmentTemplates in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.PaginatedOperationMethod< @@ -38592,7 +38636,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -38627,7 +38675,11 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -38662,7 +38714,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -38700,7 +38754,11 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -39069,7 +39127,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsRe /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39107,7 +39167,11 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsR /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39142,7 +39206,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39177,7 +39245,11 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -39800,7 +39872,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsResp /*@__PURE__*/ GoogleCloudAiplatformV1SandboxEnvironmentSnapshot; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of the specific SandboxEnvironmentSnapshot. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -39843,7 +39917,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsRes /*@__PURE__*/ GoogleCloudAiplatformV1ListSandboxEnvironmentSnapshotsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists SandboxEnvironmentSnapshots in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.PaginatedOperationMethod< @@ -39882,7 +39958,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specific SandboxEnvironmentSnapshot. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -39917,7 +39997,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -39952,7 +40036,11 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -39987,7 +40075,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -40025,7 +40115,11 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -41765,7 +41859,11 @@ export const SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModel /*@__PURE__*/ GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse; export type SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Searches Model Monitoring Statistics generated within a given time window. */ export const searchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobs: API.OperationMethod< @@ -42053,7 +42151,11 @@ export const DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -42087,7 +42189,11 @@ export const CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -48560,7 +48666,11 @@ export const ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperiments /*@__PURE__*/ GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse; export type ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Exports a TensorboardTimeSeries' data. Data is returned in paginated responses. */ export const exportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -48647,7 +48757,9 @@ export const ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesR /*@__PURE__*/ GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse; export type ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission. */ export const readBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -48762,7 +48874,11 @@ export const DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -48797,7 +48913,11 @@ export const CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -48832,7 +48952,9 @@ export const GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -48881,7 +49003,9 @@ export const ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.PaginatedOperationMethod< @@ -48923,7 +49047,11 @@ export const WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -57381,7 +57509,9 @@ export const QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecut /*@__PURE__*/ GoogleCloudAiplatformV1LineageSubgraph; export type QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events. */ export const queryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutions: API.OperationMethod< @@ -57829,7 +57959,11 @@ export const AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresCont /*@__PURE__*/ GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse; export type AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContextsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped. */ export const addContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -58225,7 +58359,9 @@ export const QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsR /*@__PURE__*/ GoogleCloudAiplatformV1LineageSubgraph; export type QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. */ export const queryContextLineageSubgraphProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -58600,7 +58736,9 @@ export const QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifact /*@__PURE__*/ GoogleCloudAiplatformV1LineageSubgraph; export type QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifactsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph. */ export const queryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifacts: API.OperationMethod< @@ -60842,7 +60980,11 @@ export const StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes /*@__PURE__*/ GoogleCloudAiplatformV1ReadFeatureValuesResponse; export type StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses. */ export const streamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes: API.OperationMethod< @@ -61783,7 +61925,11 @@ export const WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -61831,7 +61977,9 @@ export const ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.PaginatedOperationMethod< @@ -61869,7 +62017,9 @@ export const GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -61903,7 +62053,11 @@ export const DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -61938,7 +62092,11 @@ export const CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -63999,7 +64157,11 @@ export const DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< @@ -64032,7 +64194,11 @@ export const CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/androidpublisher-v3.ts b/packages/gcp/src/services/androidpublisher-v3.ts index 7257b7afb5..ce60b10845 100644 --- a/packages/gcp/src/services/androidpublisher-v3.ts +++ b/packages/gcp/src/services/androidpublisher-v3.ts @@ -8646,7 +8646,11 @@ export const BatchUpdateStatesMonetizationOnetimeproductsPurchaseOptionsOffersRe /*@__PURE__*/ BatchUpdateOneTimeProductOfferStatesResponse; export type BatchUpdateStatesMonetizationOnetimeproductsPurchaseOptionsOffersError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a batch of one-time product offer states. */ export const batchUpdateStatesMonetizationOnetimeproductsPurchaseOptionsOffers: API.OperationMethod< diff --git a/packages/gcp/src/services/apigee-v1.ts b/packages/gcp/src/services/apigee-v1.ts index 28a7dff011..a4d518b514 100644 --- a/packages/gcp/src/services/apigee-v1.ts +++ b/packages/gcp/src/services/apigee-v1.ts @@ -9364,7 +9364,11 @@ export const GenerateKeyPairOrUpdateDeveloperAppStatusOrganizationsDevelopersApp /*@__PURE__*/ GoogleCloudApigeeV1DeveloperApp; export type GenerateKeyPairOrUpdateDeveloperAppStatusOrganizationsDevelopersAppsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approve` or `revoke`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still approved. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approve` or `revoke`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API. */ export const generateKeyPairOrUpdateDeveloperAppStatusOrganizationsDevelopersApps: API.OperationMethod< @@ -9880,7 +9884,11 @@ export const UpdateDeveloperAppKeyApiProductOrganizationsDevelopersAppsKeysApipr /*@__PURE__*/ GoogleProtobufEmpty; export type UpdateDeveloperAppKeyApiProductOrganizationsDevelopersAppsKeysApiproductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs. A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to `revoked` will not allow access to the API. */ export const updateDeveloperAppKeyApiProductOrganizationsDevelopersAppsKeysApiproducts: API.OperationMethod< @@ -9990,7 +9998,11 @@ export const UpdateDeveloperAppAttributeOrganizationsDevelopersAppsAttributesRes /*@__PURE__*/ GoogleCloudApigeeV1Attribute; export type UpdateDeveloperAppAttributeOrganizationsDevelopersAppsAttributesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a developer app attribute. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds. */ export const updateDeveloperAppAttributeOrganizationsDevelopersAppsAttributes: API.OperationMethod< @@ -11309,7 +11321,11 @@ export const ComputeEnvironmentScoresOrganizationsSecurityProfilesEnvironmentsRe /*@__PURE__*/ GoogleCloudApigeeV1ComputeEnvironmentScoresResponse; export type ComputeEnvironmentScoresOrganizationsSecurityProfilesEnvironmentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment. */ export const computeEnvironmentScoresOrganizationsSecurityProfilesEnvironments: API.OperationMethod< @@ -15598,7 +15614,9 @@ export const ListEnvironmentResourcesOrganizationsEnvironmentsResourcefilesRespo /*@__PURE__*/ GoogleCloudApigeeV1ListEnvironmentResourcesResponse; export type ListEnvironmentResourcesOrganizationsEnvironmentsResourcefilesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all resource files, optionally filtering by type. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files). */ export const listEnvironmentResourcesOrganizationsEnvironmentsResourcefiles: API.OperationMethod< @@ -16738,7 +16756,11 @@ export const GenerateDeployChangeReportOrganizationsEnvironmentsApisRevisionsDep /*@__PURE__*/ GoogleCloudApigeeV1DeploymentChangeReport; export type GenerateDeployChangeReportOrganizationsEnvironmentsApisRevisionsDeploymentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a report for a dry run analysis of a DeployApiProxy request without committing the deployment. In addition to the standard validations performed when adding deployments, additional analysis will be done to detect possible traffic routing changes that would result from this deployment being created. Any potential routing conflicts or unsafe changes will be reported in the response. This routing analysis is not performed for a non-dry-run DeployApiProxy request. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments:generateDeployChangeReport`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.deploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}` */ export const generateDeployChangeReportOrganizationsEnvironmentsApisRevisionsDeployments: API.OperationMethod< @@ -16777,7 +16799,11 @@ export const GenerateUndeployChangeReportOrganizationsEnvironmentsApisRevisionsD /*@__PURE__*/ GoogleCloudApigeeV1DeploymentChangeReport; export type GenerateUndeployChangeReportOrganizationsEnvironmentsApisRevisionsDeploymentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a report for a dry run analysis of an UndeployApiProxy request without committing the undeploy. In addition to the standard validations performed when removing deployments, additional analysis will be done to detect possible traffic routing changes that would result from this deployment being removed. Any potential routing conflicts or unsafe changes will be reported in the response. This routing analysis is not performed for a non-dry-run UndeployApiProxy request. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments:generateUndeployChangeReport`, two permissions are required: * `apigee.deployments.delete` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.undeploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}` */ export const generateUndeployChangeReportOrganizationsEnvironmentsApisRevisionsDeployments: API.OperationMethod< @@ -16939,7 +16965,11 @@ export const DeleteDataOrganizationsEnvironmentsApisRevisionsDebugsessionsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteDataOrganizationsEnvironmentsApisRevisionsDebugsessionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the data from a debug session. This does not cancel the debug session or prevent further data from being collected if the session is still active in runtime pods. */ export const deleteDataOrganizationsEnvironmentsApisRevisionsDebugsessions: API.OperationMethod< @@ -17411,7 +17441,11 @@ export const DetachSharedFlowFromFlowHookOrganizationsEnvironmentsFlowhooksRespo /*@__PURE__*/ GoogleCloudApigeeV1FlowHook; export type DetachSharedFlowFromFlowHookOrganizationsEnvironmentsFlowhooksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Detaches a shared flow from a flow hook. */ export const detachSharedFlowFromFlowHookOrganizationsEnvironmentsFlowhooks: API.OperationMethod< @@ -18893,7 +18927,11 @@ export const GenerateDownloadUrlOrganizationsEnvironmentsArchiveDeploymentsRespo /*@__PURE__*/ GoogleCloudApigeeV1GenerateDownloadUrlResponse; export type GenerateDownloadUrlOrganizationsEnvironmentsArchiveDeploymentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL. */ export const generateDownloadUrlOrganizationsEnvironmentsArchiveDeployments: API.OperationMethod< @@ -20302,7 +20340,11 @@ export const UpdateAppGroupAppKeyApiProductOrganizationsAppgroupsAppsKeysApiprod /*@__PURE__*/ GoogleProtobufEmpty; export type UpdateAppGroupAppKeyApiProductOrganizationsAppgroupsAppsKeysApiproductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs. A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to `revoked` will not allow access to the API. */ export const updateAppGroupAppKeyApiProductOrganizationsAppgroupsAppsKeysApiproducts: API.OperationMethod< diff --git a/packages/gcp/src/services/apigeeregistry-v1.ts b/packages/gcp/src/services/apigeeregistry-v1.ts index eb686bd370..cfa4f7fb4d 100644 --- a/packages/gcp/src/services/apigeeregistry-v1.ts +++ b/packages/gcp/src/services/apigeeregistry-v1.ts @@ -2739,7 +2739,11 @@ export const TestIamPermissionsProjectsLocationsApisVersionsSpecsArtifactsRespon /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsApisVersionsSpecsArtifactsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsApisVersionsSpecsArtifacts: API.OperationMethod< diff --git a/packages/gcp/src/services/apihub-v1.ts b/packages/gcp/src/services/apihub-v1.ts index 99c380f26e..2a5d261e23 100644 --- a/packages/gcp/src/services/apihub-v1.ts +++ b/packages/gcp/src/services/apihub-v1.ts @@ -4078,7 +4078,9 @@ export const ListProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperatio /*@__PURE__*/ GoogleCloudApihubV1ListDiscoveredApiOperationsResponse; export type ListProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all the DiscoveredAPIOperations in a given project, location and ApiObservation. */ export const listProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperations: API.PaginatedOperationMethod< @@ -4117,7 +4119,9 @@ export const GetProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperation /*@__PURE__*/ GoogleCloudApihubV1DiscoveredApiOperation; export type GetProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a DiscoveredAPIOperation in a given project, location, ApiObservation and ApiOperation. */ export const getProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/apim-v1alpha.ts b/packages/gcp/src/services/apim-v1alpha.ts index b44bec668c..a3a36f1ce8 100644 --- a/packages/gcp/src/services/apim-v1alpha.ts +++ b/packages/gcp/src/services/apim-v1alpha.ts @@ -1503,7 +1503,9 @@ export const GetProjectsLocationsObservationJobsApiObservationsApiOperationsResp /*@__PURE__*/ ApiOperation; export type GetProjectsLocationsObservationJobsApiObservationsApiOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetApiOperation retrieves a single ApiOperation by name. */ export const getProjectsLocationsObservationJobsApiObservationsApiOperations: API.OperationMethod< @@ -1543,7 +1545,9 @@ export const ListProjectsLocationsObservationJobsApiObservationsApiOperationsRes /*@__PURE__*/ ListApiOperationsResponse; export type ListProjectsLocationsObservationJobsApiObservationsApiOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation. */ export const listProjectsLocationsObservationJobsApiObservationsApiOperations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/assuredworkloads-v1.ts b/packages/gcp/src/services/assuredworkloads-v1.ts index 0adc78a5f9..7980c9df01 100644 --- a/packages/gcp/src/services/assuredworkloads-v1.ts +++ b/packages/gcp/src/services/assuredworkloads-v1.ts @@ -1833,7 +1833,11 @@ export const BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations /*@__PURE__*/ GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse; export type BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */ export const batchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations: API.OperationMethod< diff --git a/packages/gcp/src/services/backupdr-v1.ts b/packages/gcp/src/services/backupdr-v1.ts index 1c6c0dccb5..edc85e6b0c 100644 --- a/packages/gcp/src/services/backupdr-v1.ts +++ b/packages/gcp/src/services/backupdr-v1.ts @@ -4916,7 +4916,9 @@ export const FetchForResourceTypeProjectsLocationsBackupVaultsDataSourcesBackups /*@__PURE__*/ FetchBackupsForResourceTypeResponse; export type FetchForResourceTypeProjectsLocationsBackupVaultsDataSourcesBackupsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Fetch Backups for a given resource type. */ export const fetchForResourceTypeProjectsLocationsBackupVaultsDataSourcesBackups: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/beyondcorp-v1.ts b/packages/gcp/src/services/beyondcorp-v1.ts index 4457c69a37..7b37424410 100644 --- a/packages/gcp/src/services/beyondcorp-v1.ts +++ b/packages/gcp/src/services/beyondcorp-v1.ts @@ -3438,7 +3438,11 @@ export const TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsResp /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsSecurityGatewaysApplications: API.OperationMethod< diff --git a/packages/gcp/src/services/chromemanagement-v1.ts b/packages/gcp/src/services/chromemanagement-v1.ts index 9fc8ed3d60..99ec50c41c 100644 --- a/packages/gcp/src/services/chromemanagement-v1.ts +++ b/packages/gcp/src/services/chromemanagement-v1.ts @@ -5388,7 +5388,9 @@ export const QueryContentTransfersBreakdownsCustomersEnterpriseSecurityInsightsR /*@__PURE__*/ GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse; export type QueryContentTransfersBreakdownsCustomersEnterpriseSecurityInsightsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns summaries of content transfers for a given metric and breakdown dimension. */ export const queryContentTransfersBreakdownsCustomersEnterpriseSecurityInsights: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/cloudchannel-v1.ts b/packages/gcp/src/services/cloudchannel-v1.ts index 467df59baf..907797f058 100644 --- a/packages/gcp/src/services/cloudchannel-v1.ts +++ b/packages/gcp/src/services/cloudchannel-v1.ts @@ -4009,7 +4009,11 @@ export const CreateAccountsChannelPartnerLinksChannelPartnerRepricingConfigsResp /*@__PURE__*/ GoogleCloudChannelV1ChannelPartnerRepricingConfig; export type CreateAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any ChannelPartner or RepricingConfig.EntitlementGranularity.entitlement, for any RepricingConfig.effective_invoice_month. * The contained ChannelPartnerRepricingConfig.repricing_config value must be different from the value used in the current config for a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error. */ export const createAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.OperationMethod< @@ -4055,7 +4059,9 @@ export const ListAccountsChannelPartnerLinksChannelPartnerRepricingConfigsRespon /*@__PURE__*/ GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse; export type ListAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists information about how a Reseller modifies their bill before sending it to a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the ChannelPartnerRepricingConfig resources. The data for each resource is displayed in the ascending order of: * Channel Partner ID * RepricingConfig.effective_invoice_month * ChannelPartnerRepricingConfig.update_time If unsuccessful, returns an error. */ export const listAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.PaginatedOperationMethod< @@ -4097,7 +4103,11 @@ export const PatchAccountsChannelPartnerLinksChannelPartnerRepricingConfigsRespo /*@__PURE__*/ GoogleCloudChannelV1ChannelPartnerRepricingConfig; export type PatchAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. This method overwrites the existing CustomerRepricingConfig. You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateChannelPartnerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month. When updating a config in the future: * This config must already exist. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error. */ export const patchAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.OperationMethod< @@ -4166,7 +4176,11 @@ export const DeleteAccountsChannelPartnerLinksChannelPartnerRepricingConfigsResp /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteAccountsChannelPartnerLinksChannelPartnerRepricingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the given ChannelPartnerRepricingConfig permanently. You can only delete configs if their RepricingConfig.effective_invoice_month is set to a date after the current month. Possible error codes: * PERMISSION_DENIED: The account making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * FAILED_PRECONDITION: The ChannelPartnerRepricingConfig is active or in the past. * NOT_FOUND: No ChannelPartnerRepricingConfig found for the name in the request. */ export const deleteAccountsChannelPartnerLinksChannelPartnerRepricingConfigs: API.OperationMethod< diff --git a/packages/gcp/src/services/cloudcontrolspartner-v1.ts b/packages/gcp/src/services/cloudcontrolspartner-v1.ts index f3f8095ac3..df1428a519 100644 --- a/packages/gcp/src/services/cloudcontrolspartner-v1.ts +++ b/packages/gcp/src/services/cloudcontrolspartner-v1.ts @@ -939,7 +939,9 @@ export const GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsRespon /*@__PURE__*/ PartnerPermissions; export type GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the partner permissions granted for a workload */ export const getPartnerPermissionsOrganizationsLocationsCustomersWorkloads: API.OperationMethod< @@ -1019,7 +1021,9 @@ export const ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsR /*@__PURE__*/ ListAccessApprovalRequestsResponse; export type ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Deprecated: Only returns access approval requests directly associated with an assured workload folder. */ export const listOrganizationsLocationsCustomersWorkloadsAccessApprovalRequests: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/clouddeploy-v1.ts b/packages/gcp/src/services/clouddeploy-v1.ts index 22b1e54ed4..edf4243e88 100644 --- a/packages/gcp/src/services/clouddeploy-v1.ts +++ b/packages/gcp/src/services/clouddeploy-v1.ts @@ -5217,7 +5217,11 @@ export const TerminateProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsR /*@__PURE__*/ TerminateJobRunResponse; export type TerminateProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Terminates a Job Run in a given project and location. */ export const terminateProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns: API.OperationMethod< @@ -5264,7 +5268,9 @@ export const ListProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsRespon /*@__PURE__*/ ListJobRunsResponse; export type ListProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists JobRuns in a given project and location. */ export const listProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRuns: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/cloudkms-v1.ts b/packages/gcp/src/services/cloudkms-v1.ts index 1a09a5ad9e..098260ae76 100644 --- a/packages/gcp/src/services/cloudkms-v1.ts +++ b/packages/gcp/src/services/cloudkms-v1.ts @@ -4170,7 +4170,11 @@ export const DecapsulateProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResp /*@__PURE__*/ DecapsulateResponse; export type DecapsulateProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Decapsulates data that was encapsulated with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose KEY_ENCAPSULATION. */ export const decapsulateProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4386,7 +4390,9 @@ export const GetPublicKeyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRes /*@__PURE__*/ PublicKey; export type GetPublicKeyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT. */ export const getPublicKeyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4499,7 +4505,11 @@ export const MacVerifyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRespon /*@__PURE__*/ MacVerifyResponse; export type MacVerifyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful. */ export const macVerifyProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4539,7 +4549,11 @@ export const AsymmetricDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersio /*@__PURE__*/ AsymmetricDecryptResponse; export type AsymmetricDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT. */ export const asymmetricDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4708,7 +4722,11 @@ export const RawDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRespo /*@__PURE__*/ RawDecryptResponse; export type RawDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Decrypts data that was originally encrypted using a raw cryptographic mechanism. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT. */ export const rawDecryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4745,7 +4763,11 @@ export const RawEncryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRespo /*@__PURE__*/ RawEncryptResponse; export type RawEncryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Encrypts data using portable cryptographic primitives. Most users should choose Encrypt and Decrypt rather than their raw counterparts. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT. */ export const rawEncryptProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< @@ -4786,7 +4808,11 @@ export const AsymmetricSignProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsR /*@__PURE__*/ AsymmetricSignResponse; export type AsymmetricSignProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Signs data using a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_SIGN, producing a signature that can be verified with the public key retrieved from GetPublicKey. */ export const asymmetricSignProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersions: API.OperationMethod< diff --git a/packages/gcp/src/services/connectors-v2.ts b/packages/gcp/src/services/connectors-v2.ts index 01721d8c63..436d0a51ce 100644 --- a/packages/gcp/src/services/connectors-v2.ts +++ b/packages/gcp/src/services/connectors-v2.ts @@ -1903,7 +1903,11 @@ export const GenerateConnectionToolspecOverrideProjectsLocationsConnectionsRespo /*@__PURE__*/ GenerateCustomToolspecResponse; export type GenerateConnectionToolspecOverrideProjectsLocationsConnectionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generate toolspec override for the given list of toolNames. */ export const generateConnectionToolspecOverrideProjectsLocationsConnections: API.OperationMethod< @@ -2496,7 +2500,11 @@ export const DeleteEntitiesWithConditionsProjectsLocationsConnectionsEntityTypes /*@__PURE__*/ Empty; export type DeleteEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes entities based on conditions specified in the request and not on entity id. */ export const deleteEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntities: API.OperationMethod< @@ -2630,7 +2638,11 @@ export const UpdateEntitiesWithConditionsProjectsLocationsConnectionsEntityTypes /*@__PURE__*/ UpdateEntitiesWithConditionsResponse; export type UpdateEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates entities based on conditions specified in the request and not on entity id. */ export const updateEntitiesWithConditionsProjectsLocationsConnectionsEntityTypesEntities: API.OperationMethod< diff --git a/packages/gcp/src/services/contactcenterinsights-v1.ts b/packages/gcp/src/services/contactcenterinsights-v1.ts index f0d5e048c3..1fa89f12ca 100644 --- a/packages/gcp/src/services/contactcenterinsights-v1.ts +++ b/packages/gcp/src/services/contactcenterinsights-v1.ts @@ -16714,7 +16714,11 @@ export const TuneQaScorecardRevisionProjectsLocationsQaScorecardsRevisionsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type TuneQaScorecardRevisionProjectsLocationsQaScorecardsRevisionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Fine tune one or more QaModels. */ export const tuneQaScorecardRevisionProjectsLocationsQaScorecardsRevisions: API.OperationMethod< @@ -20761,7 +20765,11 @@ export const SetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsRespo /*@__PURE__*/ GoogleIamV1Policy; export type SetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -20800,7 +20808,9 @@ export const GetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsRespo /*@__PURE__*/ GoogleIamV1Policy; export type GetIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -20990,7 +21000,11 @@ export const TestIamPermissionsProjectsLocationsAuthorizedViewSetsAuthorizedView /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21085,7 +21099,11 @@ export const GenerativeInsightsProjectsLocationsAuthorizedViewSetsAuthorizedView /*@__PURE__*/ GoogleLongrunningOperation; export type GenerativeInsightsProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Natural language based Insights which powers the next generation of dashboards in Insights. Next generation of QueryMetrics. */ export const generativeInsightsProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21129,7 +21147,11 @@ export const QueryPerformanceOverviewProjectsLocationsAuthorizedViewSetsAuthoriz /*@__PURE__*/ GoogleLongrunningOperation; export type QueryPerformanceOverviewProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period. */ export const queryPerformanceOverviewProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21173,7 +21195,11 @@ export const QueryMetricsProjectsLocationsAuthorizedViewSetsAuthorizedViewsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type QueryMetricsProjectsLocationsAuthorizedViewSetsAuthorizedViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Query metrics. */ export const queryMetricsProjectsLocationsAuthorizedViewSetsAuthorizedViews: API.OperationMethod< @@ -21207,7 +21233,9 @@ export const GenerateSignedAudioProjectsLocationsAuthorizedViewSetsAuthorizedVie /*@__PURE__*/ GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse; export type GenerateSignedAudioProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the signed URI for the audio for the given conversation. */ export const generateSignedAudioProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21245,7 +21273,9 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsR /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Conversation; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a conversation. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21295,7 +21325,9 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListConversationsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists conversations. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.PaginatedOperationMethod< @@ -21337,7 +21369,11 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a conversation. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21378,7 +21414,9 @@ export const CalculateStatsProjectsLocationsAuthorizedViewSetsAuthorizedViewsCon /*@__PURE__*/ GoogleCloudContactcenterinsightsV1CalculateStatsResponse; export type CalculateStatsProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets conversation statistics. */ export const calculateStatsProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations: API.OperationMethod< @@ -21427,7 +21465,11 @@ export const CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1FeedbackLabel; export type CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Create feedback label. */ export const createProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21470,7 +21512,11 @@ export const PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversation /*@__PURE__*/ GoogleCloudContactcenterinsightsV1FeedbackLabel; export type PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Update feedback label. */ export const patchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21514,7 +21560,9 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List feedback labels. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.PaginatedOperationMethod< @@ -21553,7 +21601,9 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsF /*@__PURE__*/ GoogleCloudContactcenterinsightsV1FeedbackLabel; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get feedback label. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21588,7 +21638,11 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Delete feedback label. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels: API.OperationMethod< @@ -21623,7 +21677,9 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsA /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get Assessment. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21667,7 +21723,9 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListAssessmentsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List Assessments. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.PaginatedOperationMethod< @@ -21709,7 +21767,11 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Delete an Assessment. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21749,7 +21811,11 @@ export const PublishProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversati /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type PublishProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Publish an Assessment. */ export const publishProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21789,7 +21855,11 @@ export const AppealProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type AppealProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Appeal an Assessment. */ export const appealProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21829,7 +21899,11 @@ export const CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Create Assessment. */ export const createProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21869,7 +21943,11 @@ export const FinalizeProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversat /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Assessment; export type FinalizeProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Finalize an Assessment. */ export const finalizeProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments: API.OperationMethod< @@ -21909,7 +21987,11 @@ export const CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Note; export type CreateProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Create Note. */ export const createProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.OperationMethod< @@ -21950,7 +22032,9 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations /*@__PURE__*/ GoogleCloudContactcenterinsightsV1ListNotesResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List Notes. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.PaginatedOperationMethod< @@ -21997,7 +22081,11 @@ export const PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversation /*@__PURE__*/ GoogleCloudContactcenterinsightsV1Note; export type PatchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Update Note. */ export const patchProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.OperationMethod< @@ -22032,7 +22120,11 @@ export const DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversatio /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Note. */ export const deleteProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes: API.OperationMethod< @@ -22067,7 +22159,11 @@ export const CancelProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsR /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations: API.OperationMethod< @@ -22116,7 +22212,9 @@ export const ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsRes /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations: API.PaginatedOperationMethod< @@ -22155,7 +22253,9 @@ export const GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/dataform-v1.ts b/packages/gcp/src/services/dataform-v1.ts index 542c34b944..3c8d53802f 100644 --- a/packages/gcp/src/services/dataform-v1.ts +++ b/packages/gcp/src/services/dataform-v1.ts @@ -4279,7 +4279,9 @@ export const QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesRespon /*@__PURE__*/ QueryDirectoryContentsResponse; export type QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the contents of a given Workspace directory. */ export const queryDirectoryContentsProjectsLocationsRepositoriesWorkspaces: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/datalabeling-v1beta1.ts b/packages/gcp/src/services/datalabeling-v1beta1.ts index 6c1f5eb6a8..7389d9f421 100644 --- a/packages/gcp/src/services/datalabeling-v1beta1.ts +++ b/packages/gcp/src/services/datalabeling-v1beta1.ts @@ -5566,7 +5566,11 @@ export const DeleteProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessa /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Delete a FeedbackMessage. */ export const deleteProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.OperationMethod< @@ -5610,7 +5614,11 @@ export const CreateProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessa /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Create a FeedbackMessage object. */ export const createProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.OperationMethod< @@ -5651,7 +5659,9 @@ export const ListProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessage /*@__PURE__*/ GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse; export type ListProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List FeedbackMessages with pagination. */ export const listProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.PaginatedOperationMethod< @@ -5690,7 +5700,9 @@ export const GetProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages /*@__PURE__*/ GoogleCloudDatalabelingV1beta1FeedbackMessage; export type GetProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get a FeedbackMessage object. */ export const getProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages: API.OperationMethod< diff --git a/packages/gcp/src/services/datamanager-v1.ts b/packages/gcp/src/services/datamanager-v1.ts index bab0556cf5..128e5186bf 100644 --- a/packages/gcp/src/services/datamanager-v1.ts +++ b/packages/gcp/src/services/datamanager-v1.ts @@ -2772,7 +2772,9 @@ export const ListAccountTypesAccountsUserListGlobalLicensesUserListGlobalLicense /*@__PURE__*/ ListUserListGlobalLicenseCustomerInfosResponse; export type ListAccountTypesAccountsUserListGlobalLicensesUserListGlobalLicenseCustomerInfosError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all customer info for a user list global license. This feature is only available to data partners. */ export const listAccountTypesAccountsUserListGlobalLicensesUserListGlobalLicenseCustomerInfos: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/datamigration-v1.ts b/packages/gcp/src/services/datamigration-v1.ts index 06fd5beed7..51868634e5 100644 --- a/packages/gcp/src/services/datamigration-v1.ts +++ b/packages/gcp/src/services/datamigration-v1.ts @@ -5246,7 +5246,9 @@ export const DescribeDatabaseEntitiesProjectsLocationsConversionWorkspacesRespon /*@__PURE__*/ DescribeDatabaseEntitiesResponse; export type DescribeDatabaseEntitiesProjectsLocationsConversionWorkspacesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Describes the database entities tree for a specific conversion workspace and a specific tree type. Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database. */ export const describeDatabaseEntitiesProjectsLocationsConversionWorkspaces: API.PaginatedOperationMethod< @@ -5289,7 +5291,9 @@ export const DescribeConversionWorkspaceRevisionsProjectsLocationsConversionWork /*@__PURE__*/ DescribeConversionWorkspaceRevisionsResponse; export type DescribeConversionWorkspaceRevisionsProjectsLocationsConversionWorkspacesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Retrieves a list of committed revisions of a specific conversion workspace. */ export const describeConversionWorkspaceRevisionsProjectsLocationsConversionWorkspaces: API.OperationMethod< diff --git a/packages/gcp/src/services/dataproc-v1.ts b/packages/gcp/src/services/dataproc-v1.ts index a48a834211..70c3a9b4fc 100644 --- a/packages/gcp/src/services/dataproc-v1.ts +++ b/packages/gcp/src/services/dataproc-v1.ts @@ -8923,7 +8923,9 @@ export const SearchStageAttemptsProjectsLocationsSessionsSparkApplicationsRespon /*@__PURE__*/ SearchSessionSparkApplicationStageAttemptsResponse; export type SearchStageAttemptsProjectsLocationsSessionsSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain data corresponding to a spark stage attempts for a Spark Application. */ export const searchStageAttemptsProjectsLocationsSessionsSparkApplications: API.PaginatedOperationMethod< @@ -8963,7 +8965,9 @@ export const AccessEnvironmentInfoProjectsLocationsSessionsSparkApplicationsResp /*@__PURE__*/ AccessSessionSparkApplicationEnvironmentInfoResponse; export type AccessEnvironmentInfoProjectsLocationsSessionsSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain environment details for a Spark Application */ export const accessEnvironmentInfoProjectsLocationsSessionsSparkApplications: API.OperationMethod< @@ -9388,7 +9392,9 @@ export const SearchExecutorStageSummaryProjectsLocationsSessionsSparkApplication /*@__PURE__*/ SearchSessionSparkApplicationExecutorStageSummaryResponse; export type SearchExecutorStageSummaryProjectsLocationsSessionsSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain executor summary with respect to a spark stage attempt. */ export const searchExecutorStageSummaryProjectsLocationsSessionsSparkApplications: API.PaginatedOperationMethod< @@ -9543,7 +9549,9 @@ export const SummarizeStageAttemptTasksProjectsLocationsSessionsSparkApplication /*@__PURE__*/ SummarizeSessionSparkApplicationStageAttemptTasksResponse; export type SummarizeStageAttemptTasksProjectsLocationsSessionsSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain summary of Tasks for a Spark Application Stage Attempt */ export const summarizeStageAttemptTasksProjectsLocationsSessionsSparkApplications: API.OperationMethod< @@ -9648,7 +9656,9 @@ export const SearchStageAttemptTasksProjectsLocationsSessionsSparkApplicationsRe /*@__PURE__*/ SearchSessionSparkApplicationStageAttemptTasksResponse; export type SearchStageAttemptTasksProjectsLocationsSessionsSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain data corresponding to tasks for a spark stage attempt for a Spark Application. */ export const searchStageAttemptTasksProjectsLocationsSessionsSparkApplications: API.PaginatedOperationMethod< @@ -9793,7 +9803,9 @@ export const AccessStageRddGraphProjectsLocationsSessionsSparkApplicationsRespon /*@__PURE__*/ AccessSessionSparkApplicationStageRddOperationGraphResponse; export type AccessStageRddGraphProjectsLocationsSessionsSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000. */ export const accessStageRddGraphProjectsLocationsSessionsSparkApplications: API.OperationMethod< @@ -10461,7 +10473,9 @@ export const SearchExecutorStageSummaryProjectsLocationsBatchesSparkApplications /*@__PURE__*/ SearchSparkApplicationExecutorStageSummaryResponse; export type SearchExecutorStageSummaryProjectsLocationsBatchesSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain executor summary with respect to a spark stage attempt. */ export const searchExecutorStageSummaryProjectsLocationsBatchesSparkApplications: API.PaginatedOperationMethod< @@ -10553,7 +10567,9 @@ export const SummarizeStageAttemptTasksProjectsLocationsBatchesSparkApplications /*@__PURE__*/ SummarizeSparkApplicationStageAttemptTasksResponse; export type SummarizeStageAttemptTasksProjectsLocationsBatchesSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain summary of Tasks for a Spark Application Stage Attempt */ export const summarizeStageAttemptTasksProjectsLocationsBatchesSparkApplications: API.OperationMethod< @@ -10947,7 +10963,9 @@ export const AccessEnvironmentInfoProjectsLocationsBatchesSparkApplicationsRespo /*@__PURE__*/ AccessSparkApplicationEnvironmentInfoResponse; export type AccessEnvironmentInfoProjectsLocationsBatchesSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain environment details for a Spark Application */ export const accessEnvironmentInfoProjectsLocationsBatchesSparkApplications: API.OperationMethod< @@ -11257,7 +11275,9 @@ export const SearchStageAttemptTasksProjectsLocationsBatchesSparkApplicationsRes /*@__PURE__*/ SearchSparkApplicationStageAttemptTasksResponse; export type SearchStageAttemptTasksProjectsLocationsBatchesSparkApplicationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtain data corresponding to tasks for a spark stage attempt for a Spark Application. */ export const searchStageAttemptTasksProjectsLocationsBatchesSparkApplications: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/developerconnect-v1.ts b/packages/gcp/src/services/developerconnect-v1.ts index 686f80aec9..3fe94e2d54 100644 --- a/packages/gcp/src/services/developerconnect-v1.ts +++ b/packages/gcp/src/services/developerconnect-v1.ts @@ -2682,7 +2682,11 @@ export const ProcessBitbucketCloudWebhookProjectsLocationsConnectionsGitReposito /*@__PURE__*/ Empty; export type ProcessBitbucketCloudWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events. */ export const processBitbucketCloudWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -2726,7 +2730,11 @@ export const ProcessBitbucketDataCenterWebhookProjectsLocationsConnectionsGitRep /*@__PURE__*/ Empty; export type ProcessBitbucketDataCenterWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events. */ export const processBitbucketDataCenterWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -2825,7 +2833,11 @@ export const FetchReadWriteTokenProjectsLocationsConnectionsGitRepositoryLinksRe /*@__PURE__*/ FetchReadWriteTokenResponse; export type FetchReadWriteTokenProjectsLocationsConnectionsGitRepositoryLinksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Fetches read/write token of a given gitRepositoryLink. */ export const fetchReadWriteTokenProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -2968,7 +2980,11 @@ export const ProcessGitLabEnterpriseWebhookProjectsLocationsConnectionsGitReposi /*@__PURE__*/ Empty; export type ProcessGitLabEnterpriseWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events. */ export const processGitLabEnterpriseWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< @@ -3089,7 +3105,11 @@ export const ProcessGitLabWebhookProjectsLocationsConnectionsGitRepositoryLinksR /*@__PURE__*/ Empty; export type ProcessGitLabWebhookProjectsLocationsConnectionsGitRepositoryLinksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** ProcessGitLabWebhook is called by the GitLab.com for notifying events. */ export const processGitLabWebhookProjectsLocationsConnectionsGitRepositoryLinks: API.OperationMethod< diff --git a/packages/gcp/src/services/dialogflow-v3.ts b/packages/gcp/src/services/dialogflow-v3.ts index 4a06153bda..2241dc4b72 100644 --- a/packages/gcp/src/services/dialogflow-v3.ts +++ b/packages/gcp/src/services/dialogflow-v3.ts @@ -14269,7 +14269,11 @@ export const ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessi /*@__PURE__*/ GoogleCloudDialogflowCxV3DetectIntentResponse; export type ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const serverStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessions: API.OperationMethod< ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsRequest, diff --git a/packages/gcp/src/services/discoveryengine-v1.ts b/packages/gcp/src/services/discoveryengine-v1.ts index 29a1912210..814b8061b0 100644 --- a/packages/gcp/src/services/discoveryengine-v1.ts +++ b/packages/gcp/src/services/discoveryengine-v1.ts @@ -23571,7 +23571,11 @@ export const EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -23615,7 +23619,11 @@ export const DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngin /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -23736,7 +23744,11 @@ export const BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesRe /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -26772,7 +26784,9 @@ export const BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBran /*@__PURE__*/ GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse; export type BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranchesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets index freshness metadata for Documents. Supported for website search only. */ export const batchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranches: API.OperationMethod< @@ -26812,7 +26826,11 @@ export const CancelProjectsLocationsCollectionsDataStoresBranchesOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsCollectionsDataStoresBranchesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsCollectionsDataStoresBranchesOperations: API.OperationMethod< @@ -27033,7 +27051,11 @@ export const CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1Document; export type CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a Document. */ export const createProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -27066,7 +27088,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Document. */ export const deleteProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -27108,7 +27134,11 @@ export const ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. */ export const importProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -27235,7 +27265,11 @@ export const CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsDataStoresCompletionConfig: API.OperationMethod< @@ -27279,7 +27313,11 @@ export const ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntri /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports all SuggestionDenyListEntry for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -27323,7 +27361,11 @@ export const PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntrie /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -27402,7 +27444,11 @@ export const ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsRe /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports CompletionSuggestions for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -27446,7 +27492,11 @@ export const PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsRes /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Permanently deletes all CompletionSuggestions for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -27490,7 +27540,11 @@ export const EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteS /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27534,7 +27588,11 @@ export const BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSea /*@__PURE__*/ GoogleLongrunningOperation; export type BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */ export const batchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27578,7 +27636,11 @@ export const DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27622,7 +27684,11 @@ export const RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineRe /*@__PURE__*/ GoogleLongrunningOperation; export type RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Request on-demand recrawl for a list of URIs. */ export const recrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -27666,7 +27732,9 @@ export const FetchDomainVerificationStatusProjectsLocationsCollectionsDataStores /*@__PURE__*/ GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse; export type FetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */ export const fetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.PaginatedOperationMethod< @@ -27710,7 +27778,11 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a TargetSite. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27751,7 +27823,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleCloudDiscoveryengineV1ListTargetSitesResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a list of TargetSites. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.PaginatedOperationMethod< @@ -27790,7 +27864,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1TargetSite; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a TargetSite. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27830,7 +27906,11 @@ export const PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSi /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a TargetSite. */ export const patchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27874,7 +27954,11 @@ export const BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTa /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27909,7 +27993,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a TargetSite. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -27958,7 +28046,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.PaginatedOperationMethod< @@ -27997,7 +28087,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.OperationMethod< @@ -28046,7 +28138,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.PaginatedOperationMethod< @@ -28085,7 +28179,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.OperationMethod< @@ -28125,7 +28221,9 @@ export const FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps /*@__PURE__*/ GoogleCloudDiscoveryengineV1FetchSitemapsResponse; export type FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Fetch Sitemaps in a DataStore. */ export const fetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -28160,7 +28258,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Sitemap. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -28200,7 +28302,11 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a Sitemap. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -28466,7 +28572,11 @@ export const StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1AnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -28635,7 +28745,11 @@ export const SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1SearchResponse; export type SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */ export const searchLiteProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -28821,7 +28935,11 @@ export const RecommendProjectsLocationsCollectionsDataStoresServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1RecommendResponse; export type RecommendProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Makes a recommendation, which requires a contextual user event. */ export const recommendProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30583,7 +30701,11 @@ export const StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1AnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsEnginesServingConfigs: API.OperationMethod< @@ -31257,7 +31379,9 @@ export const GetCardProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Resp /*@__PURE__*/ A2aV1AgentCard; export type GetCardProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Error = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetAgentCard returns the agent card for the agent. */ export const getCardProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1: API.OperationMethod< @@ -31298,7 +31422,11 @@ export const SendProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Message /*@__PURE__*/ A2aV1SendMessageResponse; export type SendProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1MessageError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested. */ export const sendProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Message: API.OperationMethod< @@ -31340,7 +31468,11 @@ export const StreamProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Messa /*@__PURE__*/ A2aV1StreamResponse; export type StreamProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1MessageError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state. */ export const streamProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Message: API.OperationMethod< @@ -31383,7 +31515,9 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksRes /*@__PURE__*/ A2aV1Task; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get the current state of a task from the agent. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks: API.OperationMethod< @@ -31421,7 +31555,9 @@ export const SubscribeProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Ta /*@__PURE__*/ A2aV1StreamResponse; export type SubscribeProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream. */ export const subscribeProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks: API.OperationMethod< @@ -31466,7 +31602,11 @@ export const CancelProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks /*@__PURE__*/ A2aV1Task; export type CancelProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Cancel a task from the agent. If supported one should expect no more task updates for the task. */ export const cancelProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks: API.OperationMethod< @@ -31504,7 +31644,9 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPus /*@__PURE__*/ A2aV1TaskPushNotificationConfig; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get a push notification config for a task. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -31551,7 +31693,9 @@ export const ListProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPu /*@__PURE__*/ A2aV1ListTaskPushNotificationConfigResponse; export type ListProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get a list of push notifications configured for a task. */ export const listProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.PaginatedOperationMethod< @@ -31593,7 +31737,11 @@ export const DeleteProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Delete a push notification config for a task. */ export const deleteProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -31641,7 +31789,11 @@ export const CreateProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1Tasks /*@__PURE__*/ A2aV1TaskPushNotificationConfig; export type CreateProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Set a push notification config for a task. */ export const createProjectsLocationsCollectionsEnginesAssistantsAgentsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -31676,7 +31828,9 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsOperations: API.OperationMethod< @@ -31720,7 +31874,11 @@ export const CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -32761,7 +32919,11 @@ export const DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsR /*@__PURE__*/ GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse; export type DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Distributes a LicenseConfig from billing account level to project level. */ export const distributeLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -32807,7 +32969,11 @@ export const RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1RetractLicenseConfigResponse; export type RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */ export const retractLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< diff --git a/packages/gcp/src/services/displayvideo-v4.ts b/packages/gcp/src/services/displayvideo-v4.ts index 636e6b99c4..5afeeed3f3 100644 --- a/packages/gcp/src/services/displayvideo-v4.ts +++ b/packages/gcp/src/services/displayvideo-v4.ts @@ -15260,7 +15260,9 @@ export const ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespo /*@__PURE__*/ ListLineItemAssignedTargetingOptionsResponse; export type ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the targeting options assigned to a line item. */ export const listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -15363,7 +15365,11 @@ export const CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const createAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -15464,7 +15470,9 @@ export const GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a single targeting option assigned to a line item. */ export const getAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -15563,7 +15571,11 @@ export const DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const deleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -15622,7 +15634,11 @@ export const DeleteAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users. */ export const deleteAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< @@ -15685,7 +15701,9 @@ export const ListAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsRe /*@__PURE__*/ ListYoutubeAssetAssociationsResponse; export type ListAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the YouTube asset associations linked to the given resource. */ export const listAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations: API.PaginatedOperationMethod< @@ -15747,7 +15765,11 @@ export const CreateAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations /*@__PURE__*/ YoutubeAssetAssociation; export type CreateAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users. */ export const createAdvertisersLineItemsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< @@ -17538,7 +17560,11 @@ export const DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ Empty; export type DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an assigned targeting option from an ad group. This method is only supported for Demand Gen ad groups with the AdGroupFormat `AD_GROUP_FORMAT_DEMAND_GEN`. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const deleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -17746,7 +17772,9 @@ export const ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ ListAdGroupAssignedTargetingOptionsResponse; export type ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included. */ export const listAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -17848,7 +17876,11 @@ export const CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Assigns a targeting option to an ad group. Returns the assigned targeting option if successful. This method is only supported for Demand Gen ad groups. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const createAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -17906,7 +17938,11 @@ export const DeleteAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsR /*@__PURE__*/ Empty; export type DeleteAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users. */ export const deleteAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< @@ -17969,7 +18005,9 @@ export const ListAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsRes /*@__PURE__*/ ListYoutubeAssetAssociationsResponse; export type ListAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the YouTube asset associations linked to the given resource. */ export const listAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociations: API.PaginatedOperationMethod< @@ -18031,7 +18069,11 @@ export const CreateAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsR /*@__PURE__*/ YoutubeAssetAssociation; export type CreateAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users. */ export const createAdvertisersAdGroupsYoutubeAssetTypesYoutubeAssetAssociations: API.OperationMethod< diff --git a/packages/gcp/src/services/documentai-v1.ts b/packages/gcp/src/services/documentai-v1.ts index b38e1de92e..7cf3f92a67 100644 --- a/packages/gcp/src/services/documentai-v1.ts +++ b/packages/gcp/src/services/documentai-v1.ts @@ -7600,7 +7600,11 @@ export const EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersion /*@__PURE__*/ GoogleLongrunningOperation; export type EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. */ export const evaluateProcessorVersionProjectsLocationsProcessorsProcessorVersions: API.OperationMethod< diff --git a/packages/gcp/src/services/domains-v1.ts b/packages/gcp/src/services/domains-v1.ts index 2d0b5c0671..152ef19687 100644 --- a/packages/gcp/src/services/domains-v1.ts +++ b/packages/gcp/src/services/domains-v1.ts @@ -1485,7 +1485,9 @@ export const RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsRespon /*@__PURE__*/ RetrieveGoogleDomainsDnsRecordsResponse; export type RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`. */ export const retrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrations: API.PaginatedOperationMethod< @@ -1791,7 +1793,9 @@ export const RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations /*@__PURE__*/ RetrieveGoogleDomainsForwardingConfigResponse; export type RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. */ export const retrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations: API.OperationMethod< diff --git a/packages/gcp/src/services/gkebackup-v1.ts b/packages/gcp/src/services/gkebackup-v1.ts index 71509590e5..de02ff0917 100644 --- a/packages/gcp/src/services/gkebackup-v1.ts +++ b/packages/gcp/src/services/gkebackup-v1.ts @@ -3515,7 +3515,9 @@ export const GetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresResp /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestores: API.OperationMethod< @@ -3556,7 +3558,11 @@ export const SetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresResp /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestoresError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsRestorePlansRestoresVolumeRestores: API.OperationMethod< @@ -3683,7 +3689,11 @@ export const TestIamPermissionsProjectsLocationsRestorePlansRestoresVolumeRestor /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsRestorePlansRestoresVolumeRestoresError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsRestorePlansRestoresVolumeRestores: API.OperationMethod< @@ -4685,7 +4695,11 @@ export const TestIamPermissionsProjectsLocationsBackupPlansBackupsVolumeBackupsR /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsBackupPlansBackupsVolumeBackupsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsBackupPlansBackupsVolumeBackups: API.OperationMethod< diff --git a/packages/gcp/src/services/gkeonprem-v1.ts b/packages/gcp/src/services/gkeonprem-v1.ts index 9c3fef5f73..79a9d16f93 100644 --- a/packages/gcp/src/services/gkeonprem-v1.ts +++ b/packages/gcp/src/services/gkeonprem-v1.ts @@ -4097,7 +4097,11 @@ export const TestIamPermissionsProjectsLocationsVmwareClustersVmwareNodePoolsRes /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsVmwareClustersVmwareNodePoolsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsVmwareClustersVmwareNodePools: API.OperationMethod< @@ -5008,7 +5012,11 @@ export const TestIamPermissionsProjectsLocationsBareMetalClustersBareMetalNodePo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsBareMetalClustersBareMetalNodePoolsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsBareMetalClustersBareMetalNodePools: API.OperationMethod< @@ -5134,7 +5142,9 @@ export const GetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsRes /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePools: API.OperationMethod< @@ -5280,7 +5290,11 @@ export const SetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsRes /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePoolsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsBareMetalClustersBareMetalNodePools: API.OperationMethod< @@ -5315,7 +5329,9 @@ export const GetProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsRe /*@__PURE__*/ Operation; export type GetProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsBareMetalClustersBareMetalNodePoolsOperations: API.OperationMethod< @@ -5364,7 +5380,9 @@ export const ListProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsR /*@__PURE__*/ ListOperationsResponse; export type ListProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsBareMetalClustersBareMetalNodePoolsOperations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/healthcare-v1.ts b/packages/gcp/src/services/healthcare-v1.ts index 8f60fe6b79..d46b84b256 100644 --- a/packages/gcp/src/services/healthcare-v1.ts +++ b/packages/gcp/src/services/healthcare-v1.ts @@ -4127,7 +4127,11 @@ export const SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebS /*@__PURE__*/ Operation; export type SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** SetBlobStorageSettings sets the blob storage settings of the specified resources. */ export const setBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4162,7 +4166,9 @@ export const GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesR /*@__PURE__*/ StudyMetrics; export type GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetStudyMetrics returns metrics for a study. */ export const getStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4197,7 +4203,9 @@ export const GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies /*@__PURE__*/ SeriesMetrics; export type GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetSeriesMetrics returns metrics for a series. */ export const getSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeries: API.OperationMethod< @@ -4232,7 +4240,9 @@ export const GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSe /*@__PURE__*/ StorageInfo; export type GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetStorageInfo returns the storage info of the specified resource. */ export const getStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstances: API.OperationMethod< @@ -4393,7 +4403,9 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesRespon /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudies: API.OperationMethod< @@ -4506,7 +4518,9 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesRe /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -4584,7 +4598,9 @@ export const RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesResp /*@__PURE__*/ HttpBody; export type RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -4621,7 +4637,9 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -4659,7 +4677,9 @@ export const RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). */ export const retrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4700,7 +4720,9 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4738,7 +4760,9 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4776,7 +4800,11 @@ export const DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). */ export const deleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -4817,7 +4845,9 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -4855,7 +4885,9 @@ export const RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInst /*@__PURE__*/ HttpBody; export type RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4}. For details on the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -4893,7 +4925,9 @@ export const RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See [Retrieve Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata). */ export const retrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdata: API.OperationMethod< @@ -6155,7 +6189,11 @@ export const CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ AttributeDefinition; export type CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new Attribute definition in the parent consent store. */ export const createProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6196,7 +6234,11 @@ export const PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsResp /*@__PURE__*/ AttributeDefinition; export type PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates the specified Attribute definition. */ export const patchProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6230,7 +6272,9 @@ export const GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespon /*@__PURE__*/ AttributeDefinition; export type GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the specified Attribute definition. */ export const getProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6272,7 +6316,9 @@ export const ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespo /*@__PURE__*/ ListAttributeDefinitionsResponse; export type ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the Attribute definitions in the specified consent store. */ export const listProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.PaginatedOperationMethod< @@ -6310,7 +6356,11 @@ export const DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent. */ export const deleteProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -6719,7 +6769,11 @@ export const ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsRespon /*@__PURE__*/ ArchiveUserDataMappingResponse; export type ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Archives the specified User data mapping. */ export const archiveProjectsLocationsDatasetsConsentStoresUserDataMappings: API.OperationMethod< @@ -7336,7 +7390,11 @@ export const TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesResp /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsDatasetsDataMapperWorkspaces: API.OperationMethod< @@ -8383,7 +8441,9 @@ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStor /*@__PURE__*/ HttpBody; export type Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2. */ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8681,7 +8741,9 @@ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirRe /*@__PURE__*/ HttpBody; export type Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2. */ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -9139,7 +9201,9 @@ export const Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperati /*@__PURE__*/ HttpBody; export type Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data status request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can have one of these states: * in-progress: response status code is `202` and `X-Progress` header is set to `in progress`. * complete: response status code is `200` and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource describing the reason for the error. */ export const get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< @@ -9174,7 +9238,11 @@ export const Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsR /*@__PURE__*/ HttpBody; export type Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request). Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response. */ export const delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< diff --git a/packages/gcp/src/services/integrations-v1.ts b/packages/gcp/src/services/integrations-v1.ts index 6359bf4e5f..5af925af49 100644 --- a/packages/gcp/src/services/integrations-v1.ts +++ b/packages/gcp/src/services/integrations-v1.ts @@ -9406,7 +9406,11 @@ export const TakeoverEditLockProjectsLocationsProductsIntegrationsVersionsRespon /*@__PURE__*/ GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse; export type TakeoverEditLockProjectsLocationsProductsIntegrationsVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by. */ export const takeoverEditLockProjectsLocationsProductsIntegrationsVersions: API.OperationMethod< @@ -9683,7 +9687,11 @@ export const ResolveProjectsLocationsProductsIntegrationsExecutionsSuspensionsRe /*@__PURE__*/ GoogleCloudIntegrationsV1alphaResolveSuspensionResponse; export type ResolveProjectsLocationsProductsIntegrationsExecutionsSuspensionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** * Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again. */ export const resolveProjectsLocationsProductsIntegrationsExecutionsSuspensions: API.OperationMethod< @@ -9730,7 +9738,9 @@ export const ListProjectsLocationsProductsIntegrationsExecutionsSuspensionsRespo /*@__PURE__*/ GoogleCloudIntegrationsV1alphaListSuspensionsResponse; export type ListProjectsLocationsProductsIntegrationsExecutionsSuspensionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** * Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them. */ export const listProjectsLocationsProductsIntegrationsExecutionsSuspensions: API.PaginatedOperationMethod< @@ -9773,7 +9783,11 @@ export const LiftProjectsLocationsProductsIntegrationsExecutionsSuspensionsRespo /*@__PURE__*/ GoogleCloudIntegrationsV1alphaLiftSuspensionResponse; export type LiftProjectsLocationsProductsIntegrationsExecutionsSuspensionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** * Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task. */ export const liftProjectsLocationsProductsIntegrationsExecutionsSuspensions: API.OperationMethod< @@ -12065,7 +12079,11 @@ export const TakeoverEditLockProjectsLocationsIntegrationsVersionsTestCasesRespo /*@__PURE__*/ GoogleCloudIntegrationsV1alphaTestCase; export type TakeoverEditLockProjectsLocationsIntegrationsVersionsTestCasesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Clear the lock fields and assign them to current user */ export const takeoverEditLockProjectsLocationsIntegrationsVersionsTestCases: API.OperationMethod< diff --git a/packages/gcp/src/services/kmsinventory-v1.ts b/packages/gcp/src/services/kmsinventory-v1.ts index 31aeea3c91..56782f9529 100644 --- a/packages/gcp/src/services/kmsinventory-v1.ts +++ b/packages/gcp/src/services/kmsinventory-v1.ts @@ -614,7 +614,9 @@ export const GetProtectedResourcesSummaryProjectsLocationsKeyRingsCryptoKeysResp /*@__PURE__*/ GoogleCloudKmsInventoryV1ProtectedResourcesSummary; export type GetProtectedResourcesSummaryProjectsLocationsKeyRingsCryptoKeysError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By default, summary of resources within the same Cloud organization as the key will be returned, which requires the KMS organization service account to be configured(refer https://docs.cloud.google.com/kms/docs/view-key-usage#required-roles). If the KMS organization service account is not configured or key's project is not part of an organization, set fallback_scope to `FALLBACK_SCOPE_PROJECT` to retrieve a summary of protected resources within the key's project. */ export const getProtectedResourcesSummaryProjectsLocationsKeyRingsCryptoKeys: API.OperationMethod< diff --git a/packages/gcp/src/services/managedkafka-v1.ts b/packages/gcp/src/services/managedkafka-v1.ts index 3222f18d03..836decbfe4 100644 --- a/packages/gcp/src/services/managedkafka-v1.ts +++ b/packages/gcp/src/services/managedkafka-v1.ts @@ -3259,7 +3259,9 @@ export const ListProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyRe /*@__PURE__*/ HttpBody; export type ListProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get a list of IDs of schemas that reference the schema with the given subject and version. */ export const listProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedby: API.OperationMethod< @@ -3676,7 +3678,11 @@ export const LookupVersionProjectsLocationsSchemaRegistriesContextsSubjectsRespo /*@__PURE__*/ SchemaVersion; export type LookupVersionProjectsLocationsSchemaRegistriesContextsSubjectsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Lookup a schema under the specified subject. */ export const lookupVersionProjectsLocationsSchemaRegistriesContextsSubjects: API.OperationMethod< @@ -3713,7 +3719,9 @@ export const ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsRespon /*@__PURE__*/ HttpBody; export type ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get all versions of a subject. The response will be an array of versions of the subject. */ export const listProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3749,7 +3757,11 @@ export const CreateProjectsLocationsSchemaRegistriesContextsSubjectsVersionsResp /*@__PURE__*/ CreateVersionResponse; export type CreateProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Register a new version under a given subject with the given schema. */ export const createProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3786,7 +3798,9 @@ export const GetSchemaProjectsLocationsSchemaRegistriesContextsSubjectsVersionsR /*@__PURE__*/ HttpBody; export type GetSchemaProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get the schema string only for a version of a subject. The response will be the schema string. */ export const getSchemaProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3824,7 +3838,11 @@ export const DeleteProjectsLocationsSchemaRegistriesContextsSubjectsVersionsResp /*@__PURE__*/ HttpBody; export type DeleteProjectsLocationsSchemaRegistriesContextsSubjectsVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Delete a version of a subject. The response will be the deleted version id. */ export const deleteProjectsLocationsSchemaRegistriesContextsSubjectsVersions: API.OperationMethod< @@ -3896,7 +3914,9 @@ export const ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsRefere /*@__PURE__*/ HttpBody; export type ListProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedbyError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get a list of IDs of schemas that reference the schema with the given subject and version. */ export const listProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedby: API.OperationMethod< @@ -4244,7 +4264,11 @@ export const CheckCompatibilityProjectsLocationsSchemaRegistriesContextsCompatib /*@__PURE__*/ CheckCompatibilityResponse; export type CheckCompatibilityProjectsLocationsSchemaRegistriesContextsCompatibilityError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Check compatibility of a schema with all versions or a specific version of a subject. */ export const checkCompatibilityProjectsLocationsSchemaRegistriesContextsCompatibility: API.OperationMethod< @@ -4475,7 +4499,11 @@ export const CheckCompatibilityProjectsLocationsSchemaRegistriesCompatibilityRes /*@__PURE__*/ CheckCompatibilityResponse; export type CheckCompatibilityProjectsLocationsSchemaRegistriesCompatibilityError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Check compatibility of a schema with all versions or a specific version of a subject. */ export const checkCompatibilityProjectsLocationsSchemaRegistriesCompatibility: API.OperationMethod< diff --git a/packages/gcp/src/services/networkconnectivity-v1.ts b/packages/gcp/src/services/networkconnectivity-v1.ts index e2f5ac097c..6c2954d0f0 100644 --- a/packages/gcp/src/services/networkconnectivity-v1.ts +++ b/packages/gcp/src/services/networkconnectivity-v1.ts @@ -5030,7 +5030,11 @@ export const PatchProjectsLocationsMulticloudDataTransferConfigsDestinationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a `Destination` resource in a specified project and location. */ export const patchProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< @@ -5070,7 +5074,11 @@ export const DeleteProjectsLocationsMulticloudDataTransferConfigsDestinationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a `Destination` resource. */ export const deleteProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< @@ -5122,7 +5130,9 @@ export const ListProjectsLocationsMulticloudDataTransferConfigsDestinationsRespo /*@__PURE__*/ ListDestinationsResponse; export type ListProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the `Destination` resources in a specified project and location. */ export const listProjectsLocationsMulticloudDataTransferConfigsDestinations: API.PaginatedOperationMethod< @@ -5160,7 +5170,9 @@ export const GetProjectsLocationsMulticloudDataTransferConfigsDestinationsRespon /*@__PURE__*/ Destination; export type GetProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the details of a `Destination` resource. */ export const getProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< @@ -5208,7 +5220,11 @@ export const CreateProjectsLocationsMulticloudDataTransferConfigsDestinationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsMulticloudDataTransferConfigsDestinationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a `Destination` resource in a specified project and location. */ export const createProjectsLocationsMulticloudDataTransferConfigsDestinations: API.OperationMethod< diff --git a/packages/gcp/src/services/networkmanagement-v1.ts b/packages/gcp/src/services/networkmanagement-v1.ts index 691269c194..dcb2e869c3 100644 --- a/packages/gcp/src/services/networkmanagement-v1.ts +++ b/packages/gcp/src/services/networkmanagement-v1.ts @@ -3589,7 +3589,9 @@ export const GenerateProviderAccessTokenProjectsLocationsNetworkMonitoringProvid /*@__PURE__*/ GenerateProviderAccessTokenResponse; export type GenerateProviderAccessTokenProjectsLocationsNetworkMonitoringProvidersError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform. */ export const generateProviderAccessTokenProjectsLocationsNetworkMonitoringProviders: API.OperationMethod< @@ -3629,7 +3631,9 @@ export const GenerateMonitoringPointConfigProjectsLocationsNetworkMonitoringProv /*@__PURE__*/ GenerateMonitoringPointConfigResponse; export type GenerateMonitoringPointConfigProjectsLocationsNetworkMonitoringProvidersError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. */ export const generateMonitoringPointConfigProjectsLocationsNetworkMonitoringProviders: API.OperationMethod< @@ -3745,7 +3749,9 @@ export const DownloadInstallScriptProjectsLocationsNetworkMonitoringProvidersMon /*@__PURE__*/ HttpBody; export type DownloadInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Downloads an install script for MonitoringPoints for a given network monitoring provider. */ export const downloadInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -3783,7 +3789,9 @@ export const DownloadRecreateInstallScriptProjectsLocationsNetworkMonitoringProv /*@__PURE__*/ HttpBody; export type DownloadRecreateInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Downloads an install script for a specific Container MonitoringPoint. */ export const downloadRecreateInstallScriptProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -3821,7 +3829,9 @@ export const DownloadServerConnectConfigProjectsLocationsNetworkMonitoringProvid /*@__PURE__*/ HttpBody; export type DownloadServerConnectConfigProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Downloads the server connect configuration for a given network monitoring provider. */ export const downloadServerConnectConfigProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -3862,7 +3872,9 @@ export const ListProjectsLocationsNetworkMonitoringProvidersMonitoringPointsResp /*@__PURE__*/ ListMonitoringPointsResponse; export type ListProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists MonitoringPoints for a given network monitoring provider. */ export const listProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.PaginatedOperationMethod< @@ -3900,7 +3912,9 @@ export const GetProjectsLocationsNetworkMonitoringProvidersMonitoringPointsRespo /*@__PURE__*/ MonitoringPoint; export type GetProjectsLocationsNetworkMonitoringProvidersMonitoringPointsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the MonitoringPoint resource. */ export const getProjectsLocationsNetworkMonitoringProvidersMonitoringPoints: API.OperationMethod< @@ -4317,7 +4331,9 @@ export const QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsRespon /*@__PURE__*/ QueryOrgVpcFlowLogsConfigsResponse; export type QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */ export const queryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< @@ -4369,7 +4385,9 @@ export const ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsResp /*@__PURE__*/ ShowEffectiveFlowLogsConfigsResponse; export type ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */ export const showEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/oracledatabase-v1.ts b/packages/gcp/src/services/oracledatabase-v1.ts index 88d5338817..4dee03eeec 100644 --- a/packages/gcp/src/services/oracledatabase-v1.ts +++ b/packages/gcp/src/services/oracledatabase-v1.ts @@ -6095,7 +6095,11 @@ export const ConfigureExascaleProjectsLocationsCloudExadataInfrastructuresRespon /*@__PURE__*/ Operation; export type ConfigureExascaleProjectsLocationsCloudExadataInfrastructuresError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Configures Exascale for a single Exadata Infrastructure. */ export const configureExascaleProjectsLocationsCloudExadataInfrastructures: API.OperationMethod< diff --git a/packages/gcp/src/services/policysimulator-v1.ts b/packages/gcp/src/services/policysimulator-v1.ts index 9238aaf6d3..50a5b4c4d5 100644 --- a/packages/gcp/src/services/policysimulator-v1.ts +++ b/packages/gcp/src/services/policysimulator-v1.ts @@ -1761,7 +1761,9 @@ export const GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getOrganizationsLocationsOrgPolicyViolationsPreviewsOperations: API.OperationMethod< @@ -1801,7 +1803,9 @@ export const ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViola /*@__PURE__*/ GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse; export type ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview. */ export const listOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/privateca-v1.ts b/packages/gcp/src/services/privateca-v1.ts index 6cb2aa9a38..8d81caea7f 100644 --- a/packages/gcp/src/services/privateca-v1.ts +++ b/packages/gcp/src/services/privateca-v1.ts @@ -2581,7 +2581,11 @@ export const SetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertifica /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2623,7 +2627,11 @@ export const TestIamPermissionsProjectsLocationsCaPoolsCertificateAuthoritiesCer /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2670,7 +2678,9 @@ export const ListProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevoca /*@__PURE__*/ ListCertificateRevocationListsResponse; export type ListProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists CertificateRevocationLists. */ export const listProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.PaginatedOperationMethod< @@ -2709,7 +2719,9 @@ export const GetProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocat /*@__PURE__*/ CertificateRevocationList; export type GetProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns a CertificateRevocationList. */ export const getProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2753,7 +2765,11 @@ export const PatchProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevoc /*@__PURE__*/ Operation; export type PatchProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Update a CertificateRevocationList. */ export const patchProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -2793,7 +2809,9 @@ export const GetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertifica /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< diff --git a/packages/gcp/src/services/recommendationengine-v1beta1.ts b/packages/gcp/src/services/recommendationengine-v1beta1.ts index 105bc0ec49..6b330c5e29 100644 --- a/packages/gcp/src/services/recommendationengine-v1beta1.ts +++ b/packages/gcp/src/services/recommendationengine-v1beta1.ts @@ -1680,7 +1680,9 @@ export const ListProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistratio /*@__PURE__*/ GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse; export type ListProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List the registered apiKeys for use with predict method. */ export const listProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrations: API.PaginatedOperationMethod< @@ -1728,7 +1730,11 @@ export const CreateProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrat /*@__PURE__*/ GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration; export type CreateProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Register an API key for use with predict method. */ export const createProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrations: API.OperationMethod< @@ -1763,7 +1769,11 @@ export const DeleteProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrat /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Unregister an apiKey from using for predict method. */ export const deleteProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrations: API.OperationMethod< diff --git a/packages/gcp/src/services/recommender-v1.ts b/packages/gcp/src/services/recommender-v1.ts index ed6af2620c..87751fb0e4 100644 --- a/packages/gcp/src/services/recommender-v1.ts +++ b/packages/gcp/src/services/recommender-v1.ts @@ -1867,7 +1867,11 @@ export const MarkDismissedBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkDismissedBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -1907,7 +1911,11 @@ export const MarkClaimedBillingAccountsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkClaimedBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED, SUCCEEDED, FAILED, or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markClaimedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -1994,7 +2002,11 @@ export const MarkSucceededBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkSucceededBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2034,7 +2046,11 @@ export const MarkFailedBillingAccountsLocationsRecommendersRecommendationsRespon /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkFailedBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markFailedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2192,7 +2208,11 @@ export const MarkDismissedOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkDismissedOrganizationsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2321,7 +2341,11 @@ export const MarkSucceededOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1Recommendation; export type MarkSucceededOrganizationsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< diff --git a/packages/gcp/src/services/retail-v2.ts b/packages/gcp/src/services/retail-v2.ts index 9c36364992..74106d42a3 100644 --- a/packages/gcp/src/services/retail-v2.ts +++ b/packages/gcp/src/services/retail-v2.ts @@ -5630,7 +5630,9 @@ export const GetConversationalSearchCustomizationConfigProjectsLocationsCatalogs /*@__PURE__*/ GoogleCloudRetailV2ConversationalSearchCustomizationConfig; export type GetConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the conversational search customization config for a given catalog. */ export const getConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -5677,7 +5679,11 @@ export const UpdateConversationalSearchCustomizationConfigProjectsLocationsCatal /*@__PURE__*/ GoogleCloudRetailV2ConversationalSearchCustomizationConfig; export type UpdateConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates the conversational search customization config for a given catalog. */ export const updateConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -7340,7 +7346,11 @@ export const RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRes /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7561,7 +7571,11 @@ export const RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsResp /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeLocalInventoriesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7735,7 +7749,11 @@ export const AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const addFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7823,7 +7841,11 @@ export const RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigResp /*@__PURE__*/ GoogleCloudRetailV2AttributesConfig; export type RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */ export const removeCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -7866,7 +7888,11 @@ export const ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigRes /*@__PURE__*/ GoogleCloudRetailV2AttributesConfig; export type ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */ export const replaceCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< diff --git a/packages/gcp/src/services/searchads360-v23.ts b/packages/gcp/src/services/searchads360-v23.ts index cea41e80ed..5ab2cb5bf5 100644 --- a/packages/gcp/src/services/searchads360-v23.ts +++ b/packages/gcp/src/services/searchads360-v23.ts @@ -43958,7 +43958,11 @@ export const ConfigureCampaignLifecycleGoalsCustomersCampaignLifecycleGoalRespon /*@__PURE__*/ GoogleAdsSearchads360V23Services__ConfigureCampaignLifecycleGoalsResponse; export type ConfigureCampaignLifecycleGoalsCustomersCampaignLifecycleGoalError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Process the given campaign lifecycle configurations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CampaignLifecycleGoalConfigError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() */ export const configureCampaignLifecycleGoalsCustomersCampaignLifecycleGoal: API.OperationMethod< @@ -44184,7 +44188,11 @@ export const MutateRecommendationSubscriptionCustomersRecommendationSubscription /*@__PURE__*/ GoogleAdsSearchads360V23Services__MutateRecommendationSubscriptionResponse; export type MutateRecommendationSubscriptionCustomersRecommendationSubscriptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Mutates given subscription with corresponding apply parameters. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() [RecommendationSubscriptionError]() [RequestError]() [UrlFieldError]() */ export const mutateRecommendationSubscriptionCustomersRecommendationSubscriptions: API.OperationMethod< @@ -45600,7 +45608,11 @@ export const RegenerateShareableLinkIdCustomersThirdPartyAppAnalyticsLinksRespon /*@__PURE__*/ GoogleAdsSearchads360V23Services__RegenerateShareableLinkIdResponse; export type RegenerateShareableLinkIdCustomersThirdPartyAppAnalyticsLinksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third party when setting up app analytics. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() */ export const regenerateShareableLinkIdCustomersThirdPartyAppAnalyticsLinks: API.OperationMethod< @@ -46746,7 +46758,11 @@ export const ConfigureCustomerLifecycleGoalsCustomersCustomerLifecycleGoalRespon /*@__PURE__*/ GoogleAdsSearchads360V23Services__ConfigureCustomerLifecycleGoalsResponse; export type ConfigureCustomerLifecycleGoalsCustomersCustomerLifecycleGoalError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Process the given customer lifecycle configurations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CustomerLifecycleGoalConfigError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]() */ export const configureCustomerLifecycleGoalsCustomersCustomerLifecycleGoal: API.OperationMethod< diff --git a/packages/gcp/src/services/securesourcemanager-v1.ts b/packages/gcp/src/services/securesourcemanager-v1.ts index 0e32483f1f..b95266e1dc 100644 --- a/packages/gcp/src/services/securesourcemanager-v1.ts +++ b/packages/gcp/src/services/securesourcemanager-v1.ts @@ -2511,7 +2511,11 @@ export const DeleteProjectsLocationsRepositoriesPullRequestsPullRequestCommentsR /*@__PURE__*/ Operation; export type DeleteProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a pull request comment. */ export const deleteProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2546,7 +2550,9 @@ export const GetProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResp /*@__PURE__*/ PullRequestComment; export type GetProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a pull request comment. */ export const getProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2587,7 +2593,11 @@ export const CreateProjectsLocationsRepositoriesPullRequestsPullRequestCommentsR /*@__PURE__*/ Operation; export type CreateProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a pull request comment. This function is used to create a single PullRequestComment of type Comment, or a single PullRequestComment of type Code that's replying to another PullRequestComment of type Code. Use BatchCreatePullRequestComments to create multiple PullRequestComments for code reviews. */ export const createProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2628,7 +2638,11 @@ export const PatchProjectsLocationsRepositoriesPullRequestsPullRequestCommentsRe /*@__PURE__*/ Operation; export type PatchProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a pull request comment. */ export const patchProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2670,7 +2684,11 @@ export const ResolveProjectsLocationsRepositoriesPullRequestsPullRequestComments /*@__PURE__*/ Operation; export type ResolveProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Resolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be resolved. */ export const resolveProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2714,7 +2732,11 @@ export const UnresolveProjectsLocationsRepositoriesPullRequestsPullRequestCommen /*@__PURE__*/ Operation; export type UnresolveProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Unresolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be unresolved. */ export const unresolveProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< @@ -2755,7 +2777,9 @@ export const ListProjectsLocationsRepositoriesPullRequestsPullRequestCommentsRes /*@__PURE__*/ ListPullRequestCommentsResponse; export type ListProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists pull request comments. */ export const listProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.PaginatedOperationMethod< @@ -2803,7 +2827,11 @@ export const BatchCreateProjectsLocationsRepositoriesPullRequestsPullRequestComm /*@__PURE__*/ Operation; export type BatchCreateProjectsLocationsRepositoriesPullRequestsPullRequestCommentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Batch creates pull request comments. This function is used to create multiple PullRequestComments for code review. There needs to be exactly one PullRequestComment of type Review, and at most 100 PullRequestComments of type Code per request. The Position of the code comments must be unique within the request. */ export const batchCreateProjectsLocationsRepositoriesPullRequestsPullRequestComments: API.OperationMethod< diff --git a/packages/gcp/src/services/securitycenter-v1.ts b/packages/gcp/src/services/securitycenter-v1.ts index 37ba4b8a6c..f6570707a0 100644 --- a/packages/gcp/src/services/securitycenter-v1.ts +++ b/packages/gcp/src/services/securitycenter-v1.ts @@ -7557,7 +7557,9 @@ export const ListDescendantFoldersEventThreatDetectionSettingsCustomModulesRespo /*@__PURE__*/ ListDescendantEventThreatDetectionCustomModulesResponse; export type ListDescendantFoldersEventThreatDetectionSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listDescendantFoldersEventThreatDetectionSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantFoldersEventThreatDetectionSettingsCustomModulesRequest, @@ -7698,7 +7700,9 @@ export const ListFoldersEventThreatDetectionSettingsEffectiveCustomModulesRespon /*@__PURE__*/ ListEffectiveEventThreatDetectionCustomModulesResponse; export type ListFoldersEventThreatDetectionSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listFoldersEventThreatDetectionSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListFoldersEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -8681,7 +8685,9 @@ export const ListDescendantFoldersSecurityHealthAnalyticsSettingsCustomModulesRe /*@__PURE__*/ ListDescendantSecurityHealthAnalyticsCustomModulesResponse; export type ListDescendantFoldersSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listDescendantFoldersSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantFoldersSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -8830,7 +8836,9 @@ export const GetFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesResp /*@__PURE__*/ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule; export type GetFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.OperationMethod< GetFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -8866,7 +8874,9 @@ export const ListFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesRes /*@__PURE__*/ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse; export type ListFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -9210,7 +9220,11 @@ export const ValidateCustomModuleOrganizationsEventThreatDetectionSettingsRespon /*@__PURE__*/ ValidateEventThreatDetectionCustomModuleResponse; export type ValidateCustomModuleOrganizationsEventThreatDetectionSettingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const validateCustomModuleOrganizationsEventThreatDetectionSettings: API.OperationMethod< ValidateCustomModuleOrganizationsEventThreatDetectionSettingsRequest, @@ -9241,7 +9255,9 @@ export const GetOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesR /*@__PURE__*/ EffectiveEventThreatDetectionCustomModule; export type GetOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getOrganizationsEventThreatDetectionSettingsEffectiveCustomModules: API.OperationMethod< GetOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -9278,7 +9294,9 @@ export const ListOrganizationsEventThreatDetectionSettingsEffectiveCustomModules /*@__PURE__*/ ListEffectiveEventThreatDetectionCustomModulesResponse; export type ListOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listOrganizationsEventThreatDetectionSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -9322,7 +9340,9 @@ export const ListDescendantOrganizationsEventThreatDetectionSettingsCustomModule /*@__PURE__*/ ListDescendantEventThreatDetectionCustomModulesResponse; export type ListDescendantOrganizationsEventThreatDetectionSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listDescendantOrganizationsEventThreatDetectionSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantOrganizationsEventThreatDetectionSettingsCustomModulesRequest, @@ -11078,7 +11098,9 @@ export const ListOrganizationsSimulationsAttackExposureResultsValuedResourcesRes /*@__PURE__*/ ListValuedResourcesResponse; export type ListOrganizationsSimulationsAttackExposureResultsValuedResourcesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listOrganizationsSimulationsAttackExposureResultsValuedResources: API.PaginatedOperationMethod< ListOrganizationsSimulationsAttackExposureResultsValuedResourcesRequest, @@ -11552,7 +11574,9 @@ export const GetOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModul /*@__PURE__*/ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule; export type GetOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.OperationMethod< GetOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -11589,7 +11613,9 @@ export const ListOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModu /*@__PURE__*/ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse; export type ListOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -11630,7 +11656,9 @@ export const ListOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRespon /*@__PURE__*/ ListSecurityHealthAnalyticsCustomModulesResponse; export type ListOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11674,7 +11702,11 @@ export const CreateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesResp /*@__PURE__*/ GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule; export type CreateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const createOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< CreateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11713,7 +11745,11 @@ export const PatchOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRespo /*@__PURE__*/ GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule; export type PatchOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const patchOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< PatchOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11754,7 +11790,11 @@ export const SimulateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRe /*@__PURE__*/ SimulateSecurityHealthAnalyticsCustomModuleResponse; export type SimulateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const simulateOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< SimulateOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11794,7 +11834,9 @@ export const ListDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomMod /*@__PURE__*/ ListDescendantSecurityHealthAnalyticsCustomModulesResponse; export type ListDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -11831,7 +11873,11 @@ export const DeleteOrganizationsSecurityHealthAnalyticsSettingsCustomModulesResp /*@__PURE__*/ Empty; export type DeleteOrganizationsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteOrganizationsSecurityHealthAnalyticsSettingsCustomModules: API.OperationMethod< DeleteOrganizationsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -12932,7 +12978,9 @@ export const GetProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRes /*@__PURE__*/ GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule; export type GetProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.OperationMethod< GetProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -12969,7 +13017,9 @@ export const ListProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRe /*@__PURE__*/ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse; export type ListProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesRequest, @@ -13252,7 +13302,9 @@ export const ListDescendantProjectsSecurityHealthAnalyticsSettingsCustomModulesR /*@__PURE__*/ ListDescendantSecurityHealthAnalyticsCustomModulesResponse; export type ListDescendantProjectsSecurityHealthAnalyticsSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listDescendantProjectsSecurityHealthAnalyticsSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantProjectsSecurityHealthAnalyticsSettingsCustomModulesRequest, @@ -13333,7 +13385,9 @@ export const GetProjectsEventThreatDetectionSettingsEffectiveCustomModulesRespon /*@__PURE__*/ EffectiveEventThreatDetectionCustomModule; export type GetProjectsEventThreatDetectionSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getProjectsEventThreatDetectionSettingsEffectiveCustomModules: API.OperationMethod< GetProjectsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -13368,7 +13422,9 @@ export const ListProjectsEventThreatDetectionSettingsEffectiveCustomModulesRespo /*@__PURE__*/ ListEffectiveEventThreatDetectionCustomModulesResponse; export type ListProjectsEventThreatDetectionSettingsEffectiveCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listProjectsEventThreatDetectionSettingsEffectiveCustomModules: API.PaginatedOperationMethod< ListProjectsEventThreatDetectionSettingsEffectiveCustomModulesRequest, @@ -13411,7 +13467,9 @@ export const ListDescendantProjectsEventThreatDetectionSettingsCustomModulesResp /*@__PURE__*/ ListDescendantEventThreatDetectionCustomModulesResponse; export type ListDescendantProjectsEventThreatDetectionSettingsCustomModulesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listDescendantProjectsEventThreatDetectionSettingsCustomModules: API.PaginatedOperationMethod< ListDescendantProjectsEventThreatDetectionSettingsCustomModulesRequest, diff --git a/packages/gcp/src/services/sts-v1.ts b/packages/gcp/src/services/sts-v1.ts index 3178eb05a6..5e15137db6 100644 --- a/packages/gcp/src/services/sts-v1.ts +++ b/packages/gcp/src/services/sts-v1.ts @@ -402,7 +402,9 @@ export const GetOpenid_configurationProjectsLocationsWorkloadIdentityPoolsWell_k /*@__PURE__*/ GoogleIdentityStsV1OpenIdProviderConfig; export type GetOpenid_configurationProjectsLocationsWorkloadIdentityPoolsWell_knownError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the OIDC provider configuration for an agentic or managed workload identity pool following [the OIDC 1.0 discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). For now, only agentic system pools are supported. */ export const getOpenid_configurationProjectsLocationsWorkloadIdentityPoolsWell_known: API.OperationMethod< @@ -475,7 +477,9 @@ export const GetOpenid_configurationOrganizationsLocationsWorkloadIdentityPoolsW /*@__PURE__*/ GoogleIdentityStsV1OpenIdProviderConfig; export type GetOpenid_configurationOrganizationsLocationsWorkloadIdentityPoolsWell_knownError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the OIDC provider configuration for an agentic or managed workload identity pool following [the OIDC 1.0 discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). For now, only agentic system pools are supported. */ export const getOpenid_configurationOrganizationsLocationsWorkloadIdentityPoolsWell_known: API.OperationMethod< diff --git a/packages/gcp/src/services/toolresults-v1beta3.ts b/packages/gcp/src/services/toolresults-v1beta3.ts index 022ef55592..be9543a96f 100644 --- a/packages/gcp/src/services/toolresults-v1beta3.ts +++ b/packages/gcp/src/services/toolresults-v1beta3.ts @@ -2942,7 +2942,11 @@ export const BatchCreateProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesR /*@__PURE__*/ BatchCreatePerfSamplesResponse; export type BatchCreateProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items which already existed in the database). May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist */ export const batchCreateProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples: API.OperationMethod< diff --git a/packages/gcp/src/services/translate-v3.ts b/packages/gcp/src/services/translate-v3.ts index 7fe43a3a2b..c562f965bb 100644 --- a/packages/gcp/src/services/translate-v3.ts +++ b/packages/gcp/src/services/translate-v3.ts @@ -2530,7 +2530,9 @@ export const ListProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSen /*@__PURE__*/ ListAdaptiveMtSentencesResponse; export type ListProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentencesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all AdaptiveMtSentences under a given file/dataset. */ export const listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/services/vmwareengine-v1.ts b/packages/gcp/src/services/vmwareengine-v1.ts index e3ecd08215..e63a83e4fa 100644 --- a/packages/gcp/src/services/vmwareengine-v1.ts +++ b/packages/gcp/src/services/vmwareengine-v1.ts @@ -4862,7 +4862,11 @@ export const CreateProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRespon /*@__PURE__*/ Operation; export type CreateProjectsLocationsPrivateCloudsManagementDnsZoneBindingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager. */ export const createProjectsLocationsPrivateCloudsManagementDnsZoneBindings: API.OperationMethod< @@ -4900,7 +4904,11 @@ export const RepairProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRespon /*@__PURE__*/ Operation; export type RepairProjectsLocationsPrivateCloudsManagementDnsZoneBindingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Retries to create a `ManagementDnsZoneBinding` resource that is in failed state. */ export const repairProjectsLocationsPrivateCloudsManagementDnsZoneBindings: API.OperationMethod< @@ -5068,7 +5076,11 @@ export const DeleteProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRespon /*@__PURE__*/ Operation; export type DeleteProjectsLocationsPrivateCloudsManagementDnsZoneBindingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone. */ export const deleteProjectsLocationsPrivateCloudsManagementDnsZoneBindings: API.OperationMethod< @@ -5790,7 +5802,11 @@ export const TestIamPermissionsProjectsLocationsPrivateCloudsHcxActivationKeysRe /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsPrivateCloudsHcxActivationKeysError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsPrivateCloudsHcxActivationKeys: API.OperationMethod< diff --git a/packages/gcp/src/services/workstations-v1.ts b/packages/gcp/src/services/workstations-v1.ts index c8e3c59891..19af238bb5 100644 --- a/packages/gcp/src/services/workstations-v1.ts +++ b/packages/gcp/src/services/workstations-v1.ts @@ -1617,7 +1617,9 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1659,7 +1661,11 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1756,7 +1762,9 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsRes /*@__PURE__*/ ListUsableWorkstationConfigsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigs: API.PaginatedOperationMethod< @@ -1850,7 +1858,11 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1974,7 +1986,9 @@ export const GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstatio /*@__PURE__*/ Workstation; export type GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the requested workstation. */ export const getProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2026,7 +2040,11 @@ export const CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new workstation. */ export const createProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2064,7 +2082,11 @@ export const StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ Operation; export type StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Stops running a workstation, reducing costs. */ export const stopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2106,7 +2128,11 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2147,7 +2173,9 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWor /*@__PURE__*/ ListUsableWorkstationsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2194,7 +2222,11 @@ export const DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specified workstation. */ export const deleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2232,7 +2264,11 @@ export const StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts running a workstation so that users can connect to it. */ export const startProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2283,7 +2319,11 @@ export const PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates an existing workstation. */ export const patchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2325,7 +2365,11 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2367,7 +2411,11 @@ export const GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationC /*@__PURE__*/ GenerateAccessTokenResponse; export type GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token. */ export const generateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2411,7 +2459,9 @@ export const ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ ListWorkstationsResponse; export type ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns all Workstations using the specified workstation configuration. */ export const listProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2455,7 +2505,9 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts b/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts index 7afd38f434..b3859bd523 100644 --- a/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts +++ b/packages/gcp/src/unstable-services/aiplatform-v1beta1.ts @@ -55702,7 +55702,11 @@ export const ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperiments /*@__PURE__*/ GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse; export type ExportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Exports a TensorboardTimeSeries' data. Data is returned in paginated responses. */ export const exportTensorboardTimeSeriesProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -55847,7 +55851,9 @@ export const ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesR /*@__PURE__*/ GoogleCloudAiplatformV1beta1ReadTensorboardBlobDataResponse; export type ReadBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission. */ export const readBlobDataProjectsLocationsTensorboardsExperimentsRunsTimeSeries: API.OperationMethod< @@ -55882,7 +55888,11 @@ export const DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -55917,7 +55927,11 @@ export const CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperati /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -55952,7 +55966,9 @@ export const GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -55990,7 +56006,11 @@ export const WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.OperationMethod< @@ -56039,7 +56059,9 @@ export const ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsTensorboardsExperimentsRunsTimeSeriesOperations: API.PaginatedOperationMethod< @@ -59152,7 +59174,11 @@ export const DeleteProjectsLocationsFeatureGroupsFeatureMonitorsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeatureGroupsFeatureMonitorsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeatureGroupsFeatureMonitorsOperations: API.OperationMethod< @@ -59260,7 +59286,9 @@ export const GetProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsR /*@__PURE__*/ GoogleCloudAiplatformV1beta1FeatureMonitorJob; export type GetProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get a feature monitor job. */ export const getProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs: API.OperationMethod< @@ -59309,7 +59337,11 @@ export const CreateProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJo /*@__PURE__*/ GoogleCloudAiplatformV1beta1FeatureMonitorJob; export type CreateProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new feature monitor job. */ export const createProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs: API.OperationMethod< @@ -59356,7 +59388,9 @@ export const ListProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponse; export type ListProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List feature monitor jobs. */ export const listProjectsLocationsFeatureGroupsFeatureMonitorsFeatureMonitorJobs: API.PaginatedOperationMethod< @@ -61858,7 +61892,9 @@ export const ListProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsResp /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.PaginatedOperationMethod< @@ -61896,7 +61932,9 @@ export const GetProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -61933,7 +61971,11 @@ export const WaitProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -61967,7 +62009,11 @@ export const CancelProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -62002,7 +62048,11 @@ export const DeleteProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesRuntimeRevisionsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesRuntimeRevisionsOperations: API.OperationMethod< @@ -62046,7 +62096,9 @@ export const ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA ) as any as Schema.Codec; export type ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2aError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const extendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2a: API.OperationMethod< @@ -62177,7 +62229,11 @@ export const CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksResp ) as any as Schema.Codec; export type CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const cancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62220,7 +62276,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62261,7 +62319,9 @@ export const SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksR /*@__PURE__*/ GoogleApiHttpBody; export type SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Stream get request for reasoning engine instance via the A2A stream get protocol apis. */ export const subscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62305,7 +62365,9 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevi ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -62349,7 +62411,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -62481,7 +62545,9 @@ export const ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA ) as any as Schema.Codec; export type ExtendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Error = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const extendedAgentCardProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1: API.OperationMethod< @@ -62523,7 +62589,11 @@ export const StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Message /*@__PURE__*/ GoogleApiHttpBody; export type StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1MessageError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */ export const streamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Message: API.OperationMethod< @@ -62566,7 +62636,11 @@ export const SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1MessageRe ) as any as Schema.Codec; export type SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1MessageError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const sendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Message: API.OperationMethod< @@ -62609,7 +62683,11 @@ export const CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksRe ) as any as Schema.Codec; export type CancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const cancelProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62653,7 +62731,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62694,7 +62774,9 @@ export const SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Task /*@__PURE__*/ GoogleApiHttpBody; export type SubscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Stream get request for reasoning engine instance via the A2A stream get protocol apis. */ export const subscribeProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62738,7 +62820,9 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevi ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -62782,7 +62866,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisi ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -62824,7 +62910,11 @@ export const StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageRe /*@__PURE__*/ GoogleApiHttpBody; export type StreamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */ export const streamProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessage: API.OperationMethod< @@ -62867,7 +62957,11 @@ export const SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageResp ) as any as Schema.Codec; export type SendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessageError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Send post request for reasoning engine instance via the A2A post protocol apis. */ export const sendProjectsLocationsReasoningEnginesRuntimeRevisionsA2aMessage: API.OperationMethod< @@ -63042,7 +63136,9 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesA2aTasksRes ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesA2aTasks: API.OperationMethod< @@ -63172,7 +63268,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksRespo ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasks: API.OperationMethod< @@ -63215,7 +63313,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksPushN ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -63436,7 +63536,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksRes ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1Tasks: API.OperationMethod< @@ -63480,7 +63582,9 @@ export const PushNotificationConfigsProjectsLocationsReasoningEnginesA2aV1TasksR ) as any as Schema.Codec; export type PushNotificationConfigsProjectsLocationsReasoningEnginesA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsProjectsLocationsReasoningEnginesA2aV1Tasks: API.OperationMethod< @@ -63565,7 +63669,9 @@ export const A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksPus ) as any as Schema.Codec; export type A2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineProjectsLocationsReasoningEnginesA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -64477,7 +64583,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsR /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.PaginatedOperationMethod< @@ -64516,7 +64624,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64551,7 +64663,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsRe /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64589,7 +64703,11 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsR /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64624,7 +64742,11 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperation /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentsOperations: API.OperationMethod< @@ -64668,7 +64790,11 @@ export const CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a SandboxEnvironmentTemplate in a given reasoning engine. */ export const createProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -64715,7 +64841,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesRes /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListSandboxEnvironmentTemplatesResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists SandboxEnvironmentTemplates in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.PaginatedOperationMethod< @@ -64754,7 +64882,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specific SandboxEnvironmentTemplate. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -64789,7 +64921,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesResp /*@__PURE__*/ GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of the specific SandboxEnvironmentTemplate. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplates: API.OperationMethod< @@ -64837,7 +64971,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOpe /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.PaginatedOperationMethod< @@ -64876,7 +65012,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -64914,7 +65052,11 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -64949,7 +65091,11 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -64984,7 +65130,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentTemplatesOperations: API.OperationMethod< @@ -65549,7 +65699,9 @@ export const ListProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRespo /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.PaginatedOperationMethod< @@ -65587,7 +65739,11 @@ export const CancelProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65622,7 +65778,9 @@ export const GetProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65658,7 +65816,11 @@ export const WaitProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65692,7 +65854,11 @@ export const DeleteProjectsLocationsReasoningEnginesFeedbackEntriesOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesFeedbackEntriesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesFeedbackEntriesOperations: API.OperationMethod< @@ -65739,7 +65905,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsRes /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListSandboxEnvironmentSnapshotsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists SandboxEnvironmentSnapshots in a given reasoning engine. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.PaginatedOperationMethod< @@ -65778,7 +65946,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsR /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specific SandboxEnvironmentSnapshot. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -65813,7 +65985,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsResp /*@__PURE__*/ GoogleCloudAiplatformV1beta1SandboxEnvironmentSnapshot; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of the specific SandboxEnvironmentSnapshot. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshots: API.OperationMethod< @@ -65861,7 +66035,9 @@ export const ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOpe /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.PaginatedOperationMethod< @@ -65900,7 +66076,11 @@ export const CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -65935,7 +66115,9 @@ export const GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOper /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -65973,7 +66155,11 @@ export const WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOpe /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -66008,7 +66194,11 @@ export const DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsO /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsReasoningEnginesSandboxEnvironmentSnapshotsOperations: API.OperationMethod< @@ -69604,7 +69794,11 @@ export const SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModel /*@__PURE__*/ GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse; export type SearchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Searches Model Monitoring Statistics generated within a given time window. */ export const searchModelDeploymentMonitoringStatsAnomaliesProjectsLocationsModelDeploymentMonitoringJobs: API.OperationMethod< @@ -69784,7 +69978,11 @@ export const DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -69893,7 +70091,11 @@ export const CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsModelDeploymentMonitoringJobsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsModelDeploymentMonitoringJobsOperations: API.OperationMethod< @@ -71494,7 +71696,11 @@ export const StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes /*@__PURE__*/ GoogleCloudAiplatformV1beta1ReadFeatureValuesResponse; export type StreamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses. */ export const streamingReadFeatureValuesProjectsLocationsFeaturestoresEntityTypes: API.OperationMethod< @@ -71964,7 +72170,9 @@ export const ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.PaginatedOperationMethod< @@ -72002,7 +72210,9 @@ export const GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -72039,7 +72249,11 @@ export const WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsResp /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -72073,7 +72287,11 @@ export const CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -72108,7 +72326,11 @@ export const DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsRe /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeaturestoresEntityTypesFeaturesOperations: API.OperationMethod< @@ -73171,7 +73393,11 @@ export const GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeature /*@__PURE__*/ GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse; export type GenerateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token. */ export const generateFetchAccessTokenProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73252,7 +73478,11 @@ export const StreamingFetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeat /*@__PURE__*/ GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse; export type StreamingFetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency. */ export const streamingFetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73433,7 +73663,11 @@ export const SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureVie /*@__PURE__*/ GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse; export type SearchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response. */ export const searchNearestEntitiesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73477,7 +73711,11 @@ export const TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73521,7 +73759,11 @@ export const FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsR /*@__PURE__*/ GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse; export type FetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViewsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Fetch feature values under a FeatureView. */ export const fetchFeatureValuesProjectsLocationsFeatureOnlineStoresFeatureViews: API.OperationMethod< @@ -73677,7 +73919,9 @@ export const ListProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespo /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.PaginatedOperationMethod< @@ -73715,7 +73959,11 @@ export const DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -73750,7 +73998,9 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -73786,7 +74036,11 @@ export const WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type WaitProjectsLocationsFeatureOnlineStoresFeatureViewsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */ export const waitProjectsLocationsFeatureOnlineStoresFeatureViewsOperations: API.OperationMethod< @@ -73820,7 +74074,9 @@ export const GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs /*@__PURE__*/ GoogleCloudAiplatformV1beta1FeatureViewSync; export type GetProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of a single FeatureViewSync. */ export const getProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.OperationMethod< @@ -73867,7 +74123,9 @@ export const ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSync /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse; export type ListProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists FeatureViewSyncs in a given FeatureView. */ export const listProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs: API.PaginatedOperationMethod< @@ -75000,7 +75258,9 @@ export const ListProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocat /*@__PURE__*/ GoogleCloudAiplatformV1beta1ListAnalyzedInvocationsResponse; export type ListProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists AnalyzedInvocations in a MonitoredAgent's AnalyzedSession. */ export const listProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocations: API.PaginatedOperationMethod< @@ -75039,7 +75299,9 @@ export const GetProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocati /*@__PURE__*/ GoogleCloudAiplatformV1beta1AnalyzedInvocation; export type GetProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the details of a specific AnalyzedInvocation. */ export const getProjectsLocationsMonitoredAgentsAnalyzedSessionsAnalyzedInvocations: API.OperationMethod< @@ -75580,7 +75842,9 @@ export const QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecut /*@__PURE__*/ GoogleCloudAiplatformV1beta1LineageSubgraph; export type QueryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events. */ export const queryExecutionInputsAndOutputsProjectsLocationsMetadataStoresExecutions: API.OperationMethod< @@ -76195,7 +76459,9 @@ export const QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifact /*@__PURE__*/ GoogleCloudAiplatformV1beta1LineageSubgraph; export type QueryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifactsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph. */ export const queryArtifactLineageSubgraphProjectsLocationsMetadataStoresArtifacts: API.OperationMethod< @@ -76980,7 +77246,9 @@ export const QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsR /*@__PURE__*/ GoogleCloudAiplatformV1beta1LineageSubgraph; export type QueryContextLineageSubgraphProjectsLocationsMetadataStoresContextsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. */ export const queryContextLineageSubgraphProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -77024,7 +77292,11 @@ export const AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresCont /*@__PURE__*/ GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsResponse; export type AddContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContextsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped. */ export const addContextArtifactsAndExecutionsProjectsLocationsMetadataStoresContexts: API.OperationMethod< @@ -79355,7 +79627,11 @@ export const DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */ export const deleteProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< @@ -79388,7 +79664,11 @@ export const CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsDatasetsDataItemsAnnotationsOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsDatasetsDataItemsAnnotationsOperations: API.OperationMethod< @@ -92700,7 +92980,9 @@ export const A2aGetReasoningEngineReasoningEnginesA2aTasksPushNotificationConfig ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesA2aTasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -93137,7 +93419,9 @@ export const A2aGetReasoningEngineReasoningEnginesA2aV1TasksPushNotificationConf ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesA2aV1TasksPushNotificationConfigs: API.OperationMethod< @@ -93691,7 +93975,9 @@ export const PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aTasksResp ) as any as Schema.Codec; export type PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -93820,7 +94106,9 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksRespon ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasks: API.OperationMethod< @@ -93862,7 +94150,9 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksPushNo ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aTasksPushNotificationConfigs: API.OperationMethod< @@ -94172,7 +94462,9 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksResp ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -94215,7 +94507,9 @@ export const PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aV1TasksRe ) as any as Schema.Codec; export type PushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aV1TasksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const pushNotificationConfigsReasoningEnginesRuntimeRevisionsA2aV1Tasks: API.OperationMethod< @@ -94300,7 +94594,9 @@ export const A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksPush ) as any as Schema.Codec; export type A2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get request for reasoning engine instance via the A2A get protocol apis. */ export const a2aGetReasoningEngineReasoningEnginesRuntimeRevisionsA2aV1TasksPushNotificationConfigs: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts b/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts index eab66107dc..1a6cb16f92 100644 --- a/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts +++ b/packages/gcp/src/unstable-services/assuredworkloads-v1beta1.ts @@ -1958,7 +1958,11 @@ export const BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations /*@__PURE__*/ GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse; export type BatchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */ export const batchAcknowledgeViolationsOrganizationsLocationsWorkloadsViolations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts b/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts index cac92054c1..3c09ba2a84 100644 --- a/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts +++ b/packages/gcp/src/unstable-services/beyondcorp-v1alpha.ts @@ -5386,7 +5386,11 @@ export const TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsResp /*@__PURE__*/ GoogleIamV1TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsSecurityGatewaysApplicationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsSecurityGatewaysApplications: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/cloudbuild-v1.ts b/packages/gcp/src/unstable-services/cloudbuild-v1.ts index 7fdab516b3..9e6db4f887 100644 --- a/packages/gcp/src/unstable-services/cloudbuild-v1.ts +++ b/packages/gcp/src/unstable-services/cloudbuild-v1.ts @@ -4336,7 +4336,11 @@ export const RemoveBitbucketServerConnectedRepositoryProjectsLocationsBitbucketS /*@__PURE__*/ Empty; export type RemoveBitbucketServerConnectedRepositoryProjectsLocationsBitbucketServerConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental. */ export const removeBitbucketServerConnectedRepositoryProjectsLocationsBitbucketServerConfigs: API.OperationMethod< @@ -4425,7 +4429,11 @@ export const BatchCreateProjectsLocationsBitbucketServerConfigsConnectedReposito /*@__PURE__*/ Operation; export type BatchCreateProjectsLocationsBitbucketServerConfigsConnectedRepositoriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Batch connecting Bitbucket Server repositories to Cloud Build. */ export const batchCreateProjectsLocationsBitbucketServerConfigsConnectedRepositories: API.OperationMethod< @@ -4674,7 +4682,11 @@ export const RemoveGitLabConnectedRepositoryProjectsLocationsGitLabConfigsRespon /*@__PURE__*/ Empty; export type RemoveGitLabConnectedRepositoryProjectsLocationsGitLabConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */ export const removeGitLabConnectedRepositoryProjectsLocationsGitLabConfigs: API.OperationMethod< @@ -4761,7 +4773,11 @@ export const BatchCreateProjectsLocationsGitLabConfigsConnectedRepositoriesRespo /*@__PURE__*/ Operation; export type BatchCreateProjectsLocationsGitLabConfigsConnectedRepositoriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */ export const batchCreateProjectsLocationsGitLabConfigsConnectedRepositories: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts b/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts index 95db1cd787..2a4c456b81 100644 --- a/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts +++ b/packages/gcp/src/unstable-services/cloudcontrolspartner-v1beta.ts @@ -978,7 +978,9 @@ export const GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsRespon /*@__PURE__*/ PartnerPermissions; export type GetPartnerPermissionsOrganizationsLocationsCustomersWorkloadsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the partner permissions granted for a workload */ export const getPartnerPermissionsOrganizationsLocationsCustomersWorkloads: API.OperationMethod< @@ -1023,7 +1025,9 @@ export const ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsR /*@__PURE__*/ ListAccessApprovalRequestsResponse; export type ListOrganizationsLocationsCustomersWorkloadsAccessApprovalRequestsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Deprecated: Only returns access approval requests directly associated with an assured workload folder. */ export const listOrganizationsLocationsCustomersWorkloadsAccessApprovalRequests: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/connectors-v1.ts b/packages/gcp/src/unstable-services/connectors-v1.ts index 15c8b852e8..5505f9971d 100644 --- a/packages/gcp/src/unstable-services/connectors-v1.ts +++ b/packages/gcp/src/unstable-services/connectors-v1.ts @@ -5100,7 +5100,9 @@ export const ListProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsR /*@__PURE__*/ ListCustomConnectorVersionsResponse; export type ListProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List CustomConnectorVersions in a given project */ export const listProjectsLocationsGlobalCustomConnectorsCustomConnectorVersions: API.PaginatedOperationMethod< @@ -5151,7 +5153,11 @@ export const CreateProjectsLocationsGlobalCustomConnectorsCustomConnectorVersion /*@__PURE__*/ Operation; export type CreateProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new CustomConnectorVersion in a given project and location. */ export const createProjectsLocationsGlobalCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -5186,7 +5192,9 @@ export const GetProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsRe /*@__PURE__*/ CustomConnectorVersion; export type GetProjectsLocationsGlobalCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets details of a single CustomConnectorVersion. */ export const getProjectsLocationsGlobalCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -6012,7 +6020,9 @@ export const GetEntityTypeProjectsLocationsConnectionsConnectionSchemaMetadataRe /*@__PURE__*/ Operation; export type GetEntityTypeProjectsLocationsConnectionsConnectionSchemaMetadataError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get entity type. */ export const getEntityTypeProjectsLocationsConnectionsConnectionSchemaMetadata: API.OperationMethod< @@ -6059,7 +6069,9 @@ export const ListActionsProjectsLocationsConnectionsConnectionSchemaMetadataResp /*@__PURE__*/ ListActionsResponse; export type ListActionsProjectsLocationsConnectionsConnectionSchemaMetadataError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List actions. */ export const listActionsProjectsLocationsConnectionsConnectionSchemaMetadata: API.PaginatedOperationMethod< @@ -6100,7 +6112,9 @@ export const GetActionProjectsLocationsConnectionsConnectionSchemaMetadataRespon /*@__PURE__*/ Operation; export type GetActionProjectsLocationsConnectionsConnectionSchemaMetadataError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get action. */ export const getActionProjectsLocationsConnectionsConnectionSchemaMetadata: API.OperationMethod< @@ -6145,7 +6159,9 @@ export const ListEntityTypesProjectsLocationsConnectionsConnectionSchemaMetadata /*@__PURE__*/ ListEntityTypesResponse; export type ListEntityTypesProjectsLocationsConnectionsConnectionSchemaMetadataError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List entity types. */ export const listEntityTypesProjectsLocationsConnectionsConnectionSchemaMetadata: API.PaginatedOperationMethod< @@ -7645,7 +7661,11 @@ export const PublishProjectsLocationsCustomConnectorsCustomConnectorVersionsResp /*@__PURE__*/ Operation; export type PublishProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Publish request for the CustomConnectorVersion. Once approved, the CustomConnectorVersion will be published as PartnerConnector. */ export const publishProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -7679,7 +7699,11 @@ export const DeleteProjectsLocationsCustomConnectorsCustomConnectorVersionsRespo /*@__PURE__*/ Operation; export type DeleteProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a single CustomConnectorVersion. */ export const deleteProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -7718,7 +7742,11 @@ export const DeprecateProjectsLocationsCustomConnectorsCustomConnectorVersionsRe /*@__PURE__*/ Operation; export type DeprecateProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deprecates a single CustomConnectorVersion. */ export const deprecateProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< @@ -7758,7 +7786,11 @@ export const WithdrawProjectsLocationsCustomConnectorsCustomConnectorVersionsRes /*@__PURE__*/ Operation; export type WithdrawProjectsLocationsCustomConnectorsCustomConnectorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Withdraw the publish request for the CustomConnectorVersion. This can only be used before the CustomConnectorVersion is published. */ export const withdrawProjectsLocationsCustomConnectorsCustomConnectorVersions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/dataform-v1beta1.ts b/packages/gcp/src/unstable-services/dataform-v1beta1.ts index a4651ed5c0..563cabff47 100644 --- a/packages/gcp/src/unstable-services/dataform-v1beta1.ts +++ b/packages/gcp/src/unstable-services/dataform-v1beta1.ts @@ -4306,7 +4306,9 @@ export const QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesRespon /*@__PURE__*/ QueryDirectoryContentsResponse; export type QueryDirectoryContentsProjectsLocationsRepositoriesWorkspacesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the contents of a given Workspace directory. */ export const queryDirectoryContentsProjectsLocationsRepositoriesWorkspaces: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/dialogflow-v2.ts b/packages/gcp/src/unstable-services/dialogflow-v2.ts index e56b31bb28..80c369a523 100644 --- a/packages/gcp/src/unstable-services/dialogflow-v2.ts +++ b/packages/gcp/src/unstable-services/dialogflow-v2.ts @@ -12935,7 +12935,11 @@ export const SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsResp /*@__PURE__*/ GoogleCloudDialogflowV2SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestSmartRepliesProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsRequest, @@ -13020,7 +13024,11 @@ export const SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRespon /*@__PURE__*/ GoogleCloudDialogflowV2SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestFaqAnswersProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRequest, @@ -13060,7 +13068,11 @@ export const SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsR /*@__PURE__*/ GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestKnowledgeAssistProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsRequest, @@ -14741,7 +14753,11 @@ export const SetSuggestionFeatureConfigProjectsLocationsConversationProfilesResp /*@__PURE__*/ GoogleLongrunningOperation; export type SetSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const setSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< SetSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -14782,7 +14798,11 @@ export const ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRe /*@__PURE__*/ GoogleLongrunningOperation; export type ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const clearSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -17545,7 +17565,11 @@ export const DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteContextsProjectsLocationsAgentEnvironmentsUsersSessions: API.OperationMethod< DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRequest, @@ -17620,7 +17644,9 @@ export const GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespon /*@__PURE__*/ GoogleCloudDialogflowV2SessionEntityType; export type GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17655,7 +17681,9 @@ export const ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespo /*@__PURE__*/ GoogleCloudDialogflowV2ListSessionEntityTypesResponse; export type ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.PaginatedOperationMethod< ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17698,7 +17726,11 @@ export const PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesResp /*@__PURE__*/ GoogleCloudDialogflowV2SessionEntityType; export type PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const patchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17730,7 +17762,11 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17768,7 +17804,11 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleCloudDialogflowV2SessionEntityType; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17915,7 +17955,11 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -17949,7 +17993,11 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleCloudDialogflowV2Context; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -18448,7 +18496,11 @@ export const SuggestSmartRepliesProjectsLocationsConversationsParticipantsSugges /*@__PURE__*/ GoogleCloudDialogflowV2SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18490,7 +18542,11 @@ export const SuggestArticlesProjectsLocationsConversationsParticipantsSuggestion /*@__PURE__*/ GoogleCloudDialogflowV2SuggestArticlesResponse; export type SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestArticlesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18532,7 +18588,11 @@ export const SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggesti /*@__PURE__*/ GoogleCloudDialogflowV2SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18574,7 +18634,11 @@ export const SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSug /*@__PURE__*/ GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -18703,7 +18767,11 @@ export const SuggestConversationSummaryProjectsLocationsConversationsSuggestions /*@__PURE__*/ GoogleCloudDialogflowV2SuggestConversationSummaryResponse; export type SuggestConversationSummaryProjectsLocationsConversationsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestConversationSummaryProjectsLocationsConversationsSuggestions: API.OperationMethod< SuggestConversationSummaryProjectsLocationsConversationsSuggestionsRequest, diff --git a/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts b/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts index 80fb992aa1..8c074b97f7 100644 --- a/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts +++ b/packages/gcp/src/unstable-services/dialogflow-v2beta1.ts @@ -13493,7 +13493,11 @@ export const SetSuggestionFeatureConfigProjectsLocationsConversationProfilesResp /*@__PURE__*/ GoogleLongrunningOperation; export type SetSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const setSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< SetSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -13534,7 +13538,11 @@ export const ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRe /*@__PURE__*/ GoogleLongrunningOperation; export type ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const clearSuggestionFeatureConfigProjectsLocationsConversationProfiles: API.OperationMethod< ClearSuggestionFeatureConfigProjectsLocationsConversationProfilesRequest, @@ -15229,7 +15237,11 @@ export const DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteContextsProjectsLocationsAgentEnvironmentsUsersSessions: API.OperationMethod< DeleteContextsProjectsLocationsAgentEnvironmentsUsersSessionsRequest, @@ -15346,7 +15358,11 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleCloudDialogflowV2beta1Context; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -15460,7 +15476,11 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsContexts: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsContextsRequest, @@ -15495,7 +15515,9 @@ export const ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespo /*@__PURE__*/ GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse; export type ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const listProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.PaginatedOperationMethod< ListProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15538,7 +15560,11 @@ export const PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesResp /*@__PURE__*/ GoogleCloudDialogflowV2beta1SessionEntityType; export type PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const patchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< PatchProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15570,7 +15596,11 @@ export const DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const deleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< DeleteProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15612,7 +15642,11 @@ export const CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRes /*@__PURE__*/ GoogleCloudDialogflowV2beta1SessionEntityType; export type CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const createProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< CreateProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -15645,7 +15679,9 @@ export const GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRespon /*@__PURE__*/ GoogleCloudDialogflowV2beta1SessionEntityType; export type GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const getProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypes: API.OperationMethod< GetProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesRequest, @@ -17066,7 +17102,11 @@ export const SuggestSmartRepliesProjectsLocationsConversationsParticipantsSugges /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17108,7 +17148,11 @@ export const SuggestArticlesProjectsLocationsConversationsParticipantsSuggestion /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestArticlesResponse; export type SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestArticlesProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestArticlesProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17150,7 +17194,11 @@ export const SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggesti /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17192,7 +17240,11 @@ export const SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSug /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsLocationsConversationsParticipantsSuggestionsRequest, @@ -17409,7 +17461,11 @@ export const SuggestConversationSummaryProjectsLocationsConversationsSuggestions /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse; export type SuggestConversationSummaryProjectsLocationsConversationsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestConversationSummaryProjectsLocationsConversationsSuggestions: API.OperationMethod< SuggestConversationSummaryProjectsLocationsConversationsSuggestionsRequest, @@ -22448,7 +22504,11 @@ export const SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsResp /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse; export type SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestSmartRepliesProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestSmartRepliesProjectsConversationsParticipantsSuggestionsRequest, @@ -22489,7 +22549,11 @@ export const SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsR /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse; export type SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestKnowledgeAssistProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestKnowledgeAssistProjectsConversationsParticipantsSuggestionsRequest, @@ -22619,7 +22683,11 @@ export const SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRespon /*@__PURE__*/ GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse; export type SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const suggestFaqAnswersProjectsConversationsParticipantsSuggestions: API.OperationMethod< SuggestFaqAnswersProjectsConversationsParticipantsSuggestionsRequest, diff --git a/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts b/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts index ce8f0f0d4b..88e5288319 100644 --- a/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts +++ b/packages/gcp/src/unstable-services/dialogflow-v3beta1.ts @@ -15342,7 +15342,11 @@ export const ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessi /*@__PURE__*/ GoogleCloudDialogflowCxV3beta1DetectIntentResponse; export type ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const serverStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessions: API.OperationMethod< ServerStreamingDetectIntentProjectsLocationsAgentsEnvironmentsSessionsRequest, diff --git a/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts b/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts index 365e80ae61..21b64713d6 100644 --- a/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts +++ b/packages/gcp/src/unstable-services/discoveryengine-v1alpha.ts @@ -22364,7 +22364,11 @@ export const RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse; export type RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */ export const retractLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -22457,7 +22461,11 @@ export const DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsR /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse; export type DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Distributes a LicenseConfig from billing account level to project level. */ export const distributeLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -24169,7 +24177,11 @@ export const RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse; export type RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again. */ export const removeSuggestionProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -24213,7 +24225,11 @@ export const CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -24526,7 +24542,11 @@ export const StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsEnginesServingConfigs: API.OperationMethod< @@ -25430,7 +25450,9 @@ export const GetProjectsLocationsCollectionsEnginesSessionsAlphaEvolveExperiment /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesSessionsAlphaEvolveExperimentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesSessionsAlphaEvolveExperimentsOperations: API.OperationMethod< @@ -26218,7 +26240,9 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsOperations: API.OperationMethod< @@ -26262,7 +26286,11 @@ export const ImportProjectsLocationsCollectionsEnginesAssistantsAgentsFilesRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse; export type ImportProjectsLocationsCollectionsEnginesAssistantsAgentsFilesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports a file to an Agent. Currently only No-Code agents are supported. */ export const importProjectsLocationsCollectionsEnginesAssistantsAgentsFiles: API.OperationMethod< @@ -26310,7 +26338,11 @@ export const CreateProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaCannedQuery; export type CreateProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a CannedQuery. */ export const createProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26353,7 +26385,11 @@ export const PatchProjectsLocationsCollectionsEnginesAssistantsCannedQueriesResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaCannedQuery; export type PatchProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a CannedQuery. */ export const patchProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26387,7 +26423,9 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaCannedQuery; export type GetProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a CannedQuery. */ export const getProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26420,7 +26458,11 @@ export const DeleteProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRes /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a CannedQuery. */ export const deleteProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.OperationMethod< @@ -26464,7 +26506,9 @@ export const ListProjectsLocationsCollectionsEnginesAssistantsCannedQueriesRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse; export type ListProjectsLocationsCollectionsEnginesAssistantsCannedQueriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all CannedQuerys under an Assistant. */ export const listProjectsLocationsCollectionsEnginesAssistantsCannedQueries: API.PaginatedOperationMethod< @@ -27573,7 +27617,9 @@ export const GetDocumentProcessingConfigProjectsLocationsCollectionsDataStoresRe /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; export type GetDocumentProcessingConfigProjectsLocationsCollectionsDataStoresError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a DocumentProcessingConfig. */ export const getDocumentProcessingConfigProjectsLocationsCollectionsDataStores: API.OperationMethod< @@ -27616,7 +27662,11 @@ export const UpdateDocumentProcessingConfigProjectsLocationsCollectionsDataStore /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; export type UpdateDocumentProcessingConfigProjectsLocationsCollectionsDataStoresError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */ export const updateDocumentProcessingConfigProjectsLocationsCollectionsDataStores: API.OperationMethod< @@ -27748,7 +27798,9 @@ export const BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBran /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse; export type BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranchesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets index freshness metadata for Documents. Supported for website search only. */ export const batchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranches: API.OperationMethod< @@ -27823,7 +27875,11 @@ export const CancelProjectsLocationsCollectionsDataStoresBranchesOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsCollectionsDataStoresBranchesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsCollectionsDataStoresBranchesOperations: API.OperationMethod< @@ -27995,7 +28051,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Document. */ export const deleteProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28131,7 +28191,11 @@ export const CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaDocument; export type CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a Document. */ export const createProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28173,7 +28237,11 @@ export const ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. */ export const importProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28228,7 +28296,9 @@ export const GetProcessedDocumentProjectsLocationsCollectionsDataStoresBranchesD /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaProcessedDocument; export type GetProcessedDocumentProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the parsed layout information for a Document. */ export const getProcessedDocumentProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -28263,7 +28333,9 @@ export const GetProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaChunk; export type GetProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a Document. */ export const getProjectsLocationsCollectionsDataStoresBranchesDocumentsChunks: API.OperationMethod< @@ -28304,7 +28376,9 @@ export const ListProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksRe /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaListChunksResponse; export type ListProjectsLocationsCollectionsDataStoresBranchesDocumentsChunksError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a list of Chunks. */ export const listProjectsLocationsCollectionsDataStoresBranchesDocumentsChunks: API.PaginatedOperationMethod< @@ -28352,7 +28426,11 @@ export const BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSea /*@__PURE__*/ GoogleLongrunningOperation; export type BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */ export const batchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28396,7 +28474,11 @@ export const EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteS /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28440,7 +28522,9 @@ export const FetchDomainVerificationStatusProjectsLocationsCollectionsDataStores /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse; export type FetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */ export const fetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.PaginatedOperationMethod< @@ -28482,7 +28566,9 @@ export const GetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse; export type GetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */ export const getUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28526,7 +28612,11 @@ export const SetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type SetUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore. */ export const setUriPatternDocumentDataProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28570,7 +28660,11 @@ export const DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28614,7 +28708,11 @@ export const RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineRe /*@__PURE__*/ GoogleLongrunningOperation; export type RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Request on-demand recrawl for a list of URIs. */ export const recrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28663,7 +28761,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.PaginatedOperationMethod< @@ -28702,7 +28802,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.OperationMethod< @@ -28746,7 +28848,11 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a TargetSite. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28790,7 +28896,11 @@ export const BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTa /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28825,7 +28935,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a TargetSite. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28866,7 +28980,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a list of TargetSites. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.PaginatedOperationMethod< @@ -28910,7 +29026,11 @@ export const PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSi /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a TargetSite. */ export const patchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28945,7 +29065,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaTargetSite; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a TargetSite. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -28994,7 +29116,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.PaginatedOperationMethod< @@ -29033,7 +29157,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.OperationMethod< @@ -29068,7 +29194,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Sitemap. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -29108,7 +29238,9 @@ export const FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse; export type FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Fetch Sitemaps in a DataStore. */ export const fetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -29152,7 +29284,11 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a Sitemap. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -29667,7 +29803,11 @@ export const ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsRe /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports CompletionSuggestions for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -29711,7 +29851,11 @@ export const PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsRes /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Permanently deletes all CompletionSuggestions for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -29755,7 +29899,11 @@ export const SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaSearchResponse; export type SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */ export const searchLiteProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30058,7 +30206,11 @@ export const RecommendProjectsLocationsCollectionsDataStoresServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaRecommendResponse; export type RecommendProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Makes a recommendation, which requires a contextual user event. */ export const recommendProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30145,7 +30297,11 @@ export const StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -30533,7 +30689,11 @@ export const CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsDataStoresCompletionConfig: API.OperationMethod< @@ -30577,7 +30737,11 @@ export const ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntri /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports all SuggestionDenyListEntry for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -30621,7 +30785,11 @@ export const PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntrie /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -33978,7 +34146,11 @@ export const EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -34022,7 +34194,11 @@ export const DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngin /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -34203,7 +34379,11 @@ export const BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesRe /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -35203,7 +35383,9 @@ export const GetProcessedDocumentProjectsLocationsDataStoresBranchesDocumentsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1alphaProcessedDocument; export type GetProcessedDocumentProjectsLocationsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the parsed layout information for a Document. */ export const getProcessedDocumentProjectsLocationsDataStoresBranchesDocuments: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts b/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts index a92885c6e6..b036301a65 100644 --- a/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts +++ b/packages/gcp/src/unstable-services/discoveryengine-v1beta.ts @@ -20311,7 +20311,11 @@ export const DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsR /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigResponse; export type DistributeLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Distributes a LicenseConfig from billing account level to project level. */ export const distributeLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -20357,7 +20361,11 @@ export const RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsResp /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaRetractLicenseConfigResponse; export type RetractLicenseConfigBillingAccountsBillingAccountLicenseConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */ export const retractLicenseConfigBillingAccountsBillingAccountLicenseConfigs: API.OperationMethod< @@ -21811,7 +21819,11 @@ export const CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsDataStoresCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsDataStoresCompletionConfig: API.OperationMethod< @@ -22409,7 +22421,11 @@ export const ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsRe /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports CompletionSuggestions for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -22453,7 +22469,11 @@ export const PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsRes /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresCompletionSuggestionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Permanently deletes all CompletionSuggestions for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresCompletionSuggestions: API.OperationMethod< @@ -22497,7 +22517,11 @@ export const ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntri /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports all SuggestionDenyListEntry for a DataStore. */ export const importProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -22541,7 +22565,11 @@ export const PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntrie /*@__PURE__*/ GoogleLongrunningOperation; export type PurgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */ export const purgeProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries: API.OperationMethod< @@ -23270,7 +23298,9 @@ export const BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBran /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse; export type BatchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranchesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets index freshness metadata for Documents. Supported for website search only. */ export const batchGetDocumentsMetadataProjectsLocationsCollectionsDataStoresBranches: API.OperationMethod< @@ -23398,7 +23428,11 @@ export const CancelProjectsLocationsCollectionsDataStoresBranchesOperationsRespo /*@__PURE__*/ GoogleProtobufEmpty; export type CancelProjectsLocationsCollectionsDataStoresBranchesOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */ export const cancelProjectsLocationsCollectionsDataStoresBranchesOperations: API.OperationMethod< @@ -23585,7 +23619,11 @@ export const CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaDocument; export type CreateProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a Document. */ export const createProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -23662,7 +23700,11 @@ export const ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. */ export const importProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -23695,7 +23737,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsRespon /*@__PURE__*/ GoogleProtobufEmpty; export type DeleteProjectsLocationsCollectionsDataStoresBranchesDocumentsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Document. */ export const deleteProjectsLocationsCollectionsDataStoresBranchesDocuments: API.OperationMethod< @@ -23737,7 +23783,11 @@ export const SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsRespo /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaSearchResponse; export type SearchLiteProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */ export const searchLiteProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -23780,7 +23830,11 @@ export const StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -24129,7 +24183,11 @@ export const RecommendProjectsLocationsCollectionsDataStoresServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaRecommendResponse; export type RecommendProjectsLocationsCollectionsDataStoresServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Makes a recommendation, which requires a contextual user event. */ export const recommendProjectsLocationsCollectionsDataStoresServingConfigs: API.OperationMethod< @@ -24171,7 +24229,11 @@ export const RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineRe /*@__PURE__*/ GoogleLongrunningOperation; export type RecrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Request on-demand recrawl for a list of URIs. */ export const recrawlUrisProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24215,7 +24277,11 @@ export const EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteS /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24259,7 +24325,11 @@ export const BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSea /*@__PURE__*/ GoogleLongrunningOperation; export type BatchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */ export const batchVerifyTargetSitesProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24303,7 +24373,11 @@ export const DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSite /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.OperationMethod< @@ -24347,7 +24421,9 @@ export const FetchDomainVerificationStatusProjectsLocationsCollectionsDataStores /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse; export type FetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */ export const fetchDomainVerificationStatusProjectsLocationsCollectionsDataStoresSiteSearchEngine: API.PaginatedOperationMethod< @@ -24400,7 +24476,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperation /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.PaginatedOperationMethod< @@ -24439,7 +24517,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations: API.OperationMethod< @@ -24479,7 +24559,9 @@ export const FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse; export type FetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Fetch Sitemaps in a DataStore. */ export const fetchProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -24523,7 +24605,11 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a Sitemap. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -24558,7 +24644,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemap /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a Sitemap. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemaps: API.OperationMethod< @@ -24598,7 +24688,11 @@ export const PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSi /*@__PURE__*/ GoogleLongrunningOperation; export type PatchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates a TargetSite. */ export const patchProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24639,7 +24733,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaListTargetSitesResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a list of TargetSites. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.PaginatedOperationMethod< @@ -24687,7 +24783,11 @@ export const CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type CreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a TargetSite. */ export const createProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24731,7 +24831,11 @@ export const BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTa /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24766,7 +24870,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaTargetSite; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a TargetSite. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24801,7 +24907,11 @@ export const DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetS /*@__PURE__*/ GoogleLongrunningOperation; export type DeleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a TargetSite. */ export const deleteProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< @@ -24850,7 +24960,9 @@ export const ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSit /*@__PURE__*/ GoogleLongrunningListOperationsResponse; export type ListProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */ export const listProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.PaginatedOperationMethod< @@ -24889,7 +25001,9 @@ export const GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSite /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations: API.OperationMethod< @@ -25788,7 +25902,9 @@ export const GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsRes /*@__PURE__*/ GoogleLongrunningOperation; export type GetProjectsLocationsCollectionsEnginesAssistantsAgentsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsCollectionsEnginesAssistantsAgentsOperations: API.OperationMethod< @@ -26392,7 +26508,11 @@ export const StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsRespon /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAnswerQueryResponse; export type StreamAnswerProjectsLocationsCollectionsEnginesServingConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */ export const streamAnswerProjectsLocationsCollectionsEnginesServingConfigs: API.OperationMethod< @@ -26485,7 +26605,11 @@ export const CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigRes /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse; export type CompleteQueryProjectsLocationsCollectionsEnginesCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Completes the user input with advanced keyword suggestions. */ export const completeQueryProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -26529,7 +26653,11 @@ export const RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfig /*@__PURE__*/ GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponse; export type RemoveSuggestionProjectsLocationsCollectionsEnginesCompletionConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again. */ export const removeSuggestionProjectsLocationsCollectionsEnginesCompletionConfig: API.OperationMethod< @@ -28124,7 +28252,11 @@ export const DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngin /*@__PURE__*/ GoogleLongrunningOperation; export type DisableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Downgrade from advanced site search to basic site search. */ export const disableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28168,7 +28300,11 @@ export const EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine /*@__PURE__*/ GoogleLongrunningOperation; export type EnableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngineError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Upgrade from basic site search to advanced site search. */ export const enableAdvancedSiteSearchProjectsLocationsDataStoresSiteSearchEngine: API.OperationMethod< @@ -28258,7 +28394,11 @@ export const BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesRe /*@__PURE__*/ GoogleLongrunningOperation; export type BatchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSitesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates TargetSite in a batch. */ export const batchCreateProjectsLocationsDataStoresSiteSearchEngineTargetSites: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/displayvideo-v2.ts b/packages/gcp/src/unstable-services/displayvideo-v2.ts index 9cc47442c5..3dfc67ae35 100644 --- a/packages/gcp/src/unstable-services/displayvideo-v2.ts +++ b/packages/gcp/src/unstable-services/displayvideo-v2.ts @@ -13103,7 +13103,9 @@ export const BulkListAdGroupAssignedTargetingOptionsAdvertisersYoutubeAdGroupsRe /*@__PURE__*/ BulkListAdGroupAssignedTargetingOptionsResponse; export type BulkListAdGroupAssignedTargetingOptionsAdvertisersYoutubeAdGroupsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists assigned targeting options for multiple YouTube ad groups across targeting types. Inherited assigned targeting options are not included. */ export const bulkListAdGroupAssignedTargetingOptionsAdvertisersYoutubeAdGroups: API.PaginatedOperationMethod< @@ -13301,7 +13303,9 @@ export const GetAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a single targeting option assigned to a YouTube ad group. Inherited assigned targeting options are not included. */ export const getAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -13408,7 +13412,9 @@ export const ListAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOption /*@__PURE__*/ ListYoutubeAdGroupAssignedTargetingOptionsResponse; export type ListAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the targeting options assigned to a YouTube ad group. Inherited assigned targeting options are not included. */ export const listAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -14615,7 +14621,9 @@ export const GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a single targeting option assigned to a line item. */ export const getAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -14720,7 +14728,9 @@ export const ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespo /*@__PURE__*/ ListLineItemAssignedTargetingOptionsResponse; export type ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the targeting options assigned to a line item. */ export const listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -14822,7 +14832,11 @@ export const CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const createAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -14922,7 +14936,11 @@ export const DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const deleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/displayvideo-v3.ts b/packages/gcp/src/unstable-services/displayvideo-v3.ts index 6cc702d0e4..c36cafa715 100644 --- a/packages/gcp/src/unstable-services/displayvideo-v3.ts +++ b/packages/gcp/src/unstable-services/displayvideo-v3.ts @@ -11762,7 +11762,11 @@ export const DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ Empty; export type DeleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const deleteAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -11863,7 +11867,9 @@ export const GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ AssignedTargetingOption; export type GetAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets a single targeting option assigned to a line item. */ export const getAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -11969,7 +11975,9 @@ export const ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRespo /*@__PURE__*/ ListLineItemAssignedTargetingOptionsResponse; export type ListAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the targeting options assigned to a line item. */ export const listAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -12072,7 +12080,11 @@ export const CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsRes /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API. */ export const createAdvertisersLineItemsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -13519,7 +13531,11 @@ export const DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ Empty; export type DeleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes an assigned targeting option from an ad group. This method is only supported for Demand Gen ad groups with the AdGroupFormat `AD_GROUP_FORMAT_DEMAND_GEN`. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const deleteAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< @@ -13626,7 +13642,9 @@ export const ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsRespon /*@__PURE__*/ ListAdGroupAssignedTargetingOptionsResponse; export type ListAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included. */ export const listAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.PaginatedOperationMethod< @@ -13728,7 +13746,11 @@ export const CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsResp /*@__PURE__*/ AssignedTargetingOption; export type CreateAdvertisersAdGroupsTargetingTypesAssignedTargetingOptionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Assigns a targeting option to an ad group. Returns the assigned targeting option if successful. This method is only supported for Demand Gen ad groups. Retrieval and management of Demand Gen resources is currently rolling out. This method will be available to all partners by *June 24, 2026*. */ export const createAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/documentai-v1beta3.ts b/packages/gcp/src/unstable-services/documentai-v1beta3.ts index 908cd848a9..d29f48e80b 100644 --- a/packages/gcp/src/unstable-services/documentai-v1beta3.ts +++ b/packages/gcp/src/unstable-services/documentai-v1beta3.ts @@ -7613,7 +7613,11 @@ export const EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersion /*@__PURE__*/ GoogleLongrunningOperation; export type EvaluateProcessorVersionProjectsLocationsProcessorsProcessorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. */ export const evaluateProcessorVersionProjectsLocationsProcessorsProcessorVersions: API.OperationMethod< @@ -7657,7 +7661,11 @@ export const ImportProcessorVersionProjectsLocationsProcessorsProcessorVersionsR /*@__PURE__*/ GoogleLongrunningOperation; export type ImportProcessorVersionProjectsLocationsProcessorsProcessorVersionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Imports a processor version from source processor version. */ export const importProcessorVersionProjectsLocationsProcessorsProcessorVersions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/domains-v1alpha2.ts b/packages/gcp/src/unstable-services/domains-v1alpha2.ts index 07dc4e39a9..d4b8f83aa9 100644 --- a/packages/gcp/src/unstable-services/domains-v1alpha2.ts +++ b/packages/gcp/src/unstable-services/domains-v1alpha2.ts @@ -1663,7 +1663,9 @@ export const RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations /*@__PURE__*/ RetrieveGoogleDomainsForwardingConfigResponse; export type RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. */ export const retrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations: API.OperationMethod< @@ -1922,7 +1924,9 @@ export const RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsRespon /*@__PURE__*/ RetrieveGoogleDomainsDnsRecordsResponse; export type RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`. */ export const retrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/domains-v1beta1.ts b/packages/gcp/src/unstable-services/domains-v1beta1.ts index 8f1b3818c6..09133d5a52 100644 --- a/packages/gcp/src/unstable-services/domains-v1beta1.ts +++ b/packages/gcp/src/unstable-services/domains-v1beta1.ts @@ -1705,7 +1705,9 @@ export const RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsRespon /*@__PURE__*/ RetrieveGoogleDomainsDnsRecordsResponse; export type RetrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`. */ export const retrieveGoogleDomainsDnsRecordsProjectsLocationsRegistrations: API.PaginatedOperationMethod< @@ -2380,7 +2382,9 @@ export const RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations /*@__PURE__*/ RetrieveGoogleDomainsForwardingConfigResponse; export type RetrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. */ export const retrieveGoogleDomainsForwardingConfigProjectsLocationsRegistrations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/gkehub-v1.ts b/packages/gcp/src/unstable-services/gkehub-v1.ts index e4ff058297..eac9fe248b 100644 --- a/packages/gcp/src/unstable-services/gkehub-v1.ts +++ b/packages/gcp/src/unstable-services/gkehub-v1.ts @@ -4580,7 +4580,11 @@ export const GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRb /*@__PURE__*/ GenerateMembershipRBACRoleBindingYAMLResponse; export type GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */ export const generateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindings: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/gkehub-v1alpha.ts b/packages/gcp/src/unstable-services/gkehub-v1alpha.ts index b202809312..52589c3382 100644 --- a/packages/gcp/src/unstable-services/gkehub-v1alpha.ts +++ b/packages/gcp/src/unstable-services/gkehub-v1alpha.ts @@ -5908,7 +5908,11 @@ export const GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRb /*@__PURE__*/ GenerateMembershipRBACRoleBindingYAMLResponse; export type GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */ export const generateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindings: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/gkehub-v1beta.ts b/packages/gcp/src/unstable-services/gkehub-v1beta.ts index 0ae8911cb0..05a493094e 100644 --- a/packages/gcp/src/unstable-services/gkehub-v1beta.ts +++ b/packages/gcp/src/unstable-services/gkehub-v1beta.ts @@ -4676,7 +4676,11 @@ export const GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRb /*@__PURE__*/ GenerateMembershipRBACRoleBindingYAMLResponse; export type GenerateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */ export const generateMembershipRBACRoleBindingYAMLProjectsLocationsMembershipsRbacrolebindings: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/healthcare-v1beta1.ts b/packages/gcp/src/unstable-services/healthcare-v1beta1.ts index 0aeb930cdf..bc00f1c231 100644 --- a/packages/gcp/src/unstable-services/healthcare-v1beta1.ts +++ b/packages/gcp/src/unstable-services/healthcare-v1beta1.ts @@ -4757,7 +4757,11 @@ export const SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebS /*@__PURE__*/ Operation; export type SetBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** SetBlobStorageSettings sets the blob storage settings of the specified resources. */ export const setBlobStorageSettingsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4792,7 +4796,9 @@ export const GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesR /*@__PURE__*/ StudyMetrics; export type GetStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetStudyMetrics returns metrics for a study. */ export const getStudyMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies: API.OperationMethod< @@ -4827,7 +4833,9 @@ export const GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudies /*@__PURE__*/ SeriesMetrics; export type GetSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetSeriesMetrics returns metrics for a series. */ export const getSeriesMetricsProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeries: API.OperationMethod< @@ -4862,7 +4870,9 @@ export const GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSe /*@__PURE__*/ StorageInfo; export type GetStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** GetStorageInfo returns the storage info of the specified resource. */ export const getStorageInfoProjectsLocationsDatasetsDicomStoresDicomWebStudiesSeriesInstances: API.OperationMethod< @@ -5074,7 +5084,9 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesRespon /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudies: API.OperationMethod< @@ -5248,7 +5260,9 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesRe /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5289,7 +5303,9 @@ export const RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesResp /*@__PURE__*/ HttpBody; export type RetrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveSeriesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5333,7 +5349,11 @@ export const UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesResp /*@__PURE__*/ Operation; export type UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** UpdateSeriesMetadata modifies the metadata of all instances in the given series. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of all instances within the series. */ export const updateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5416,7 +5436,9 @@ export const SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries /*@__PURE__*/ HttpBody; export type SearchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeriesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom). */ export const searchForInstancesProjectsLocationsDatasetsDicomStoresStudiesSeries: API.OperationMethod< @@ -5457,7 +5479,9 @@ export const RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance). */ export const retrieveInstanceProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5501,7 +5525,9 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5542,7 +5568,11 @@ export const DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom). */ export const deleteProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5583,7 +5613,9 @@ export const RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata). */ export const retrieveMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5628,7 +5660,11 @@ export const UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInst /*@__PURE__*/ HttpBody; export type UpdateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** UpdateInstanceMetadata modifies the metadata of a single instance. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of the instance. */ export const updateMetadataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstances: API.OperationMethod< @@ -5669,7 +5705,9 @@ export const RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See [Retrieve Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata). */ export const retrieveBulkdataProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdata: API.OperationMethod< @@ -5713,7 +5751,9 @@ export const RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesIn /*@__PURE__*/ HttpBody; export type RetrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer). */ export const retrieveRenderedProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -5754,7 +5794,9 @@ export const RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInst /*@__PURE__*/ HttpBody; export type RetrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom). */ export const retrieveFramesProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFrames: API.OperationMethod< @@ -6685,7 +6727,11 @@ export const TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesResp /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsDatasetsDataMapperWorkspacesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsDatasetsDataMapperWorkspaces: API.OperationMethod< @@ -7748,7 +7794,9 @@ export const Resource_incoming_referencesProjectsLocationsDatasetsFhirStoresFhir /*@__PURE__*/ HttpBody; export type Resource_incoming_referencesProjectsLocationsDatasetsFhirStoresFhirError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all the resources that directly refer to the given target FHIR resource. Can also support the case when the target resource doesn't exist, for example, if the target has been deleted. On success, the response body contains a Bundle with type `searchset`, where each entry in the Bundle contains the full content of the resource. If the operation fails, an `OperationOutcome` is returned describing the failure. If the request cannot be mapped to a valid API method on a FHIR store, a generic Google Cloud error might be returned instead. */ export const Resource_incoming_referencesProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -7900,7 +7948,9 @@ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirRe /*@__PURE__*/ HttpBody; export type Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2. */ export const Consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8082,7 +8132,9 @@ export const ConceptMap_search_translateProjectsLocationsDatasetsFhirStoresFhirR /*@__PURE__*/ HttpBody; export type ConceptMap_search_translateProjectsLocationsDatasetsFhirStoresFhirError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Translates a code from one value set to another by searching for appropriate concept maps. Implements the FHIR standard $translate operation ([DSTU2](https://www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.hl7.org/fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.org/fhir/R4/operation-conceptmap-translate.html), [R5](https://www.hl7.org/fhir/R5/operation-conceptmap-translate.html)). On success, the response body contains a JSON-encoded representation of a FHIR Parameters resource, which includes the translation result. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. */ export const ConceptMap_search_translateProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8432,7 +8484,9 @@ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStor /*@__PURE__*/ HttpBody; export type Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhirError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2. */ export const Patient_consent_enforcement_statusProjectsLocationsDatasetsFhirStoresFhir: API.OperationMethod< @@ -8849,7 +8903,11 @@ export const Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsR /*@__PURE__*/ HttpBody; export type Delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request). Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response. */ export const delete_fhir_operationProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< @@ -8884,7 +8942,9 @@ export const Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperati /*@__PURE__*/ HttpBody; export type Get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data status request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can have one of these states: * in-progress: response status code is `202` and `X-Progress` header is set to `in progress`. * complete: response status code is `200` and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource describing the reason for the error. */ export const get_fhir_operation_statusProjectsLocationsDatasetsFhirStoresOperations: API.OperationMethod< @@ -9759,7 +9819,11 @@ export const ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsRespon /*@__PURE__*/ ArchiveUserDataMappingResponse; export type ArchiveProjectsLocationsDatasetsConsentStoresUserDataMappingsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Archives the specified User data mapping. */ export const archiveProjectsLocationsDatasetsConsentStoresUserDataMappings: API.OperationMethod< @@ -9792,7 +9856,9 @@ export const GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespon /*@__PURE__*/ AttributeDefinition; export type GetProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the specified Attribute definition. */ export const getProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -9834,7 +9900,9 @@ export const ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRespo /*@__PURE__*/ ListAttributeDefinitionsResponse; export type ListProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists the Attribute definitions in the specified consent store. */ export const listProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.PaginatedOperationMethod< @@ -9878,7 +9946,11 @@ export const PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsResp /*@__PURE__*/ AttributeDefinition; export type PatchProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates the specified Attribute definition. */ export const patchProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -9912,7 +9984,11 @@ export const DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ Empty; export type DeleteProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent. */ export const deleteProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< @@ -9959,7 +10035,11 @@ export const CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsRes /*@__PURE__*/ AttributeDefinition; export type CreateProjectsLocationsDatasetsConsentStoresAttributeDefinitionsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new Attribute definition in the parent consent store. */ export const createProjectsLocationsDatasetsConsentStoresAttributeDefinitions: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/iam-v1.ts b/packages/gcp/src/unstable-services/iam-v1.ts index da865acea3..dad2f4c8e3 100644 --- a/packages/gcp/src/unstable-services/iam-v1.ts +++ b/packages/gcp/src/unstable-services/iam-v1.ts @@ -3875,7 +3875,11 @@ export const CreateProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdenti /*@__PURE__*/ Operation; export type CreateProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */ export const createProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -3910,7 +3914,9 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitie /*@__PURE__*/ WorkloadIdentityPoolManagedIdentity; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets an individual WorkloadIdentityPoolManagedIdentity. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -3956,7 +3962,9 @@ export const ListProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentiti /*@__PURE__*/ ListWorkloadIdentityPoolManagedIdentitiesResponse; export type ListProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `show_deleted` is set to `true`, then deleted managed identities are also listed. */ export const listProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.PaginatedOperationMethod< @@ -4002,7 +4010,11 @@ export const AddAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesM /*@__PURE__*/ Operation; export type AddAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50. */ export const addAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4042,7 +4054,11 @@ export const UndeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIden /*@__PURE__*/ Operation; export type UndeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Undeletes a WorkloadIdentityPoolManagedIdentity, as long as it was deleted fewer than 30 days ago. */ export const undeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4086,7 +4102,9 @@ export const ListAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespace /*@__PURE__*/ ListAttestationRulesResponse; export type ListAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** List all AttestationRule on a WorkloadIdentityPoolManagedIdentity. */ export const listAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.PaginatedOperationMethod< @@ -4132,7 +4150,11 @@ export const SetAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespaces /*@__PURE__*/ Operation; export type SetAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set. */ export const setAttestationRulesProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4174,7 +4196,11 @@ export const RemoveAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespac /*@__PURE__*/ Operation; export type RemoveAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity. */ export const removeAttestationRuleProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4217,7 +4243,11 @@ export const PatchProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentit /*@__PURE__*/ Operation; export type PatchProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates an existing WorkloadIdentityPoolManagedIdentity in a WorkloadIdentityPoolNamespace. */ export const patchProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4252,7 +4282,11 @@ export const DeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdenti /*@__PURE__*/ Operation; export type DeleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a WorkloadIdentityPoolManagedIdentity. You can undelete a managed identity for 30 days. After 30 days, deletion is permanent. */ export const deleteProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentities: API.OperationMethod< @@ -4287,7 +4321,9 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitie /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesOperations: API.OperationMethod< @@ -4322,7 +4358,9 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitie /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesWorkloadSourcesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesManagedIdentitiesWorkloadSourcesOperations: API.OperationMethod< @@ -4357,7 +4395,9 @@ export const GetProjectsLocationsWorkloadIdentityPoolsNamespacesOperationsRespon /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsNamespacesOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsNamespacesOperations: API.OperationMethod< @@ -4851,7 +4891,9 @@ export const GetProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsRes /*@__PURE__*/ Operation; export type GetProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/monitoring-v1.ts b/packages/gcp/src/unstable-services/monitoring-v1.ts index d39cb41c04..39268368d6 100644 --- a/packages/gcp/src/unstable-services/monitoring-v1.ts +++ b/packages/gcp/src/unstable-services/monitoring-v1.ts @@ -1746,7 +1746,9 @@ export const ListMetricsScopesByMonitoredProjectLocationsGlobalMetricsScopesResp /*@__PURE__*/ ListMetricsScopesByMonitoredProjectResponse; export type ListMetricsScopesByMonitoredProjectLocationsGlobalMetricsScopesError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response. */ export const listMetricsScopesByMonitoredProjectLocationsGlobalMetricsScopes: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts b/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts index ceb5051955..3f9cfd09fb 100644 --- a/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts +++ b/packages/gcp/src/unstable-services/networkmanagement-v1beta1.ts @@ -3203,7 +3203,9 @@ export const QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsRespon /*@__PURE__*/ QueryOrgVpcFlowLogsConfigsResponse; export type QueryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project. */ export const queryOrgVpcFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< @@ -3255,7 +3257,9 @@ export const ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsResp /*@__PURE__*/ ShowEffectiveFlowLogsConfigsResponse; export type ShowEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource. */ export const showEffectiveFlowLogsConfigsProjectsLocationsVpcFlowLogsConfigs: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts b/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts index 783d8a7fe7..8db9021227 100644 --- a/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts +++ b/packages/gcp/src/unstable-services/networksecurity-v1beta1.ts @@ -7027,7 +7027,9 @@ export const GetProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsR /*@__PURE__*/ WildfireVerdictChangeRequest; export type GetProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and location. */ export const getProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< @@ -7074,7 +7076,9 @@ export const ListProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests /*@__PURE__*/ ListWildfireVerdictChangeRequestsResponse; export type ListProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in a project and location. */ export const listProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.PaginatedOperationMethod< @@ -7120,7 +7124,11 @@ export const CreateProjectsLocationsFirewallEndpointsWildfireVerdictChangeReques /*@__PURE__*/ WildfireVerdictChangeRequest; export type CreateProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Create WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and location. */ export const createProjectsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< @@ -9926,7 +9934,9 @@ export const ListOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeReq /*@__PURE__*/ ListWildfireVerdictChangeRequestsResponse; export type ListOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in an organization and location. */ export const listOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.PaginatedOperationMethod< @@ -9972,7 +9982,11 @@ export const CreateOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeR /*@__PURE__*/ WildfireVerdictChangeRequest; export type CreateOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Create WildfireVerdictChangeRequest in a given Firewall Endpoint in an organization and location. */ export const createOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< @@ -10007,7 +10021,9 @@ export const GetOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequ /*@__PURE__*/ WildfireVerdictChangeRequest; export type GetOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequestsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Get WildfireVerdictChangeRequest in a given Firewall Endpoint in an organization and location. */ export const getOrganizationsLocationsFirewallEndpointsWildfireVerdictChangeRequests: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts b/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts index 6a63bf434e..76190f60df 100644 --- a/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts +++ b/packages/gcp/src/unstable-services/policysimulator-v1alpha.ts @@ -1028,7 +1028,9 @@ export const GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getOrganizationsLocationsOrgPolicyViolationsPreviewsOperations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/policysimulator-v1beta.ts b/packages/gcp/src/unstable-services/policysimulator-v1beta.ts index 60fe0043a2..b88b00f087 100644 --- a/packages/gcp/src/unstable-services/policysimulator-v1beta.ts +++ b/packages/gcp/src/unstable-services/policysimulator-v1beta.ts @@ -1275,7 +1275,9 @@ export const GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsRespo /*@__PURE__*/ GoogleLongrunningOperation; export type GetOrganizationsLocationsOrgPolicyViolationsPreviewsOperationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */ export const getOrganizationsLocationsOrgPolicyViolationsPreviewsOperations: API.OperationMethod< @@ -1315,7 +1317,9 @@ export const ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViola /*@__PURE__*/ GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse; export type ListOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview. */ export const listOrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolations: API.PaginatedOperationMethod< diff --git a/packages/gcp/src/unstable-services/privateca-v1beta1.ts b/packages/gcp/src/unstable-services/privateca-v1beta1.ts index 87e41b6026..0a83a95739 100644 --- a/packages/gcp/src/unstable-services/privateca-v1beta1.ts +++ b/packages/gcp/src/unstable-services/privateca-v1beta1.ts @@ -658,7 +658,11 @@ export const SetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevoc /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -698,7 +702,9 @@ export const GetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevoc /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< @@ -740,7 +746,11 @@ export const TestIamPermissionsProjectsLocationsCertificateAuthoritiesCertificat /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsCertificateAuthoritiesCertificateRevocationListsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsCertificateAuthoritiesCertificateRevocationLists: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/recommender-v1beta1.ts b/packages/gcp/src/unstable-services/recommender-v1beta1.ts index 050311ee23..0542038ed2 100644 --- a/packages/gcp/src/unstable-services/recommender-v1beta1.ts +++ b/packages/gcp/src/unstable-services/recommender-v1beta1.ts @@ -1352,7 +1352,11 @@ export const MarkSucceededOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkSucceededOrganizationsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< @@ -1522,7 +1526,11 @@ export const MarkDismissedOrganizationsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkDismissedOrganizationsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedOrganizationsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2668,7 +2676,11 @@ export const MarkDismissedBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkDismissedBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markDismissedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2712,7 +2724,11 @@ export const MarkFailedBillingAccountsLocationsRecommendersRecommendationsRespon /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkFailedBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markFailedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2789,7 +2805,11 @@ export const MarkClaimedBillingAccountsLocationsRecommendersRecommendationsRespo /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkClaimedBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markClaimedBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< @@ -2832,7 +2852,11 @@ export const MarkSucceededBillingAccountsLocationsRecommendersRecommendationsRes /*@__PURE__*/ GoogleCloudRecommenderV1beta1Recommendation; export type MarkSucceededBillingAccountsLocationsRecommendersRecommendationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender. */ export const markSucceededBillingAccountsLocationsRecommendersRecommendations: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/retail-v2alpha.ts b/packages/gcp/src/unstable-services/retail-v2alpha.ts index a18a242b32..534c983943 100644 --- a/packages/gcp/src/unstable-services/retail-v2alpha.ts +++ b/packages/gcp/src/unstable-services/retail-v2alpha.ts @@ -5704,7 +5704,9 @@ export const GetConversationalSearchCustomizationConfigProjectsLocationsCatalogs /*@__PURE__*/ GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig; export type GetConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the conversational search customization config for a given catalog. */ export const getConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -6282,7 +6284,11 @@ export const UpdateConversationalSearchCustomizationConfigProjectsLocationsCatal /*@__PURE__*/ GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig; export type UpdateConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates the conversational search customization config for a given catalog. */ export const updateConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -6326,7 +6332,11 @@ export const RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigResp /*@__PURE__*/ GoogleCloudRetailV2alphaAttributesConfig; export type RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */ export const removeCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -6369,7 +6379,11 @@ export const ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigRes /*@__PURE__*/ GoogleCloudRetailV2alphaAttributesConfig; export type ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */ export const replaceCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -6459,7 +6473,11 @@ export const BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConf /*@__PURE__*/ GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse; export type BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes all specified CatalogAttributes from the AttributesConfig. */ export const batchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -8236,7 +8254,11 @@ export const AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const addFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -8410,7 +8432,11 @@ export const RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRes /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -8454,7 +8480,11 @@ export const RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsResp /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeLocalInventoriesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/retail-v2beta.ts b/packages/gcp/src/unstable-services/retail-v2beta.ts index 3056f463c7..55f355f0d2 100644 --- a/packages/gcp/src/unstable-services/retail-v2beta.ts +++ b/packages/gcp/src/unstable-services/retail-v2beta.ts @@ -5822,7 +5822,9 @@ export const GetConversationalSearchCustomizationConfigProjectsLocationsCatalogs /*@__PURE__*/ GoogleCloudRetailV2betaConversationalSearchCustomizationConfig; export type GetConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the conversational search customization config for a given catalog. */ export const getConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -5869,7 +5871,11 @@ export const UpdateConversationalSearchCustomizationConfigProjectsLocationsCatal /*@__PURE__*/ GoogleCloudRetailV2betaConversationalSearchCustomizationConfig; export type UpdateConversationalSearchCustomizationConfigProjectsLocationsCatalogsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates the conversational search customization config for a given catalog. */ export const updateConversationalSearchCustomizationConfigProjectsLocationsCatalogs: API.OperationMethod< @@ -6893,7 +6899,11 @@ export const RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsResp /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveLocalInventoriesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeLocalInventoriesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -6982,7 +6992,11 @@ export const RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRes /*@__PURE__*/ GoogleLongrunningOperation; export type RemoveFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const removeFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7074,7 +7088,11 @@ export const AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsRespon /*@__PURE__*/ GoogleLongrunningOperation; export type AddFulfillmentPlacesProjectsLocationsCatalogsBranchesProductsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */ export const addFulfillmentPlacesProjectsLocationsCatalogsBranchesProducts: API.OperationMethod< @@ -7422,7 +7440,11 @@ export const RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigResp /*@__PURE__*/ GoogleCloudRetailV2betaAttributesConfig; export type RemoveCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */ export const removeCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -7465,7 +7487,11 @@ export const ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigRes /*@__PURE__*/ GoogleCloudRetailV2betaAttributesConfig; export type ReplaceCatalogAttributeProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */ export const replaceCatalogAttributeProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< @@ -7509,7 +7535,11 @@ export const BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConf /*@__PURE__*/ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse; export type BatchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfigError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Removes all specified CatalogAttributes from the AttributesConfig. */ export const batchRemoveCatalogAttributesProjectsLocationsCatalogsAttributesConfig: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts b/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts index 15ed0ef33a..5f8fadc0ab 100644 --- a/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts +++ b/packages/gcp/src/unstable-services/securitycenter-v1beta2.ts @@ -8412,7 +8412,11 @@ export const UpdateContainerThreatDetectionSettingsProjectsLocationsClustersResp /*@__PURE__*/ ContainerThreatDetectionSettings; export type UpdateContainerThreatDetectionSettingsProjectsLocationsClustersError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; export const updateContainerThreatDetectionSettingsProjectsLocationsClusters: API.OperationMethod< UpdateContainerThreatDetectionSettingsProjectsLocationsClustersRequest, @@ -8448,7 +8452,9 @@ export const CalculateProjectsLocationsClustersContainerThreatDetectionSettingsR /*@__PURE__*/ ContainerThreatDetectionSettings; export type CalculateProjectsLocationsClustersContainerThreatDetectionSettingsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; export const calculateProjectsLocationsClustersContainerThreatDetectionSettings: API.OperationMethod< CalculateProjectsLocationsClustersContainerThreatDetectionSettingsRequest, diff --git a/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts b/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts index 6d95f7ba14..3224cab1da 100644 --- a/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts +++ b/packages/gcp/src/unstable-services/serviceconsumermanagement-v1beta1.ts @@ -2661,7 +2661,11 @@ export const DeleteServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesRespon /*@__PURE__*/ Operation; export type DeleteServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes a producer quota policy. */ export const deleteServicesConsumerQuotaMetricsLimitsProducerQuotaPolicies: API.OperationMethod< @@ -2714,7 +2718,11 @@ export const CreateServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesRespon /*@__PURE__*/ Operation; export type CreateServicesConsumerQuotaMetricsLimitsProducerQuotaPoliciesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a producer quota policy. A producer quota policy is applied by the owner or administrator of a service at an org or folder node to set the default quota limit for all consumers under the node where the policy is created. To create multiple policies at once, use ImportProducerQuotaPolicies instead. If a policy with the specified dimensions already exists, this call will fail. To overwrite an existing policy if one is already present ("upsert" semantics), use ImportProducerQuotaPolicies instead. */ export const createServicesConsumerQuotaMetricsLimitsProducerQuotaPolicies: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/tpu-v2alpha1.ts b/packages/gcp/src/unstable-services/tpu-v2alpha1.ts index a6208fa07f..f04c53769c 100644 --- a/packages/gcp/src/unstable-services/tpu-v2alpha1.ts +++ b/packages/gcp/src/unstable-services/tpu-v2alpha1.ts @@ -2025,7 +2025,11 @@ export const PerformMaintenanceQueuedResourceProjectsLocationsQueuedResourcesRes /*@__PURE__*/ Operation; export type PerformMaintenanceQueuedResourceProjectsLocationsQueuedResourcesError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Perform manual maintenance on specific nodes of a QueuedResource. */ export const performMaintenanceQueuedResourceProjectsLocationsQueuedResources: API.OperationMethod< diff --git a/packages/gcp/src/unstable-services/workstations-v1beta.ts b/packages/gcp/src/unstable-services/workstations-v1beta.ts index 4e4c9e4308..138c08fac5 100644 --- a/packages/gcp/src/unstable-services/workstations-v1beta.ts +++ b/packages/gcp/src/unstable-services/workstations-v1beta.ts @@ -1624,7 +1624,9 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsRes /*@__PURE__*/ ListUsableWorkstationConfigsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigs: API.PaginatedOperationMethod< @@ -1723,7 +1725,11 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1763,7 +1769,9 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsR /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1840,7 +1848,11 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigs: API.OperationMethod< @@ -1984,7 +1996,11 @@ export const PushCredentialsProjectsLocationsWorkstationClustersWorkstationConfi /*@__PURE__*/ Operation; export type PushCredentialsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Pushes credentials to a running workstation on behalf of a user. Once complete, supported credential types (application_default_credentials) are made available to processes running in the user container. */ export const pushCredentialsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2019,7 +2035,9 @@ export const GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstatio /*@__PURE__*/ Workstation; export type GetProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns the requested workstation. */ export const getProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2057,7 +2075,11 @@ export const StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type StartProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Starts running a workstation so that users can connect to it. */ export const startProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2101,7 +2123,9 @@ export const ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ ListWorkstationsResponse; export type ListProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns all Workstations using the specified workstation configuration. */ export const listProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2143,7 +2167,11 @@ export const StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstati /*@__PURE__*/ Operation; export type StopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Stops running a workstation, reducing costs. */ export const stopProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2195,7 +2223,11 @@ export const CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type CreateProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Creates a new workstation. */ export const createProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2237,7 +2269,11 @@ export const GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationC /*@__PURE__*/ GenerateAccessTokenResponse; export type GenerateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token. */ export const generateAccessTokenProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2279,7 +2315,11 @@ export const TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationCo /*@__PURE__*/ TestIamPermissionsResponse; export type TestIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */ export const testIamPermissionsProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2319,7 +2359,9 @@ export const GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type GetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */ export const getIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2361,7 +2403,11 @@ export const SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsW /*@__PURE__*/ Policy; export type SetIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */ export const setIamPolicyProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2402,7 +2448,9 @@ export const ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWor /*@__PURE__*/ ListUsableWorkstationsResponse; export type ListUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden; + | DefaultErrors + | NotFound + | Forbidden; /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */ export const listUsableProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.PaginatedOperationMethod< @@ -2457,7 +2505,11 @@ export const PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstat /*@__PURE__*/ Operation; export type PatchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Updates an existing workstation. */ export const patchProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod< @@ -2500,7 +2552,11 @@ export const DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorksta /*@__PURE__*/ Operation; export type DeleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstationsError = - DefaultErrors | NotFound | Forbidden | BadRequest | Conflict; + | DefaultErrors + | NotFound + | Forbidden + | BadRequest + | Conflict; /** Deletes the specified workstation. */ export const deleteProjectsLocationsWorkstationClustersWorkstationConfigsWorkstations: API.OperationMethod<