From 1eabb2684b81d559c0d7196960706649a7b143e6 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Fri, 8 Dec 2023 19:32:19 +0000 Subject: [PATCH] Release v1.48.16 (2023-12-08) === ### Service Client Updates * `service/ec2`: Updates service API * M2 Mac instances are built on Apple M2 Mac mini computers. I4i instances are powered by 3rd generation Intel Xeon Scalable processors. C7i compute optimized, M7i general purpose and R7i memory optimized instances are powered by custom 4th Generation Intel Xeon Scalable processors. * `service/finspace`: Updates service API, documentation, and paginators * `service/monitoring`: Updates service API and documentation * Adds support for the OpenTelemetry 1.0 output format in CloudWatch Metric Streams. --- CHANGELOG.md | 10 + aws/version.go | 2 +- models/apis/ec2/2016-11-15/api-2.json | 11 +- models/apis/finspace/2021-03-12/api-2.json | 1198 +- models/apis/finspace/2021-03-12/docs-2.json | 654 +- .../finspace/2021-03-12/paginators-1.json | 10 + models/apis/monitoring/2010-08-01/api-2.json | 3 +- models/apis/monitoring/2010-08-01/docs-2.json | 16 +- .../2010-08-01/endpoint-rule-set-1.json | 44 +- service/cloudwatch/api.go | 42 +- service/ec2/api.go | 36 + service/finspace/api.go | 10141 ++++++++++++---- service/finspace/finspaceiface/interface.go | 62 + 13 files changed, 9853 insertions(+), 2376 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a8c9940b24..8dbb1fe21b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.48.16 (2023-12-08) +=== + +### Service Client Updates +* `service/ec2`: Updates service API + * M2 Mac instances are built on Apple M2 Mac mini computers. I4i instances are powered by 3rd generation Intel Xeon Scalable processors. C7i compute optimized, M7i general purpose and R7i memory optimized instances are powered by custom 4th Generation Intel Xeon Scalable processors. +* `service/finspace`: Updates service API, documentation, and paginators +* `service/monitoring`: Updates service API and documentation + * Adds support for the OpenTelemetry 1.0 output format in CloudWatch Metric Streams. + Release v1.48.15 (2023-12-07) === diff --git a/aws/version.go b/aws/version.go index fc04865b001..ce20301dcdc 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.48.15" +const SDKVersion = "1.48.16" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 267eccf3918..75cf1bfc33c 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -28388,7 +28388,16 @@ "r7i.16xlarge", "r7i.24xlarge", "r7i.48xlarge", - "dl2q.24xlarge" + "dl2q.24xlarge", + "mac2-m2.metal", + "i4i.12xlarge", + "i4i.24xlarge", + "c7i.metal-24xl", + "c7i.metal-48xl", + "m7i.metal-24xl", + "m7i.metal-48xl", + "r7i.metal-24xl", + "r7i.metal-48xl" ] }, "InstanceTypeHypervisor":{ diff --git a/models/apis/finspace/2021-03-12/api-2.json b/models/apis/finspace/2021-03-12/api-2.json index a5d264fe958..2310fda7ac3 100644 --- a/models/apis/finspace/2021-03-12/api-2.json +++ b/models/apis/finspace/2021-03-12/api-2.json @@ -88,6 +88,25 @@ {"shape":"LimitExceededException"} ] }, + "CreateKxDataview":{ + "name":"CreateKxDataview", + "http":{ + "method":"POST", + "requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews" + }, + "input":{"shape":"CreateKxDataviewRequest"}, + "output":{"shape":"CreateKxDataviewResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"LimitExceededException"}, + {"shape":"ResourceAlreadyExistsException"} + ] + }, "CreateKxEnvironment":{ "name":"CreateKxEnvironment", "http":{ @@ -106,6 +125,25 @@ {"shape":"ConflictException"} ] }, + "CreateKxScalingGroup":{ + "name":"CreateKxScalingGroup", + "http":{ + "method":"POST", + "requestUri":"/kx/environments/{environmentId}/scalingGroups" + }, + "input":{"shape":"CreateKxScalingGroupRequest"}, + "output":{"shape":"CreateKxScalingGroupResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "CreateKxUser":{ "name":"CreateKxUser", "http":{ @@ -125,6 +163,26 @@ {"shape":"ConflictException"} ] }, + "CreateKxVolume":{ + "name":"CreateKxVolume", + "http":{ + "method":"POST", + "requestUri":"/kx/environments/{environmentId}/kxvolumes" + }, + "input":{"shape":"CreateKxVolumeRequest"}, + "output":{"shape":"CreateKxVolumeResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceAlreadyExistsException"}, + {"shape":"AccessDeniedException"} + ] + }, "DeleteEnvironment":{ "name":"DeleteEnvironment", "http":{ @@ -178,6 +236,23 @@ {"shape":"ConflictException"} ] }, + "DeleteKxDataview":{ + "name":"DeleteKxDataview", + "http":{ + "method":"DELETE", + "requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input":{"shape":"DeleteKxDataviewRequest"}, + "output":{"shape":"DeleteKxDataviewResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"} + ] + }, "DeleteKxEnvironment":{ "name":"DeleteKxEnvironment", "http":{ @@ -191,7 +266,26 @@ {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} + {"shape":"ValidationException"}, + {"shape":"ConflictException"} + ] + }, + "DeleteKxScalingGroup":{ + "name":"DeleteKxScalingGroup", + "http":{ + "method":"DELETE", + "requestUri":"/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}" + }, + "input":{"shape":"DeleteKxScalingGroupRequest"}, + "output":{"shape":"DeleteKxScalingGroupResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} ] }, "DeleteKxUser":{ @@ -207,7 +301,26 @@ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"} + {"shape":"ValidationException"}, + {"shape":"ConflictException"} + ] + }, + "DeleteKxVolume":{ + "name":"DeleteKxVolume", + "http":{ + "method":"DELETE", + "requestUri":"/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input":{"shape":"DeleteKxVolumeRequest"}, + "output":{"shape":"DeleteKxVolumeResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} ] }, "GetEnvironment":{ @@ -293,6 +406,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "GetKxDataview":{ + "name":"GetKxDataview", + "http":{ + "method":"GET", + "requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input":{"shape":"GetKxDataviewRequest"}, + "output":{"shape":"GetKxDataviewResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "GetKxEnvironment":{ "name":"GetKxEnvironment", "http":{ @@ -305,7 +434,26 @@ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"} + ] + }, + "GetKxScalingGroup":{ + "name":"GetKxScalingGroup", + "http":{ + "method":"GET", + "requestUri":"/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}" + }, + "input":{"shape":"GetKxScalingGroupRequest"}, + "output":{"shape":"GetKxScalingGroupResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} ] }, "GetKxUser":{ @@ -324,6 +472,24 @@ {"shape":"ValidationException"} ] }, + "GetKxVolume":{ + "name":"GetKxVolume", + "http":{ + "method":"GET", + "requestUri":"/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input":{"shape":"GetKxVolumeRequest"}, + "output":{"shape":"GetKxVolumeResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ListEnvironments":{ "name":"ListEnvironments", "http":{ @@ -334,7 +500,8 @@ "output":{"shape":"ListEnvironmentsResponse"}, "errors":[ {"shape":"InternalServerException"}, - {"shape":"ValidationException"} + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} ], "deprecated":true, "deprecatedMessage":"This method will be discontinued." @@ -406,6 +573,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "ListKxDataviews":{ + "name":"ListKxDataviews", + "http":{ + "method":"GET", + "requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews" + }, + "input":{"shape":"ListKxDataviewsRequest"}, + "output":{"shape":"ListKxDataviewsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ListKxEnvironments":{ "name":"ListKxEnvironments", "http":{ @@ -416,9 +599,28 @@ "output":{"shape":"ListKxEnvironmentsResponse"}, "errors":[ {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"} ] }, + "ListKxScalingGroups":{ + "name":"ListKxScalingGroups", + "http":{ + "method":"GET", + "requestUri":"/kx/environments/{environmentId}/scalingGroups" + }, + "input":{"shape":"ListKxScalingGroupsRequest"}, + "output":{"shape":"ListKxScalingGroupsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ListKxUsers":{ "name":"ListKxUsers", "http":{ @@ -435,6 +637,24 @@ {"shape":"ValidationException"} ] }, + "ListKxVolumes":{ + "name":"ListKxVolumes", + "http":{ + "method":"GET", + "requestUri":"/kx/environments/{environmentId}/kxvolumes" + }, + "input":{"shape":"ListKxVolumesRequest"}, + "output":{"shape":"ListKxVolumesResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -548,6 +768,24 @@ {"shape":"ConflictException"} ] }, + "UpdateKxDataview":{ + "name":"UpdateKxDataview", + "http":{ + "method":"PUT", + "requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input":{"shape":"UpdateKxDataviewRequest"}, + "output":{"shape":"UpdateKxDataviewResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceAlreadyExistsException"} + ] + }, "UpdateKxEnvironment":{ "name":"UpdateKxEnvironment", "http":{ @@ -599,6 +837,24 @@ {"shape":"LimitExceededException"}, {"shape":"ConflictException"} ] + }, + "UpdateKxVolume":{ + "name":"UpdateKxVolume", + "http":{ + "method":"PATCH", + "requestUri":"/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input":{"shape":"UpdateKxVolumeRequest"}, + "output":{"shape":"UpdateKxVolumeResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"} + ] } }, "shapes":{ @@ -610,6 +866,10 @@ "error":{"httpStatusCode":403}, "exception":true }, + "AttachedClusterList":{ + "type":"list", + "member":{"shape":"KxClusterName"} + }, "AttributeMap":{ "type":"map", "key":{"shape":"FederationAttributeKey"}, @@ -702,6 +962,10 @@ "min":1, "pattern":"^[a-zA-Z0-9-]+$" }, + "ClusterNodeCount":{ + "type":"integer", + "min":1 + }, "CodeConfiguration":{ "type":"structure", "members":{ @@ -724,6 +988,10 @@ "max":100000, "min":0 }, + "CpuCount":{ + "type":"double", + "min":0.1 + }, "CreateEnvironmentRequest":{ "type":"structure", "required":["name"], @@ -791,8 +1059,8 @@ "environmentId", "clusterName", "clusterType", - "capacityConfiguration", "releaseLabel", + "vpcConfiguration", "azMode" ], "members":{ @@ -807,6 +1075,7 @@ }, "clusterName":{"shape":"KxClusterName"}, "clusterType":{"shape":"KxClusterType"}, + "tickerplantLogConfiguration":{"shape":"TickerplantLogConfiguration"}, "databases":{"shape":"KxDatabaseConfigurations"}, "cacheStorageConfigurations":{"shape":"KxCacheStorageConfigurations"}, "autoScalingConfiguration":{"shape":"AutoScalingConfiguration"}, @@ -821,7 +1090,8 @@ "savedownStorageConfiguration":{"shape":"KxSavedownStorageConfiguration"}, "azMode":{"shape":"KxAzMode"}, "availabilityZoneId":{"shape":"AvailabilityZoneId"}, - "tags":{"shape":"TagMap"} + "tags":{"shape":"TagMap"}, + "scalingGroupConfiguration":{"shape":"KxScalingGroupConfiguration"} } }, "CreateKxClusterResponse":{ @@ -832,6 +1102,8 @@ "statusReason":{"shape":"KxClusterStatusReason"}, "clusterName":{"shape":"KxClusterName"}, "clusterType":{"shape":"KxClusterType"}, + "tickerplantLogConfiguration":{"shape":"TickerplantLogConfiguration"}, + "volumes":{"shape":"Volumes"}, "databases":{"shape":"KxDatabaseConfigurations"}, "cacheStorageConfigurations":{"shape":"KxCacheStorageConfigurations"}, "autoScalingConfiguration":{"shape":"AutoScalingConfiguration"}, @@ -847,7 +1119,8 @@ "savedownStorageConfiguration":{"shape":"KxSavedownStorageConfiguration"}, "azMode":{"shape":"KxAzMode"}, "availabilityZoneId":{"shape":"AvailabilityZoneId"}, - "createdTimestamp":{"shape":"Timestamp"} + "createdTimestamp":{"shape":"Timestamp"}, + "scalingGroupConfiguration":{"shape":"KxScalingGroupConfiguration"} } }, "CreateKxDatabaseRequest":{ @@ -883,6 +1156,57 @@ "lastModifiedTimestamp":{"shape":"Timestamp"} } }, + "CreateKxDataviewRequest":{ + "type":"structure", + "required":[ + "environmentId", + "databaseName", + "dataviewName", + "azMode", + "clientToken" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "databaseName":{ + "shape":"DatabaseName", + "location":"uri", + "locationName":"databaseName" + }, + "dataviewName":{"shape":"KxDataviewName"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "autoUpdate":{"shape":"booleanValue"}, + "description":{"shape":"Description"}, + "tags":{"shape":"TagMap"}, + "clientToken":{ + "shape":"ClientTokenString", + "idempotencyToken":true + } + } + }, + "CreateKxDataviewResponse":{ + "type":"structure", + "members":{ + "dataviewName":{"shape":"KxDataviewName"}, + "databaseName":{"shape":"DatabaseName"}, + "environmentId":{"shape":"EnvironmentId"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "description":{"shape":"Description"}, + "autoUpdate":{"shape":"booleanValue"}, + "createdTimestamp":{"shape":"Timestamp"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "status":{"shape":"KxDataviewStatus"} + } + }, "CreateKxEnvironmentRequest":{ "type":"structure", "required":[ @@ -894,7 +1218,10 @@ "description":{"shape":"Description"}, "kmsKeyId":{"shape":"KmsKeyARN"}, "tags":{"shape":"TagMap"}, - "clientToken":{"shape":"ClientToken"} + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "CreateKxEnvironmentResponse":{ @@ -909,23 +1236,63 @@ "creationTimestamp":{"shape":"Timestamp"} } }, - "CreateKxUserRequest":{ + "CreateKxScalingGroupRequest":{ "type":"structure", "required":[ + "clientToken", "environmentId", - "userName", - "iamRole" + "scalingGroupName", + "hostType", + "availabilityZoneId" ], "members":{ + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, "environmentId":{ - "shape":"IdType", + "shape":"KxEnvironmentId", "location":"uri", "locationName":"environmentId" }, - "userName":{"shape":"KxUserNameString"}, + "scalingGroupName":{"shape":"KxScalingGroupName"}, + "hostType":{"shape":"KxHostType"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "tags":{"shape":"TagMap"} + } + }, + "CreateKxScalingGroupResponse":{ + "type":"structure", + "members":{ + "environmentId":{"shape":"KxEnvironmentId"}, + "scalingGroupName":{"shape":"KxScalingGroupName"}, + "hostType":{"shape":"KxHostType"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "status":{"shape":"KxScalingGroupStatus"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "createdTimestamp":{"shape":"Timestamp"} + } + }, + "CreateKxUserRequest":{ + "type":"structure", + "required":[ + "environmentId", + "userName", + "iamRole" + ], + "members":{ + "environmentId":{ + "shape":"IdType", + "location":"uri", + "locationName":"environmentId" + }, + "userName":{"shape":"KxUserNameString"}, "iamRole":{"shape":"RoleArn"}, "tags":{"shape":"TagMap"}, - "clientToken":{"shape":"ClientToken"} + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "CreateKxUserResponse":{ @@ -937,6 +1304,50 @@ "iamRole":{"shape":"RoleArn"} } }, + "CreateKxVolumeRequest":{ + "type":"structure", + "required":[ + "environmentId", + "volumeType", + "volumeName", + "azMode", + "availabilityZoneIds" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "volumeType":{"shape":"KxVolumeType"}, + "volumeName":{"shape":"KxVolumeName"}, + "description":{"shape":"Description"}, + "nas1Configuration":{"shape":"KxNAS1Configuration"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneIds":{"shape":"AvailabilityZoneIds"}, + "tags":{"shape":"TagMap"} + } + }, + "CreateKxVolumeResponse":{ + "type":"structure", + "members":{ + "environmentId":{"shape":"KxEnvironmentId"}, + "volumeName":{"shape":"KxVolumeName"}, + "volumeType":{"shape":"KxVolumeType"}, + "volumeArn":{"shape":"KxVolumeArn"}, + "nas1Configuration":{"shape":"KxNAS1Configuration"}, + "status":{"shape":"KxVolumeStatus"}, + "statusReason":{"shape":"KxVolumeStatusReason"}, + "azMode":{"shape":"KxAzMode"}, + "description":{"shape":"Description"}, + "availabilityZoneIds":{"shape":"AvailabilityZoneIds"}, + "createdTimestamp":{"shape":"Timestamp"} + } + }, "CustomDNSConfiguration":{ "type":"list", "member":{"shape":"CustomDNSServer"} @@ -973,7 +1384,7 @@ "type":"string", "max":1025, "min":1, - "pattern":"^\\/([^\\/]+\\/){0,2}[^\\/]*$" + "pattern":"^(\\*)*[\\/\\?\\*]([^\\/]+\\/){0,2}[^\\/]*$" }, "DbPaths":{ "type":"list", @@ -1056,6 +1467,43 @@ "members":{ } }, + "DeleteKxDataviewRequest":{ + "type":"structure", + "required":[ + "environmentId", + "databaseName", + "dataviewName", + "clientToken" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "databaseName":{ + "shape":"DatabaseName", + "location":"uri", + "locationName":"databaseName" + }, + "dataviewName":{ + "shape":"KxDataviewName", + "location":"uri", + "locationName":"dataviewName" + }, + "clientToken":{ + "shape":"ClientTokenString", + "idempotencyToken":true, + "location":"querystring", + "locationName":"clientToken" + } + } + }, + "DeleteKxDataviewResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteKxEnvironmentRequest":{ "type":"structure", "required":["environmentId"], @@ -1064,6 +1512,12 @@ "shape":"IdType", "location":"uri", "locationName":"environmentId" + }, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true, + "location":"querystring", + "locationName":"clientToken" } } }, @@ -1072,6 +1526,36 @@ "members":{ } }, + "DeleteKxScalingGroupRequest":{ + "type":"structure", + "required":[ + "environmentId", + "scalingGroupName" + ], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "scalingGroupName":{ + "shape":"KxScalingGroupName", + "location":"uri", + "locationName":"scalingGroupName" + }, + "clientToken":{ + "shape":"ClientTokenString", + "idempotencyToken":true, + "location":"querystring", + "locationName":"clientToken" + } + } + }, + "DeleteKxScalingGroupResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteKxUserRequest":{ "type":"structure", "required":[ @@ -1088,6 +1572,12 @@ "shape":"IdType", "location":"uri", "locationName":"environmentId" + }, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true, + "location":"querystring", + "locationName":"clientToken" } } }, @@ -1096,6 +1586,36 @@ "members":{ } }, + "DeleteKxVolumeRequest":{ + "type":"structure", + "required":[ + "environmentId", + "volumeName" + ], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "volumeName":{ + "shape":"KxVolumeName", + "location":"uri", + "locationName":"volumeName" + }, + "clientToken":{ + "shape":"ClientTokenString", + "idempotencyToken":true, + "location":"querystring", + "locationName":"clientToken" + } + } + }, + "DeleteKxVolumeResponse":{ + "type":"structure", + "members":{ + } + }, "Description":{ "type":"string", "max":1000, @@ -1242,7 +1762,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d+:(environment|kxEnvironment)/[0-9A-Za-z_-]{1,128}(/(kxDatabase|kxCluster|kxUser)/[a-zA-Z0-9_-]{1,255})?$" + "pattern":"^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d+:(environment|kxEnvironment)/[0-9A-Za-z_-]{1,128}(/(kxCluster|kxUser|kxVolume|kxScalingGroup)/[a-zA-Z0-9_-]{1,255}|/(kxDatabase/[a-zA-Z0-9_-]{1,255}(/kxDataview/[a-zA-Z0-9_-]{1,255})?))?$" }, "GetEnvironmentRequest":{ "type":"structure", @@ -1326,6 +1846,8 @@ "statusReason":{"shape":"KxClusterStatusReason"}, "clusterName":{"shape":"KxClusterName"}, "clusterType":{"shape":"KxClusterType"}, + "tickerplantLogConfiguration":{"shape":"TickerplantLogConfiguration"}, + "volumes":{"shape":"Volumes"}, "databases":{"shape":"KxDatabaseConfigurations"}, "cacheStorageConfigurations":{"shape":"KxCacheStorageConfigurations"}, "autoScalingConfiguration":{"shape":"AutoScalingConfiguration"}, @@ -1341,7 +1863,8 @@ "savedownStorageConfiguration":{"shape":"KxSavedownStorageConfiguration"}, "azMode":{"shape":"KxAzMode"}, "availabilityZoneId":{"shape":"AvailabilityZoneId"}, - "createdTimestamp":{"shape":"Timestamp"} + "createdTimestamp":{"shape":"Timestamp"}, + "scalingGroupConfiguration":{"shape":"KxScalingGroupConfiguration"} } }, "GetKxConnectionStringRequest":{ @@ -1409,6 +1932,50 @@ "numFiles":{"shape":"numFiles"} } }, + "GetKxDataviewRequest":{ + "type":"structure", + "required":[ + "environmentId", + "databaseName", + "dataviewName" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "databaseName":{ + "shape":"DatabaseName", + "location":"uri", + "locationName":"databaseName" + }, + "dataviewName":{ + "shape":"KxDataviewName", + "location":"uri", + "locationName":"dataviewName" + } + } + }, + "GetKxDataviewResponse":{ + "type":"structure", + "members":{ + "databaseName":{"shape":"DatabaseName"}, + "dataviewName":{"shape":"KxDataviewName"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "activeVersions":{"shape":"KxDataviewActiveVersionList"}, + "description":{"shape":"Description"}, + "autoUpdate":{"shape":"booleanValue"}, + "environmentId":{"shape":"EnvironmentId"}, + "createdTimestamp":{"shape":"Timestamp"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "status":{"shape":"KxDataviewStatus"}, + "statusReason":{"shape":"KxDataviewStatusReason"} + } + }, "GetKxEnvironmentRequest":{ "type":"structure", "required":["environmentId"], @@ -1442,6 +2009,39 @@ "certificateAuthorityArn":{"shape":"stringValueLength1to255"} } }, + "GetKxScalingGroupRequest":{ + "type":"structure", + "required":[ + "environmentId", + "scalingGroupName" + ], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "scalingGroupName":{ + "shape":"KxScalingGroupName", + "location":"uri", + "locationName":"scalingGroupName" + } + } + }, + "GetKxScalingGroupResponse":{ + "type":"structure", + "members":{ + "scalingGroupName":{"shape":"KxScalingGroupName"}, + "scalingGroupArn":{"shape":"arn"}, + "hostType":{"shape":"KxHostType"}, + "clusters":{"shape":"KxClusterNameList"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "status":{"shape":"KxScalingGroupStatus"}, + "statusReason":{"shape":"KxClusterStatusReason"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "createdTimestamp":{"shape":"Timestamp"} + } + }, "GetKxUserRequest":{ "type":"structure", "required":[ @@ -1470,6 +2070,43 @@ "iamRole":{"shape":"RoleArn"} } }, + "GetKxVolumeRequest":{ + "type":"structure", + "required":[ + "environmentId", + "volumeName" + ], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "volumeName":{ + "shape":"KxVolumeName", + "location":"uri", + "locationName":"volumeName" + } + } + }, + "GetKxVolumeResponse":{ + "type":"structure", + "members":{ + "environmentId":{"shape":"KxEnvironmentId"}, + "volumeName":{"shape":"KxVolumeName"}, + "volumeType":{"shape":"KxVolumeType"}, + "volumeArn":{"shape":"KxVolumeArn"}, + "nas1Configuration":{"shape":"KxNAS1Configuration"}, + "status":{"shape":"KxVolumeStatus"}, + "statusReason":{"shape":"KxVolumeStatusReason"}, + "createdTimestamp":{"shape":"Timestamp"}, + "description":{"shape":"Description"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneIds":{"shape":"AvailabilityZoneIds"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "attachedClusters":{"shape":"KxAttachedClusters"} + } + }, "IPAddressType":{ "type":"string", "enum":["IP_V4"] @@ -1526,6 +2163,18 @@ "min":1, "pattern":"^[a-zA-Z-0-9-:\\/]*$" }, + "KxAttachedCluster":{ + "type":"structure", + "members":{ + "clusterName":{"shape":"KxClusterName"}, + "clusterType":{"shape":"KxClusterType"}, + "clusterStatus":{"shape":"KxClusterStatus"} + } + }, + "KxAttachedClusters":{ + "type":"list", + "member":{"shape":"KxAttachedCluster"} + }, "KxAzMode":{ "type":"string", "enum":[ @@ -1548,11 +2197,7 @@ "type":"list", "member":{"shape":"KxCacheStorageConfiguration"} }, - "KxCacheStorageSize":{ - "type":"integer", - "max":33600, - "min":1200 - }, + "KxCacheStorageSize":{"type":"integer"}, "KxCacheStorageType":{ "type":"string", "max":10, @@ -1581,6 +2226,7 @@ "clusterType":{"shape":"KxClusterType"}, "clusterDescription":{"shape":"KxClusterDescription"}, "releaseLabel":{"shape":"ReleaseLabel"}, + "volumes":{"shape":"Volumes"}, "initializationScript":{"shape":"InitializationScriptFilePath"}, "executionRole":{"shape":"ExecutionRoleArn"}, "azMode":{"shape":"KxAzMode"}, @@ -1616,6 +2262,10 @@ "min":3, "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, + "KxClusterNameList":{ + "type":"list", + "member":{"shape":"KxClusterName"} + }, "KxClusterNodeIdString":{ "type":"string", "max":40, @@ -1646,7 +2296,8 @@ "HDB", "RDB", "GATEWAY", - "GP" + "GP", + "TICKERPLANT" ] }, "KxClusters":{ @@ -1684,7 +2335,8 @@ ], "members":{ "cacheType":{"shape":"KxCacheStorageType"}, - "dbPaths":{"shape":"DbPaths"} + "dbPaths":{"shape":"DbPaths"}, + "dataviewName":{"shape":"KxDataviewName"} } }, "KxDatabaseCacheConfigurations":{ @@ -1697,7 +2349,9 @@ "members":{ "databaseName":{"shape":"DatabaseName"}, "cacheConfigurations":{"shape":"KxDatabaseCacheConfigurations"}, - "changesetId":{"shape":"ChangesetId"} + "changesetId":{"shape":"ChangesetId"}, + "dataviewName":{"shape":"KxDataviewName"}, + "dataviewConfiguration":{"shape":"KxDataviewConfiguration"} } }, "KxDatabaseConfigurations":{ @@ -1716,6 +2370,91 @@ "type":"list", "member":{"shape":"KxDatabaseListEntry"} }, + "KxDataviewActiveVersion":{ + "type":"structure", + "members":{ + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "attachedClusters":{"shape":"AttachedClusterList"}, + "createdTimestamp":{"shape":"Timestamp"}, + "versionId":{"shape":"VersionId"} + } + }, + "KxDataviewActiveVersionList":{ + "type":"list", + "member":{"shape":"KxDataviewActiveVersion"} + }, + "KxDataviewConfiguration":{ + "type":"structure", + "members":{ + "dataviewName":{"shape":"KxDataviewName"}, + "dataviewVersionId":{"shape":"VersionId"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"} + } + }, + "KxDataviewListEntry":{ + "type":"structure", + "members":{ + "environmentId":{"shape":"EnvironmentId"}, + "databaseName":{"shape":"DatabaseName"}, + "dataviewName":{"shape":"KxDataviewName"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "activeVersions":{"shape":"KxDataviewActiveVersionList"}, + "status":{"shape":"KxDataviewStatus"}, + "description":{"shape":"Description"}, + "autoUpdate":{"shape":"booleanValue"}, + "createdTimestamp":{"shape":"Timestamp"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "statusReason":{"shape":"KxDataviewStatusReason"} + } + }, + "KxDataviewName":{ + "type":"string", + "max":63, + "min":3, + "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "KxDataviewSegmentConfiguration":{ + "type":"structure", + "required":[ + "dbPaths", + "volumeName" + ], + "members":{ + "dbPaths":{"shape":"SegmentConfigurationDbPathList"}, + "volumeName":{"shape":"KxVolumeName"} + } + }, + "KxDataviewSegmentConfigurationList":{ + "type":"list", + "member":{"shape":"KxDataviewSegmentConfiguration"}, + "max":50, + "min":0 + }, + "KxDataviewStatus":{ + "type":"string", + "enum":[ + "CREATING", + "ACTIVE", + "UPDATING", + "FAILED", + "DELETING" + ] + }, + "KxDataviewStatusReason":{ + "type":"string", + "max":250, + "min":1, + "pattern":"^[a-zA-Z0-9\\_\\-\\.\\s]+$" + }, + "KxDataviews":{ + "type":"list", + "member":{"shape":"KxDataviewListEntry"} + }, "KxDeploymentConfiguration":{ "type":"structure", "required":["deploymentStrategy"], @@ -1768,6 +2507,32 @@ "min":3, "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, + "KxHostType":{ + "type":"string", + "max":32, + "min":1, + "pattern":"^[a-zA-Z0-9._]+" + }, + "KxNAS1Configuration":{ + "type":"structure", + "members":{ + "type":{"shape":"KxNAS1Type"}, + "size":{"shape":"KxNAS1Size"} + } + }, + "KxNAS1Size":{ + "type":"integer", + "max":33600, + "min":1200 + }, + "KxNAS1Type":{ + "type":"string", + "enum":[ + "SSD_1000", + "SSD_250", + "HDD_12" + ] + }, "KxNode":{ "type":"structure", "members":{ @@ -1782,23 +2547,69 @@ }, "KxSavedownStorageConfiguration":{ "type":"structure", - "required":[ - "type", - "size" + "members":{ + "type":{"shape":"KxSavedownStorageType"}, + "size":{"shape":"KxSavedownStorageSize"}, + "volumeName":{"shape":"KxVolumeName"} + } + }, + "KxSavedownStorageSize":{ + "type":"integer", + "max":16000, + "min":10 + }, + "KxSavedownStorageType":{ + "type":"string", + "enum":["SDS01"] + }, + "KxScalingGroup":{ + "type":"structure", + "members":{ + "scalingGroupName":{"shape":"KxScalingGroupName"}, + "hostType":{"shape":"KxHostType"}, + "clusters":{"shape":"KxClusterNameList"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "status":{"shape":"KxScalingGroupStatus"}, + "statusReason":{"shape":"KxClusterStatusReason"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "createdTimestamp":{"shape":"Timestamp"} + } + }, + "KxScalingGroupConfiguration":{ + "type":"structure", + "required":[ + "scalingGroupName", + "memoryReservation", + "nodeCount" ], "members":{ - "type":{"shape":"KxSavedownStorageType"}, - "size":{"shape":"KxSavedownStorageSize"} + "scalingGroupName":{"shape":"KxScalingGroupName"}, + "memoryLimit":{"shape":"MemoryMib"}, + "memoryReservation":{"shape":"MemoryMib"}, + "nodeCount":{"shape":"ClusterNodeCount"}, + "cpu":{"shape":"CpuCount"} } }, - "KxSavedownStorageSize":{ - "type":"integer", - "max":16000, - "min":4 + "KxScalingGroupList":{ + "type":"list", + "member":{"shape":"KxScalingGroup"} }, - "KxSavedownStorageType":{ + "KxScalingGroupName":{ "type":"string", - "enum":["SDS01"] + "max":63, + "min":3, + "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "KxScalingGroupStatus":{ + "type":"string", + "enum":[ + "CREATING", + "CREATE_FAILED", + "ACTIVE", + "DELETING", + "DELETED", + "DELETE_FAILED" + ] }, "KxUser":{ "type":"structure", @@ -1826,6 +2637,60 @@ "min":1, "pattern":"^[0-9A-Za-z_-]{1,50}$" }, + "KxVolume":{ + "type":"structure", + "members":{ + "volumeName":{"shape":"KxVolumeName"}, + "volumeType":{"shape":"KxVolumeType"}, + "status":{"shape":"KxVolumeStatus"}, + "description":{"shape":"Description"}, + "statusReason":{"shape":"KxVolumeStatusReason"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneIds":{"shape":"AvailabilityZoneIds"}, + "createdTimestamp":{"shape":"Timestamp"}, + "lastModifiedTimestamp":{"shape":"Timestamp"} + } + }, + "KxVolumeArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d+:kxEnvironment/[0-9A-Za-z_-]{1,128}(/kxSharedVolume/[a-zA-Z0-9_-]{1,255})?$" + }, + "KxVolumeName":{ + "type":"string", + "max":63, + "min":3, + "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "KxVolumeStatus":{ + "type":"string", + "enum":[ + "CREATING", + "CREATE_FAILED", + "ACTIVE", + "UPDATING", + "UPDATED", + "UPDATE_FAILED", + "DELETING", + "DELETED", + "DELETE_FAILED" + ] + }, + "KxVolumeStatusReason":{ + "type":"string", + "max":250, + "min":1, + "pattern":"^[a-zA-Z0-9\\_\\-\\.\\s]+$" + }, + "KxVolumeType":{ + "type":"string", + "enum":["NAS_1"] + }, + "KxVolumes":{ + "type":"list", + "member":{"shape":"KxVolume"} + }, "LimitExceededException":{ "type":"structure", "members":{ @@ -1989,6 +2854,42 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListKxDataviewsRequest":{ + "type":"structure", + "required":[ + "environmentId", + "databaseName" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "databaseName":{ + "shape":"DatabaseName", + "location":"uri", + "locationName":"databaseName" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListKxDataviewsResponse":{ + "type":"structure", + "members":{ + "kxDataviews":{"shape":"KxDataviews"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "ListKxEnvironmentsRequest":{ "type":"structure", "members":{ @@ -2011,6 +2912,34 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListKxScalingGroupsRequest":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListKxScalingGroupsResponse":{ + "type":"structure", + "members":{ + "scalingGroups":{"shape":"KxScalingGroupList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "ListKxUsersRequest":{ "type":"structure", "required":["environmentId"], @@ -2039,6 +2968,39 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListKxVolumesRequest":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "volumeType":{ + "shape":"KxVolumeType", + "location":"querystring", + "locationName":"volumeType" + } + } + }, + "ListKxVolumesResponse":{ + "type":"structure", + "members":{ + "kxVolumeSummaries":{"shape":"KxVolumes"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], @@ -2061,6 +3023,10 @@ "max":100, "min":0 }, + "MemoryMib":{ + "type":"integer", + "min":6 + }, "NameString":{ "type":"string", "max":50, @@ -2212,6 +3178,12 @@ "min":1, "pattern":"^sg-([a-z0-9]{8}$|[a-z0-9]{17}$)" }, + "SegmentConfigurationDbPathList":{ + "type":"list", + "member":{"shape":"DbPath"}, + "max":30, + "min":1 + }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ @@ -2309,6 +3281,16 @@ "error":{"httpStatusCode":429}, "exception":true }, + "TickerplantLogConfiguration":{ + "type":"structure", + "members":{ + "tickerplantLogVolumes":{"shape":"TickerplantLogVolumes"} + } + }, + "TickerplantLogVolumes":{ + "type":"list", + "member":{"shape":"VolumeName"} + }, "Timestamp":{"type":"timestamp"}, "TransitGatewayConfiguration":{ "type":"structure", @@ -2470,6 +3452,57 @@ "lastModifiedTimestamp":{"shape":"Timestamp"} } }, + "UpdateKxDataviewRequest":{ + "type":"structure", + "required":[ + "environmentId", + "databaseName", + "dataviewName", + "clientToken" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "databaseName":{ + "shape":"DatabaseName", + "location":"uri", + "locationName":"databaseName" + }, + "dataviewName":{ + "shape":"KxDataviewName", + "location":"uri", + "locationName":"dataviewName" + }, + "description":{"shape":"Description"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "clientToken":{ + "shape":"ClientTokenString", + "idempotencyToken":true + } + } + }, + "UpdateKxDataviewResponse":{ + "type":"structure", + "members":{ + "environmentId":{"shape":"EnvironmentId"}, + "databaseName":{"shape":"DatabaseName"}, + "dataviewName":{"shape":"KxDataviewName"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneId":{"shape":"AvailabilityZoneId"}, + "changesetId":{"shape":"ChangesetId"}, + "segmentConfigurations":{"shape":"KxDataviewSegmentConfigurationList"}, + "activeVersions":{"shape":"KxDataviewActiveVersionList"}, + "status":{"shape":"KxDataviewStatus"}, + "autoUpdate":{"shape":"booleanValue"}, + "description":{"shape":"Description"}, + "createdTimestamp":{"shape":"Timestamp"}, + "lastModifiedTimestamp":{"shape":"Timestamp"} + } + }, "UpdateKxEnvironmentNetworkRequest":{ "type":"structure", "required":["environmentId"], @@ -2481,7 +3514,10 @@ }, "transitGatewayConfiguration":{"shape":"TransitGatewayConfiguration"}, "customDNSConfiguration":{"shape":"CustomDNSConfiguration"}, - "clientToken":{"shape":"ClientToken"} + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "UpdateKxEnvironmentNetworkResponse":{ @@ -2516,7 +3552,10 @@ }, "name":{"shape":"KxEnvironmentName"}, "description":{"shape":"Description"}, - "clientToken":{"shape":"ClientToken"} + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "UpdateKxEnvironmentResponse":{ @@ -2559,7 +3598,10 @@ "locationName":"userName" }, "iamRole":{"shape":"RoleArn"}, - "clientToken":{"shape":"ClientToken"} + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "UpdateKxUserResponse":{ @@ -2571,6 +3613,49 @@ "iamRole":{"shape":"RoleArn"} } }, + "UpdateKxVolumeRequest":{ + "type":"structure", + "required":[ + "environmentId", + "volumeName" + ], + "members":{ + "environmentId":{ + "shape":"KxEnvironmentId", + "location":"uri", + "locationName":"environmentId" + }, + "volumeName":{ + "shape":"KxVolumeName", + "location":"uri", + "locationName":"volumeName" + }, + "description":{"shape":"Description"}, + "clientToken":{ + "shape":"ClientTokenString", + "idempotencyToken":true + }, + "nas1Configuration":{"shape":"KxNAS1Configuration"} + } + }, + "UpdateKxVolumeResponse":{ + "type":"structure", + "members":{ + "environmentId":{"shape":"KxEnvironmentId"}, + "volumeName":{"shape":"KxVolumeName"}, + "volumeType":{"shape":"KxVolumeType"}, + "volumeArn":{"shape":"KxVolumeArn"}, + "nas1Configuration":{"shape":"KxNAS1Configuration"}, + "status":{"shape":"KxVolumeStatus"}, + "description":{"shape":"Description"}, + "statusReason":{"shape":"KxVolumeStatusReason"}, + "createdTimestamp":{"shape":"Timestamp"}, + "azMode":{"shape":"KxAzMode"}, + "availabilityZoneIds":{"shape":"AvailabilityZoneIds"}, + "lastModifiedTimestamp":{"shape":"Timestamp"}, + "attachedClusters":{"shape":"KxAttachedClusters"} + } + }, "ValidCIDRBlock":{ "type":"string", "max":18, @@ -2596,6 +3681,34 @@ "error":{"httpStatusCode":400}, "exception":true }, + "VersionId":{ + "type":"string", + "max":26, + "min":1 + }, + "Volume":{ + "type":"structure", + "members":{ + "volumeName":{"shape":"VolumeName"}, + "volumeType":{"shape":"VolumeType"} + } + }, + "VolumeName":{ + "type":"string", + "max":63, + "min":3, + "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "VolumeType":{ + "type":"string", + "enum":["NAS_1"] + }, + "Volumes":{ + "type":"list", + "member":{"shape":"Volume"}, + "max":5, + "min":0 + }, "VpcConfiguration":{ "type":"structure", "members":{ @@ -2611,6 +3724,13 @@ "min":1, "pattern":"^vpc-([a-z0-9]{8}$|[a-z0-9]{17}$)" }, + "arn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"^arn:*:*:*:*:*" + }, + "booleanValue":{"type":"boolean"}, "dnsStatus":{ "type":"string", "enum":[ diff --git a/models/apis/finspace/2021-03-12/docs-2.json b/models/apis/finspace/2021-03-12/docs-2.json index e980d328e5a..058237c95eb 100644 --- a/models/apis/finspace/2021-03-12/docs-2.json +++ b/models/apis/finspace/2021-03-12/docs-2.json @@ -6,27 +6,39 @@ "CreateKxChangeset": "

Creates a changeset for a kdb database. A changeset allows you to add and delete existing files by using an ordered list of change requests.

", "CreateKxCluster": "

Creates a new kdb cluster.

", "CreateKxDatabase": "

Creates a new kdb database in the environment.

", + "CreateKxDataview": "

Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.

", "CreateKxEnvironment": "

Creates a managed kdb environment for the account.

", + "CreateKxScalingGroup": "

Creates a new scaling group.

", "CreateKxUser": "

Creates a user in FinSpace kdb environment with an associated IAM role.

", + "CreateKxVolume": "

Creates a new volume with a specific amount of throughput and storage capacity.

", "DeleteEnvironment": "

Delete an FinSpace environment.

", "DeleteKxCluster": "

Deletes a kdb cluster.

", "DeleteKxDatabase": "

Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.

", + "DeleteKxDataview": "

Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.

", "DeleteKxEnvironment": "

Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.

", + "DeleteKxScalingGroup": "

Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted.

", "DeleteKxUser": "

Deletes a user in the specified kdb environment.

", + "DeleteKxVolume": "

Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.

", "GetEnvironment": "

Returns the FinSpace environment object.

", "GetKxChangeset": "

Returns information about a kdb changeset.

", "GetKxCluster": "

Retrieves information about a kdb cluster.

", "GetKxConnectionString": "

Retrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.

", "GetKxDatabase": "

Returns database information for the specified environment ID.

", + "GetKxDataview": "

Retrieves details of the dataview.

", "GetKxEnvironment": "

Retrieves all the information for the specified kdb environment.

", + "GetKxScalingGroup": "

Retrieves details of a scaling group.

", "GetKxUser": "

Retrieves information about the specified kdb user.

", + "GetKxVolume": "

Retrieves the information about the volume.

", "ListEnvironments": "

A list of all of your FinSpace environments.

", "ListKxChangesets": "

Returns a list of all the changesets for a database.

", "ListKxClusterNodes": "

Lists all the nodes in a kdb cluster.

", "ListKxClusters": "

Returns a list of clusters.

", "ListKxDatabases": "

Returns a list of all the databases in the kdb environment.

", + "ListKxDataviews": "

Returns a list of all the dataviews in the database.

", "ListKxEnvironments": "

Returns a list of kdb environments created in an account.

", + "ListKxScalingGroups": "

Returns a list of scaling groups in a kdb environment.

", "ListKxUsers": "

Lists all the users in a kdb environment.

", + "ListKxVolumes": "

Lists all the volumes in a kdb environment.

", "ListTagsForResource": "

A list of all tags for a resource.

", "TagResource": "

Adds metadata tags to a FinSpace resource.

", "UntagResource": "

Removes metadata tags from a FinSpace resource.

", @@ -34,9 +46,11 @@ "UpdateKxClusterCodeConfiguration": "

Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.

", "UpdateKxClusterDatabases": "

Updates the databases mounted on a kdb cluster, which includes the changesetId and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one.

Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.

", "UpdateKxDatabase": "

Updates information for the given kdb database.

", + "UpdateKxDataview": "

Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations

", "UpdateKxEnvironment": "

Updates information for the given kdb environment.

", "UpdateKxEnvironmentNetwork": "

Updates environment network to connect to your internal network by using a transit gateway. This API supports request to create a transit gateway attachment from FinSpace VPC to your transit gateway ID and create a custom Route-53 outbound resolvers.

Once you send a request to update a network, you cannot change it again. Network update might require termination of any clusters that are running in the existing network.

", - "UpdateKxUser": "

Updates the user details. You can only update the IAM role associated with a user.

" + "UpdateKxUser": "

Updates the user details. You can only update the IAM role associated with a user.

", + "UpdateKxVolume": "

Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.

" }, "shapes": { "AccessDeniedException": { @@ -44,6 +58,12 @@ "refs": { } }, + "AttachedClusterList": { + "base": null, + "refs": { + "KxDataviewActiveVersion$attachedClusters": "

The list of clusters that are currently using this dataview.

" + } + }, "AttributeMap": { "base": null, "refs": { @@ -76,18 +96,32 @@ "AvailabilityZoneIds$member": null, "CreateKxClusterRequest$availabilityZoneId": "

The availability zone identifiers for the requested regions.

", "CreateKxClusterResponse$availabilityZoneId": "

The availability zone identifiers for the requested regions.

", + "CreateKxDataviewRequest$availabilityZoneId": "

The identifier of the availability zones.

", + "CreateKxDataviewResponse$availabilityZoneId": "

The identifier of the availability zones.

", + "CreateKxScalingGroupRequest$availabilityZoneId": "

The identifier of the availability zones.

", + "CreateKxScalingGroupResponse$availabilityZoneId": "

The identifier of the availability zones.

", "GetKxClusterResponse$availabilityZoneId": "

The availability zone identifiers for the requested regions.

", + "GetKxDataviewResponse$availabilityZoneId": "

The identifier of the availability zones.

", + "GetKxScalingGroupResponse$availabilityZoneId": "

The identifier of the availability zones.

", "KxCluster$availabilityZoneId": "

The availability zone identifiers for the requested regions.

", - "KxNode$availabilityZoneId": "

The identifier of the availability zones where subnets for the environment are created.

" + "KxDataviewListEntry$availabilityZoneId": "

The identifier of the availability zones.

", + "KxNode$availabilityZoneId": "

The identifier of the availability zones where subnets for the environment are created.

", + "KxScalingGroup$availabilityZoneId": "

The identifier of the availability zones.

", + "UpdateKxDataviewResponse$availabilityZoneId": "

The identifier of the availability zones.

" } }, "AvailabilityZoneIds": { "base": null, "refs": { + "CreateKxVolumeRequest$availabilityZoneIds": "

The identifier of the availability zones.

", + "CreateKxVolumeResponse$availabilityZoneIds": "

The identifier of the availability zones.

", "GetKxEnvironmentResponse$availabilityZoneIds": "

The identifier of the availability zones where subnets for the environment are created.

", + "GetKxVolumeResponse$availabilityZoneIds": "

The identifier of the availability zones.

", "KxEnvironment$availabilityZoneIds": "

The identifier of the availability zones where subnets for the environment are created.

", + "KxVolume$availabilityZoneIds": "

The identifier of the availability zones.

", "UpdateKxEnvironmentNetworkResponse$availabilityZoneIds": "

The identifier of the availability zones where subnets for the environment are created.

", - "UpdateKxEnvironmentResponse$availabilityZoneIds": "

The identifier of the availability zones where subnets for the environment are created.

" + "UpdateKxEnvironmentResponse$availabilityZoneIds": "

The identifier of the availability zones where subnets for the environment are created.

", + "UpdateKxVolumeResponse$availabilityZoneIds": "

The identifier of the availability zones.

" } }, "BoxedInteger": { @@ -128,11 +162,19 @@ "base": null, "refs": { "CreateKxChangesetResponse$changesetId": "

A unique identifier for the changeset.

", + "CreateKxDataviewRequest$changesetId": "

A unique identifier of the changeset that you want to use to ingest data.

", + "CreateKxDataviewResponse$changesetId": "

A unique identifier for the changeset.

", "GetKxChangesetRequest$changesetId": "

A unique identifier of the changeset for which you want to retrieve data.

", "GetKxChangesetResponse$changesetId": "

A unique identifier for the changeset.

", "GetKxDatabaseResponse$lastCompletedChangesetId": "

A unique identifier for the changeset.

", + "GetKxDataviewResponse$changesetId": "

A unique identifier of the changeset that you want to use to ingest data.

", "KxChangesetListEntry$changesetId": "

A unique identifier for the changeset.

", - "KxDatabaseConfiguration$changesetId": "

A unique identifier of the changeset that is associated with the cluster.

" + "KxDatabaseConfiguration$changesetId": "

A unique identifier of the changeset that is associated with the cluster.

", + "KxDataviewActiveVersion$changesetId": "

A unique identifier for the changeset.

", + "KxDataviewConfiguration$changesetId": "

A unique identifier for the changeset.

", + "KxDataviewListEntry$changesetId": "

A unique identifier for the changeset.

", + "UpdateKxDataviewRequest$changesetId": "

A unique identifier for the changeset.

", + "UpdateKxDataviewResponse$changesetId": "

A unique identifier for the changeset.

" } }, "ChangesetStatus": { @@ -148,7 +190,11 @@ "refs": { "CreateKxClusterRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "CreateKxEnvironmentRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "CreateKxScalingGroupRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "CreateKxUserRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "CreateKxVolumeRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "DeleteKxEnvironmentRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "DeleteKxUserRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "UpdateKxEnvironmentNetworkRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "UpdateKxEnvironmentRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "UpdateKxUserRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

" @@ -159,11 +205,23 @@ "refs": { "CreateKxChangesetRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "CreateKxDatabaseRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "CreateKxDataviewRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "DeleteKxClusterRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "DeleteKxDatabaseRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "DeleteKxDataviewRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "DeleteKxScalingGroupRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "DeleteKxVolumeRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "UpdateKxClusterCodeConfigurationRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", "UpdateKxClusterDatabasesRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", - "UpdateKxDatabaseRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "UpdateKxDatabaseRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "UpdateKxDataviewRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "UpdateKxVolumeRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

" + } + }, + "ClusterNodeCount": { + "base": null, + "refs": { + "KxScalingGroupConfiguration$nodeCount": "

The number of kdb cluster nodes.

" } }, "CodeConfiguration": { @@ -187,6 +245,12 @@ "AutoScalingConfiguration$scaleOutCooldownSeconds": "

The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.

" } }, + "CpuCount": { + "base": null, + "refs": { + "KxScalingGroupConfiguration$cpu": "

The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.

" + } + }, "CreateEnvironmentRequest": { "base": null, "refs": { @@ -227,6 +291,16 @@ "refs": { } }, + "CreateKxDataviewRequest": { + "base": null, + "refs": { + } + }, + "CreateKxDataviewResponse": { + "base": null, + "refs": { + } + }, "CreateKxEnvironmentRequest": { "base": null, "refs": { @@ -237,6 +311,16 @@ "refs": { } }, + "CreateKxScalingGroupRequest": { + "base": null, + "refs": { + } + }, + "CreateKxScalingGroupResponse": { + "base": null, + "refs": { + } + }, "CreateKxUserRequest": { "base": null, "refs": { @@ -247,6 +331,16 @@ "refs": { } }, + "CreateKxVolumeRequest": { + "base": null, + "refs": { + } + }, + "CreateKxVolumeResponse": { + "base": null, + "refs": { + } + }, "CustomDNSConfiguration": { "base": null, "refs": { @@ -289,23 +383,33 @@ "CreateKxChangesetResponse$databaseName": "

The name of the kdb database.

", "CreateKxDatabaseRequest$databaseName": "

The name of the kdb database.

", "CreateKxDatabaseResponse$databaseName": "

The name of the kdb database.

", + "CreateKxDataviewRequest$databaseName": "

The name of the database where you want to create a dataview.

", + "CreateKxDataviewResponse$databaseName": "

The name of the database where you want to create a dataview.

", "DeleteKxDatabaseRequest$databaseName": "

The name of the kdb database that you want to delete.

", + "DeleteKxDataviewRequest$databaseName": "

The name of the database whose dataview you want to delete.

", "GetKxChangesetRequest$databaseName": "

The name of the kdb database.

", "GetKxChangesetResponse$databaseName": "

The name of the kdb database.

", "GetKxDatabaseRequest$databaseName": "

The name of the kdb database.

", "GetKxDatabaseResponse$databaseName": "

The name of the kdb database for which the information is retrieved.

", + "GetKxDataviewRequest$databaseName": "

The name of the database where you created the dataview.

", + "GetKxDataviewResponse$databaseName": "

The name of the database where you created the dataview.

", "KxDatabaseConfiguration$databaseName": "

The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.

", "KxDatabaseListEntry$databaseName": "

The name of the kdb database.

", + "KxDataviewListEntry$databaseName": "

A unique identifier of the database.

", "ListKxChangesetsRequest$databaseName": "

The name of the kdb database.

", + "ListKxDataviewsRequest$databaseName": "

The name of the database where the dataviews were created.

", "UpdateKxDatabaseRequest$databaseName": "

The name of the kdb database.

", - "UpdateKxDatabaseResponse$databaseName": "

The name of the kdb database.

" + "UpdateKxDatabaseResponse$databaseName": "

The name of the kdb database.

", + "UpdateKxDataviewRequest$databaseName": "

The name of the database.

", + "UpdateKxDataviewResponse$databaseName": "

The name of the database.

" } }, "DbPath": { "base": null, "refs": { "ChangeRequest$dbPath": "

Defines the path within the database directory.

", - "DbPaths$member": null + "DbPaths$member": null, + "SegmentConfigurationDbPathList$member": null } }, "DbPaths": { @@ -344,6 +448,16 @@ "refs": { } }, + "DeleteKxDataviewRequest": { + "base": null, + "refs": { + } + }, + "DeleteKxDataviewResponse": { + "base": null, + "refs": { + } + }, "DeleteKxEnvironmentRequest": { "base": null, "refs": { @@ -354,6 +468,16 @@ "refs": { } }, + "DeleteKxScalingGroupRequest": { + "base": null, + "refs": { + } + }, + "DeleteKxScalingGroupResponse": { + "base": null, + "refs": { + } + }, "DeleteKxUserRequest": { "base": null, "refs": { @@ -364,24 +488,46 @@ "refs": { } }, + "DeleteKxVolumeRequest": { + "base": null, + "refs": { + } + }, + "DeleteKxVolumeResponse": { + "base": null, + "refs": { + } + }, "Description": { "base": null, "refs": { "CreateEnvironmentRequest$description": "

The description of the FinSpace environment to be created.

", "CreateKxDatabaseRequest$description": "

A description of the database.

", "CreateKxDatabaseResponse$description": "

A description of the database.

", + "CreateKxDataviewRequest$description": "

A description of the dataview.

", + "CreateKxDataviewResponse$description": "

A description of the dataview.

", "CreateKxEnvironmentRequest$description": "

A description for the kdb environment.

", "CreateKxEnvironmentResponse$description": "

A description for the kdb environment.

", + "CreateKxVolumeRequest$description": "

A description of the volume.

", + "CreateKxVolumeResponse$description": "

A description of the volume.

", "Environment$description": "

The description of the FinSpace environment.

", "GetKxDatabaseResponse$description": "

A description of the database.

", + "GetKxDataviewResponse$description": "

A description of the dataview.

", "GetKxEnvironmentResponse$description": "

A description for the kdb environment.

", + "GetKxVolumeResponse$description": "

A description of the volume.

", + "KxDataviewListEntry$description": "

A description for the dataview list entry.

", "KxEnvironment$description": "

A description of the kdb environment.

", + "KxVolume$description": "

A description of the volume.

", "UpdateEnvironmentRequest$description": "

The description of the environment.

", "UpdateKxDatabaseRequest$description": "

A description of the database.

", "UpdateKxDatabaseResponse$description": "

A description of the database.

", + "UpdateKxDataviewRequest$description": "

The description for a dataview.

", + "UpdateKxDataviewResponse$description": "

A description of the dataview.

", "UpdateKxEnvironmentNetworkResponse$description": "

The description of the environment.

", "UpdateKxEnvironmentRequest$description": "

A description of the kdb environment.

", - "UpdateKxEnvironmentResponse$description": "

The description of the environment.

" + "UpdateKxEnvironmentResponse$description": "

The description of the environment.

", + "UpdateKxVolumeRequest$description": "

A description of the volume.

", + "UpdateKxVolumeResponse$description": "

The description for the volume.

" } }, "EmailId": { @@ -426,15 +572,24 @@ "CreateKxChangesetResponse$environmentId": "

A unique identifier for the kdb environment.

", "CreateKxDatabaseRequest$environmentId": "

A unique identifier for the kdb environment.

", "CreateKxDatabaseResponse$environmentId": "

A unique identifier for the kdb environment.

", + "CreateKxDataviewRequest$environmentId": "

A unique identifier for the kdb environment, where you want to create the dataview.

", + "CreateKxDataviewResponse$environmentId": "

A unique identifier for the kdb environment, where you want to create the dataview.

", "DeleteKxDatabaseRequest$environmentId": "

A unique identifier for the kdb environment.

", + "DeleteKxDataviewRequest$environmentId": "

A unique identifier for the kdb environment, from where you want to delete the dataview.

", "GetKxChangesetRequest$environmentId": "

A unique identifier for the kdb environment.

", "GetKxChangesetResponse$environmentId": "

A unique identifier for the kdb environment.

", "GetKxDatabaseRequest$environmentId": "

A unique identifier for the kdb environment.

", "GetKxDatabaseResponse$environmentId": "

A unique identifier for the kdb environment.

", + "GetKxDataviewRequest$environmentId": "

A unique identifier for the kdb environment, from where you want to retrieve the dataview details.

", + "GetKxDataviewResponse$environmentId": "

A unique identifier for the kdb environment, from where you want to retrieve the dataview details.

", + "KxDataviewListEntry$environmentId": "

A unique identifier for the kdb environment.

", "ListKxChangesetsRequest$environmentId": "

A unique identifier for the kdb environment.

", "ListKxDatabasesRequest$environmentId": "

A unique identifier for the kdb environment.

", + "ListKxDataviewsRequest$environmentId": "

A unique identifier for the kdb environment, for which you want to retrieve a list of dataviews.

", "UpdateKxDatabaseRequest$environmentId": "

A unique identifier for the kdb environment.

", - "UpdateKxDatabaseResponse$environmentId": "

A unique identifier for the kdb environment.

" + "UpdateKxDatabaseResponse$environmentId": "

A unique identifier for the kdb environment.

", + "UpdateKxDataviewRequest$environmentId": "

A unique identifier for the kdb environment, where you want to update the dataview.

", + "UpdateKxDataviewResponse$environmentId": "

A unique identifier for the kdb environment, where you want to update the dataview.

" } }, "EnvironmentList": { @@ -582,6 +737,16 @@ "refs": { } }, + "GetKxDataviewRequest": { + "base": null, + "refs": { + } + }, + "GetKxDataviewResponse": { + "base": null, + "refs": { + } + }, "GetKxEnvironmentRequest": { "base": null, "refs": { @@ -592,6 +757,16 @@ "refs": { } }, + "GetKxScalingGroupRequest": { + "base": null, + "refs": { + } + }, + "GetKxScalingGroupResponse": { + "base": null, + "refs": { + } + }, "GetKxUserRequest": { "base": null, "refs": { @@ -602,6 +777,16 @@ "refs": { } }, + "GetKxVolumeRequest": { + "base": null, + "refs": { + } + }, + "GetKxVolumeResponse": { + "base": null, + "refs": { + } + }, "IPAddressType": { "base": null, "refs": { @@ -698,13 +883,36 @@ "UpdateKxEnvironmentResponse$kmsKeyId": "

The KMS key ID to encrypt your data in the FinSpace environment.

" } }, + "KxAttachedCluster": { + "base": "

The structure containing the metadata of the attached clusters.

", + "refs": { + "KxAttachedClusters$member": null + } + }, + "KxAttachedClusters": { + "base": null, + "refs": { + "GetKxVolumeResponse$attachedClusters": "

A list of cluster identifiers that a volume is attached to.

", + "UpdateKxVolumeResponse$attachedClusters": "

Specifies the clusters that a volume is attached to.

" + } + }, "KxAzMode": { "base": null, "refs": { "CreateKxClusterRequest$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", "CreateKxClusterResponse$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", + "CreateKxDataviewRequest$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", + "CreateKxDataviewResponse$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", + "CreateKxVolumeRequest$azMode": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

", + "CreateKxVolumeResponse$azMode": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

", "GetKxClusterResponse$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", - "KxCluster$azMode": "

The number of availability zones assigned per cluster. This can be one of the following:

" + "GetKxDataviewResponse$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", + "GetKxVolumeResponse$azMode": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

", + "KxCluster$azMode": "

The number of availability zones assigned per cluster. This can be one of the following:

", + "KxDataviewListEntry$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", + "KxVolume$azMode": "

The number of availability zones assigned to the volume. Currently, only SINGLE is supported.

", + "UpdateKxDataviewResponse$azMode": "

The number of availability zones you want to assign per cluster. This can be one of the following

", + "UpdateKxVolumeResponse$azMode": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

" } }, "KxCacheStorageConfiguration": { @@ -776,18 +984,28 @@ "KxClusterName": { "base": null, "refs": { + "AttachedClusterList$member": null, "CreateKxClusterRequest$clusterName": "

A unique name for the cluster that you want to create.

", "CreateKxClusterResponse$clusterName": "

A unique name for the cluster.

", "DeleteKxClusterRequest$clusterName": "

The name of the cluster that you want to delete.

", "GetKxClusterRequest$clusterName": "

The name of the cluster that you want to retrieve.

", "GetKxClusterResponse$clusterName": "

A unique name for the cluster.

", "GetKxConnectionStringRequest$clusterName": "

A name of the kdb cluster.

", + "KxAttachedCluster$clusterName": "

A unique name for the attached cluster.

", "KxCluster$clusterName": "

A unique name for the cluster.

", + "KxClusterNameList$member": null, "ListKxClusterNodesRequest$clusterName": "

A unique name for the cluster.

", "UpdateKxClusterCodeConfigurationRequest$clusterName": "

The name of the cluster.

", "UpdateKxClusterDatabasesRequest$clusterName": "

A unique name for the cluster that you want to modify.

" } }, + "KxClusterNameList": { + "base": null, + "refs": { + "GetKxScalingGroupResponse$clusters": "

The list of Managed kdb clusters that are currently active in the given scaling group.

", + "KxScalingGroup$clusters": "

The list of clusters currently active in a given scaling group.

" + } + }, "KxClusterNodeIdString": { "base": null, "refs": { @@ -799,6 +1017,7 @@ "refs": { "CreateKxClusterResponse$status": "

The status of cluster creation.

", "GetKxClusterResponse$status": "

The status of cluster creation.

", + "KxAttachedCluster$clusterStatus": "

The status of the attached cluster.

", "KxCluster$status": "

The status of a cluster.

" } }, @@ -807,17 +1026,20 @@ "refs": { "CreateKxClusterResponse$statusReason": "

The error message when a failed state occurs.

", "GetKxClusterResponse$statusReason": "

The error message when a failed state occurs.

", - "KxCluster$statusReason": "

The error message when a failed state occurs.

" + "GetKxScalingGroupResponse$statusReason": "

The error message when a failed state occurs.

", + "KxCluster$statusReason": "

The error message when a failed state occurs.

", + "KxScalingGroup$statusReason": "

The error message when a failed state occurs.

" } }, "KxClusterType": { "base": null, "refs": { - "CreateKxClusterRequest$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", - "CreateKxClusterResponse$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", - "GetKxClusterResponse$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", - "KxCluster$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", - "ListKxClustersRequest$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

" + "CreateKxClusterRequest$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", + "CreateKxClusterResponse$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", + "GetKxClusterResponse$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", + "KxAttachedCluster$clusterType": "

Specifies the type of cluster. The volume for TP and RDB cluster types will be used for TP logs.

", + "KxCluster$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

", + "ListKxClustersRequest$clusterType": "

Specifies the type of KDB database that is being created. The following types are available:

" } }, "KxClusters": { @@ -892,6 +1114,89 @@ "ListKxDatabasesResponse$kxDatabases": "

A list of databases in the kdb environment.

" } }, + "KxDataviewActiveVersion": { + "base": "

The active version of the dataview that is currently in use by this cluster.

", + "refs": { + "KxDataviewActiveVersionList$member": null + } + }, + "KxDataviewActiveVersionList": { + "base": null, + "refs": { + "GetKxDataviewResponse$activeVersions": "

The current active changeset versions of the database on the given dataview.

", + "KxDataviewListEntry$activeVersions": "

The active changeset versions for the given dataview entry.

", + "UpdateKxDataviewResponse$activeVersions": "

The current active changeset versions of the database on the given dataview.

" + } + }, + "KxDataviewConfiguration": { + "base": "

The structure that stores the configuration details of a dataview.

", + "refs": { + "KxDatabaseConfiguration$dataviewConfiguration": "

The configuration of the dataview to be used with specified cluster.

" + } + }, + "KxDataviewListEntry": { + "base": "

A collection of kdb dataview entries.

", + "refs": { + "KxDataviews$member": null + } + }, + "KxDataviewName": { + "base": null, + "refs": { + "CreateKxDataviewRequest$dataviewName": "

A unique identifier for the dataview.

", + "CreateKxDataviewResponse$dataviewName": "

A unique identifier for the dataview.

", + "DeleteKxDataviewRequest$dataviewName": "

The name of the dataview that you want to delete.

", + "GetKxDataviewRequest$dataviewName": "

A unique identifier for the dataview.

", + "GetKxDataviewResponse$dataviewName": "

A unique identifier for the dataview.

", + "KxDatabaseCacheConfiguration$dataviewName": "

The name of the dataview to be used for caching historical data on disk.

", + "KxDatabaseConfiguration$dataviewName": "

The name of the dataview to be used for caching historical data on disk.

", + "KxDataviewConfiguration$dataviewName": "

The unique identifier of the dataview.

", + "KxDataviewListEntry$dataviewName": "

A unique identifier of the dataview.

", + "UpdateKxDataviewRequest$dataviewName": "

The name of the dataview that you want to update.

", + "UpdateKxDataviewResponse$dataviewName": "

The name of the database under which the dataview was created.

" + } + }, + "KxDataviewSegmentConfiguration": { + "base": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "refs": { + "KxDataviewSegmentConfigurationList$member": null + } + }, + "KxDataviewSegmentConfigurationList": { + "base": null, + "refs": { + "CreateKxDataviewRequest$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "CreateKxDataviewResponse$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "GetKxDataviewResponse$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "KxDataviewActiveVersion$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "KxDataviewConfiguration$segmentConfigurations": "

The db path and volume configuration for the segmented database.

", + "KxDataviewListEntry$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "UpdateKxDataviewRequest$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

", + "UpdateKxDataviewResponse$segmentConfigurations": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + } + }, + "KxDataviewStatus": { + "base": null, + "refs": { + "CreateKxDataviewResponse$status": "

The status of dataview creation.

", + "GetKxDataviewResponse$status": "

The status of dataview creation.

", + "KxDataviewListEntry$status": "

The status of a given dataview entry.

", + "UpdateKxDataviewResponse$status": "

The status of dataview creation.

" + } + }, + "KxDataviewStatusReason": { + "base": null, + "refs": { + "GetKxDataviewResponse$statusReason": "

The error message when a failed state occurs.

", + "KxDataviewListEntry$statusReason": "

The error message when a failed state occurs.

" + } + }, + "KxDataviews": { + "base": null, + "refs": { + "ListKxDataviewsResponse$kxDataviews": "

The list of kdb dataviews that are currently active for the given database.

" + } + }, "KxDeploymentConfiguration": { "base": "

The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.

", "refs": { @@ -915,12 +1220,25 @@ "refs": { "CreateKxClusterRequest$environmentId": "

A unique identifier for the kdb environment.

", "CreateKxClusterResponse$environmentId": "

A unique identifier for the kdb environment.

", + "CreateKxScalingGroupRequest$environmentId": "

A unique identifier for the kdb environment, where you want to create the scaling group.

", + "CreateKxScalingGroupResponse$environmentId": "

A unique identifier for the kdb environment, where you create the scaling group.

", + "CreateKxVolumeRequest$environmentId": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", + "CreateKxVolumeResponse$environmentId": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", "DeleteKxClusterRequest$environmentId": "

A unique identifier for the kdb environment.

", + "DeleteKxScalingGroupRequest$environmentId": "

A unique identifier for the kdb environment, from where you want to delete the dataview.

", + "DeleteKxVolumeRequest$environmentId": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", "GetKxClusterRequest$environmentId": "

A unique identifier for the kdb environment.

", + "GetKxScalingGroupRequest$environmentId": "

A unique identifier for the kdb environment.

", + "GetKxVolumeRequest$environmentId": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", + "GetKxVolumeResponse$environmentId": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", "ListKxClusterNodesRequest$environmentId": "

A unique identifier for the kdb environment.

", "ListKxClustersRequest$environmentId": "

A unique identifier for the kdb environment.

", + "ListKxScalingGroupsRequest$environmentId": "

A unique identifier for the kdb environment, for which you want to retrieve a list of scaling groups.

", + "ListKxVolumesRequest$environmentId": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", "UpdateKxClusterCodeConfigurationRequest$environmentId": "

A unique identifier of the kdb environment.

", - "UpdateKxClusterDatabasesRequest$environmentId": "

The unique identifier of a kdb environment.

" + "UpdateKxClusterDatabasesRequest$environmentId": "

The unique identifier of a kdb environment.

", + "UpdateKxVolumeRequest$environmentId": "

A unique identifier for the kdb environment where you created the storage volume.

", + "UpdateKxVolumeResponse$environmentId": "

A unique identifier for the kdb environment where you want to update the volume.

" } }, "KxEnvironmentList": { @@ -941,6 +1259,37 @@ "UpdateKxEnvironmentResponse$name": "

The name of the kdb environment.

" } }, + "KxHostType": { + "base": null, + "refs": { + "CreateKxScalingGroupRequest$hostType": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

", + "CreateKxScalingGroupResponse$hostType": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

", + "GetKxScalingGroupResponse$hostType": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

", + "KxScalingGroup$hostType": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

" + } + }, + "KxNAS1Configuration": { + "base": "

The structure containing the size and type of the network attached storage (NAS_1) file system volume.

", + "refs": { + "CreateKxVolumeRequest$nas1Configuration": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose volumeType as NAS_1.

", + "CreateKxVolumeResponse$nas1Configuration": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

", + "GetKxVolumeResponse$nas1Configuration": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

", + "UpdateKxVolumeRequest$nas1Configuration": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

", + "UpdateKxVolumeResponse$nas1Configuration": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

" + } + }, + "KxNAS1Size": { + "base": null, + "refs": { + "KxNAS1Configuration$size": "

The size of the network attached storage.

" + } + }, + "KxNAS1Type": { + "base": null, + "refs": { + "KxNAS1Configuration$type": "

The type of the network attached storage.

" + } + }, "KxNode": { "base": "

A structure that stores metadata for a kdb node.

", "refs": { @@ -973,6 +1322,46 @@ "KxSavedownStorageConfiguration$type": "

The type of writeable storage space for temporarily storing your savedown data. The valid values are:

" } }, + "KxScalingGroup": { + "base": "

A structure for storing metadata of scaling group.

", + "refs": { + "KxScalingGroupList$member": null + } + }, + "KxScalingGroupConfiguration": { + "base": "

The structure that stores the capacity configuration details of a scaling group.

", + "refs": { + "CreateKxClusterRequest$scalingGroupConfiguration": "

The structure that stores the configuration details of a scaling group.

", + "CreateKxClusterResponse$scalingGroupConfiguration": "

The structure that stores the configuration details of a scaling group.

", + "GetKxClusterResponse$scalingGroupConfiguration": null + } + }, + "KxScalingGroupList": { + "base": null, + "refs": { + "ListKxScalingGroupsResponse$scalingGroups": "

A list of scaling groups available in a kdb environment.

" + } + }, + "KxScalingGroupName": { + "base": null, + "refs": { + "CreateKxScalingGroupRequest$scalingGroupName": "

A unique identifier for the kdb scaling group.

", + "CreateKxScalingGroupResponse$scalingGroupName": "

A unique identifier for the kdb scaling group.

", + "DeleteKxScalingGroupRequest$scalingGroupName": "

A unique identifier for the kdb scaling group.

", + "GetKxScalingGroupRequest$scalingGroupName": "

A unique identifier for the kdb scaling group.

", + "GetKxScalingGroupResponse$scalingGroupName": "

A unique identifier for the kdb scaling group.

", + "KxScalingGroup$scalingGroupName": "

A unique identifier for the kdb scaling group.

", + "KxScalingGroupConfiguration$scalingGroupName": "

A unique identifier for the kdb scaling group.

" + } + }, + "KxScalingGroupStatus": { + "base": null, + "refs": { + "CreateKxScalingGroupResponse$status": "

The status of scaling group.

", + "GetKxScalingGroupResponse$status": "

The status of scaling group.

", + "KxScalingGroup$status": "

The status of scaling groups.

" + } + }, "KxUser": { "base": "

A structure that stores metadata for a kdb user.

", "refs": { @@ -1007,6 +1396,70 @@ "UpdateKxUserResponse$userName": "

A unique identifier for the user.

" } }, + "KxVolume": { + "base": "

The structure that contains the metadata of the volume.

", + "refs": { + "KxVolumes$member": null + } + }, + "KxVolumeArn": { + "base": null, + "refs": { + "CreateKxVolumeResponse$volumeArn": "

The ARN identifier of the volume.

", + "GetKxVolumeResponse$volumeArn": "

The ARN identifier of the volume.

", + "UpdateKxVolumeResponse$volumeArn": "

The ARN identifier of the volume.

" + } + }, + "KxVolumeName": { + "base": null, + "refs": { + "CreateKxVolumeRequest$volumeName": "

A unique identifier for the volume.

", + "CreateKxVolumeResponse$volumeName": "

A unique identifier for the volume.

", + "DeleteKxVolumeRequest$volumeName": "

The name of the volume that you want to delete.

", + "GetKxVolumeRequest$volumeName": "

A unique identifier for the volume.

", + "GetKxVolumeResponse$volumeName": "

A unique identifier for the volume.

", + "KxDataviewSegmentConfiguration$volumeName": "

The name of the volume where you want to add data.

", + "KxSavedownStorageConfiguration$volumeName": "

The name of the kdb volume that you want to use as writeable save-down storage for clusters.

", + "KxVolume$volumeName": "

A unique identifier for the volume.

", + "UpdateKxVolumeRequest$volumeName": "

A unique identifier for the volume.

", + "UpdateKxVolumeResponse$volumeName": "

A unique identifier for the volume that you want to update.

" + } + }, + "KxVolumeStatus": { + "base": null, + "refs": { + "CreateKxVolumeResponse$status": "

The status of volume creation.

", + "GetKxVolumeResponse$status": "

The status of volume creation.

", + "KxVolume$status": "

The status of volume.

", + "UpdateKxVolumeResponse$status": "

The status of the volume.

" + } + }, + "KxVolumeStatusReason": { + "base": null, + "refs": { + "CreateKxVolumeResponse$statusReason": "

The error message when a failed state occurs.

", + "GetKxVolumeResponse$statusReason": "

The error message when a failed state occurs.

", + "KxVolume$statusReason": "

The error message when a failed state occurs.

", + "UpdateKxVolumeResponse$statusReason": "

The error message when a failed state occurs.

" + } + }, + "KxVolumeType": { + "base": null, + "refs": { + "CreateKxVolumeRequest$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. When you select NAS_1 volume type, you must also provide nas1Configuration.

", + "CreateKxVolumeResponse$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

", + "GetKxVolumeResponse$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

", + "KxVolume$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

", + "ListKxVolumesRequest$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

", + "UpdateKxVolumeResponse$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + } + }, + "KxVolumes": { + "base": null, + "refs": { + "ListKxVolumesResponse$kxVolumeSummaries": "

A summary of volumes.

" + } + }, "LimitExceededException": { "base": "

A service limit or quota is exceeded.

", "refs": { @@ -1062,6 +1515,16 @@ "refs": { } }, + "ListKxDataviewsRequest": { + "base": null, + "refs": { + } + }, + "ListKxDataviewsResponse": { + "base": null, + "refs": { + } + }, "ListKxEnvironmentsRequest": { "base": null, "refs": { @@ -1072,6 +1535,16 @@ "refs": { } }, + "ListKxScalingGroupsRequest": { + "base": null, + "refs": { + } + }, + "ListKxScalingGroupsResponse": { + "base": null, + "refs": { + } + }, "ListKxUsersRequest": { "base": null, "refs": { @@ -1082,6 +1555,16 @@ "refs": { } }, + "ListKxVolumesRequest": { + "base": null, + "refs": { + } + }, + "ListKxVolumesResponse": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -1097,7 +1580,17 @@ "refs": { "ListKxChangesetsRequest$maxResults": "

The maximum number of results to return in this request.

", "ListKxClustersRequest$maxResults": "

The maximum number of results to return in this request.

", - "ListKxDatabasesRequest$maxResults": "

The maximum number of results to return in this request.

" + "ListKxDatabasesRequest$maxResults": "

The maximum number of results to return in this request.

", + "ListKxDataviewsRequest$maxResults": "

The maximum number of results to return in this request.

", + "ListKxScalingGroupsRequest$maxResults": "

The maximum number of results to return in this request.

", + "ListKxVolumesRequest$maxResults": "

The maximum number of results to return in this request.

" + } + }, + "MemoryMib": { + "base": null, + "refs": { + "KxScalingGroupConfiguration$memoryLimit": "

An optional hard limit on the amount of memory a kdb cluster can use.

", + "KxScalingGroupConfiguration$memoryReservation": "

A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.

" } }, "NameString": { @@ -1146,10 +1639,16 @@ "ListKxClustersResponse$nextToken": "

A token that indicates where a results page should begin.

", "ListKxDatabasesRequest$nextToken": "

A token that indicates where a results page should begin.

", "ListKxDatabasesResponse$nextToken": "

A token that indicates where a results page should begin.

", + "ListKxDataviewsRequest$nextToken": "

A token that indicates where a results page should begin.

", + "ListKxDataviewsResponse$nextToken": "

A token that indicates where a results page should begin.

", "ListKxEnvironmentsRequest$nextToken": "

A token that indicates where a results page should begin.

", "ListKxEnvironmentsResponse$nextToken": "

A token that indicates where a results page should begin.

", + "ListKxScalingGroupsRequest$nextToken": "

A token that indicates where a results page should begin.

", + "ListKxScalingGroupsResponse$nextToken": "

A token that indicates where a results page should begin.

", "ListKxUsersRequest$nextToken": "

A token that indicates where a results page should begin.

", - "ListKxUsersResponse$nextToken": "

A token that indicates where a results page should begin.

" + "ListKxUsersResponse$nextToken": "

A token that indicates where a results page should begin.

", + "ListKxVolumesRequest$nextToken": "

A token that indicates where a results page should begin.

", + "ListKxVolumesResponse$nextToken": "

A token that indicates where a results page should begin.

" } }, "Port": { @@ -1263,6 +1762,12 @@ "SecurityGroupIdList$member": null } }, + "SegmentConfigurationDbPathList": { + "base": null, + "refs": { + "KxDataviewSegmentConfiguration$dbPaths": "

The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.

" + } + }, "ServiceQuotaExceededException": { "base": "

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

", "refs": { @@ -1317,8 +1822,11 @@ "CreateEnvironmentRequest$tags": "

Add tags to your FinSpace environment.

", "CreateKxClusterRequest$tags": "

A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.

", "CreateKxDatabaseRequest$tags": "

A list of key-value pairs to label the kdb database. You can add up to 50 tags to your kdb database

", + "CreateKxDataviewRequest$tags": "

A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.

", "CreateKxEnvironmentRequest$tags": "

A list of key-value pairs to label the kdb environment. You can add up to 50 tags to your kdb environment.

", + "CreateKxScalingGroupRequest$tags": "

A list of key-value pairs to label the scaling group. You can add up to 50 tags to a scaling group.

", "CreateKxUserRequest$tags": "

A list of key-value pairs to label the user. You can add up to 50 tags to a user.

", + "CreateKxVolumeRequest$tags": "

A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.

", "ListTagsForResourceResponse$tags": "

A list of all tags for a resource.

", "TagResourceRequest$tags": "

One or more tags to be assigned to the resource.

" } @@ -1344,6 +1852,20 @@ "refs": { } }, + "TickerplantLogConfiguration": { + "base": "

A configuration to store the Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path.

", + "refs": { + "CreateKxClusterRequest$tickerplantLogConfiguration": "

A configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path.

", + "CreateKxClusterResponse$tickerplantLogConfiguration": null, + "GetKxClusterResponse$tickerplantLogConfiguration": null + } + }, + "TickerplantLogVolumes": { + "base": null, + "refs": { + "TickerplantLogConfiguration$tickerplantLogVolumes": "

The name of the volumes for tickerplant logs.

" + } + }, "Timestamp": { "base": null, "refs": { @@ -1353,7 +1875,12 @@ "CreateKxClusterResponse$createdTimestamp": "

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "CreateKxDatabaseResponse$createdTimestamp": "

The timestamp at which the database is created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "CreateKxDatabaseResponse$lastModifiedTimestamp": "

The last time that the database was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "CreateKxDataviewResponse$createdTimestamp": "

The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "CreateKxDataviewResponse$lastModifiedTimestamp": "

The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "CreateKxEnvironmentResponse$creationTimestamp": "

The timestamp at which the kdb environment was created in FinSpace.

", + "CreateKxScalingGroupResponse$lastModifiedTimestamp": "

The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "CreateKxScalingGroupResponse$createdTimestamp": "

The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "CreateKxVolumeResponse$createdTimestamp": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetKxChangesetResponse$createdTimestamp": "

The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetKxChangesetResponse$activeFromTimestamp": "

Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetKxChangesetResponse$lastModifiedTimestamp": "

The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", @@ -1361,8 +1888,14 @@ "GetKxClusterResponse$createdTimestamp": "

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetKxDatabaseResponse$createdTimestamp": "

The timestamp at which the database is created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetKxDatabaseResponse$lastModifiedTimestamp": "

The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "GetKxDataviewResponse$createdTimestamp": "

The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "GetKxDataviewResponse$lastModifiedTimestamp": "

The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetKxEnvironmentResponse$creationTimestamp": "

The timestamp at which the kdb environment was created in FinSpace.

", "GetKxEnvironmentResponse$updateTimestamp": "

The timestamp at which the kdb environment was updated.

", + "GetKxScalingGroupResponse$lastModifiedTimestamp": "

The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "GetKxScalingGroupResponse$createdTimestamp": "

The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "GetKxVolumeResponse$createdTimestamp": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "GetKxVolumeResponse$lastModifiedTimestamp": "

The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxChangesetListEntry$createdTimestamp": "

The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxChangesetListEntry$activeFromTimestamp": "

Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxChangesetListEntry$lastModifiedTimestamp": "

The timestamp at which the changeset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", @@ -1370,16 +1903,27 @@ "KxCluster$createdTimestamp": "

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxDatabaseListEntry$createdTimestamp": "

The timestamp at which the database was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxDatabaseListEntry$lastModifiedTimestamp": "

The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "KxDataviewActiveVersion$createdTimestamp": "

The timestamp at which the dataview version was active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "KxDataviewListEntry$createdTimestamp": "

The timestamp at which the dataview list entry was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "KxDataviewListEntry$lastModifiedTimestamp": "

The last time that the dataview list was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxEnvironment$creationTimestamp": "

The timestamp at which the kdb environment was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxEnvironment$updateTimestamp": "

The timestamp at which the kdb environment was modified in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxNode$launchTime": "

The time when a particular node is started. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "KxScalingGroup$lastModifiedTimestamp": "

The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "KxScalingGroup$createdTimestamp": "

The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "KxUser$createTimestamp": "

The timestamp at which the kdb user was created.

", "KxUser$updateTimestamp": "

The timestamp at which the kdb user was updated.

", + "KxVolume$createdTimestamp": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "KxVolume$lastModifiedTimestamp": "

The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "UpdateKxDatabaseResponse$lastModifiedTimestamp": "

The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "UpdateKxDataviewResponse$createdTimestamp": "

The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "UpdateKxDataviewResponse$lastModifiedTimestamp": "

The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "UpdateKxEnvironmentNetworkResponse$creationTimestamp": "

The timestamp at which the kdb environment was created in FinSpace.

", "UpdateKxEnvironmentNetworkResponse$updateTimestamp": "

The timestamp at which the kdb environment was updated.

", "UpdateKxEnvironmentResponse$creationTimestamp": "

The timestamp at which the kdb environment was created in FinSpace.

", - "UpdateKxEnvironmentResponse$updateTimestamp": "

The timestamp at which the kdb environment was updated.

" + "UpdateKxEnvironmentResponse$updateTimestamp": "

The timestamp at which the kdb environment was updated.

", + "UpdateKxVolumeResponse$createdTimestamp": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", + "UpdateKxVolumeResponse$lastModifiedTimestamp": "

The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "TransitGatewayConfiguration": { @@ -1448,6 +1992,16 @@ "refs": { } }, + "UpdateKxDataviewRequest": { + "base": null, + "refs": { + } + }, + "UpdateKxDataviewResponse": { + "base": null, + "refs": { + } + }, "UpdateKxEnvironmentNetworkRequest": { "base": null, "refs": { @@ -1478,6 +2032,16 @@ "refs": { } }, + "UpdateKxVolumeRequest": { + "base": null, + "refs": { + } + }, + "UpdateKxVolumeResponse": { + "base": null, + "refs": { + } + }, "ValidCIDRBlock": { "base": null, "refs": { @@ -1507,6 +2071,40 @@ "refs": { } }, + "VersionId": { + "base": null, + "refs": { + "KxDataviewActiveVersion$versionId": "

A unique identifier of the active version.

", + "KxDataviewConfiguration$dataviewVersionId": "

The version of the dataview corresponding to a given changeset.

" + } + }, + "Volume": { + "base": "

The structure that consists of name and type of volume.

", + "refs": { + "Volumes$member": null + } + }, + "VolumeName": { + "base": null, + "refs": { + "TickerplantLogVolumes$member": null, + "Volume$volumeName": "

A unique identifier for the volume.

" + } + }, + "VolumeType": { + "base": null, + "refs": { + "Volume$volumeType": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + } + }, + "Volumes": { + "base": null, + "refs": { + "CreateKxClusterResponse$volumes": "

A list of volumes mounted on the cluster.

", + "GetKxClusterResponse$volumes": "

A list of volumes attached to the cluster.

", + "KxCluster$volumes": "

A list of volumes attached to the cluster.

" + } + }, "VpcConfiguration": { "base": "

Configuration details about the network where the Privatelink endpoint of the cluster resides.

", "refs": { @@ -1521,6 +2119,22 @@ "VpcConfiguration$vpcId": "

The identifier of the VPC endpoint.

" } }, + "arn": { + "base": null, + "refs": { + "GetKxScalingGroupResponse$scalingGroupArn": "

The ARN identifier for the scaling group.

" + } + }, + "booleanValue": { + "base": null, + "refs": { + "CreateKxDataviewRequest$autoUpdate": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.

", + "CreateKxDataviewResponse$autoUpdate": "

The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.

", + "GetKxDataviewResponse$autoUpdate": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.

", + "KxDataviewListEntry$autoUpdate": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.

", + "UpdateKxDataviewResponse$autoUpdate": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.

" + } + }, "dnsStatus": { "base": null, "refs": { diff --git a/models/apis/finspace/2021-03-12/paginators-1.json b/models/apis/finspace/2021-03-12/paginators-1.json index ca77facdbe9..74580e09e4f 100644 --- a/models/apis/finspace/2021-03-12/paginators-1.json +++ b/models/apis/finspace/2021-03-12/paginators-1.json @@ -15,11 +15,21 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListKxDataviews": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "ListKxEnvironments": { "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults", "result_key": "environments" + }, + "ListKxScalingGroups": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" } } } diff --git a/models/apis/monitoring/2010-08-01/api-2.json b/models/apis/monitoring/2010-08-01/api-2.json index 3f7bfc60b20..2fd3c1eb1b2 100644 --- a/models/apis/monitoring/2010-08-01/api-2.json +++ b/models/apis/monitoring/2010-08-01/api-2.json @@ -1970,7 +1970,8 @@ "type":"string", "enum":[ "json", - "opentelemetry0.7" + "opentelemetry0.7", + "opentelemetry1.0" ], "max":255, "min":1 diff --git a/models/apis/monitoring/2010-08-01/docs-2.json b/models/apis/monitoring/2010-08-01/docs-2.json index 698c4cd812f..2f7607f5071 100644 --- a/models/apis/monitoring/2010-08-01/docs-2.json +++ b/models/apis/monitoring/2010-08-01/docs-2.json @@ -1145,7 +1145,7 @@ "GetMetricDataInput$MetricDataQueries": "

The metric queries to be returned. A single GetMetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.

", "MetricAlarm$Metrics": "

An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having ReturnData set to true.

", "MetricMathAnomalyDetector$MetricDataQueries": "

An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression. One item in MetricDataQueries is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting ReturnData to true for this object in the array. For all other expressions and metrics, set ReturnData to false. The designated expression must return a single time series.

", - "PutMetricAlarmInput$Metrics": "

An array of MetricDataQuery structures that enable you to create an alarm based on the result of a metric math expression. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

Each item in the Metrics array either retrieves a metric or performs a math expression.

One item in the Metrics array is the expression that the alarm watches. You designate this expression by setting ReturnData to true for this object in the array. For more information, see MetricDataQuery.

If you use the Metrics parameter, you cannot include the MetricName, Dimensions, Period, Namespace, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the Metrics array.

" + "PutMetricAlarmInput$Metrics": "

An array of MetricDataQuery structures that enable you to create an alarm based on the result of a metric math expression. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

Each item in the Metrics array either retrieves a metric or performs a math expression.

One item in the Metrics array is the expression that the alarm watches. You designate this expression by setting ReturnData to true for this object in the array. For more information, see MetricDataQuery.

If you use the Metrics parameter, you cannot include the Namespace, MetricName, Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the Metrics array.

" } }, "MetricDataQuery": { @@ -1225,7 +1225,7 @@ "MetricStreamFilterMetricNames$member": null, "MetricStreamStatisticsMetric$MetricName": "

The name of the metric.

", "PutAnomalyDetectorInput$MetricName": "

The name of the metric to create the anomaly detection model for.

", - "PutMetricAlarmInput$MetricName": "

The name for the metric associated with the alarm. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the Dimensions, Period, Namespace, Statistic, or ExtendedStatistic parameters. Instead, you specify all this information in the Metrics array.

", + "PutMetricAlarmInput$MetricName": "

The name for the metric associated with the alarm. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the Namespace, Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters. Instead, you specify all this information in the Metrics array.

", "SingleMetricAnomalyDetector$MetricName": "

The name of the metric to create the anomaly detection model for.

" } }, @@ -1289,9 +1289,9 @@ "MetricStreamOutputFormat": { "base": null, "refs": { - "GetMetricStreamOutput$OutputFormat": "

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

", - "MetricStreamEntry$OutputFormat": "

The output format of this metric stream. Valid values are json and opentelemetry0.7.

", - "PutMetricStreamInput$OutputFormat": "

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

" + "GetMetricStreamOutput$OutputFormat": "

The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

", + "MetricStreamEntry$OutputFormat": "

The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7.

", + "PutMetricStreamInput$OutputFormat": "

The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

" } }, "MetricStreamState": { @@ -1310,7 +1310,7 @@ "MetricStreamStatisticsAdditionalStatistics": { "base": null, "refs": { - "MetricStreamStatisticsConfiguration$AdditionalStatistics": "

The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

" + "MetricStreamStatisticsConfiguration$AdditionalStatistics": "

The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

" } }, "MetricStreamStatisticsConfiguration": { @@ -1323,7 +1323,7 @@ "base": null, "refs": { "GetMetricStreamOutput$StatisticsConfigurations": "

Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.

", - "PutMetricStreamInput$StatisticsConfigurations": "

By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.

For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry0.7, you can stream percentile statistics such as p95, p99.9, and so on.

" + "PutMetricStreamInput$StatisticsConfigurations": "

By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.

For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry1.0 or opentelemetry0.7, you can stream percentile statistics such as p95, p99.9, and so on.

" } }, "MetricStreamStatisticsIncludeMetrics": { @@ -1596,7 +1596,7 @@ "MetricAlarm$Unit": "

The unit of the metric associated with the alarm.

", "MetricDatum$Unit": "

When you are using a Put operation, this defines what unit you want to use when storing the metric.

In a Get operation, this displays the unit that is used for the metric.

", "MetricStat$Unit": "

When you are using a Put operation, this defines what unit you want to use when storing the metric.

In a Get operation, if you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

", - "PutMetricAlarmInput$Unit": "

The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately.

If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended.

However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably.

We recommend omitting Unit so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the INSUFFICIENT DATA state.

" + "PutMetricAlarmInput$Unit": "

The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately. If you are creating an alarm based on a metric math expression, you can specify the unit for each metric (if needed) within the objects in the Metrics array.

If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended.

However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably.

We recommend omitting Unit so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the INSUFFICIENT DATA state.

" } }, "StartMetricStreamsInput": { diff --git a/models/apis/monitoring/2010-08-01/endpoint-rule-set-1.json b/models/apis/monitoring/2010-08-01/endpoint-rule-set-1.json index 39504ccc876..d88fc982878 100644 --- a/models/apis/monitoring/2010-08-01/endpoint-rule-set-1.json +++ b/models/apis/monitoring/2010-08-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index 24b01b571a9..26f1338e589 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -7453,9 +7453,9 @@ type GetMetricStreamOutput struct { // The name of the metric stream. Name *string `min:"1" type:"string"` - // The output format for the stream. Valid values are json and opentelemetry0.7. - // For more information about metric stream output formats, see Metric streams - // output formats (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). + // The output format for the stream. Valid values are json, opentelemetry1.0, + // and opentelemetry0.7. For more information about metric stream output formats, + // see Metric streams output formats (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). OutputFormat *string `min:"1" type:"string" enum:"MetricStreamOutputFormat"` // The ARN of the IAM role that is used by this metric stream. @@ -9894,7 +9894,8 @@ type MetricStreamEntry struct { // The name of the metric stream. Name *string `min:"1" type:"string"` - // The output format of this metric stream. Valid values are json and opentelemetry0.7. + // The output format of this metric stream. Valid values are json, opentelemetry1.0, + // and opentelemetry0.7. OutputFormat *string `min:"1" type:"string" enum:"MetricStreamOutputFormat"` // The current state of this stream. Valid values are running and stopped. @@ -10044,8 +10045,9 @@ type MetricStreamStatisticsConfiguration struct { // listed in the IncludeMetrics array in this structure. This list can include // as many as 20 statistics. // - // If the OutputFormat for the stream is opentelemetry0.7, the only valid values - // are p?? percentile statistics such as p90, p99 and so on. + // If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, + // the only valid values are p?? percentile statistics such as p90, p99 and + // so on. // // If the OutputFormat for the stream is json, the valid values include the // abbreviations for all of the statistics listed in CloudWatch statistics definitions @@ -11195,9 +11197,9 @@ type PutMetricAlarmInput struct { // operation, you must specify either MetricName or a Metrics array. // // If you are creating an alarm based on a math expression, you cannot specify - // this parameter, or any of the Dimensions, Period, Namespace, Statistic, or - // ExtendedStatistic parameters. Instead, you specify all this information in - // the Metrics array. + // this parameter, or any of the Namespace, Dimensions, Period, Unit, Statistic, + // or ExtendedStatistic parameters. Instead, you specify all this information + // in the Metrics array. MetricName *string `min:"1" type:"string"` // An array of MetricDataQuery structures that enable you to create an alarm @@ -11211,8 +11213,8 @@ type PutMetricAlarmInput struct { // designate this expression by setting ReturnData to true for this object in // the array. For more information, see MetricDataQuery (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDataQuery.html). // - // If you use the Metrics parameter, you cannot include the MetricName, Dimensions, - // Period, Namespace, Statistic, or ExtendedStatistic parameters of PutMetricAlarm + // If you use the Metrics parameter, you cannot include the Namespace, MetricName, + // Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters of PutMetricAlarm // in the same operation. Instead, you retrieve the metrics you are using in // your math expression as part of the Metrics array. Metrics []*MetricDataQuery `type:"list"` @@ -11330,7 +11332,9 @@ type PutMetricAlarmInput struct { // that an instance receives on all network interfaces. You can also specify // a unit when you create a custom metric. Units help provide conceptual meaning // to your data. Metric data points that specify a unit of measure, such as - // Percent, are aggregated separately. + // Percent, are aggregated separately. If you are creating an alarm based on + // a metric math expression, you can specify the unit for each metric (if needed) + // within the objects in the Metrics array. // // If you don't specify Unit, CloudWatch retrieves all unit types that have // been published for the metric and attempts to evaluate the alarm. Usually, @@ -11731,9 +11735,9 @@ type PutMetricStreamInput struct { // Name is a required field Name *string `min:"1" type:"string" required:"true"` - // The output format for the stream. Valid values are json and opentelemetry0.7. - // For more information about metric stream output formats, see Metric streams - // output formats (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). + // The output format for the stream. Valid values are json, opentelemetry1.0, + // and opentelemetry0.7. For more information about metric stream output formats, + // see Metric streams output formats (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). // // OutputFormat is a required field OutputFormat *string `min:"1" type:"string" required:"true" enum:"MetricStreamOutputFormat"` @@ -11760,8 +11764,8 @@ type PutMetricStreamInput struct { // that you can stream depend on the stream's OutputFormat. If the OutputFormat // is json, you can stream any additional statistic that is supported by CloudWatch, // listed in CloudWatch statistics definitions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html). - // If the OutputFormat is opentelemetry0.7, you can stream percentile statistics - // such as p95, p99.9, and so on. + // If the OutputFormat is opentelemetry1.0 or opentelemetry0.7, you can stream + // percentile statistics such as p95, p99.9, and so on. StatisticsConfigurations []*MetricStreamStatisticsConfiguration `type:"list"` // A list of key-value pairs to associate with the metric stream. You can associate @@ -12858,6 +12862,9 @@ const ( // MetricStreamOutputFormatOpentelemetry07 is a MetricStreamOutputFormat enum value MetricStreamOutputFormatOpentelemetry07 = "opentelemetry0.7" + + // MetricStreamOutputFormatOpentelemetry10 is a MetricStreamOutputFormat enum value + MetricStreamOutputFormatOpentelemetry10 = "opentelemetry1.0" ) // MetricStreamOutputFormat_Values returns all elements of the MetricStreamOutputFormat enum @@ -12865,6 +12872,7 @@ func MetricStreamOutputFormat_Values() []string { return []string{ MetricStreamOutputFormatJson, MetricStreamOutputFormatOpentelemetry07, + MetricStreamOutputFormatOpentelemetry10, } } diff --git a/service/ec2/api.go b/service/ec2/api.go index b2008fba6cf..6d7aa0c0ace 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -194347,6 +194347,33 @@ const ( // InstanceTypeDl2q24xlarge is a InstanceType enum value InstanceTypeDl2q24xlarge = "dl2q.24xlarge" + + // InstanceTypeMac2M2Metal is a InstanceType enum value + InstanceTypeMac2M2Metal = "mac2-m2.metal" + + // InstanceTypeI4i12xlarge is a InstanceType enum value + InstanceTypeI4i12xlarge = "i4i.12xlarge" + + // InstanceTypeI4i24xlarge is a InstanceType enum value + InstanceTypeI4i24xlarge = "i4i.24xlarge" + + // InstanceTypeC7iMetal24xl is a InstanceType enum value + InstanceTypeC7iMetal24xl = "c7i.metal-24xl" + + // InstanceTypeC7iMetal48xl is a InstanceType enum value + InstanceTypeC7iMetal48xl = "c7i.metal-48xl" + + // InstanceTypeM7iMetal24xl is a InstanceType enum value + InstanceTypeM7iMetal24xl = "m7i.metal-24xl" + + // InstanceTypeM7iMetal48xl is a InstanceType enum value + InstanceTypeM7iMetal48xl = "m7i.metal-48xl" + + // InstanceTypeR7iMetal24xl is a InstanceType enum value + InstanceTypeR7iMetal24xl = "r7i.metal-24xl" + + // InstanceTypeR7iMetal48xl is a InstanceType enum value + InstanceTypeR7iMetal48xl = "r7i.metal-48xl" ) // InstanceType_Values returns all elements of the InstanceType enum @@ -195124,6 +195151,15 @@ func InstanceType_Values() []string { InstanceTypeR7i24xlarge, InstanceTypeR7i48xlarge, InstanceTypeDl2q24xlarge, + InstanceTypeMac2M2Metal, + InstanceTypeI4i12xlarge, + InstanceTypeI4i24xlarge, + InstanceTypeC7iMetal24xl, + InstanceTypeC7iMetal48xl, + InstanceTypeM7iMetal24xl, + InstanceTypeM7iMetal48xl, + InstanceTypeR7iMetal24xl, + InstanceTypeR7iMetal48xl, } } diff --git a/service/finspace/api.go b/service/finspace/api.go index 806a0eb2388..2dbea1676d6 100644 --- a/service/finspace/api.go +++ b/service/finspace/api.go @@ -420,6 +420,110 @@ func (c *Finspace) CreateKxDatabaseWithContext(ctx aws.Context, input *CreateKxD return out, req.Send() } +const opCreateKxDataview = "CreateKxDataview" + +// CreateKxDataviewRequest generates a "aws/request.Request" representing the +// client's request for the CreateKxDataview operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateKxDataview for more information on using the CreateKxDataview +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateKxDataviewRequest method. +// req, resp := client.CreateKxDataviewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateKxDataview +func (c *Finspace) CreateKxDataviewRequest(input *CreateKxDataviewInput) (req *request.Request, output *CreateKxDataviewOutput) { + op := &request.Operation{ + Name: opCreateKxDataview, + HTTPMethod: "POST", + HTTPPath: "/kx/environments/{environmentId}/databases/{databaseName}/dataviews", + } + + if input == nil { + input = &CreateKxDataviewInput{} + } + + output = &CreateKxDataviewOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateKxDataview API operation for FinSpace User Environment Management service. +// +// Creates a snapshot of kdb database with tiered storage capabilities and a +// pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only +// available for clusters running on a scaling group. They are not supported +// on dedicated clusters. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation CreateKxDataview for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ResourceAlreadyExistsException +// The specified resource group already exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateKxDataview +func (c *Finspace) CreateKxDataview(input *CreateKxDataviewInput) (*CreateKxDataviewOutput, error) { + req, out := c.CreateKxDataviewRequest(input) + return out, req.Send() +} + +// CreateKxDataviewWithContext is the same as CreateKxDataview with the addition of +// the ability to pass a context and additional request options. +// +// See CreateKxDataview for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) CreateKxDataviewWithContext(ctx aws.Context, input *CreateKxDataviewInput, opts ...request.Option) (*CreateKxDataviewOutput, error) { + req, out := c.CreateKxDataviewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateKxEnvironment = "CreateKxEnvironment" // CreateKxEnvironmentRequest generates a "aws/request.Request" representing the @@ -520,6 +624,107 @@ func (c *Finspace) CreateKxEnvironmentWithContext(ctx aws.Context, input *Create return out, req.Send() } +const opCreateKxScalingGroup = "CreateKxScalingGroup" + +// CreateKxScalingGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateKxScalingGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateKxScalingGroup for more information on using the CreateKxScalingGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateKxScalingGroupRequest method. +// req, resp := client.CreateKxScalingGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateKxScalingGroup +func (c *Finspace) CreateKxScalingGroupRequest(input *CreateKxScalingGroupInput) (req *request.Request, output *CreateKxScalingGroupOutput) { + op := &request.Operation{ + Name: opCreateKxScalingGroup, + HTTPMethod: "POST", + HTTPPath: "/kx/environments/{environmentId}/scalingGroups", + } + + if input == nil { + input = &CreateKxScalingGroupInput{} + } + + output = &CreateKxScalingGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateKxScalingGroup API operation for FinSpace User Environment Management service. +// +// Creates a new scaling group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation CreateKxScalingGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateKxScalingGroup +func (c *Finspace) CreateKxScalingGroup(input *CreateKxScalingGroupInput) (*CreateKxScalingGroupOutput, error) { + req, out := c.CreateKxScalingGroupRequest(input) + return out, req.Send() +} + +// CreateKxScalingGroupWithContext is the same as CreateKxScalingGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateKxScalingGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) CreateKxScalingGroupWithContext(ctx aws.Context, input *CreateKxScalingGroupInput, opts ...request.Option) (*CreateKxScalingGroupOutput, error) { + req, out := c.CreateKxScalingGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateKxUser = "CreateKxUser" // CreateKxUserRequest generates a "aws/request.Request" representing the @@ -621,6 +826,110 @@ func (c *Finspace) CreateKxUserWithContext(ctx aws.Context, input *CreateKxUserI return out, req.Send() } +const opCreateKxVolume = "CreateKxVolume" + +// CreateKxVolumeRequest generates a "aws/request.Request" representing the +// client's request for the CreateKxVolume operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateKxVolume for more information on using the CreateKxVolume +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateKxVolumeRequest method. +// req, resp := client.CreateKxVolumeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateKxVolume +func (c *Finspace) CreateKxVolumeRequest(input *CreateKxVolumeInput) (req *request.Request, output *CreateKxVolumeOutput) { + op := &request.Operation{ + Name: opCreateKxVolume, + HTTPMethod: "POST", + HTTPPath: "/kx/environments/{environmentId}/kxvolumes", + } + + if input == nil { + input = &CreateKxVolumeInput{} + } + + output = &CreateKxVolumeOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateKxVolume API operation for FinSpace User Environment Management service. +// +// Creates a new volume with a specific amount of throughput and storage capacity. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation CreateKxVolume for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ResourceAlreadyExistsException +// The specified resource group already exists. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateKxVolume +func (c *Finspace) CreateKxVolume(input *CreateKxVolumeInput) (*CreateKxVolumeOutput, error) { + req, out := c.CreateKxVolumeRequest(input) + return out, req.Send() +} + +// CreateKxVolumeWithContext is the same as CreateKxVolume with the addition of +// the ability to pass a context and additional request options. +// +// See CreateKxVolume for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) CreateKxVolumeWithContext(ctx aws.Context, input *CreateKxVolumeInput, opts ...request.Option) (*CreateKxVolumeOutput, error) { + req, out := c.CreateKxVolumeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteEnvironment = "DeleteEnvironment" // DeleteEnvironmentRequest generates a "aws/request.Request" representing the @@ -920,53 +1229,150 @@ func (c *Finspace) DeleteKxDatabaseWithContext(ctx aws.Context, input *DeleteKxD return out, req.Send() } -const opDeleteKxEnvironment = "DeleteKxEnvironment" +const opDeleteKxDataview = "DeleteKxDataview" -// DeleteKxEnvironmentRequest generates a "aws/request.Request" representing the -// client's request for the DeleteKxEnvironment operation. The "output" return +// DeleteKxDataviewRequest generates a "aws/request.Request" representing the +// client's request for the DeleteKxDataview operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteKxEnvironment for more information on using the DeleteKxEnvironment +// See DeleteKxDataview for more information on using the DeleteKxDataview // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteKxEnvironmentRequest method. -// req, resp := client.DeleteKxEnvironmentRequest(params) +// // Example sending a request using the DeleteKxDataviewRequest method. +// req, resp := client.DeleteKxDataviewRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxEnvironment -func (c *Finspace) DeleteKxEnvironmentRequest(input *DeleteKxEnvironmentInput) (req *request.Request, output *DeleteKxEnvironmentOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxDataview +func (c *Finspace) DeleteKxDataviewRequest(input *DeleteKxDataviewInput) (req *request.Request, output *DeleteKxDataviewOutput) { op := &request.Operation{ - Name: opDeleteKxEnvironment, + Name: opDeleteKxDataview, HTTPMethod: "DELETE", - HTTPPath: "/kx/environments/{environmentId}", + HTTPPath: "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", } if input == nil { - input = &DeleteKxEnvironmentInput{} + input = &DeleteKxDataviewInput{} } - output = &DeleteKxEnvironmentOutput{} + output = &DeleteKxDataviewOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteKxEnvironment API operation for FinSpace User Environment Management service. +// DeleteKxDataview API operation for FinSpace User Environment Management service. // -// Deletes the kdb environment. This action is irreversible. Deleting a kdb -// environment will remove all the associated data and any services running -// in it. +// Deletes the specified dataview. Before deleting a dataview, make sure that +// it is not in use by any cluster. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation DeleteKxDataview for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxDataview +func (c *Finspace) DeleteKxDataview(input *DeleteKxDataviewInput) (*DeleteKxDataviewOutput, error) { + req, out := c.DeleteKxDataviewRequest(input) + return out, req.Send() +} + +// DeleteKxDataviewWithContext is the same as DeleteKxDataview with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteKxDataview for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) DeleteKxDataviewWithContext(ctx aws.Context, input *DeleteKxDataviewInput, opts ...request.Option) (*DeleteKxDataviewOutput, error) { + req, out := c.DeleteKxDataviewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteKxEnvironment = "DeleteKxEnvironment" + +// DeleteKxEnvironmentRequest generates a "aws/request.Request" representing the +// client's request for the DeleteKxEnvironment operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteKxEnvironment for more information on using the DeleteKxEnvironment +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteKxEnvironmentRequest method. +// req, resp := client.DeleteKxEnvironmentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxEnvironment +func (c *Finspace) DeleteKxEnvironmentRequest(input *DeleteKxEnvironmentInput) (req *request.Request, output *DeleteKxEnvironmentOutput) { + op := &request.Operation{ + Name: opDeleteKxEnvironment, + HTTPMethod: "DELETE", + HTTPPath: "/kx/environments/{environmentId}", + } + + if input == nil { + input = &DeleteKxEnvironmentInput{} + } + + output = &DeleteKxEnvironmentOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteKxEnvironment API operation for FinSpace User Environment Management service. +// +// Deletes the kdb environment. This action is irreversible. Deleting a kdb +// environment will remove all the associated data and any services running +// in it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -993,6 +1399,9 @@ func (c *Finspace) DeleteKxEnvironmentRequest(input *DeleteKxEnvironmentInput) ( // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxEnvironment func (c *Finspace) DeleteKxEnvironment(input *DeleteKxEnvironmentInput) (*DeleteKxEnvironmentOutput, error) { req, out := c.DeleteKxEnvironmentRequest(input) @@ -1015,6 +1424,106 @@ func (c *Finspace) DeleteKxEnvironmentWithContext(ctx aws.Context, input *Delete return out, req.Send() } +const opDeleteKxScalingGroup = "DeleteKxScalingGroup" + +// DeleteKxScalingGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteKxScalingGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteKxScalingGroup for more information on using the DeleteKxScalingGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteKxScalingGroupRequest method. +// req, resp := client.DeleteKxScalingGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxScalingGroup +func (c *Finspace) DeleteKxScalingGroupRequest(input *DeleteKxScalingGroupInput) (req *request.Request, output *DeleteKxScalingGroupOutput) { + op := &request.Operation{ + Name: opDeleteKxScalingGroup, + HTTPMethod: "DELETE", + HTTPPath: "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}", + } + + if input == nil { + input = &DeleteKxScalingGroupInput{} + } + + output = &DeleteKxScalingGroupOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteKxScalingGroup API operation for FinSpace User Environment Management service. +// +// Deletes the specified scaling group. This action is irreversible. You cannot +// delete a scaling group until all the clusters running on it have been deleted. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation DeleteKxScalingGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxScalingGroup +func (c *Finspace) DeleteKxScalingGroup(input *DeleteKxScalingGroupInput) (*DeleteKxScalingGroupOutput, error) { + req, out := c.DeleteKxScalingGroupRequest(input) + return out, req.Send() +} + +// DeleteKxScalingGroupWithContext is the same as DeleteKxScalingGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteKxScalingGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) DeleteKxScalingGroupWithContext(ctx aws.Context, input *DeleteKxScalingGroupInput, opts ...request.Option) (*DeleteKxScalingGroupOutput, error) { + req, out := c.DeleteKxScalingGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteKxUser = "DeleteKxUser" // DeleteKxUserRequest generates a "aws/request.Request" representing the @@ -1086,6 +1595,9 @@ func (c *Finspace) DeleteKxUserRequest(input *DeleteKxUserInput) (req *request.R // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxUser func (c *Finspace) DeleteKxUser(input *DeleteKxUserInput) (*DeleteKxUserOutput, error) { req, out := c.DeleteKxUserRequest(input) @@ -1108,6 +1620,107 @@ func (c *Finspace) DeleteKxUserWithContext(ctx aws.Context, input *DeleteKxUserI return out, req.Send() } +const opDeleteKxVolume = "DeleteKxVolume" + +// DeleteKxVolumeRequest generates a "aws/request.Request" representing the +// client's request for the DeleteKxVolume operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteKxVolume for more information on using the DeleteKxVolume +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteKxVolumeRequest method. +// req, resp := client.DeleteKxVolumeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxVolume +func (c *Finspace) DeleteKxVolumeRequest(input *DeleteKxVolumeInput) (req *request.Request, output *DeleteKxVolumeOutput) { + op := &request.Operation{ + Name: opDeleteKxVolume, + HTTPMethod: "DELETE", + HTTPPath: "/kx/environments/{environmentId}/kxvolumes/{volumeName}", + } + + if input == nil { + input = &DeleteKxVolumeInput{} + } + + output = &DeleteKxVolumeOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteKxVolume API operation for FinSpace User Environment Management service. +// +// Deletes a volume. You can only delete a volume if it's not attached to a +// cluster or a dataview. When a volume is deleted, any data on the volume is +// lost. This action is irreversible. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation DeleteKxVolume for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxVolume +func (c *Finspace) DeleteKxVolume(input *DeleteKxVolumeInput) (*DeleteKxVolumeOutput, error) { + req, out := c.DeleteKxVolumeRequest(input) + return out, req.Send() +} + +// DeleteKxVolumeWithContext is the same as DeleteKxVolume with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteKxVolume for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) DeleteKxVolumeWithContext(ctx aws.Context, input *DeleteKxVolumeInput, opts ...request.Option) (*DeleteKxVolumeOutput, error) { + req, out := c.DeleteKxVolumeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetEnvironment = "GetEnvironment" // GetEnvironmentRequest generates a "aws/request.Request" representing the @@ -1582,24 +2195,116 @@ func (c *Finspace) GetKxDatabaseWithContext(ctx aws.Context, input *GetKxDatabas return out, req.Send() } -const opGetKxEnvironment = "GetKxEnvironment" +const opGetKxDataview = "GetKxDataview" -// GetKxEnvironmentRequest generates a "aws/request.Request" representing the -// client's request for the GetKxEnvironment operation. The "output" return +// GetKxDataviewRequest generates a "aws/request.Request" representing the +// client's request for the GetKxDataview operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetKxEnvironment for more information on using the GetKxEnvironment +// See GetKxDataview for more information on using the GetKxDataview // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the GetKxEnvironmentRequest method. -// req, resp := client.GetKxEnvironmentRequest(params) +// // Example sending a request using the GetKxDataviewRequest method. +// req, resp := client.GetKxDataviewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxDataview +func (c *Finspace) GetKxDataviewRequest(input *GetKxDataviewInput) (req *request.Request, output *GetKxDataviewOutput) { + op := &request.Operation{ + Name: opGetKxDataview, + HTTPMethod: "GET", + HTTPPath: "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", + } + + if input == nil { + input = &GetKxDataviewInput{} + } + + output = &GetKxDataviewOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetKxDataview API operation for FinSpace User Environment Management service. +// +// Retrieves details of the dataview. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation GetKxDataview for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxDataview +func (c *Finspace) GetKxDataview(input *GetKxDataviewInput) (*GetKxDataviewOutput, error) { + req, out := c.GetKxDataviewRequest(input) + return out, req.Send() +} + +// GetKxDataviewWithContext is the same as GetKxDataview with the addition of +// the ability to pass a context and additional request options. +// +// See GetKxDataview for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) GetKxDataviewWithContext(ctx aws.Context, input *GetKxDataviewInput, opts ...request.Option) (*GetKxDataviewOutput, error) { + req, out := c.GetKxDataviewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetKxEnvironment = "GetKxEnvironment" + +// GetKxEnvironmentRequest generates a "aws/request.Request" representing the +// client's request for the GetKxEnvironment operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetKxEnvironment for more information on using the GetKxEnvironment +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetKxEnvironmentRequest method. +// req, resp := client.GetKxEnvironmentRequest(params) // // err := req.Send() // if err == nil { // resp is now filled @@ -1649,6 +2354,9 @@ func (c *Finspace) GetKxEnvironmentRequest(input *GetKxEnvironmentInput) (req *r // - AccessDeniedException // You do not have sufficient access to perform this action. // +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxEnvironment func (c *Finspace) GetKxEnvironment(input *GetKxEnvironmentInput) (*GetKxEnvironmentOutput, error) { req, out := c.GetKxEnvironmentRequest(input) @@ -1671,6 +2379,104 @@ func (c *Finspace) GetKxEnvironmentWithContext(ctx aws.Context, input *GetKxEnvi return out, req.Send() } +const opGetKxScalingGroup = "GetKxScalingGroup" + +// GetKxScalingGroupRequest generates a "aws/request.Request" representing the +// client's request for the GetKxScalingGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetKxScalingGroup for more information on using the GetKxScalingGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetKxScalingGroupRequest method. +// req, resp := client.GetKxScalingGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxScalingGroup +func (c *Finspace) GetKxScalingGroupRequest(input *GetKxScalingGroupInput) (req *request.Request, output *GetKxScalingGroupOutput) { + op := &request.Operation{ + Name: opGetKxScalingGroup, + HTTPMethod: "GET", + HTTPPath: "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}", + } + + if input == nil { + input = &GetKxScalingGroupInput{} + } + + output = &GetKxScalingGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetKxScalingGroup API operation for FinSpace User Environment Management service. +// +// Retrieves details of a scaling group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation GetKxScalingGroup for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxScalingGroup +func (c *Finspace) GetKxScalingGroup(input *GetKxScalingGroupInput) (*GetKxScalingGroupOutput, error) { + req, out := c.GetKxScalingGroupRequest(input) + return out, req.Send() +} + +// GetKxScalingGroupWithContext is the same as GetKxScalingGroup with the addition of +// the ability to pass a context and additional request options. +// +// See GetKxScalingGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) GetKxScalingGroupWithContext(ctx aws.Context, input *GetKxScalingGroupInput, opts ...request.Option) (*GetKxScalingGroupOutput, error) { + req, out := c.GetKxScalingGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetKxUser = "GetKxUser" // GetKxUserRequest generates a "aws/request.Request" representing the @@ -1763,6 +2569,104 @@ func (c *Finspace) GetKxUserWithContext(ctx aws.Context, input *GetKxUserInput, return out, req.Send() } +const opGetKxVolume = "GetKxVolume" + +// GetKxVolumeRequest generates a "aws/request.Request" representing the +// client's request for the GetKxVolume operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetKxVolume for more information on using the GetKxVolume +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetKxVolumeRequest method. +// req, resp := client.GetKxVolumeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxVolume +func (c *Finspace) GetKxVolumeRequest(input *GetKxVolumeInput) (req *request.Request, output *GetKxVolumeOutput) { + op := &request.Operation{ + Name: opGetKxVolume, + HTTPMethod: "GET", + HTTPPath: "/kx/environments/{environmentId}/kxvolumes/{volumeName}", + } + + if input == nil { + input = &GetKxVolumeInput{} + } + + output = &GetKxVolumeOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetKxVolume API operation for FinSpace User Environment Management service. +// +// Retrieves the information about the volume. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation GetKxVolume for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetKxVolume +func (c *Finspace) GetKxVolume(input *GetKxVolumeInput) (*GetKxVolumeOutput, error) { + req, out := c.GetKxVolumeRequest(input) + return out, req.Send() +} + +// GetKxVolumeWithContext is the same as GetKxVolume with the addition of +// the ability to pass a context and additional request options. +// +// See GetKxVolume for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) GetKxVolumeWithContext(ctx aws.Context, input *GetKxVolumeInput, opts ...request.Option) (*GetKxVolumeOutput, error) { + req, out := c.GetKxVolumeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListEnvironments = "ListEnvironments" // ListEnvironmentsRequest generates a "aws/request.Request" representing the @@ -1829,6 +2733,9 @@ func (c *Finspace) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *r // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListEnvironments // // Deprecated: This method will be discontinued. @@ -2403,36 +3310,36 @@ func (c *Finspace) ListKxDatabasesPagesWithContext(ctx aws.Context, input *ListK return p.Err() } -const opListKxEnvironments = "ListKxEnvironments" +const opListKxDataviews = "ListKxDataviews" -// ListKxEnvironmentsRequest generates a "aws/request.Request" representing the -// client's request for the ListKxEnvironments operation. The "output" return +// ListKxDataviewsRequest generates a "aws/request.Request" representing the +// client's request for the ListKxDataviews operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListKxEnvironments for more information on using the ListKxEnvironments +// See ListKxDataviews for more information on using the ListKxDataviews // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListKxEnvironmentsRequest method. -// req, resp := client.ListKxEnvironmentsRequest(params) +// // Example sending a request using the ListKxDataviewsRequest method. +// req, resp := client.ListKxDataviewsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxEnvironments -func (c *Finspace) ListKxEnvironmentsRequest(input *ListKxEnvironmentsInput) (req *request.Request, output *ListKxEnvironmentsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxDataviews +func (c *Finspace) ListKxDataviewsRequest(input *ListKxDataviewsInput) (req *request.Request, output *ListKxDataviewsOutput) { op := &request.Operation{ - Name: opListKxEnvironments, + Name: opListKxDataviews, HTTPMethod: "GET", - HTTPPath: "/kx/environments", + HTTPPath: "/kx/environments/{environmentId}/databases/{databaseName}/dataviews", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -2442,24 +3349,24 @@ func (c *Finspace) ListKxEnvironmentsRequest(input *ListKxEnvironmentsInput) (re } if input == nil { - input = &ListKxEnvironmentsInput{} + input = &ListKxDataviewsInput{} } - output = &ListKxEnvironmentsOutput{} + output = &ListKxDataviewsOutput{} req = c.newRequest(op, input, output) return } -// ListKxEnvironments API operation for FinSpace User Environment Management service. +// ListKxDataviews API operation for FinSpace User Environment Management service. // -// Returns a list of kdb environments created in an account. +// Returns a list of all the dataviews in the database. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for FinSpace User Environment Management service's -// API operation ListKxEnvironments for usage and error information. +// API operation ListKxDataviews for usage and error information. // // Returned Error Types: // @@ -2470,64 +3377,73 @@ func (c *Finspace) ListKxEnvironmentsRequest(input *ListKxEnvironmentsInput) (re // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxEnvironments -func (c *Finspace) ListKxEnvironments(input *ListKxEnvironmentsInput) (*ListKxEnvironmentsOutput, error) { - req, out := c.ListKxEnvironmentsRequest(input) - return out, req.Send() -} - -// ListKxEnvironmentsWithContext is the same as ListKxEnvironments with the addition of +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxDataviews +func (c *Finspace) ListKxDataviews(input *ListKxDataviewsInput) (*ListKxDataviewsOutput, error) { + req, out := c.ListKxDataviewsRequest(input) + return out, req.Send() +} + +// ListKxDataviewsWithContext is the same as ListKxDataviews with the addition of // the ability to pass a context and additional request options. // -// See ListKxEnvironments for details on how to use this API operation. +// See ListKxDataviews for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Finspace) ListKxEnvironmentsWithContext(ctx aws.Context, input *ListKxEnvironmentsInput, opts ...request.Option) (*ListKxEnvironmentsOutput, error) { - req, out := c.ListKxEnvironmentsRequest(input) +func (c *Finspace) ListKxDataviewsWithContext(ctx aws.Context, input *ListKxDataviewsInput, opts ...request.Option) (*ListKxDataviewsOutput, error) { + req, out := c.ListKxDataviewsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListKxEnvironmentsPages iterates over the pages of a ListKxEnvironments operation, +// ListKxDataviewsPages iterates over the pages of a ListKxDataviews operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListKxEnvironments method for more information on how to use this operation. +// See ListKxDataviews method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKxEnvironments operation. +// // Example iterating over at most 3 pages of a ListKxDataviews operation. // pageNum := 0 -// err := client.ListKxEnvironmentsPages(params, -// func(page *finspace.ListKxEnvironmentsOutput, lastPage bool) bool { +// err := client.ListKxDataviewsPages(params, +// func(page *finspace.ListKxDataviewsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *Finspace) ListKxEnvironmentsPages(input *ListKxEnvironmentsInput, fn func(*ListKxEnvironmentsOutput, bool) bool) error { - return c.ListKxEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *Finspace) ListKxDataviewsPages(input *ListKxDataviewsInput, fn func(*ListKxDataviewsOutput, bool) bool) error { + return c.ListKxDataviewsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListKxEnvironmentsPagesWithContext same as ListKxEnvironmentsPages except +// ListKxDataviewsPagesWithContext same as ListKxDataviewsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Finspace) ListKxEnvironmentsPagesWithContext(ctx aws.Context, input *ListKxEnvironmentsInput, fn func(*ListKxEnvironmentsOutput, bool) bool, opts ...request.Option) error { +func (c *Finspace) ListKxDataviewsPagesWithContext(ctx aws.Context, input *ListKxDataviewsInput, fn func(*ListKxDataviewsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListKxEnvironmentsInput + var inCpy *ListKxDataviewsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListKxEnvironmentsRequest(inCpy) + req, _ := c.ListKxDataviewsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -2535,7 +3451,7 @@ func (c *Finspace) ListKxEnvironmentsPagesWithContext(ctx aws.Context, input *Li } for p.Next() { - if !fn(p.Page().(*ListKxEnvironmentsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListKxDataviewsOutput), !p.HasNextPage()) { break } } @@ -2543,149 +3459,206 @@ func (c *Finspace) ListKxEnvironmentsPagesWithContext(ctx aws.Context, input *Li return p.Err() } -const opListKxUsers = "ListKxUsers" +const opListKxEnvironments = "ListKxEnvironments" -// ListKxUsersRequest generates a "aws/request.Request" representing the -// client's request for the ListKxUsers operation. The "output" return +// ListKxEnvironmentsRequest generates a "aws/request.Request" representing the +// client's request for the ListKxEnvironments operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListKxUsers for more information on using the ListKxUsers +// See ListKxEnvironments for more information on using the ListKxEnvironments // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListKxUsersRequest method. -// req, resp := client.ListKxUsersRequest(params) +// // Example sending a request using the ListKxEnvironmentsRequest method. +// req, resp := client.ListKxEnvironmentsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxUsers -func (c *Finspace) ListKxUsersRequest(input *ListKxUsersInput) (req *request.Request, output *ListKxUsersOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxEnvironments +func (c *Finspace) ListKxEnvironmentsRequest(input *ListKxEnvironmentsInput) (req *request.Request, output *ListKxEnvironmentsOutput) { op := &request.Operation{ - Name: opListKxUsers, + Name: opListKxEnvironments, HTTPMethod: "GET", - HTTPPath: "/kx/environments/{environmentId}/users", + HTTPPath: "/kx/environments", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListKxUsersInput{} + input = &ListKxEnvironmentsInput{} } - output = &ListKxUsersOutput{} + output = &ListKxEnvironmentsOutput{} req = c.newRequest(op, input, output) return } -// ListKxUsers API operation for FinSpace User Environment Management service. +// ListKxEnvironments API operation for FinSpace User Environment Management service. // -// Lists all the users in a kdb environment. +// Returns a list of kdb environments created in an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for FinSpace User Environment Management service's -// API operation ListKxUsers for usage and error information. +// API operation ListKxEnvironments for usage and error information. // // Returned Error Types: // -// - ResourceNotFoundException -// One or more resources can't be found. -// // - InternalServerException // The request processing has failed because of an unknown error, exception // or failure. // -// - ThrottlingException -// The request was denied due to request throttling. -// // - AccessDeniedException // You do not have sufficient access to perform this action. // // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxUsers -func (c *Finspace) ListKxUsers(input *ListKxUsersInput) (*ListKxUsersOutput, error) { - req, out := c.ListKxUsersRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxEnvironments +func (c *Finspace) ListKxEnvironments(input *ListKxEnvironmentsInput) (*ListKxEnvironmentsOutput, error) { + req, out := c.ListKxEnvironmentsRequest(input) return out, req.Send() } -// ListKxUsersWithContext is the same as ListKxUsers with the addition of +// ListKxEnvironmentsWithContext is the same as ListKxEnvironments with the addition of // the ability to pass a context and additional request options. // -// See ListKxUsers for details on how to use this API operation. +// See ListKxEnvironments for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Finspace) ListKxUsersWithContext(ctx aws.Context, input *ListKxUsersInput, opts ...request.Option) (*ListKxUsersOutput, error) { - req, out := c.ListKxUsersRequest(input) +func (c *Finspace) ListKxEnvironmentsWithContext(ctx aws.Context, input *ListKxEnvironmentsInput, opts ...request.Option) (*ListKxEnvironmentsOutput, error) { + req, out := c.ListKxEnvironmentsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListTagsForResource = "ListTagsForResource" +// ListKxEnvironmentsPages iterates over the pages of a ListKxEnvironments operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListKxEnvironments method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListKxEnvironments operation. +// pageNum := 0 +// err := client.ListKxEnvironmentsPages(params, +// func(page *finspace.ListKxEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Finspace) ListKxEnvironmentsPages(input *ListKxEnvironmentsInput, fn func(*ListKxEnvironmentsOutput, bool) bool) error { + return c.ListKxEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListKxEnvironmentsPagesWithContext same as ListKxEnvironmentsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) ListKxEnvironmentsPagesWithContext(ctx aws.Context, input *ListKxEnvironmentsInput, fn func(*ListKxEnvironmentsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListKxEnvironmentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListKxEnvironmentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListKxEnvironmentsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListKxScalingGroups = "ListKxScalingGroups" + +// ListKxScalingGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListKxScalingGroups operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTagsForResource for more information on using the ListTagsForResource +// See ListKxScalingGroups for more information on using the ListKxScalingGroups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListKxScalingGroupsRequest method. +// req, resp := client.ListKxScalingGroupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResource -func (c *Finspace) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxScalingGroups +func (c *Finspace) ListKxScalingGroupsRequest(input *ListKxScalingGroupsInput) (req *request.Request, output *ListKxScalingGroupsOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListKxScalingGroups, HTTPMethod: "GET", - HTTPPath: "/tags/{resourceArn}", + HTTPPath: "/kx/environments/{environmentId}/scalingGroups", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListKxScalingGroupsInput{} } - output = &ListTagsForResourceOutput{} + output = &ListKxScalingGroupsOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for FinSpace User Environment Management service. +// ListKxScalingGroups API operation for FinSpace User Environment Management service. // -// A list of all tags for a resource. +// Returns a list of scaling groups in a kdb environment. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for FinSpace User Environment Management service's -// API operation ListTagsForResource for usage and error information. +// API operation ListKxScalingGroups for usage and error information. // // Returned Error Types: // @@ -2693,96 +3666,435 @@ func (c *Finspace) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // The request processing has failed because of an unknown error, exception // or failure. // -// - InvalidRequestException -// The request is invalid. Something is wrong with the input to the request. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. // // - ResourceNotFoundException // One or more resources can't be found. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResource -func (c *Finspace) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxScalingGroups +func (c *Finspace) ListKxScalingGroups(input *ListKxScalingGroupsInput) (*ListKxScalingGroupsOutput, error) { + req, out := c.ListKxScalingGroupsRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListKxScalingGroupsWithContext is the same as ListKxScalingGroups with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListKxScalingGroups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Finspace) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *Finspace) ListKxScalingGroupsWithContext(ctx aws.Context, input *ListKxScalingGroupsInput, opts ...request.Option) (*ListKxScalingGroupsOutput, error) { + req, out := c.ListKxScalingGroupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTagResource = "TagResource" +// ListKxScalingGroupsPages iterates over the pages of a ListKxScalingGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListKxScalingGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListKxScalingGroups operation. +// pageNum := 0 +// err := client.ListKxScalingGroupsPages(params, +// func(page *finspace.ListKxScalingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Finspace) ListKxScalingGroupsPages(input *ListKxScalingGroupsInput, fn func(*ListKxScalingGroupsOutput, bool) bool) error { + return c.ListKxScalingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// ListKxScalingGroupsPagesWithContext same as ListKxScalingGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) ListKxScalingGroupsPagesWithContext(ctx aws.Context, input *ListKxScalingGroupsInput, fn func(*ListKxScalingGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListKxScalingGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListKxScalingGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListKxScalingGroupsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListKxUsers = "ListKxUsers" + +// ListKxUsersRequest generates a "aws/request.Request" representing the +// client's request for the ListKxUsers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TagResource for more information on using the TagResource +// See ListKxUsers for more information on using the ListKxUsers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the ListKxUsersRequest method. +// req, resp := client.ListKxUsersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/TagResource -func (c *Finspace) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxUsers +func (c *Finspace) ListKxUsersRequest(input *ListKxUsersInput) (req *request.Request, output *ListKxUsersOutput) { op := &request.Operation{ - Name: opTagResource, - HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", + Name: opListKxUsers, + HTTPMethod: "GET", + HTTPPath: "/kx/environments/{environmentId}/users", } if input == nil { - input = &TagResourceInput{} + input = &ListKxUsersInput{} } - output = &TagResourceOutput{} + output = &ListKxUsersOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for FinSpace User Environment Management service. +// ListKxUsers API operation for FinSpace User Environment Management service. // -// Adds metadata tags to a FinSpace resource. +// Lists all the users in a kdb environment. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for FinSpace User Environment Management service's -// API operation TagResource for usage and error information. +// API operation ListKxUsers for usage and error information. // // Returned Error Types: // +// - ResourceNotFoundException +// One or more resources can't be found. +// // - InternalServerException // The request processing has failed because of an unknown error, exception // or failure. // -// - InvalidRequestException -// The request is invalid. Something is wrong with the input to the request. -// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxUsers +func (c *Finspace) ListKxUsers(input *ListKxUsersInput) (*ListKxUsersOutput, error) { + req, out := c.ListKxUsersRequest(input) + return out, req.Send() +} + +// ListKxUsersWithContext is the same as ListKxUsers with the addition of +// the ability to pass a context and additional request options. +// +// See ListKxUsers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) ListKxUsersWithContext(ctx aws.Context, input *ListKxUsersInput, opts ...request.Option) (*ListKxUsersOutput, error) { + req, out := c.ListKxUsersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListKxVolumes = "ListKxVolumes" + +// ListKxVolumesRequest generates a "aws/request.Request" representing the +// client's request for the ListKxVolumes operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListKxVolumes for more information on using the ListKxVolumes +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListKxVolumesRequest method. +// req, resp := client.ListKxVolumesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxVolumes +func (c *Finspace) ListKxVolumesRequest(input *ListKxVolumesInput) (req *request.Request, output *ListKxVolumesOutput) { + op := &request.Operation{ + Name: opListKxVolumes, + HTTPMethod: "GET", + HTTPPath: "/kx/environments/{environmentId}/kxvolumes", + } + + if input == nil { + input = &ListKxVolumesInput{} + } + + output = &ListKxVolumesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListKxVolumes API operation for FinSpace User Environment Management service. +// +// Lists all the volumes in a kdb environment. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation ListKxVolumes for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxVolumes +func (c *Finspace) ListKxVolumes(input *ListKxVolumesInput) (*ListKxVolumesOutput, error) { + req, out := c.ListKxVolumesRequest(input) + return out, req.Send() +} + +// ListKxVolumesWithContext is the same as ListKxVolumes with the addition of +// the ability to pass a context and additional request options. +// +// See ListKxVolumes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) ListKxVolumesWithContext(ctx aws.Context, input *ListKxVolumesInput, opts ...request.Option) (*ListKxVolumesOutput, error) { + req, out := c.ListKxVolumesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResource +func (c *Finspace) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for FinSpace User Environment Management service. +// +// A list of all tags for a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - InvalidRequestException +// The request is invalid. Something is wrong with the input to the request. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResource +func (c *Finspace) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/TagResource +func (c *Finspace) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for FinSpace User Environment Management service. +// +// Adds metadata tags to a FinSpace resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - InvalidRequestException +// The request is invalid. Something is wrong with the input to the request. +// // - ResourceNotFoundException // One or more resources can't be found. // @@ -3297,7 +4609,107 @@ func (c *Finspace) UpdateKxDatabaseWithContext(ctx aws.Context, input *UpdateKxD return out, req.Send() } -const opUpdateKxEnvironment = "UpdateKxEnvironment" +const opUpdateKxDataview = "UpdateKxDataview" + +// UpdateKxDataviewRequest generates a "aws/request.Request" representing the +// client's request for the UpdateKxDataview operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateKxDataview for more information on using the UpdateKxDataview +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateKxDataviewRequest method. +// req, resp := client.UpdateKxDataviewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxDataview +func (c *Finspace) UpdateKxDataviewRequest(input *UpdateKxDataviewInput) (req *request.Request, output *UpdateKxDataviewOutput) { + op := &request.Operation{ + Name: opUpdateKxDataview, + HTTPMethod: "PUT", + HTTPPath: "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", + } + + if input == nil { + input = &UpdateKxDataviewInput{} + } + + output = &UpdateKxDataviewOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateKxDataview API operation for FinSpace User Environment Management service. +// +// Updates the specified dataview. The dataviews get automatically updated when +// any new changesets are ingested. Each update of the dataview creates a new +// version, including changeset details and cache configurations +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation UpdateKxDataview for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceAlreadyExistsException +// The specified resource group already exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxDataview +func (c *Finspace) UpdateKxDataview(input *UpdateKxDataviewInput) (*UpdateKxDataviewOutput, error) { + req, out := c.UpdateKxDataviewRequest(input) + return out, req.Send() +} + +// UpdateKxDataviewWithContext is the same as UpdateKxDataview with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateKxDataview for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) UpdateKxDataviewWithContext(ctx aws.Context, input *UpdateKxDataviewInput, opts ...request.Option) (*UpdateKxDataviewOutput, error) { + req, out := c.UpdateKxDataviewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateKxEnvironment = "UpdateKxEnvironment" // UpdateKxEnvironmentRequest generates a "aws/request.Request" representing the // client's request for the UpdateKxEnvironment operation. The "output" return @@ -3593,6 +5005,106 @@ func (c *Finspace) UpdateKxUserWithContext(ctx aws.Context, input *UpdateKxUserI return out, req.Send() } +const opUpdateKxVolume = "UpdateKxVolume" + +// UpdateKxVolumeRequest generates a "aws/request.Request" representing the +// client's request for the UpdateKxVolume operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateKxVolume for more information on using the UpdateKxVolume +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateKxVolumeRequest method. +// req, resp := client.UpdateKxVolumeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxVolume +func (c *Finspace) UpdateKxVolumeRequest(input *UpdateKxVolumeInput) (req *request.Request, output *UpdateKxVolumeOutput) { + op := &request.Operation{ + Name: opUpdateKxVolume, + HTTPMethod: "PATCH", + HTTPPath: "/kx/environments/{environmentId}/kxvolumes/{volumeName}", + } + + if input == nil { + input = &UpdateKxVolumeInput{} + } + + output = &UpdateKxVolumeOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateKxVolume API operation for FinSpace User Environment Management service. +// +// Updates the throughput or capacity of a volume. During the update process, +// the filesystem might be unavailable for a few minutes. You can retry any +// operations after the update is complete. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for FinSpace User Environment Management service's +// API operation UpdateKxVolume for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - LimitExceededException +// A service limit or quota is exceeded. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// There was a conflict with this action, and it could not be completed. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateKxVolume +func (c *Finspace) UpdateKxVolume(input *UpdateKxVolumeInput) (*UpdateKxVolumeOutput, error) { + req, out := c.UpdateKxVolumeRequest(input) + return out, req.Send() +} + +// UpdateKxVolumeWithContext is the same as UpdateKxVolume with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateKxVolume for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Finspace) UpdateKxVolumeWithContext(ctx aws.Context, input *UpdateKxVolumeInput, opts ...request.Option) (*UpdateKxVolumeOutput, error) { + req, out := c.UpdateKxVolumeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // You do not have sufficient access to perform this action. type AccessDeniedException struct { _ struct{} `type:"structure"` @@ -4536,9 +6048,7 @@ type CreateKxClusterInput struct { // A structure for the metadata of a cluster. It includes information like the // CPUs needed, memory of instances, and number of instances. - // - // CapacityConfiguration is a required field - CapacityConfiguration *CapacityConfiguration `locationName:"capacityConfiguration" type:"structure" required:"true"` + CapacityConfiguration *CapacityConfiguration `locationName:"capacityConfiguration" type:"structure"` // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` @@ -4577,6 +6087,12 @@ type CreateKxClusterInput struct { // count is fixed at 1. It does not support autoscaling and supports only // SINGLE AZ mode. // + // * Tickerplant – A tickerplant cluster allows you to subscribe to feed + // handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, + // and real-time subscribers (RTS). Tickerplants can persist messages to + // log, which is readable by any RDB environment. It supports only single-node + // that is only one kdb process. + // // ClusterType is a required field ClusterType *string `locationName:"clusterType" type:"string" required:"true" enum:"KxClusterType"` @@ -4617,13 +6133,24 @@ type CreateKxClusterInput struct { // node is restarted. SavedownStorageConfiguration *KxSavedownStorageConfiguration `locationName:"savedownStorageConfiguration" type:"structure"` + // The structure that stores the configuration details of a scaling group. + ScalingGroupConfiguration *KxScalingGroupConfiguration `locationName:"scalingGroupConfiguration" type:"structure"` + // A list of key-value pairs to label the cluster. You can add up to 50 tags // to a cluster. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` + // A configuration to store Tickerplant logs. It consists of a list of volumes + // that will be mounted to your cluster. For the cluster type Tickerplant, the + // location of the TP volume on the cluster will be available by using the global + // variable .aws.tp_log_path. + TickerplantLogConfiguration *TickerplantLogConfiguration `locationName:"tickerplantLogConfiguration" type:"structure"` + // Configuration details about the network where the Privatelink endpoint of // the cluster resides. - VpcConfiguration *VpcConfiguration `locationName:"vpcConfiguration" type:"structure"` + // + // VpcConfiguration is a required field + VpcConfiguration *VpcConfiguration `locationName:"vpcConfiguration" type:"structure" required:"true"` } // String returns the string representation. @@ -4650,9 +6177,6 @@ func (s *CreateKxClusterInput) Validate() error { if s.AzMode == nil { invalidParams.Add(request.NewErrParamRequired("AzMode")) } - if s.CapacityConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("CapacityConfiguration")) - } if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } @@ -4689,6 +6213,9 @@ func (s *CreateKxClusterInput) Validate() error { if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } + if s.VpcConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("VpcConfiguration")) + } if s.AutoScalingConfiguration != nil { if err := s.AutoScalingConfiguration.Validate(); err != nil { invalidParams.AddNested("AutoScalingConfiguration", err.(request.ErrInvalidParams)) @@ -4739,6 +6266,11 @@ func (s *CreateKxClusterInput) Validate() error { invalidParams.AddNested("SavedownStorageConfiguration", err.(request.ErrInvalidParams)) } } + if s.ScalingGroupConfiguration != nil { + if err := s.ScalingGroupConfiguration.Validate(); err != nil { + invalidParams.AddNested("ScalingGroupConfiguration", err.(request.ErrInvalidParams)) + } + } if s.VpcConfiguration != nil { if err := s.VpcConfiguration.Validate(); err != nil { invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) @@ -4853,12 +6385,24 @@ func (s *CreateKxClusterInput) SetSavedownStorageConfiguration(v *KxSavedownStor return s } +// SetScalingGroupConfiguration sets the ScalingGroupConfiguration field's value. +func (s *CreateKxClusterInput) SetScalingGroupConfiguration(v *KxScalingGroupConfiguration) *CreateKxClusterInput { + s.ScalingGroupConfiguration = v + return s +} + // SetTags sets the Tags field's value. func (s *CreateKxClusterInput) SetTags(v map[string]*string) *CreateKxClusterInput { s.Tags = v return s } +// SetTickerplantLogConfiguration sets the TickerplantLogConfiguration field's value. +func (s *CreateKxClusterInput) SetTickerplantLogConfiguration(v *TickerplantLogConfiguration) *CreateKxClusterInput { + s.TickerplantLogConfiguration = v + return s +} + // SetVpcConfiguration sets the VpcConfiguration field's value. func (s *CreateKxClusterInput) SetVpcConfiguration(v *VpcConfiguration) *CreateKxClusterInput { s.VpcConfiguration = v @@ -4922,6 +6466,12 @@ type CreateKxClusterOutput struct { // including cache and savedown storage. For this cluster type, the node // count is fixed at 1. It does not support autoscaling and supports only // SINGLE AZ mode. + // + // * Tickerplant – A tickerplant cluster allows you to subscribe to feed + // handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, + // and real-time subscribers (RTS). Tickerplants can persist messages to + // log, which is readable by any RDB environment. It supports only single-node + // that is only one kdb process. ClusterType *string `locationName:"clusterType" type:"string" enum:"KxClusterType"` // The details of the custom code that you want to use inside a cluster when @@ -4967,6 +6517,9 @@ type CreateKxClusterOutput struct { // node is restarted. SavedownStorageConfiguration *KxSavedownStorageConfiguration `locationName:"savedownStorageConfiguration" type:"structure"` + // The structure that stores the configuration details of a scaling group. + ScalingGroupConfiguration *KxScalingGroupConfiguration `locationName:"scalingGroupConfiguration" type:"structure"` + // The status of cluster creation. // // * PENDING – The cluster is pending creation. @@ -4989,6 +6542,15 @@ type CreateKxClusterOutput struct { // The error message when a failed state occurs. StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + // A configuration to store the Tickerplant logs. It consists of a list of volumes + // that will be mounted to your cluster. For the cluster type Tickerplant, the + // location of the TP volume on the cluster will be available by using the global + // variable .aws.tp_log_path. + TickerplantLogConfiguration *TickerplantLogConfiguration `locationName:"tickerplantLogConfiguration" type:"structure"` + + // A list of volumes mounted on the cluster. + Volumes []*Volume `locationName:"volumes" type:"list"` + // Configuration details about the network where the Privatelink endpoint of // the cluster resides. VpcConfiguration *VpcConfiguration `locationName:"vpcConfiguration" type:"structure"` @@ -5120,6 +6682,12 @@ func (s *CreateKxClusterOutput) SetSavedownStorageConfiguration(v *KxSavedownSto return s } +// SetScalingGroupConfiguration sets the ScalingGroupConfiguration field's value. +func (s *CreateKxClusterOutput) SetScalingGroupConfiguration(v *KxScalingGroupConfiguration) *CreateKxClusterOutput { + s.ScalingGroupConfiguration = v + return s +} + // SetStatus sets the Status field's value. func (s *CreateKxClusterOutput) SetStatus(v string) *CreateKxClusterOutput { s.Status = &v @@ -5132,6 +6700,18 @@ func (s *CreateKxClusterOutput) SetStatusReason(v string) *CreateKxClusterOutput return s } +// SetTickerplantLogConfiguration sets the TickerplantLogConfiguration field's value. +func (s *CreateKxClusterOutput) SetTickerplantLogConfiguration(v *TickerplantLogConfiguration) *CreateKxClusterOutput { + s.TickerplantLogConfiguration = v + return s +} + +// SetVolumes sets the Volumes field's value. +func (s *CreateKxClusterOutput) SetVolumes(v []*Volume) *CreateKxClusterOutput { + s.Volumes = v + return s +} + // SetVpcConfiguration sets the VpcConfiguration field's value. func (s *CreateKxClusterOutput) SetVpcConfiguration(v *VpcConfiguration) *CreateKxClusterOutput { s.VpcConfiguration = v @@ -5321,27 +6901,61 @@ func (s *CreateKxDatabaseOutput) SetLastModifiedTimestamp(v time.Time) *CreateKx return s } -type CreateKxEnvironmentInput struct { +type CreateKxDataviewInput struct { _ struct{} `type:"structure"` + // The option to specify whether you want to apply all the future additions + // and corrections automatically to the dataview, when you ingest new changesets. + // The default value is false. + AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The number of availability zones you want to assign per cluster. This can + // be one of the following + // + // * SINGLE – Assigns one availability zone per cluster. + // + // * MULTI – Assigns all the availability zones per cluster. + // + // AzMode is a required field + AzMode *string `locationName:"azMode" type:"string" required:"true" enum:"KxAzMode"` + + // A unique identifier of the changeset that you want to use to ingest data. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // A description for the kdb environment. - Description *string `locationName:"description" min:"1" type:"string"` + // The name of the database where you want to create a dataview. + // + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // The KMS key ID to encrypt your data in the FinSpace environment. + // A unique identifier for the dataview. // - // KmsKeyId is a required field - KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string" required:"true"` + // DataviewName is a required field + DataviewName *string `locationName:"dataviewName" min:"3" type:"string" required:"true"` - // The name of the kdb environment that you want to create. + // A description of the dataview. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, where you want to create the + // dataview. // - // Name is a required field - Name *string `locationName:"name" min:"3" type:"string" required:"true"` + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` - // A list of key-value pairs to label the kdb environment. You can add up to - // 50 tags to your kdb environment. + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` + + // A list of key-value pairs to label the dataview. You can add up to 50 tags + // to a dataview. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } @@ -5350,7 +6964,7 @@ type CreateKxEnvironmentInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxEnvironmentInput) String() string { +func (s CreateKxDataviewInput) String() string { return awsutil.Prettify(s) } @@ -5359,34 +6973,56 @@ func (s CreateKxEnvironmentInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxEnvironmentInput) GoString() string { +func (s CreateKxDataviewInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateKxEnvironmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateKxEnvironmentInput"} +func (s *CreateKxDataviewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateKxDataviewInput"} + if s.AzMode == nil { + invalidParams.Add(request.NewErrParamRequired("AzMode")) + } + if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) + } if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.Description != nil && len(*s.Description) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) } - if s.KmsKeyId == nil { - invalidParams.Add(request.NewErrParamRequired("KmsKeyId")) + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) } - if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1)) + if s.DataviewName == nil { + invalidParams.Add(request.NewErrParamRequired("DataviewName")) } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) } - if s.Name != nil && len(*s.Name) < 3 { - invalidParams.Add(request.NewErrParamMinLen("Name", 3)) + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } + if s.SegmentConfigurations != nil { + for i, v := range s.SegmentConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SegmentConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5394,59 +7030,132 @@ func (s *CreateKxEnvironmentInput) Validate() error { return nil } +// SetAutoUpdate sets the AutoUpdate field's value. +func (s *CreateKxDataviewInput) SetAutoUpdate(v bool) *CreateKxDataviewInput { + s.AutoUpdate = &v + return s +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *CreateKxDataviewInput) SetAvailabilityZoneId(v string) *CreateKxDataviewInput { + s.AvailabilityZoneId = &v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *CreateKxDataviewInput) SetAzMode(v string) *CreateKxDataviewInput { + s.AzMode = &v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *CreateKxDataviewInput) SetChangesetId(v string) *CreateKxDataviewInput { + s.ChangesetId = &v + return s +} + // SetClientToken sets the ClientToken field's value. -func (s *CreateKxEnvironmentInput) SetClientToken(v string) *CreateKxEnvironmentInput { +func (s *CreateKxDataviewInput) SetClientToken(v string) *CreateKxDataviewInput { s.ClientToken = &v return s } +// SetDatabaseName sets the DatabaseName field's value. +func (s *CreateKxDataviewInput) SetDatabaseName(v string) *CreateKxDataviewInput { + s.DatabaseName = &v + return s +} + +// SetDataviewName sets the DataviewName field's value. +func (s *CreateKxDataviewInput) SetDataviewName(v string) *CreateKxDataviewInput { + s.DataviewName = &v + return s +} + // SetDescription sets the Description field's value. -func (s *CreateKxEnvironmentInput) SetDescription(v string) *CreateKxEnvironmentInput { +func (s *CreateKxDataviewInput) SetDescription(v string) *CreateKxDataviewInput { s.Description = &v return s } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateKxEnvironmentInput) SetKmsKeyId(v string) *CreateKxEnvironmentInput { - s.KmsKeyId = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *CreateKxDataviewInput) SetEnvironmentId(v string) *CreateKxDataviewInput { + s.EnvironmentId = &v return s } -// SetName sets the Name field's value. -func (s *CreateKxEnvironmentInput) SetName(v string) *CreateKxEnvironmentInput { - s.Name = &v +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *CreateKxDataviewInput) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *CreateKxDataviewInput { + s.SegmentConfigurations = v return s } // SetTags sets the Tags field's value. -func (s *CreateKxEnvironmentInput) SetTags(v map[string]*string) *CreateKxEnvironmentInput { +func (s *CreateKxDataviewInput) SetTags(v map[string]*string) *CreateKxDataviewInput { s.Tags = v return s } -type CreateKxEnvironmentOutput struct { +type CreateKxDataviewOutput struct { _ struct{} `type:"structure"` - // The timestamp at which the kdb environment was created in FinSpace. - CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` + // The option to select whether you want to apply all the future additions and + // corrections automatically to the dataview when you ingest new changesets. + // The default value is false. + AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"` - // A description for the kdb environment. - Description *string `locationName:"description" min:"1" type:"string"` + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` - // The ARN identifier of the environment. - EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` + // The number of availability zones you want to assign per cluster. This can + // be one of the following + // + // * SINGLE – Assigns one availability zone per cluster. + // + // * MULTI – Assigns all the availability zones per cluster. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` - // A unique identifier for the kdb environment. + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The timestamp at which the dataview was created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The name of the database where you want to create a dataview. + DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + + // A unique identifier for the dataview. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` + + // A description of the dataview. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, where you want to create the + // dataview. EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - // The KMS key ID to encrypt your data in the FinSpace environment. - KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` + // The last time that the dataview was updated in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` - // The name of the kdb environment. - Name *string `locationName:"name" min:"3" type:"string"` + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` - // The status of the kdb environment. - Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` + // The status of dataview creation. + // + // * CREATING – The dataview creation is in progress. + // + // * UPDATING – The dataview is in the process of being updated. + // + // * ACTIVE – The dataview is active. + Status *string `locationName:"status" type:"string" enum:"KxDataviewStatus"` } // String returns the string representation. @@ -5454,7 +7163,7 @@ type CreateKxEnvironmentOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxEnvironmentOutput) String() string { +func (s CreateKxDataviewOutput) String() string { return awsutil.Prettify(s) } @@ -5463,76 +7172,104 @@ func (s CreateKxEnvironmentOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxEnvironmentOutput) GoString() string { +func (s CreateKxDataviewOutput) GoString() string { return s.String() } -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateKxEnvironmentOutput) SetCreationTimestamp(v time.Time) *CreateKxEnvironmentOutput { - s.CreationTimestamp = &v +// SetAutoUpdate sets the AutoUpdate field's value. +func (s *CreateKxDataviewOutput) SetAutoUpdate(v bool) *CreateKxDataviewOutput { + s.AutoUpdate = &v return s } -// SetDescription sets the Description field's value. -func (s *CreateKxEnvironmentOutput) SetDescription(v string) *CreateKxEnvironmentOutput { - s.Description = &v +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *CreateKxDataviewOutput) SetAvailabilityZoneId(v string) *CreateKxDataviewOutput { + s.AvailabilityZoneId = &v return s } -// SetEnvironmentArn sets the EnvironmentArn field's value. -func (s *CreateKxEnvironmentOutput) SetEnvironmentArn(v string) *CreateKxEnvironmentOutput { - s.EnvironmentArn = &v +// SetAzMode sets the AzMode field's value. +func (s *CreateKxDataviewOutput) SetAzMode(v string) *CreateKxDataviewOutput { + s.AzMode = &v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *CreateKxDataviewOutput) SetChangesetId(v string) *CreateKxDataviewOutput { + s.ChangesetId = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *CreateKxDataviewOutput) SetCreatedTimestamp(v time.Time) *CreateKxDataviewOutput { + s.CreatedTimestamp = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *CreateKxDataviewOutput) SetDatabaseName(v string) *CreateKxDataviewOutput { + s.DatabaseName = &v + return s +} + +// SetDataviewName sets the DataviewName field's value. +func (s *CreateKxDataviewOutput) SetDataviewName(v string) *CreateKxDataviewOutput { + s.DataviewName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateKxDataviewOutput) SetDescription(v string) *CreateKxDataviewOutput { + s.Description = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *CreateKxEnvironmentOutput) SetEnvironmentId(v string) *CreateKxEnvironmentOutput { +func (s *CreateKxDataviewOutput) SetEnvironmentId(v string) *CreateKxDataviewOutput { s.EnvironmentId = &v return s } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateKxEnvironmentOutput) SetKmsKeyId(v string) *CreateKxEnvironmentOutput { - s.KmsKeyId = &v +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *CreateKxDataviewOutput) SetLastModifiedTimestamp(v time.Time) *CreateKxDataviewOutput { + s.LastModifiedTimestamp = &v return s } -// SetName sets the Name field's value. -func (s *CreateKxEnvironmentOutput) SetName(v string) *CreateKxEnvironmentOutput { - s.Name = &v +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *CreateKxDataviewOutput) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *CreateKxDataviewOutput { + s.SegmentConfigurations = v return s } // SetStatus sets the Status field's value. -func (s *CreateKxEnvironmentOutput) SetStatus(v string) *CreateKxEnvironmentOutput { +func (s *CreateKxDataviewOutput) SetStatus(v string) *CreateKxDataviewOutput { s.Status = &v return s } -type CreateKxUserInput struct { +type CreateKxEnvironmentInput struct { _ struct{} `type:"structure"` // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // A unique identifier for the kdb environment where you want to create a user. + // A description for the kdb environment. + Description *string `locationName:"description" min:"1" type:"string"` + + // The KMS key ID to encrypt your data in the FinSpace environment. // - // EnvironmentId is a required field - EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + // KmsKeyId is a required field + KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string" required:"true"` - // The IAM role ARN that will be associated with the user. + // The name of the kdb environment that you want to create. // - // IamRole is a required field - IamRole *string `locationName:"iamRole" min:"20" type:"string" required:"true"` + // Name is a required field + Name *string `locationName:"name" min:"3" type:"string" required:"true"` - // A list of key-value pairs to label the user. You can add up to 50 tags to - // a user. + // A list of key-value pairs to label the kdb environment. You can add up to + // 50 tags to your kdb environment. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // A unique identifier for the user. - // - // UserName is a required field - UserName *string `locationName:"userName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -5540,7 +7277,7 @@ type CreateKxUserInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxUserInput) String() string { +func (s CreateKxEnvironmentInput) String() string { return awsutil.Prettify(s) } @@ -5549,37 +7286,34 @@ func (s CreateKxUserInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxUserInput) GoString() string { +func (s CreateKxEnvironmentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateKxUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateKxUserInput"} +func (s *CreateKxEnvironmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateKxEnvironmentInput"} if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.EnvironmentId == nil { - invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } - if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + if s.KmsKeyId == nil { + invalidParams.Add(request.NewErrParamRequired("KmsKeyId")) } - if s.IamRole == nil { - invalidParams.Add(request.NewErrParamRequired("IamRole")) + if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1)) } - if s.IamRole != nil && len(*s.IamRole) < 20 { - invalidParams.Add(request.NewErrParamMinLen("IamRole", 20)) + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Name", 3)) } if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) - } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -5588,51 +7322,58 @@ func (s *CreateKxUserInput) Validate() error { } // SetClientToken sets the ClientToken field's value. -func (s *CreateKxUserInput) SetClientToken(v string) *CreateKxUserInput { +func (s *CreateKxEnvironmentInput) SetClientToken(v string) *CreateKxEnvironmentInput { s.ClientToken = &v return s } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *CreateKxUserInput) SetEnvironmentId(v string) *CreateKxUserInput { - s.EnvironmentId = &v +// SetDescription sets the Description field's value. +func (s *CreateKxEnvironmentInput) SetDescription(v string) *CreateKxEnvironmentInput { + s.Description = &v return s } -// SetIamRole sets the IamRole field's value. -func (s *CreateKxUserInput) SetIamRole(v string) *CreateKxUserInput { - s.IamRole = &v +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *CreateKxEnvironmentInput) SetKmsKeyId(v string) *CreateKxEnvironmentInput { + s.KmsKeyId = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateKxUserInput) SetTags(v map[string]*string) *CreateKxUserInput { - s.Tags = v +// SetName sets the Name field's value. +func (s *CreateKxEnvironmentInput) SetName(v string) *CreateKxEnvironmentInput { + s.Name = &v return s } -// SetUserName sets the UserName field's value. -func (s *CreateKxUserInput) SetUserName(v string) *CreateKxUserInput { - s.UserName = &v +// SetTags sets the Tags field's value. +func (s *CreateKxEnvironmentInput) SetTags(v map[string]*string) *CreateKxEnvironmentInput { + s.Tags = v return s } -type CreateKxUserOutput struct { +type CreateKxEnvironmentOutput struct { _ struct{} `type:"structure"` + // The timestamp at which the kdb environment was created in FinSpace. + CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` + + // A description for the kdb environment. + Description *string `locationName:"description" min:"1" type:"string"` + + // The ARN identifier of the environment. + EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` + // A unique identifier for the kdb environment. EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - // The IAM role ARN that will be associated with the user. - IamRole *string `locationName:"iamRole" min:"20" type:"string"` + // The KMS key ID to encrypt your data in the FinSpace environment. + KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` - // The Amazon Resource Name (ARN) that identifies the user. For more information - // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - // in the IAM User Guide. - UserArn *string `locationName:"userArn" min:"20" type:"string"` + // The name of the kdb environment. + Name *string `locationName:"name" min:"3" type:"string"` - // A unique identifier for the user. - UserName *string `locationName:"userName" min:"1" type:"string"` + // The status of the kdb environment. + Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` } // String returns the string representation. @@ -5640,7 +7381,7 @@ type CreateKxUserOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxUserOutput) String() string { +func (s CreateKxEnvironmentOutput) String() string { return awsutil.Prettify(s) } @@ -5649,48 +7390,83 @@ func (s CreateKxUserOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateKxUserOutput) GoString() string { +func (s CreateKxEnvironmentOutput) GoString() string { return s.String() } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *CreateKxUserOutput) SetEnvironmentId(v string) *CreateKxUserOutput { - s.EnvironmentId = &v +// SetCreationTimestamp sets the CreationTimestamp field's value. +func (s *CreateKxEnvironmentOutput) SetCreationTimestamp(v time.Time) *CreateKxEnvironmentOutput { + s.CreationTimestamp = &v return s } -// SetIamRole sets the IamRole field's value. -func (s *CreateKxUserOutput) SetIamRole(v string) *CreateKxUserOutput { - s.IamRole = &v +// SetDescription sets the Description field's value. +func (s *CreateKxEnvironmentOutput) SetDescription(v string) *CreateKxEnvironmentOutput { + s.Description = &v return s } -// SetUserArn sets the UserArn field's value. -func (s *CreateKxUserOutput) SetUserArn(v string) *CreateKxUserOutput { - s.UserArn = &v - return s +// SetEnvironmentArn sets the EnvironmentArn field's value. +func (s *CreateKxEnvironmentOutput) SetEnvironmentArn(v string) *CreateKxEnvironmentOutput { + s.EnvironmentArn = &v + return s } -// SetUserName sets the UserName field's value. -func (s *CreateKxUserOutput) SetUserName(v string) *CreateKxUserOutput { - s.UserName = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *CreateKxEnvironmentOutput) SetEnvironmentId(v string) *CreateKxEnvironmentOutput { + s.EnvironmentId = &v return s } -// A list of DNS server name and server IP. This is used to set up Route-53 -// outbound resolvers. -type CustomDNSServer struct { +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *CreateKxEnvironmentOutput) SetKmsKeyId(v string) *CreateKxEnvironmentOutput { + s.KmsKeyId = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateKxEnvironmentOutput) SetName(v string) *CreateKxEnvironmentOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateKxEnvironmentOutput) SetStatus(v string) *CreateKxEnvironmentOutput { + s.Status = &v + return s +} + +type CreateKxScalingGroupInput struct { _ struct{} `type:"structure"` - // The IP address of the DNS server. + // The identifier of the availability zones. // - // CustomDNSServerIP is a required field - CustomDNSServerIP *string `locationName:"customDNSServerIP" type:"string" required:"true"` + // AvailabilityZoneId is a required field + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string" required:"true"` - // The name of the DNS server. + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // A unique identifier for the kdb environment, where you want to create the + // scaling group. // - // CustomDNSServerName is a required field - CustomDNSServerName *string `locationName:"customDNSServerName" min:"3" type:"string" required:"true"` + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // The memory and CPU capabilities of the scaling group host on which FinSpace + // Managed kdb clusters will be placed. + // + // HostType is a required field + HostType *string `locationName:"hostType" min:"1" type:"string" required:"true"` + + // A unique identifier for the kdb scaling group. + // + // ScalingGroupName is a required field + ScalingGroupName *string `locationName:"scalingGroupName" min:"3" type:"string" required:"true"` + + // A list of key-value pairs to label the scaling group. You can add up to 50 + // tags to a scaling group. + Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } // String returns the string representation. @@ -5698,7 +7474,7 @@ type CustomDNSServer struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CustomDNSServer) String() string { +func (s CreateKxScalingGroupInput) String() string { return awsutil.Prettify(s) } @@ -5707,21 +7483,39 @@ func (s CustomDNSServer) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CustomDNSServer) GoString() string { +func (s CreateKxScalingGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CustomDNSServer) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CustomDNSServer"} - if s.CustomDNSServerIP == nil { - invalidParams.Add(request.NewErrParamRequired("CustomDNSServerIP")) +func (s *CreateKxScalingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateKxScalingGroupInput"} + if s.AvailabilityZoneId == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZoneId")) } - if s.CustomDNSServerName == nil { - invalidParams.Add(request.NewErrParamRequired("CustomDNSServerName")) + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.CustomDNSServerName != nil && len(*s.CustomDNSServerName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("CustomDNSServerName", 3)) + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.HostType == nil { + invalidParams.Add(request.NewErrParamRequired("HostType")) + } + if s.HostType != nil && len(*s.HostType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HostType", 1)) + } + if s.ScalingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ScalingGroupName")) + } + if s.ScalingGroupName != nil && len(*s.ScalingGroupName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ScalingGroupName", 3)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } if invalidParams.Len() > 0 { @@ -5730,25 +7524,87 @@ func (s *CustomDNSServer) Validate() error { return nil } -// SetCustomDNSServerIP sets the CustomDNSServerIP field's value. -func (s *CustomDNSServer) SetCustomDNSServerIP(v string) *CustomDNSServer { - s.CustomDNSServerIP = &v +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *CreateKxScalingGroupInput) SetAvailabilityZoneId(v string) *CreateKxScalingGroupInput { + s.AvailabilityZoneId = &v return s } -// SetCustomDNSServerName sets the CustomDNSServerName field's value. -func (s *CustomDNSServer) SetCustomDNSServerName(v string) *CustomDNSServer { - s.CustomDNSServerName = &v +// SetClientToken sets the ClientToken field's value. +func (s *CreateKxScalingGroupInput) SetClientToken(v string) *CreateKxScalingGroupInput { + s.ClientToken = &v return s } -type DeleteEnvironmentInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *CreateKxScalingGroupInput) SetEnvironmentId(v string) *CreateKxScalingGroupInput { + s.EnvironmentId = &v + return s +} - // The identifier for the FinSpace environment. +// SetHostType sets the HostType field's value. +func (s *CreateKxScalingGroupInput) SetHostType(v string) *CreateKxScalingGroupInput { + s.HostType = &v + return s +} + +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *CreateKxScalingGroupInput) SetScalingGroupName(v string) *CreateKxScalingGroupInput { + s.ScalingGroupName = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateKxScalingGroupInput) SetTags(v map[string]*string) *CreateKxScalingGroupInput { + s.Tags = v + return s +} + +type CreateKxScalingGroupOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The timestamp at which the scaling group was created in FinSpace. The value + // is determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // A unique identifier for the kdb environment, where you create the scaling + // group. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The memory and CPU capabilities of the scaling group host on which FinSpace + // Managed kdb clusters will be placed. + HostType *string `locationName:"hostType" min:"1" type:"string"` + + // The last time that the scaling group was updated in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // A unique identifier for the kdb scaling group. + ScalingGroupName *string `locationName:"scalingGroupName" min:"3" type:"string"` + + // The status of scaling group. // - // EnvironmentId is a required field - EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + // * CREATING – The scaling group creation is in progress. + // + // * CREATE_FAILED – The scaling group creation has failed. + // + // * ACTIVE – The scaling group is active. + // + // * UPDATING – The scaling group is in the process of being updated. + // + // * UPDATE_FAILED – The update action failed. + // + // * DELETING – The scaling group is in the process of being deleted. + // + // * DELETE_FAILED – The system failed to delete the scaling group. + // + // * DELETED – The scaling group is successfully deleted. + Status *string `locationName:"status" type:"string" enum:"KxScalingGroupStatus"` } // String returns the string representation. @@ -5756,7 +7612,7 @@ type DeleteEnvironmentInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteEnvironmentInput) String() string { +func (s CreateKxScalingGroupOutput) String() string { return awsutil.Prettify(s) } @@ -5765,69 +7621,76 @@ func (s DeleteEnvironmentInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteEnvironmentInput) GoString() string { +func (s CreateKxScalingGroupOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteEnvironmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteEnvironmentInput"} - if s.EnvironmentId == nil { - invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) - } - if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) - } +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *CreateKxScalingGroupOutput) SetAvailabilityZoneId(v string) *CreateKxScalingGroupOutput { + s.AvailabilityZoneId = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *CreateKxScalingGroupOutput) SetCreatedTimestamp(v time.Time) *CreateKxScalingGroupOutput { + s.CreatedTimestamp = &v + return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteEnvironmentInput) SetEnvironmentId(v string) *DeleteEnvironmentInput { +func (s *CreateKxScalingGroupOutput) SetEnvironmentId(v string) *CreateKxScalingGroupOutput { s.EnvironmentId = &v return s } -type DeleteEnvironmentOutput struct { - _ struct{} `type:"structure"` +// SetHostType sets the HostType field's value. +func (s *CreateKxScalingGroupOutput) SetHostType(v string) *CreateKxScalingGroupOutput { + s.HostType = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteEnvironmentOutput) String() string { - return awsutil.Prettify(s) +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *CreateKxScalingGroupOutput) SetLastModifiedTimestamp(v time.Time) *CreateKxScalingGroupOutput { + s.LastModifiedTimestamp = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteEnvironmentOutput) GoString() string { - return s.String() +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *CreateKxScalingGroupOutput) SetScalingGroupName(v string) *CreateKxScalingGroupOutput { + s.ScalingGroupName = &v + return s } -type DeleteKxClusterInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetStatus sets the Status field's value. +func (s *CreateKxScalingGroupOutput) SetStatus(v string) *CreateKxScalingGroupOutput { + s.Status = &v + return s +} - // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` +type CreateKxUserInput struct { + _ struct{} `type:"structure"` - // The name of the cluster that you want to delete. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"clusterName" min:"3" type:"string" required:"true"` + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment where you want to create a user. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // The IAM role ARN that will be associated with the user. + // + // IamRole is a required field + IamRole *string `locationName:"iamRole" min:"20" type:"string" required:"true"` + + // A list of key-value pairs to label the user. You can add up to 50 tags to + // a user. + Tags map[string]*string `locationName:"tags" min:"1" type:"map"` + + // A unique identifier for the user. + // + // UserName is a required field + UserName *string `locationName:"userName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -5835,7 +7698,7 @@ type DeleteKxClusterInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxClusterInput) String() string { +func (s CreateKxUserInput) String() string { return awsutil.Prettify(s) } @@ -5844,28 +7707,37 @@ func (s DeleteKxClusterInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxClusterInput) GoString() string { +func (s CreateKxUserInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteKxClusterInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteKxClusterInput"} +func (s *CreateKxUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateKxUserInput"} if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) - } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } + if s.IamRole == nil { + invalidParams.Add(request.NewErrParamRequired("IamRole")) + } + if s.IamRole != nil && len(*s.IamRole) < 20 { + invalidParams.Add(request.NewErrParamMinLen("IamRole", 20)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -5874,33 +7746,59 @@ func (s *DeleteKxClusterInput) Validate() error { } // SetClientToken sets the ClientToken field's value. -func (s *DeleteKxClusterInput) SetClientToken(v string) *DeleteKxClusterInput { +func (s *CreateKxUserInput) SetClientToken(v string) *CreateKxUserInput { s.ClientToken = &v return s } -// SetClusterName sets the ClusterName field's value. -func (s *DeleteKxClusterInput) SetClusterName(v string) *DeleteKxClusterInput { - s.ClusterName = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *CreateKxUserInput) SetEnvironmentId(v string) *CreateKxUserInput { + s.EnvironmentId = &v return s } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteKxClusterInput) SetEnvironmentId(v string) *DeleteKxClusterInput { - s.EnvironmentId = &v +// SetIamRole sets the IamRole field's value. +func (s *CreateKxUserInput) SetIamRole(v string) *CreateKxUserInput { + s.IamRole = &v return s } -type DeleteKxClusterOutput struct { - _ struct{} `type:"structure"` +// SetTags sets the Tags field's value. +func (s *CreateKxUserInput) SetTags(v map[string]*string) *CreateKxUserInput { + s.Tags = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteKxClusterOutput) String() string { +// SetUserName sets the UserName field's value. +func (s *CreateKxUserInput) SetUserName(v string) *CreateKxUserInput { + s.UserName = &v + return s +} + +type CreateKxUserOutput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The IAM role ARN that will be associated with the user. + IamRole *string `locationName:"iamRole" min:"20" type:"string"` + + // The Amazon Resource Name (ARN) that identifies the user. For more information + // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + // in the IAM User Guide. + UserArn *string `locationName:"userArn" min:"20" type:"string"` + + // A unique identifier for the user. + UserName *string `locationName:"userName" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateKxUserOutput) String() string { return awsutil.Prettify(s) } @@ -5909,25 +7807,78 @@ func (s DeleteKxClusterOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxClusterOutput) GoString() string { +func (s CreateKxUserOutput) GoString() string { return s.String() } -type DeleteKxDatabaseInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *CreateKxUserOutput) SetEnvironmentId(v string) *CreateKxUserOutput { + s.EnvironmentId = &v + return s +} - // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` +// SetIamRole sets the IamRole field's value. +func (s *CreateKxUserOutput) SetIamRole(v string) *CreateKxUserOutput { + s.IamRole = &v + return s +} - // The name of the kdb database that you want to delete. +// SetUserArn sets the UserArn field's value. +func (s *CreateKxUserOutput) SetUserArn(v string) *CreateKxUserOutput { + s.UserArn = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *CreateKxUserOutput) SetUserName(v string) *CreateKxUserOutput { + s.UserName = &v + return s +} + +type CreateKxVolumeInput struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones. // - // DatabaseName is a required field - DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` + // AvailabilityZoneIds is a required field + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list" required:"true"` - // A unique identifier for the kdb environment. + // The number of availability zones you want to assign per cluster. Currently, + // FinSpace only support SINGLE for volumes. + // + // AzMode is a required field + AzMode *string `locationName:"azMode" type:"string" required:"true" enum:"KxAzMode"` + + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // A description of the volume. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, whose clusters can attach to + // the volume. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // Specifies the configuration for the Network attached storage (NAS_1) file + // system volume. This parameter is required when you choose volumeType as NAS_1. + Nas1Configuration *KxNAS1Configuration `locationName:"nas1Configuration" type:"structure"` + + // A list of key-value pairs to label the volume. You can add up to 50 tags + // to a volume. + Tags map[string]*string `locationName:"tags" min:"1" type:"map"` + + // A unique identifier for the volume. + // + // VolumeName is a required field + VolumeName *string `locationName:"volumeName" min:"3" type:"string" required:"true"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. When you select NAS_1 volume type, you must also provide nas1Configuration. + // + // VolumeType is a required field + VolumeType *string `locationName:"volumeType" type:"string" required:"true" enum:"KxVolumeType"` } // String returns the string representation. @@ -5935,7 +7886,7 @@ type DeleteKxDatabaseInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxDatabaseInput) String() string { +func (s CreateKxVolumeInput) String() string { return awsutil.Prettify(s) } @@ -5944,21 +7895,24 @@ func (s DeleteKxDatabaseInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxDatabaseInput) GoString() string { +func (s CreateKxVolumeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteKxDatabaseInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteKxDatabaseInput"} +func (s *CreateKxVolumeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateKxVolumeInput"} + if s.AvailabilityZoneIds == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZoneIds")) + } + if s.AzMode == nil { + invalidParams.Add(request.NewErrParamRequired("AzMode")) + } if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.DatabaseName == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseName")) - } - if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) @@ -5966,6 +7920,23 @@ func (s *DeleteKxDatabaseInput) Validate() error { if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.VolumeName == nil { + invalidParams.Add(request.NewErrParamRequired("VolumeName")) + } + if s.VolumeName != nil && len(*s.VolumeName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VolumeName", 3)) + } + if s.VolumeType == nil { + invalidParams.Add(request.NewErrParamRequired("VolumeType")) + } + if s.Nas1Configuration != nil { + if err := s.Nas1Configuration.Validate(); err != nil { + invalidParams.AddNested("Nas1Configuration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5973,53 +7944,119 @@ func (s *DeleteKxDatabaseInput) Validate() error { return nil } +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *CreateKxVolumeInput) SetAvailabilityZoneIds(v []*string) *CreateKxVolumeInput { + s.AvailabilityZoneIds = v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *CreateKxVolumeInput) SetAzMode(v string) *CreateKxVolumeInput { + s.AzMode = &v + return s +} + // SetClientToken sets the ClientToken field's value. -func (s *DeleteKxDatabaseInput) SetClientToken(v string) *DeleteKxDatabaseInput { +func (s *CreateKxVolumeInput) SetClientToken(v string) *CreateKxVolumeInput { s.ClientToken = &v return s } -// SetDatabaseName sets the DatabaseName field's value. -func (s *DeleteKxDatabaseInput) SetDatabaseName(v string) *DeleteKxDatabaseInput { - s.DatabaseName = &v +// SetDescription sets the Description field's value. +func (s *CreateKxVolumeInput) SetDescription(v string) *CreateKxVolumeInput { + s.Description = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteKxDatabaseInput) SetEnvironmentId(v string) *DeleteKxDatabaseInput { +func (s *CreateKxVolumeInput) SetEnvironmentId(v string) *CreateKxVolumeInput { s.EnvironmentId = &v return s } -type DeleteKxDatabaseOutput struct { - _ struct{} `type:"structure"` +// SetNas1Configuration sets the Nas1Configuration field's value. +func (s *CreateKxVolumeInput) SetNas1Configuration(v *KxNAS1Configuration) *CreateKxVolumeInput { + s.Nas1Configuration = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteKxDatabaseOutput) String() string { - return awsutil.Prettify(s) +// SetTags sets the Tags field's value. +func (s *CreateKxVolumeInput) SetTags(v map[string]*string) *CreateKxVolumeInput { + s.Tags = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteKxDatabaseOutput) GoString() string { - return s.String() +// SetVolumeName sets the VolumeName field's value. +func (s *CreateKxVolumeInput) SetVolumeName(v string) *CreateKxVolumeInput { + s.VolumeName = &v + return s } -type DeleteKxEnvironmentInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetVolumeType sets the VolumeType field's value. +func (s *CreateKxVolumeInput) SetVolumeType(v string) *CreateKxVolumeInput { + s.VolumeType = &v + return s +} - // A unique identifier for the kdb environment. +type CreateKxVolumeOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones. + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + + // The number of availability zones you want to assign per cluster. Currently, + // FinSpace only support SINGLE for volumes. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // The timestamp at which the volume was created in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // A description of the volume. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, whose clusters can attach to + // the volume. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // Specifies the configuration for the Network attached storage (NAS_1) file + // system volume. + Nas1Configuration *KxNAS1Configuration `locationName:"nas1Configuration" type:"structure"` + + // The status of volume creation. // - // EnvironmentId is a required field - EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + // * CREATING – The volume creation is in progress. + // + // * CREATE_FAILED – The volume creation has failed. + // + // * ACTIVE – The volume is active. + // + // * UPDATING – The volume is in the process of being updated. + // + // * UPDATE_FAILED – The update action failed. + // + // * UPDATED – The volume is successfully updated. + // + // * DELETING – The volume is in the process of being deleted. + // + // * DELETE_FAILED – The system failed to delete the volume. + // + // * DELETED – The volume is successfully deleted. + Status *string `locationName:"status" type:"string" enum:"KxVolumeStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + + // The ARN identifier of the volume. + VolumeArn *string `locationName:"volumeArn" min:"20" type:"string"` + + // A unique identifier for the volume. + VolumeName *string `locationName:"volumeName" min:"3" type:"string"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. + VolumeType *string `locationName:"volumeType" type:"string" enum:"KxVolumeType"` } // String returns the string representation. @@ -6027,7 +8064,7 @@ type DeleteKxEnvironmentInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxEnvironmentInput) String() string { +func (s CreateKxVolumeOutput) String() string { return awsutil.Prettify(s) } @@ -6036,34 +8073,90 @@ func (s DeleteKxEnvironmentInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxEnvironmentInput) GoString() string { +func (s CreateKxVolumeOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteKxEnvironmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteKxEnvironmentInput"} - if s.EnvironmentId == nil { - invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) - } - if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) - } +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *CreateKxVolumeOutput) SetAvailabilityZoneIds(v []*string) *CreateKxVolumeOutput { + s.AvailabilityZoneIds = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAzMode sets the AzMode field's value. +func (s *CreateKxVolumeOutput) SetAzMode(v string) *CreateKxVolumeOutput { + s.AzMode = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *CreateKxVolumeOutput) SetCreatedTimestamp(v time.Time) *CreateKxVolumeOutput { + s.CreatedTimestamp = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateKxVolumeOutput) SetDescription(v string) *CreateKxVolumeOutput { + s.Description = &v + return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteKxEnvironmentInput) SetEnvironmentId(v string) *DeleteKxEnvironmentInput { +func (s *CreateKxVolumeOutput) SetEnvironmentId(v string) *CreateKxVolumeOutput { s.EnvironmentId = &v return s } -type DeleteKxEnvironmentOutput struct { +// SetNas1Configuration sets the Nas1Configuration field's value. +func (s *CreateKxVolumeOutput) SetNas1Configuration(v *KxNAS1Configuration) *CreateKxVolumeOutput { + s.Nas1Configuration = v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateKxVolumeOutput) SetStatus(v string) *CreateKxVolumeOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *CreateKxVolumeOutput) SetStatusReason(v string) *CreateKxVolumeOutput { + s.StatusReason = &v + return s +} + +// SetVolumeArn sets the VolumeArn field's value. +func (s *CreateKxVolumeOutput) SetVolumeArn(v string) *CreateKxVolumeOutput { + s.VolumeArn = &v + return s +} + +// SetVolumeName sets the VolumeName field's value. +func (s *CreateKxVolumeOutput) SetVolumeName(v string) *CreateKxVolumeOutput { + s.VolumeName = &v + return s +} + +// SetVolumeType sets the VolumeType field's value. +func (s *CreateKxVolumeOutput) SetVolumeType(v string) *CreateKxVolumeOutput { + s.VolumeType = &v + return s +} + +// A list of DNS server name and server IP. This is used to set up Route-53 +// outbound resolvers. +type CustomDNSServer struct { _ struct{} `type:"structure"` + + // The IP address of the DNS server. + // + // CustomDNSServerIP is a required field + CustomDNSServerIP *string `locationName:"customDNSServerIP" type:"string" required:"true"` + + // The name of the DNS server. + // + // CustomDNSServerName is a required field + CustomDNSServerName *string `locationName:"customDNSServerName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -6071,7 +8164,7 @@ type DeleteKxEnvironmentOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxEnvironmentOutput) String() string { +func (s CustomDNSServer) String() string { return awsutil.Prettify(s) } @@ -6080,22 +8173,48 @@ func (s DeleteKxEnvironmentOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxEnvironmentOutput) GoString() string { +func (s CustomDNSServer) GoString() string { return s.String() } -type DeleteKxUserInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // A unique identifier for the kdb environment. - // - // EnvironmentId is a required field - EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomDNSServer) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomDNSServer"} + if s.CustomDNSServerIP == nil { + invalidParams.Add(request.NewErrParamRequired("CustomDNSServerIP")) + } + if s.CustomDNSServerName == nil { + invalidParams.Add(request.NewErrParamRequired("CustomDNSServerName")) + } + if s.CustomDNSServerName != nil && len(*s.CustomDNSServerName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("CustomDNSServerName", 3)) + } - // A unique identifier for the user that you want to delete. + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomDNSServerIP sets the CustomDNSServerIP field's value. +func (s *CustomDNSServer) SetCustomDNSServerIP(v string) *CustomDNSServer { + s.CustomDNSServerIP = &v + return s +} + +// SetCustomDNSServerName sets the CustomDNSServerName field's value. +func (s *CustomDNSServer) SetCustomDNSServerName(v string) *CustomDNSServer { + s.CustomDNSServerName = &v + return s +} + +type DeleteEnvironmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for the FinSpace environment. // - // UserName is a required field - UserName *string `location:"uri" locationName:"userName" min:"1" type:"string" required:"true"` + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -6103,7 +8222,7 @@ type DeleteKxUserInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxUserInput) String() string { +func (s DeleteEnvironmentInput) String() string { return awsutil.Prettify(s) } @@ -6112,25 +8231,19 @@ func (s DeleteKxUserInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxUserInput) GoString() string { +func (s DeleteEnvironmentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteKxUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteKxUserInput"} +func (s *DeleteEnvironmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteEnvironmentInput"} if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) - } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -6139,18 +8252,12 @@ func (s *DeleteKxUserInput) Validate() error { } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteKxUserInput) SetEnvironmentId(v string) *DeleteKxUserInput { +func (s *DeleteEnvironmentInput) SetEnvironmentId(v string) *DeleteEnvironmentInput { s.EnvironmentId = &v return s } -// SetUserName sets the UserName field's value. -func (s *DeleteKxUserInput) SetUserName(v string) *DeleteKxUserInput { - s.UserName = &v - return s -} - -type DeleteKxUserOutput struct { +type DeleteEnvironmentOutput struct { _ struct{} `type:"structure"` } @@ -6159,7 +8266,7 @@ type DeleteKxUserOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxUserOutput) String() string { +func (s DeleteEnvironmentOutput) String() string { return awsutil.Prettify(s) } @@ -6168,50 +8275,25 @@ func (s DeleteKxUserOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteKxUserOutput) GoString() string { +func (s DeleteEnvironmentOutput) GoString() string { return s.String() } -// Represents an FinSpace environment. -type Environment struct { - _ struct{} `type:"structure"` - - // The ID of the AWS account in which the FinSpace environment is created. - AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"` - - // The AWS account ID of the dedicated service account associated with your - // FinSpace environment. - DedicatedServiceAccountId *string `locationName:"dedicatedServiceAccountId" min:"1" type:"string"` - - // The description of the FinSpace environment. - Description *string `locationName:"description" min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of your FinSpace environment. - EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` - - // The identifier of the FinSpace environment. - EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - - // The sign-in URL for the web application of your FinSpace environment. - EnvironmentUrl *string `locationName:"environmentUrl" min:"1" type:"string"` - - // The authentication mode for the environment. - FederationMode *string `locationName:"federationMode" type:"string" enum:"FederationMode"` - - // Configuration information when authentication mode is FEDERATED. - FederationParameters *FederationParameters `locationName:"federationParameters" type:"structure"` - - // The KMS key id used to encrypt in the FinSpace environment. - KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` +type DeleteKxClusterInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The name of the FinSpace environment. - Name *string `locationName:"name" min:"1" type:"string"` + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // The URL of the integrated FinSpace notebook environment in your web application. - SageMakerStudioDomainUrl *string `locationName:"sageMakerStudioDomainUrl" min:"1" type:"string"` + // The name of the cluster that you want to delete. + // + // ClusterName is a required field + ClusterName *string `location:"uri" locationName:"clusterName" min:"3" type:"string" required:"true"` - // The current status of creation of the FinSpace environment. - Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -6219,7 +8301,7 @@ type Environment struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Environment) String() string { +func (s DeleteKxClusterInput) String() string { return awsutil.Prettify(s) } @@ -6228,92 +8310,90 @@ func (s Environment) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Environment) GoString() string { +func (s DeleteKxClusterInput) GoString() string { return s.String() } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *Environment) SetAwsAccountId(v string) *Environment { - s.AwsAccountId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteKxClusterInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxClusterInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + if s.ClusterName != nil && len(*s.ClusterName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } -// SetDedicatedServiceAccountId sets the DedicatedServiceAccountId field's value. -func (s *Environment) SetDedicatedServiceAccountId(v string) *Environment { - s.DedicatedServiceAccountId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDescription sets the Description field's value. -func (s *Environment) SetDescription(v string) *Environment { - s.Description = &v +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxClusterInput) SetClientToken(v string) *DeleteKxClusterInput { + s.ClientToken = &v return s } -// SetEnvironmentArn sets the EnvironmentArn field's value. -func (s *Environment) SetEnvironmentArn(v string) *Environment { - s.EnvironmentArn = &v +// SetClusterName sets the ClusterName field's value. +func (s *DeleteKxClusterInput) SetClusterName(v string) *DeleteKxClusterInput { + s.ClusterName = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *Environment) SetEnvironmentId(v string) *Environment { +func (s *DeleteKxClusterInput) SetEnvironmentId(v string) *DeleteKxClusterInput { s.EnvironmentId = &v return s } -// SetEnvironmentUrl sets the EnvironmentUrl field's value. -func (s *Environment) SetEnvironmentUrl(v string) *Environment { - s.EnvironmentUrl = &v - return s -} - -// SetFederationMode sets the FederationMode field's value. -func (s *Environment) SetFederationMode(v string) *Environment { - s.FederationMode = &v - return s -} - -// SetFederationParameters sets the FederationParameters field's value. -func (s *Environment) SetFederationParameters(v *FederationParameters) *Environment { - s.FederationParameters = v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *Environment) SetKmsKeyId(v string) *Environment { - s.KmsKeyId = &v - return s +type DeleteKxClusterOutput struct { + _ struct{} `type:"structure"` } -// SetName sets the Name field's value. -func (s *Environment) SetName(v string) *Environment { - s.Name = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxClusterOutput) String() string { + return awsutil.Prettify(s) } -// SetSageMakerStudioDomainUrl sets the SageMakerStudioDomainUrl field's value. -func (s *Environment) SetSageMakerStudioDomainUrl(v string) *Environment { - s.SageMakerStudioDomainUrl = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxClusterOutput) GoString() string { + return s.String() } -// SetStatus sets the Status field's value. -func (s *Environment) SetStatus(v string) *Environment { - s.Status = &v - return s -} +type DeleteKxDatabaseInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// Provides details in the event of a failed flow, including the error type -// and the related error message. -type ErrorInfo struct { - _ struct{} `type:"structure"` + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // Specifies the error message that appears if a flow fails. - ErrorMessage *string `locationName:"errorMessage" type:"string"` + // The name of the kdb database that you want to delete. + // + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // Specifies the type of error. - ErrorType *string `locationName:"errorType" type:"string" enum:"ErrorDetails"` + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -6321,7 +8401,7 @@ type ErrorInfo struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ErrorInfo) String() string { +func (s DeleteKxDatabaseInput) String() string { return awsutil.Prettify(s) } @@ -6330,49 +8410,96 @@ func (s ErrorInfo) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ErrorInfo) GoString() string { +func (s DeleteKxDatabaseInput) GoString() string { return s.String() } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ErrorInfo) SetErrorMessage(v string) *ErrorInfo { - s.ErrorMessage = &v - return s -} - -// SetErrorType sets the ErrorType field's value. -func (s *ErrorInfo) SetErrorType(v string) *ErrorInfo { - s.ErrorType = &v - return s -} - -// Configuration information when authentication mode is FEDERATED. -type FederationParameters struct { - _ struct{} `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteKxDatabaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxDatabaseInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + } + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } - // The redirect or sign-in URL that should be entered into the SAML 2.0 compliant - // identity provider configuration (IdP). - ApplicationCallBackURL *string `locationName:"applicationCallBackURL" min:"1" type:"string"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // SAML attribute name and value. The name must always be Email and the value - // should be set to the attribute definition in which user email is set. For - // example, name would be Email and value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress. - // Please check your SAML 2.0 compliant identity provider (IdP) documentation - // for details. - AttributeMap map[string]*string `locationName:"attributeMap" type:"map"` +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxDatabaseInput) SetClientToken(v string) *DeleteKxDatabaseInput { + s.ClientToken = &v + return s +} - // Name of the identity provider (IdP). - FederationProviderName *string `locationName:"federationProviderName" min:"1" type:"string"` +// SetDatabaseName sets the DatabaseName field's value. +func (s *DeleteKxDatabaseInput) SetDatabaseName(v string) *DeleteKxDatabaseInput { + s.DatabaseName = &v + return s +} - // The Uniform Resource Name (URN). Also referred as Service Provider URN or - // Audience URI or Service Provider Entity ID. - FederationURN *string `locationName:"federationURN" min:"1" type:"string"` +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *DeleteKxDatabaseInput) SetEnvironmentId(v string) *DeleteKxDatabaseInput { + s.EnvironmentId = &v + return s +} - // SAML 2.0 Metadata document from identity provider (IdP). - SamlMetadataDocument *string `locationName:"samlMetadataDocument" min:"1000" type:"string"` +type DeleteKxDatabaseOutput struct { + _ struct{} `type:"structure"` +} - // Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). - SamlMetadataURL *string `locationName:"samlMetadataURL" min:"1" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxDatabaseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxDatabaseOutput) GoString() string { + return s.String() +} + +type DeleteKxDataviewInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // The name of the database whose dataview you want to delete. + // + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` + + // The name of the dataview that you want to delete. + // + // DataviewName is a required field + DataviewName *string `location:"uri" locationName:"dataviewName" min:"3" type:"string" required:"true"` + + // A unique identifier for the kdb environment, from where you want to delete + // the dataview. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -6380,7 +8507,7 @@ type FederationParameters struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FederationParameters) String() string { +func (s DeleteKxDataviewInput) String() string { return awsutil.Prettify(s) } @@ -6389,27 +8516,33 @@ func (s FederationParameters) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FederationParameters) GoString() string { +func (s DeleteKxDataviewInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FederationParameters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FederationParameters"} - if s.ApplicationCallBackURL != nil && len(*s.ApplicationCallBackURL) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationCallBackURL", 1)) +func (s *DeleteKxDataviewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxDataviewInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.FederationProviderName != nil && len(*s.FederationProviderName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FederationProviderName", 1)) + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) } - if s.FederationURN != nil && len(*s.FederationURN) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FederationURN", 1)) + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) } - if s.SamlMetadataDocument != nil && len(*s.SamlMetadataDocument) < 1000 { - invalidParams.Add(request.NewErrParamMinLen("SamlMetadataDocument", 1000)) + if s.DataviewName == nil { + invalidParams.Add(request.NewErrParamRequired("DataviewName")) } - if s.SamlMetadataURL != nil && len(*s.SamlMetadataURL) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SamlMetadataURL", 1)) + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } if invalidParams.Len() > 0 { @@ -6418,46 +8551,59 @@ func (s *FederationParameters) Validate() error { return nil } -// SetApplicationCallBackURL sets the ApplicationCallBackURL field's value. -func (s *FederationParameters) SetApplicationCallBackURL(v string) *FederationParameters { - s.ApplicationCallBackURL = &v +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxDataviewInput) SetClientToken(v string) *DeleteKxDataviewInput { + s.ClientToken = &v return s } -// SetAttributeMap sets the AttributeMap field's value. -func (s *FederationParameters) SetAttributeMap(v map[string]*string) *FederationParameters { - s.AttributeMap = v +// SetDatabaseName sets the DatabaseName field's value. +func (s *DeleteKxDataviewInput) SetDatabaseName(v string) *DeleteKxDataviewInput { + s.DatabaseName = &v return s } -// SetFederationProviderName sets the FederationProviderName field's value. -func (s *FederationParameters) SetFederationProviderName(v string) *FederationParameters { - s.FederationProviderName = &v +// SetDataviewName sets the DataviewName field's value. +func (s *DeleteKxDataviewInput) SetDataviewName(v string) *DeleteKxDataviewInput { + s.DataviewName = &v return s } -// SetFederationURN sets the FederationURN field's value. -func (s *FederationParameters) SetFederationURN(v string) *FederationParameters { - s.FederationURN = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *DeleteKxDataviewInput) SetEnvironmentId(v string) *DeleteKxDataviewInput { + s.EnvironmentId = &v return s } -// SetSamlMetadataDocument sets the SamlMetadataDocument field's value. -func (s *FederationParameters) SetSamlMetadataDocument(v string) *FederationParameters { - s.SamlMetadataDocument = &v - return s +type DeleteKxDataviewOutput struct { + _ struct{} `type:"structure"` } -// SetSamlMetadataURL sets the SamlMetadataURL field's value. -func (s *FederationParameters) SetSamlMetadataURL(v string) *FederationParameters { - s.SamlMetadataURL = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxDataviewOutput) String() string { + return awsutil.Prettify(s) } -type GetEnvironmentInput struct { +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxDataviewOutput) GoString() string { + return s.String() +} + +type DeleteKxEnvironmentInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The identifier of the FinSpace environment. + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // A unique identifier for the kdb environment. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` @@ -6468,7 +8614,7 @@ type GetEnvironmentInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetEnvironmentInput) String() string { +func (s DeleteKxEnvironmentInput) String() string { return awsutil.Prettify(s) } @@ -6477,13 +8623,16 @@ func (s GetEnvironmentInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetEnvironmentInput) GoString() string { +func (s DeleteKxEnvironmentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetEnvironmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetEnvironmentInput"} +func (s *DeleteKxEnvironmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxEnvironmentInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } @@ -6497,17 +8646,20 @@ func (s *GetEnvironmentInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxEnvironmentInput) SetClientToken(v string) *DeleteKxEnvironmentInput { + s.ClientToken = &v + return s +} + // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetEnvironmentInput) SetEnvironmentId(v string) *GetEnvironmentInput { +func (s *DeleteKxEnvironmentInput) SetEnvironmentId(v string) *DeleteKxEnvironmentInput { s.EnvironmentId = &v return s } -type GetEnvironmentOutput struct { +type DeleteKxEnvironmentOutput struct { _ struct{} `type:"structure"` - - // The name of the FinSpace environment. - Environment *Environment `locationName:"environment" type:"structure"` } // String returns the string representation. @@ -6515,7 +8667,7 @@ type GetEnvironmentOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetEnvironmentOutput) String() string { +func (s DeleteKxEnvironmentOutput) String() string { return awsutil.Prettify(s) } @@ -6524,33 +8676,26 @@ func (s GetEnvironmentOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetEnvironmentOutput) GoString() string { +func (s DeleteKxEnvironmentOutput) GoString() string { return s.String() } -// SetEnvironment sets the Environment field's value. -func (s *GetEnvironmentOutput) SetEnvironment(v *Environment) *GetEnvironmentOutput { - s.Environment = v - return s -} - -type GetKxChangesetInput struct { +type DeleteKxScalingGroupInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A unique identifier of the changeset for which you want to retrieve data. - // - // ChangesetId is a required field - ChangesetId *string `location:"uri" locationName:"changesetId" min:"1" type:"string" required:"true"` - - // The name of the kdb database. - // - // DatabaseName is a required field - DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment, from where you want to delete + // the dataview. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // A unique identifier for the kdb scaling group. + // + // ScalingGroupName is a required field + ScalingGroupName *string `location:"uri" locationName:"scalingGroupName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -6558,7 +8703,7 @@ type GetKxChangesetInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxChangesetInput) String() string { +func (s DeleteKxScalingGroupInput) String() string { return awsutil.Prettify(s) } @@ -6567,24 +8712,15 @@ func (s GetKxChangesetInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxChangesetInput) GoString() string { +func (s DeleteKxScalingGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKxChangesetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKxChangesetInput"} - if s.ChangesetId == nil { - invalidParams.Add(request.NewErrParamRequired("ChangesetId")) - } - if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) - } - if s.DatabaseName == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseName")) - } - if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) +func (s *DeleteKxScalingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxScalingGroupInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) @@ -6592,6 +8728,12 @@ func (s *GetKxChangesetInput) Validate() error { if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } + if s.ScalingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ScalingGroupName")) + } + if s.ScalingGroupName != nil && len(*s.ScalingGroupName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ScalingGroupName", 3)) + } if invalidParams.Len() > 0 { return invalidParams @@ -6599,68 +8741,61 @@ func (s *GetKxChangesetInput) Validate() error { return nil } -// SetChangesetId sets the ChangesetId field's value. -func (s *GetKxChangesetInput) SetChangesetId(v string) *GetKxChangesetInput { - s.ChangesetId = &v +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxScalingGroupInput) SetClientToken(v string) *DeleteKxScalingGroupInput { + s.ClientToken = &v return s } -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetKxChangesetInput) SetDatabaseName(v string) *GetKxChangesetInput { - s.DatabaseName = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *DeleteKxScalingGroupInput) SetEnvironmentId(v string) *DeleteKxScalingGroupInput { + s.EnvironmentId = &v return s } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxChangesetInput) SetEnvironmentId(v string) *GetKxChangesetInput { - s.EnvironmentId = &v +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *DeleteKxScalingGroupInput) SetScalingGroupName(v string) *DeleteKxScalingGroupInput { + s.ScalingGroupName = &v return s } -type GetKxChangesetOutput struct { +type DeleteKxScalingGroupOutput struct { _ struct{} `type:"structure"` +} - // Beginning time from which the changeset is active. The value is determined - // as epoch time in milliseconds. For example, the value for Monday, November - // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - ActiveFromTimestamp *time.Time `locationName:"activeFromTimestamp" type:"timestamp"` - - // A list of change request objects that are run in order. - ChangeRequests []*ChangeRequest `locationName:"changeRequests" min:"1" type:"list"` - - // A unique identifier for the changeset. - ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` - - // The timestamp at which the changeset was created in FinSpace. The value is - // determined as epoch time in milliseconds. For example, the value for Monday, - // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` - - // The name of the kdb database. - DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxScalingGroupOutput) String() string { + return awsutil.Prettify(s) +} - // A unique identifier for the kdb environment. - EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxScalingGroupOutput) GoString() string { + return s.String() +} - // Provides details in the event of a failed flow, including the error type - // and the related error message. - ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"` +type DeleteKxUserInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The timestamp at which the changeset was updated in FinSpace. The value is - // determined as epoch time in milliseconds. For example, the value for Monday, - // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // Status of the changeset creation process. - // - // * Pending – Changeset creation is pending. - // - // * Processing – Changeset creation is running. + // A unique identifier for the kdb environment. // - // * Failed – Changeset creation has failed. + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // A unique identifier for the user that you want to delete. // - // * Complete – Changeset creation has succeeded. - Status *string `locationName:"status" type:"string" enum:"ChangesetStatus"` + // UserName is a required field + UserName *string `location:"uri" locationName:"userName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -6668,7 +8803,7 @@ type GetKxChangesetOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxChangesetOutput) String() string { +func (s DeleteKxUserInput) String() string { return awsutil.Prettify(s) } @@ -6677,76 +8812,91 @@ func (s GetKxChangesetOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxChangesetOutput) GoString() string { +func (s DeleteKxUserInput) GoString() string { return s.String() } -// SetActiveFromTimestamp sets the ActiveFromTimestamp field's value. -func (s *GetKxChangesetOutput) SetActiveFromTimestamp(v time.Time) *GetKxChangesetOutput { - s.ActiveFromTimestamp = &v - return s -} - -// SetChangeRequests sets the ChangeRequests field's value. -func (s *GetKxChangesetOutput) SetChangeRequests(v []*ChangeRequest) *GetKxChangesetOutput { - s.ChangeRequests = v - return s -} - -// SetChangesetId sets the ChangesetId field's value. -func (s *GetKxChangesetOutput) SetChangesetId(v string) *GetKxChangesetOutput { - s.ChangesetId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteKxUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxUserInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *GetKxChangesetOutput) SetCreatedTimestamp(v time.Time) *GetKxChangesetOutput { - s.CreatedTimestamp = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetKxChangesetOutput) SetDatabaseName(v string) *GetKxChangesetOutput { - s.DatabaseName = &v +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxUserInput) SetClientToken(v string) *DeleteKxUserInput { + s.ClientToken = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxChangesetOutput) SetEnvironmentId(v string) *GetKxChangesetOutput { +func (s *DeleteKxUserInput) SetEnvironmentId(v string) *DeleteKxUserInput { s.EnvironmentId = &v return s } -// SetErrorInfo sets the ErrorInfo field's value. -func (s *GetKxChangesetOutput) SetErrorInfo(v *ErrorInfo) *GetKxChangesetOutput { - s.ErrorInfo = v +// SetUserName sets the UserName field's value. +func (s *DeleteKxUserInput) SetUserName(v string) *DeleteKxUserInput { + s.UserName = &v return s } -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *GetKxChangesetOutput) SetLastModifiedTimestamp(v time.Time) *GetKxChangesetOutput { - s.LastModifiedTimestamp = &v - return s +type DeleteKxUserOutput struct { + _ struct{} `type:"structure"` } -// SetStatus sets the Status field's value. -func (s *GetKxChangesetOutput) SetStatus(v string) *GetKxChangesetOutput { - s.Status = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxUserOutput) String() string { + return awsutil.Prettify(s) } -type GetKxClusterInput struct { +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxUserOutput) GoString() string { + return s.String() +} + +type DeleteKxVolumeInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the cluster that you want to retrieve. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"clusterName" min:"3" type:"string" required:"true"` + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment, whose clusters can attach to + // the volume. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // The name of the volume that you want to delete. + // + // VolumeName is a required field + VolumeName *string `location:"uri" locationName:"volumeName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -6754,7 +8904,7 @@ type GetKxClusterInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxClusterInput) String() string { +func (s DeleteKxVolumeInput) String() string { return awsutil.Prettify(s) } @@ -6763,18 +8913,15 @@ func (s GetKxClusterInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxClusterInput) GoString() string { +func (s DeleteKxVolumeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKxClusterInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKxClusterInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) +func (s *DeleteKxVolumeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteKxVolumeInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) @@ -6782,6 +8929,12 @@ func (s *GetKxClusterInput) Validate() error { if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } + if s.VolumeName == nil { + invalidParams.Add(request.NewErrParamRequired("VolumeName")) + } + if s.VolumeName != nil && len(*s.VolumeName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VolumeName", 3)) + } if invalidParams.Len() > 0 { return invalidParams @@ -6789,142 +8942,86 @@ func (s *GetKxClusterInput) Validate() error { return nil } -// SetClusterName sets the ClusterName field's value. -func (s *GetKxClusterInput) SetClusterName(v string) *GetKxClusterInput { - s.ClusterName = &v +// SetClientToken sets the ClientToken field's value. +func (s *DeleteKxVolumeInput) SetClientToken(v string) *DeleteKxVolumeInput { + s.ClientToken = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxClusterInput) SetEnvironmentId(v string) *GetKxClusterInput { +func (s *DeleteKxVolumeInput) SetEnvironmentId(v string) *DeleteKxVolumeInput { s.EnvironmentId = &v return s } -type GetKxClusterOutput struct { +// SetVolumeName sets the VolumeName field's value. +func (s *DeleteKxVolumeInput) SetVolumeName(v string) *DeleteKxVolumeInput { + s.VolumeName = &v + return s +} + +type DeleteKxVolumeOutput struct { _ struct{} `type:"structure"` +} - // The configuration based on which FinSpace will scale in or scale out nodes - // in your cluster. - AutoScalingConfiguration *AutoScalingConfiguration `locationName:"autoScalingConfiguration" type:"structure"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxVolumeOutput) String() string { + return awsutil.Prettify(s) +} - // The availability zone identifiers for the requested regions. - AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteKxVolumeOutput) GoString() string { + return s.String() +} - // The number of availability zones you want to assign per cluster. This can - // be one of the following - // - // * SINGLE – Assigns one availability zone per cluster. - // - // * MULTI – Assigns all the availability zones per cluster. - AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` +// Represents an FinSpace environment. +type Environment struct { + _ struct{} `type:"structure"` - // The configurations for a read only cache storage associated with a cluster. - // This cache will be stored as an FSx Lustre that reads from the S3 store. - CacheStorageConfigurations []*KxCacheStorageConfiguration `locationName:"cacheStorageConfigurations" type:"list"` + // The ID of the AWS account in which the FinSpace environment is created. + AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"` - // A structure for the metadata of a cluster. It includes information like the - // CPUs needed, memory of instances, and number of instances. - CapacityConfiguration *CapacityConfiguration `locationName:"capacityConfiguration" type:"structure"` + // The AWS account ID of the dedicated service account associated with your + // FinSpace environment. + DedicatedServiceAccountId *string `locationName:"dedicatedServiceAccountId" min:"1" type:"string"` - // A description of the cluster. - ClusterDescription *string `locationName:"clusterDescription" min:"1" type:"string"` + // The description of the FinSpace environment. + Description *string `locationName:"description" min:"1" type:"string"` - // A unique name for the cluster. - ClusterName *string `locationName:"clusterName" min:"3" type:"string"` + // The Amazon Resource Name (ARN) of your FinSpace environment. + EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` - // Specifies the type of KDB database that is being created. The following types - // are available: - // - // * HDB – A Historical Database. The data is only accessible with read-only - // permissions from one of the FinSpace managed kdb databases mounted to - // the cluster. - // - // * RDB – A Realtime Database. This type of database captures all the - // data from a ticker plant and stores it in memory until the end of day, - // after which it writes all of its data to a disk and reloads the HDB. This - // cluster type requires local storage for temporary storage of data during - // the savedown process. If you specify this field in your request, you must - // provide the savedownStorageConfiguration parameter. - // - // * GATEWAY – A gateway cluster allows you to access data across processes - // in kdb systems. It allows you to create your own routing logic using the - // initialization scripts and custom code. This type of cluster does not - // require a writable local storage. - // - // * GP – A general purpose cluster allows you to quickly iterate on code - // during development by granting greater access to system commands and enabling - // a fast reload of custom code. This cluster type can optionally mount databases - // including cache and savedown storage. For this cluster type, the node - // count is fixed at 1. It does not support autoscaling and supports only - // SINGLE AZ mode. - ClusterType *string `locationName:"clusterType" type:"string" enum:"KxClusterType"` + // The identifier of the FinSpace environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - // The details of the custom code that you want to use inside a cluster when - // analyzing a data. It consists of the S3 source bucket, location, S3 object - // version, and the relative path from where the custom code is loaded into - // the cluster. - Code *CodeConfiguration `locationName:"code" type:"structure"` + // The sign-in URL for the web application of your FinSpace environment. + EnvironmentUrl *string `locationName:"environmentUrl" min:"1" type:"string"` - // Defines key-value pairs to make them available inside the cluster. - CommandLineArguments []*KxCommandLineArgument `locationName:"commandLineArguments" type:"list"` - - // The timestamp at which the cluster was created in FinSpace. The value is - // determined as epoch time in milliseconds. For example, the value for Monday, - // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` - - // A list of databases mounted on the cluster. - Databases []*KxDatabaseConfiguration `locationName:"databases" type:"list"` - - // An IAM role that defines a set of permissions associated with a cluster. - // These permissions are assumed when a cluster attempts to access another cluster. - ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"` - - // Specifies a Q program that will be run at launch of a cluster. It is a relative - // path within .zip file that contains the custom code, which will be loaded - // on the cluster. It must include the file name itself. For example, somedir/init.q. - InitializationScript *string `locationName:"initializationScript" min:"1" type:"string"` - - // The last time that the cluster was modified. The value is determined as epoch - // time in milliseconds. For example, the value for Monday, November 1, 2021 - // 12:00:00 PM UTC is specified as 1635768000000. - LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + // The authentication mode for the environment. + FederationMode *string `locationName:"federationMode" type:"string" enum:"FederationMode"` - // The version of FinSpace managed kdb to run. - ReleaseLabel *string `locationName:"releaseLabel" min:"1" type:"string"` + // Configuration information when authentication mode is FEDERATED. + FederationParameters *FederationParameters `locationName:"federationParameters" type:"structure"` - // The size and type of the temporary storage that is used to hold data during - // the savedown process. This parameter is required when you choose clusterType - // as RDB. All the data written to this storage space is lost when the cluster - // node is restarted. - SavedownStorageConfiguration *KxSavedownStorageConfiguration `locationName:"savedownStorageConfiguration" type:"structure"` + // The KMS key id used to encrypt in the FinSpace environment. + KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` - // The status of cluster creation. - // - // * PENDING – The cluster is pending creation. - // - // * CREATING – The cluster creation process is in progress. - // - // * CREATE_FAILED – The cluster creation process has failed. - // - // * RUNNING – The cluster creation process is running. - // - // * UPDATING – The cluster is in the process of being updated. - // - // * DELETING – The cluster is in the process of being deleted. - // - // * DELETED – The cluster has been deleted. - // - // * DELETE_FAILED – The cluster failed to delete. - Status *string `locationName:"status" type:"string" enum:"KxClusterStatus"` + // The name of the FinSpace environment. + Name *string `locationName:"name" min:"1" type:"string"` - // The error message when a failed state occurs. - StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + // The URL of the integrated FinSpace notebook environment in your web application. + SageMakerStudioDomainUrl *string `locationName:"sageMakerStudioDomainUrl" min:"1" type:"string"` - // Configuration details about the network where the Privatelink endpoint of - // the cluster resides. - VpcConfiguration *VpcConfiguration `locationName:"vpcConfiguration" type:"structure"` + // The current status of creation of the FinSpace environment. + Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` } // String returns the string representation. @@ -6932,7 +9029,7 @@ type GetKxClusterOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxClusterOutput) String() string { +func (s Environment) String() string { return awsutil.Prettify(s) } @@ -6941,149 +9038,151 @@ func (s GetKxClusterOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxClusterOutput) GoString() string { +func (s Environment) GoString() string { return s.String() } -// SetAutoScalingConfiguration sets the AutoScalingConfiguration field's value. -func (s *GetKxClusterOutput) SetAutoScalingConfiguration(v *AutoScalingConfiguration) *GetKxClusterOutput { - s.AutoScalingConfiguration = v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *Environment) SetAwsAccountId(v string) *Environment { + s.AwsAccountId = &v return s } -// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. -func (s *GetKxClusterOutput) SetAvailabilityZoneId(v string) *GetKxClusterOutput { - s.AvailabilityZoneId = &v +// SetDedicatedServiceAccountId sets the DedicatedServiceAccountId field's value. +func (s *Environment) SetDedicatedServiceAccountId(v string) *Environment { + s.DedicatedServiceAccountId = &v return s } -// SetAzMode sets the AzMode field's value. -func (s *GetKxClusterOutput) SetAzMode(v string) *GetKxClusterOutput { - s.AzMode = &v +// SetDescription sets the Description field's value. +func (s *Environment) SetDescription(v string) *Environment { + s.Description = &v return s } -// SetCacheStorageConfigurations sets the CacheStorageConfigurations field's value. -func (s *GetKxClusterOutput) SetCacheStorageConfigurations(v []*KxCacheStorageConfiguration) *GetKxClusterOutput { - s.CacheStorageConfigurations = v +// SetEnvironmentArn sets the EnvironmentArn field's value. +func (s *Environment) SetEnvironmentArn(v string) *Environment { + s.EnvironmentArn = &v return s } -// SetCapacityConfiguration sets the CapacityConfiguration field's value. -func (s *GetKxClusterOutput) SetCapacityConfiguration(v *CapacityConfiguration) *GetKxClusterOutput { - s.CapacityConfiguration = v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *Environment) SetEnvironmentId(v string) *Environment { + s.EnvironmentId = &v return s } -// SetClusterDescription sets the ClusterDescription field's value. -func (s *GetKxClusterOutput) SetClusterDescription(v string) *GetKxClusterOutput { - s.ClusterDescription = &v +// SetEnvironmentUrl sets the EnvironmentUrl field's value. +func (s *Environment) SetEnvironmentUrl(v string) *Environment { + s.EnvironmentUrl = &v return s } -// SetClusterName sets the ClusterName field's value. -func (s *GetKxClusterOutput) SetClusterName(v string) *GetKxClusterOutput { - s.ClusterName = &v +// SetFederationMode sets the FederationMode field's value. +func (s *Environment) SetFederationMode(v string) *Environment { + s.FederationMode = &v return s } -// SetClusterType sets the ClusterType field's value. -func (s *GetKxClusterOutput) SetClusterType(v string) *GetKxClusterOutput { - s.ClusterType = &v +// SetFederationParameters sets the FederationParameters field's value. +func (s *Environment) SetFederationParameters(v *FederationParameters) *Environment { + s.FederationParameters = v return s } -// SetCode sets the Code field's value. -func (s *GetKxClusterOutput) SetCode(v *CodeConfiguration) *GetKxClusterOutput { - s.Code = v +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *Environment) SetKmsKeyId(v string) *Environment { + s.KmsKeyId = &v return s } -// SetCommandLineArguments sets the CommandLineArguments field's value. -func (s *GetKxClusterOutput) SetCommandLineArguments(v []*KxCommandLineArgument) *GetKxClusterOutput { - s.CommandLineArguments = v +// SetName sets the Name field's value. +func (s *Environment) SetName(v string) *Environment { + s.Name = &v return s } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *GetKxClusterOutput) SetCreatedTimestamp(v time.Time) *GetKxClusterOutput { - s.CreatedTimestamp = &v +// SetSageMakerStudioDomainUrl sets the SageMakerStudioDomainUrl field's value. +func (s *Environment) SetSageMakerStudioDomainUrl(v string) *Environment { + s.SageMakerStudioDomainUrl = &v return s } -// SetDatabases sets the Databases field's value. -func (s *GetKxClusterOutput) SetDatabases(v []*KxDatabaseConfiguration) *GetKxClusterOutput { - s.Databases = v +// SetStatus sets the Status field's value. +func (s *Environment) SetStatus(v string) *Environment { + s.Status = &v return s } -// SetExecutionRole sets the ExecutionRole field's value. -func (s *GetKxClusterOutput) SetExecutionRole(v string) *GetKxClusterOutput { - s.ExecutionRole = &v - return s -} +// Provides details in the event of a failed flow, including the error type +// and the related error message. +type ErrorInfo struct { + _ struct{} `type:"structure"` -// SetInitializationScript sets the InitializationScript field's value. -func (s *GetKxClusterOutput) SetInitializationScript(v string) *GetKxClusterOutput { - s.InitializationScript = &v - return s -} + // Specifies the error message that appears if a flow fails. + ErrorMessage *string `locationName:"errorMessage" type:"string"` -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *GetKxClusterOutput) SetLastModifiedTimestamp(v time.Time) *GetKxClusterOutput { - s.LastModifiedTimestamp = &v - return s + // Specifies the type of error. + ErrorType *string `locationName:"errorType" type:"string" enum:"ErrorDetails"` } -// SetReleaseLabel sets the ReleaseLabel field's value. -func (s *GetKxClusterOutput) SetReleaseLabel(v string) *GetKxClusterOutput { - s.ReleaseLabel = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ErrorInfo) String() string { + return awsutil.Prettify(s) } -// SetSavedownStorageConfiguration sets the SavedownStorageConfiguration field's value. -func (s *GetKxClusterOutput) SetSavedownStorageConfiguration(v *KxSavedownStorageConfiguration) *GetKxClusterOutput { - s.SavedownStorageConfiguration = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ErrorInfo) GoString() string { + return s.String() } -// SetStatus sets the Status field's value. -func (s *GetKxClusterOutput) SetStatus(v string) *GetKxClusterOutput { - s.Status = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *ErrorInfo) SetErrorMessage(v string) *ErrorInfo { + s.ErrorMessage = &v return s } -// SetStatusReason sets the StatusReason field's value. -func (s *GetKxClusterOutput) SetStatusReason(v string) *GetKxClusterOutput { - s.StatusReason = &v +// SetErrorType sets the ErrorType field's value. +func (s *ErrorInfo) SetErrorType(v string) *ErrorInfo { + s.ErrorType = &v return s } -// SetVpcConfiguration sets the VpcConfiguration field's value. -func (s *GetKxClusterOutput) SetVpcConfiguration(v *VpcConfiguration) *GetKxClusterOutput { - s.VpcConfiguration = v - return s -} +// Configuration information when authentication mode is FEDERATED. +type FederationParameters struct { + _ struct{} `type:"structure"` -type GetKxConnectionStringInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The redirect or sign-in URL that should be entered into the SAML 2.0 compliant + // identity provider configuration (IdP). + ApplicationCallBackURL *string `locationName:"applicationCallBackURL" min:"1" type:"string"` - // A name of the kdb cluster. - // - // ClusterName is a required field - ClusterName *string `location:"querystring" locationName:"clusterName" min:"3" type:"string" required:"true"` + // SAML attribute name and value. The name must always be Email and the value + // should be set to the attribute definition in which user email is set. For + // example, name would be Email and value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress. + // Please check your SAML 2.0 compliant identity provider (IdP) documentation + // for details. + AttributeMap map[string]*string `locationName:"attributeMap" type:"map"` - // A unique identifier for the kdb environment. - // - // EnvironmentId is a required field - EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + // Name of the identity provider (IdP). + FederationProviderName *string `locationName:"federationProviderName" min:"1" type:"string"` - // The Amazon Resource Name (ARN) that identifies the user. For more information - // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - // in the IAM User Guide. - // - // UserArn is a required field - UserArn *string `location:"querystring" locationName:"userArn" min:"20" type:"string" required:"true"` + // The Uniform Resource Name (URN). Also referred as Service Provider URN or + // Audience URI or Service Provider Entity ID. + FederationURN *string `locationName:"federationURN" min:"1" type:"string"` + + // SAML 2.0 Metadata document from identity provider (IdP). + SamlMetadataDocument *string `locationName:"samlMetadataDocument" min:"1000" type:"string"` + + // Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP). + SamlMetadataURL *string `locationName:"samlMetadataURL" min:"1" type:"string"` } // String returns the string representation. @@ -7091,7 +9190,7 @@ type GetKxConnectionStringInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxConnectionStringInput) String() string { +func (s FederationParameters) String() string { return awsutil.Prettify(s) } @@ -7100,30 +9199,27 @@ func (s GetKxConnectionStringInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxConnectionStringInput) GoString() string { +func (s FederationParameters) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKxConnectionStringInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKxConnectionStringInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) +func (s *FederationParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FederationParameters"} + if s.ApplicationCallBackURL != nil && len(*s.ApplicationCallBackURL) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationCallBackURL", 1)) } - if s.ClusterName != nil && len(*s.ClusterName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) + if s.FederationProviderName != nil && len(*s.FederationProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FederationProviderName", 1)) } - if s.EnvironmentId == nil { - invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) - } - if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + if s.FederationURN != nil && len(*s.FederationURN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FederationURN", 1)) } - if s.UserArn == nil { - invalidParams.Add(request.NewErrParamRequired("UserArn")) + if s.SamlMetadataDocument != nil && len(*s.SamlMetadataDocument) < 1000 { + invalidParams.Add(request.NewErrParamMinLen("SamlMetadataDocument", 1000)) } - if s.UserArn != nil && len(*s.UserArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("UserArn", 20)) + if s.SamlMetadataURL != nil && len(*s.SamlMetadataURL) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SamlMetadataURL", 1)) } if invalidParams.Len() > 0 { @@ -7132,33 +9228,49 @@ func (s *GetKxConnectionStringInput) Validate() error { return nil } -// SetClusterName sets the ClusterName field's value. -func (s *GetKxConnectionStringInput) SetClusterName(v string) *GetKxConnectionStringInput { - s.ClusterName = &v +// SetApplicationCallBackURL sets the ApplicationCallBackURL field's value. +func (s *FederationParameters) SetApplicationCallBackURL(v string) *FederationParameters { + s.ApplicationCallBackURL = &v return s } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxConnectionStringInput) SetEnvironmentId(v string) *GetKxConnectionStringInput { - s.EnvironmentId = &v +// SetAttributeMap sets the AttributeMap field's value. +func (s *FederationParameters) SetAttributeMap(v map[string]*string) *FederationParameters { + s.AttributeMap = v return s } -// SetUserArn sets the UserArn field's value. -func (s *GetKxConnectionStringInput) SetUserArn(v string) *GetKxConnectionStringInput { - s.UserArn = &v +// SetFederationProviderName sets the FederationProviderName field's value. +func (s *FederationParameters) SetFederationProviderName(v string) *FederationParameters { + s.FederationProviderName = &v return s } -type GetKxConnectionStringOutput struct { - _ struct{} `type:"structure"` +// SetFederationURN sets the FederationURN field's value. +func (s *FederationParameters) SetFederationURN(v string) *FederationParameters { + s.FederationURN = &v + return s +} - // The signed connection string that you can use to connect to clusters. +// SetSamlMetadataDocument sets the SamlMetadataDocument field's value. +func (s *FederationParameters) SetSamlMetadataDocument(v string) *FederationParameters { + s.SamlMetadataDocument = &v + return s +} + +// SetSamlMetadataURL sets the SamlMetadataURL field's value. +func (s *FederationParameters) SetSamlMetadataURL(v string) *FederationParameters { + s.SamlMetadataURL = &v + return s +} + +type GetEnvironmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the FinSpace environment. // - // SignedConnectionString is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GetKxConnectionStringOutput's - // String and GoString methods. - SignedConnectionString *string `locationName:"signedConnectionString" min:"1" type:"string" sensitive:"true"` + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -7166,7 +9278,7 @@ type GetKxConnectionStringOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxConnectionStringOutput) String() string { +func (s GetEnvironmentInput) String() string { return awsutil.Prettify(s) } @@ -7175,19 +9287,71 @@ func (s GetKxConnectionStringOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxConnectionStringOutput) GoString() string { +func (s GetEnvironmentInput) GoString() string { return s.String() } -// SetSignedConnectionString sets the SignedConnectionString field's value. -func (s *GetKxConnectionStringOutput) SetSignedConnectionString(v string) *GetKxConnectionStringOutput { - s.SignedConnectionString = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetEnvironmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetEnvironmentInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetEnvironmentInput) SetEnvironmentId(v string) *GetEnvironmentInput { + s.EnvironmentId = &v return s } -type GetKxDatabaseInput struct { +type GetEnvironmentOutput struct { + _ struct{} `type:"structure"` + + // The name of the FinSpace environment. + Environment *Environment `locationName:"environment" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetEnvironmentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetEnvironmentOutput) GoString() string { + return s.String() +} + +// SetEnvironment sets the Environment field's value. +func (s *GetEnvironmentOutput) SetEnvironment(v *Environment) *GetEnvironmentOutput { + s.Environment = v + return s +} + +type GetKxChangesetInput struct { _ struct{} `type:"structure" nopayload:"true"` + // A unique identifier of the changeset for which you want to retrieve data. + // + // ChangesetId is a required field + ChangesetId *string `location:"uri" locationName:"changesetId" min:"1" type:"string" required:"true"` + // The name of the kdb database. // // DatabaseName is a required field @@ -7204,7 +9368,7 @@ type GetKxDatabaseInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxDatabaseInput) String() string { +func (s GetKxChangesetInput) String() string { return awsutil.Prettify(s) } @@ -7213,13 +9377,19 @@ func (s GetKxDatabaseInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxDatabaseInput) GoString() string { +func (s GetKxChangesetInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKxDatabaseInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKxDatabaseInput"} +func (s *GetKxChangesetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxChangesetInput"} + if s.ChangesetId == nil { + invalidParams.Add(request.NewErrParamRequired("ChangesetId")) + } + if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) + } if s.DatabaseName == nil { invalidParams.Add(request.NewErrParamRequired("DatabaseName")) } @@ -7239,54 +9409,68 @@ func (s *GetKxDatabaseInput) Validate() error { return nil } +// SetChangesetId sets the ChangesetId field's value. +func (s *GetKxChangesetInput) SetChangesetId(v string) *GetKxChangesetInput { + s.ChangesetId = &v + return s +} + // SetDatabaseName sets the DatabaseName field's value. -func (s *GetKxDatabaseInput) SetDatabaseName(v string) *GetKxDatabaseInput { +func (s *GetKxChangesetInput) SetDatabaseName(v string) *GetKxChangesetInput { s.DatabaseName = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxDatabaseInput) SetEnvironmentId(v string) *GetKxDatabaseInput { +func (s *GetKxChangesetInput) SetEnvironmentId(v string) *GetKxChangesetInput { s.EnvironmentId = &v return s } -type GetKxDatabaseOutput struct { +type GetKxChangesetOutput struct { _ struct{} `type:"structure"` - // The timestamp at which the database is created in FinSpace. The value is + // Beginning time from which the changeset is active. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + ActiveFromTimestamp *time.Time `locationName:"activeFromTimestamp" type:"timestamp"` + + // A list of change request objects that are run in order. + ChangeRequests []*ChangeRequest `locationName:"changeRequests" min:"1" type:"list"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The timestamp at which the changeset was created in FinSpace. The value is // determined as epoch time in milliseconds. For example, the value for Monday, // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` - // The ARN identifier of the database. - DatabaseArn *string `locationName:"databaseArn" type:"string"` - - // The name of the kdb database for which the information is retrieved. + // The name of the kdb database. DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` - // A description of the database. - Description *string `locationName:"description" min:"1" type:"string"` - // A unique identifier for the kdb environment. EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - // A unique identifier for the changeset. - LastCompletedChangesetId *string `locationName:"lastCompletedChangesetId" min:"1" type:"string"` + // Provides details in the event of a failed flow, including the error type + // and the related error message. + ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"` - // The last time that the database was modified. The value is determined as - // epoch time in milliseconds. For example, the value for Monday, November 1, - // 2021 12:00:00 PM UTC is specified as 1635768000000. + // The timestamp at which the changeset was updated in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` - // The total number of bytes in the database. - NumBytes *int64 `locationName:"numBytes" type:"long"` - - // The total number of changesets in the database. - NumChangesets *int64 `locationName:"numChangesets" type:"integer"` - - // The total number of files in the database. - NumFiles *int64 `locationName:"numFiles" type:"integer"` + // Status of the changeset creation process. + // + // * Pending – Changeset creation is pending. + // + // * Processing – Changeset creation is running. + // + // * Failed – Changeset creation has failed. + // + // * Complete – Changeset creation has succeeded. + Status *string `locationName:"status" type:"string" enum:"ChangesetStatus"` } // String returns the string representation. @@ -7294,7 +9478,7 @@ type GetKxDatabaseOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxDatabaseOutput) String() string { +func (s GetKxChangesetOutput) String() string { return awsutil.Prettify(s) } @@ -7303,73 +9487,72 @@ func (s GetKxDatabaseOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxDatabaseOutput) GoString() string { +func (s GetKxChangesetOutput) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *GetKxDatabaseOutput) SetCreatedTimestamp(v time.Time) *GetKxDatabaseOutput { - s.CreatedTimestamp = &v +// SetActiveFromTimestamp sets the ActiveFromTimestamp field's value. +func (s *GetKxChangesetOutput) SetActiveFromTimestamp(v time.Time) *GetKxChangesetOutput { + s.ActiveFromTimestamp = &v return s } -// SetDatabaseArn sets the DatabaseArn field's value. -func (s *GetKxDatabaseOutput) SetDatabaseArn(v string) *GetKxDatabaseOutput { - s.DatabaseArn = &v +// SetChangeRequests sets the ChangeRequests field's value. +func (s *GetKxChangesetOutput) SetChangeRequests(v []*ChangeRequest) *GetKxChangesetOutput { + s.ChangeRequests = v return s } -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetKxDatabaseOutput) SetDatabaseName(v string) *GetKxDatabaseOutput { - s.DatabaseName = &v +// SetChangesetId sets the ChangesetId field's value. +func (s *GetKxChangesetOutput) SetChangesetId(v string) *GetKxChangesetOutput { + s.ChangesetId = &v return s } -// SetDescription sets the Description field's value. -func (s *GetKxDatabaseOutput) SetDescription(v string) *GetKxDatabaseOutput { - s.Description = &v +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *GetKxChangesetOutput) SetCreatedTimestamp(v time.Time) *GetKxChangesetOutput { + s.CreatedTimestamp = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *GetKxChangesetOutput) SetDatabaseName(v string) *GetKxChangesetOutput { + s.DatabaseName = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxDatabaseOutput) SetEnvironmentId(v string) *GetKxDatabaseOutput { +func (s *GetKxChangesetOutput) SetEnvironmentId(v string) *GetKxChangesetOutput { s.EnvironmentId = &v return s } -// SetLastCompletedChangesetId sets the LastCompletedChangesetId field's value. -func (s *GetKxDatabaseOutput) SetLastCompletedChangesetId(v string) *GetKxDatabaseOutput { - s.LastCompletedChangesetId = &v +// SetErrorInfo sets the ErrorInfo field's value. +func (s *GetKxChangesetOutput) SetErrorInfo(v *ErrorInfo) *GetKxChangesetOutput { + s.ErrorInfo = v return s } // SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *GetKxDatabaseOutput) SetLastModifiedTimestamp(v time.Time) *GetKxDatabaseOutput { +func (s *GetKxChangesetOutput) SetLastModifiedTimestamp(v time.Time) *GetKxChangesetOutput { s.LastModifiedTimestamp = &v return s } -// SetNumBytes sets the NumBytes field's value. -func (s *GetKxDatabaseOutput) SetNumBytes(v int64) *GetKxDatabaseOutput { - s.NumBytes = &v +// SetStatus sets the Status field's value. +func (s *GetKxChangesetOutput) SetStatus(v string) *GetKxChangesetOutput { + s.Status = &v return s } -// SetNumChangesets sets the NumChangesets field's value. -func (s *GetKxDatabaseOutput) SetNumChangesets(v int64) *GetKxDatabaseOutput { - s.NumChangesets = &v - return s -} - -// SetNumFiles sets the NumFiles field's value. -func (s *GetKxDatabaseOutput) SetNumFiles(v int64) *GetKxDatabaseOutput { - s.NumFiles = &v - return s -} - -type GetKxEnvironmentInput struct { +type GetKxClusterInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The name of the cluster that you want to retrieve. + // + // ClusterName is a required field + ClusterName *string `location:"uri" locationName:"clusterName" min:"3" type:"string" required:"true"` + // A unique identifier for the kdb environment. // // EnvironmentId is a required field @@ -7381,7 +9564,7 @@ type GetKxEnvironmentInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxEnvironmentInput) String() string { +func (s GetKxClusterInput) String() string { return awsutil.Prettify(s) } @@ -7390,13 +9573,19 @@ func (s GetKxEnvironmentInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxEnvironmentInput) GoString() string { +func (s GetKxClusterInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKxEnvironmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKxEnvironmentInput"} +func (s *GetKxClusterInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxClusterInput"} + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + if s.ClusterName != nil && len(*s.ClusterName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) + } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } @@ -7410,68 +9599,161 @@ func (s *GetKxEnvironmentInput) Validate() error { return nil } +// SetClusterName sets the ClusterName field's value. +func (s *GetKxClusterInput) SetClusterName(v string) *GetKxClusterInput { + s.ClusterName = &v + return s +} + // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxEnvironmentInput) SetEnvironmentId(v string) *GetKxEnvironmentInput { +func (s *GetKxClusterInput) SetEnvironmentId(v string) *GetKxClusterInput { s.EnvironmentId = &v return s } -type GetKxEnvironmentOutput struct { +type GetKxClusterOutput struct { _ struct{} `type:"structure"` - // The identifier of the availability zones where subnets for the environment - // are created. - AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + // The configuration based on which FinSpace will scale in or scale out nodes + // in your cluster. + AutoScalingConfiguration *AutoScalingConfiguration `locationName:"autoScalingConfiguration" type:"structure"` - // The unique identifier of the AWS account that is used to create the kdb environment. - AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"` + // The availability zone identifiers for the requested regions. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` - // The Amazon Resource Name (ARN) of the certificate authority of the kdb environment. - CertificateAuthorityArn *string `locationName:"certificateAuthorityArn" min:"1" type:"string"` + // The number of availability zones you want to assign per cluster. This can + // be one of the following + // + // * SINGLE – Assigns one availability zone per cluster. + // + // * MULTI – Assigns all the availability zones per cluster. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` - // The timestamp at which the kdb environment was created in FinSpace. - CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` + // The configurations for a read only cache storage associated with a cluster. + // This cache will be stored as an FSx Lustre that reads from the S3 store. + CacheStorageConfigurations []*KxCacheStorageConfiguration `locationName:"cacheStorageConfigurations" type:"list"` - // A list of DNS server name and server IP. This is used to set up Route-53 - // outbound resolvers. - CustomDNSConfiguration []*CustomDNSServer `locationName:"customDNSConfiguration" type:"list"` + // A structure for the metadata of a cluster. It includes information like the + // CPUs needed, memory of instances, and number of instances. + CapacityConfiguration *CapacityConfiguration `locationName:"capacityConfiguration" type:"structure"` - // A unique identifier for the AWS environment infrastructure account. - DedicatedServiceAccountId *string `locationName:"dedicatedServiceAccountId" min:"1" type:"string"` + // A description of the cluster. + ClusterDescription *string `locationName:"clusterDescription" min:"1" type:"string"` - // A description for the kdb environment. - Description *string `locationName:"description" min:"1" type:"string"` + // A unique name for the cluster. + ClusterName *string `locationName:"clusterName" min:"3" type:"string"` - // The status of DNS configuration. - DnsStatus *string `locationName:"dnsStatus" type:"string" enum:"DnsStatus"` + // Specifies the type of KDB database that is being created. The following types + // are available: + // + // * HDB – A Historical Database. The data is only accessible with read-only + // permissions from one of the FinSpace managed kdb databases mounted to + // the cluster. + // + // * RDB – A Realtime Database. This type of database captures all the + // data from a ticker plant and stores it in memory until the end of day, + // after which it writes all of its data to a disk and reloads the HDB. This + // cluster type requires local storage for temporary storage of data during + // the savedown process. If you specify this field in your request, you must + // provide the savedownStorageConfiguration parameter. + // + // * GATEWAY – A gateway cluster allows you to access data across processes + // in kdb systems. It allows you to create your own routing logic using the + // initialization scripts and custom code. This type of cluster does not + // require a writable local storage. + // + // * GP – A general purpose cluster allows you to quickly iterate on code + // during development by granting greater access to system commands and enabling + // a fast reload of custom code. This cluster type can optionally mount databases + // including cache and savedown storage. For this cluster type, the node + // count is fixed at 1. It does not support autoscaling and supports only + // SINGLE AZ mode. + // + // * Tickerplant – A tickerplant cluster allows you to subscribe to feed + // handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, + // and real-time subscribers (RTS). Tickerplants can persist messages to + // log, which is readable by any RDB environment. It supports only single-node + // that is only one kdb process. + ClusterType *string `locationName:"clusterType" type:"string" enum:"KxClusterType"` - // The ARN identifier of the environment. - EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` + // The details of the custom code that you want to use inside a cluster when + // analyzing a data. It consists of the S3 source bucket, location, S3 object + // version, and the relative path from where the custom code is loaded into + // the cluster. + Code *CodeConfiguration `locationName:"code" type:"structure"` - // A unique identifier for the kdb environment. - EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + // Defines key-value pairs to make them available inside the cluster. + CommandLineArguments []*KxCommandLineArgument `locationName:"commandLineArguments" type:"list"` - // Specifies the error message that appears if a flow fails. - ErrorMessage *string `locationName:"errorMessage" type:"string"` + // The timestamp at which the cluster was created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` - // The KMS key ID to encrypt your data in the FinSpace environment. - KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` + // A list of databases mounted on the cluster. + Databases []*KxDatabaseConfiguration `locationName:"databases" type:"list"` - // The name of the kdb environment. - Name *string `locationName:"name" min:"3" type:"string"` + // An IAM role that defines a set of permissions associated with a cluster. + // These permissions are assumed when a cluster attempts to access another cluster. + ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"` - // The status of the kdb environment. - Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` + // Specifies a Q program that will be run at launch of a cluster. It is a relative + // path within .zip file that contains the custom code, which will be loaded + // on the cluster. It must include the file name itself. For example, somedir/init.q. + InitializationScript *string `locationName:"initializationScript" min:"1" type:"string"` - // The status of the network configuration. - TgwStatus *string `locationName:"tgwStatus" type:"string" enum:"TgwStatus"` + // The last time that the cluster was modified. The value is determined as epoch + // time in milliseconds. For example, the value for Monday, November 1, 2021 + // 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` - // The structure of the transit gateway and network configuration that is used - // to connect the kdb environment to an internal network. - TransitGatewayConfiguration *TransitGatewayConfiguration `locationName:"transitGatewayConfiguration" type:"structure"` + // The version of FinSpace managed kdb to run. + ReleaseLabel *string `locationName:"releaseLabel" min:"1" type:"string"` - // The timestamp at which the kdb environment was updated. - UpdateTimestamp *time.Time `locationName:"updateTimestamp" type:"timestamp"` + // The size and type of the temporary storage that is used to hold data during + // the savedown process. This parameter is required when you choose clusterType + // as RDB. All the data written to this storage space is lost when the cluster + // node is restarted. + SavedownStorageConfiguration *KxSavedownStorageConfiguration `locationName:"savedownStorageConfiguration" type:"structure"` + + // The structure that stores the capacity configuration details of a scaling + // group. + ScalingGroupConfiguration *KxScalingGroupConfiguration `locationName:"scalingGroupConfiguration" type:"structure"` + + // The status of cluster creation. + // + // * PENDING – The cluster is pending creation. + // + // * CREATING – The cluster creation process is in progress. + // + // * CREATE_FAILED – The cluster creation process has failed. + // + // * RUNNING – The cluster creation process is running. + // + // * UPDATING – The cluster is in the process of being updated. + // + // * DELETING – The cluster is in the process of being deleted. + // + // * DELETED – The cluster has been deleted. + // + // * DELETE_FAILED – The cluster failed to delete. + Status *string `locationName:"status" type:"string" enum:"KxClusterStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + + // A configuration to store the Tickerplant logs. It consists of a list of volumes + // that will be mounted to your cluster. For the cluster type Tickerplant, the + // location of the TP volume on the cluster will be available by using the global + // variable .aws.tp_log_path. + TickerplantLogConfiguration *TickerplantLogConfiguration `locationName:"tickerplantLogConfiguration" type:"structure"` + + // A list of volumes attached to the cluster. + Volumes []*Volume `locationName:"volumes" type:"list"` + + // Configuration details about the network where the Privatelink endpoint of + // the cluster resides. + VpcConfiguration *VpcConfiguration `locationName:"vpcConfiguration" type:"structure"` } // String returns the string representation. @@ -7479,7 +9761,7 @@ type GetKxEnvironmentOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxEnvironmentOutput) String() string { +func (s GetKxClusterOutput) String() string { return awsutil.Prettify(s) } @@ -7488,124 +9770,167 @@ func (s GetKxEnvironmentOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxEnvironmentOutput) GoString() string { +func (s GetKxClusterOutput) GoString() string { return s.String() } -// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. -func (s *GetKxEnvironmentOutput) SetAvailabilityZoneIds(v []*string) *GetKxEnvironmentOutput { - s.AvailabilityZoneIds = v +// SetAutoScalingConfiguration sets the AutoScalingConfiguration field's value. +func (s *GetKxClusterOutput) SetAutoScalingConfiguration(v *AutoScalingConfiguration) *GetKxClusterOutput { + s.AutoScalingConfiguration = v return s } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *GetKxEnvironmentOutput) SetAwsAccountId(v string) *GetKxEnvironmentOutput { - s.AwsAccountId = &v +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *GetKxClusterOutput) SetAvailabilityZoneId(v string) *GetKxClusterOutput { + s.AvailabilityZoneId = &v return s } -// SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value. -func (s *GetKxEnvironmentOutput) SetCertificateAuthorityArn(v string) *GetKxEnvironmentOutput { - s.CertificateAuthorityArn = &v +// SetAzMode sets the AzMode field's value. +func (s *GetKxClusterOutput) SetAzMode(v string) *GetKxClusterOutput { + s.AzMode = &v return s } -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetKxEnvironmentOutput) SetCreationTimestamp(v time.Time) *GetKxEnvironmentOutput { - s.CreationTimestamp = &v +// SetCacheStorageConfigurations sets the CacheStorageConfigurations field's value. +func (s *GetKxClusterOutput) SetCacheStorageConfigurations(v []*KxCacheStorageConfiguration) *GetKxClusterOutput { + s.CacheStorageConfigurations = v return s } -// SetCustomDNSConfiguration sets the CustomDNSConfiguration field's value. -func (s *GetKxEnvironmentOutput) SetCustomDNSConfiguration(v []*CustomDNSServer) *GetKxEnvironmentOutput { - s.CustomDNSConfiguration = v +// SetCapacityConfiguration sets the CapacityConfiguration field's value. +func (s *GetKxClusterOutput) SetCapacityConfiguration(v *CapacityConfiguration) *GetKxClusterOutput { + s.CapacityConfiguration = v return s } -// SetDedicatedServiceAccountId sets the DedicatedServiceAccountId field's value. -func (s *GetKxEnvironmentOutput) SetDedicatedServiceAccountId(v string) *GetKxEnvironmentOutput { - s.DedicatedServiceAccountId = &v +// SetClusterDescription sets the ClusterDescription field's value. +func (s *GetKxClusterOutput) SetClusterDescription(v string) *GetKxClusterOutput { + s.ClusterDescription = &v return s } -// SetDescription sets the Description field's value. -func (s *GetKxEnvironmentOutput) SetDescription(v string) *GetKxEnvironmentOutput { - s.Description = &v +// SetClusterName sets the ClusterName field's value. +func (s *GetKxClusterOutput) SetClusterName(v string) *GetKxClusterOutput { + s.ClusterName = &v return s } -// SetDnsStatus sets the DnsStatus field's value. -func (s *GetKxEnvironmentOutput) SetDnsStatus(v string) *GetKxEnvironmentOutput { - s.DnsStatus = &v +// SetClusterType sets the ClusterType field's value. +func (s *GetKxClusterOutput) SetClusterType(v string) *GetKxClusterOutput { + s.ClusterType = &v return s } -// SetEnvironmentArn sets the EnvironmentArn field's value. -func (s *GetKxEnvironmentOutput) SetEnvironmentArn(v string) *GetKxEnvironmentOutput { - s.EnvironmentArn = &v +// SetCode sets the Code field's value. +func (s *GetKxClusterOutput) SetCode(v *CodeConfiguration) *GetKxClusterOutput { + s.Code = v return s } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxEnvironmentOutput) SetEnvironmentId(v string) *GetKxEnvironmentOutput { - s.EnvironmentId = &v +// SetCommandLineArguments sets the CommandLineArguments field's value. +func (s *GetKxClusterOutput) SetCommandLineArguments(v []*KxCommandLineArgument) *GetKxClusterOutput { + s.CommandLineArguments = v return s } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *GetKxEnvironmentOutput) SetErrorMessage(v string) *GetKxEnvironmentOutput { - s.ErrorMessage = &v +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *GetKxClusterOutput) SetCreatedTimestamp(v time.Time) *GetKxClusterOutput { + s.CreatedTimestamp = &v return s } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *GetKxEnvironmentOutput) SetKmsKeyId(v string) *GetKxEnvironmentOutput { - s.KmsKeyId = &v +// SetDatabases sets the Databases field's value. +func (s *GetKxClusterOutput) SetDatabases(v []*KxDatabaseConfiguration) *GetKxClusterOutput { + s.Databases = v return s } -// SetName sets the Name field's value. -func (s *GetKxEnvironmentOutput) SetName(v string) *GetKxEnvironmentOutput { - s.Name = &v +// SetExecutionRole sets the ExecutionRole field's value. +func (s *GetKxClusterOutput) SetExecutionRole(v string) *GetKxClusterOutput { + s.ExecutionRole = &v + return s +} + +// SetInitializationScript sets the InitializationScript field's value. +func (s *GetKxClusterOutput) SetInitializationScript(v string) *GetKxClusterOutput { + s.InitializationScript = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *GetKxClusterOutput) SetLastModifiedTimestamp(v time.Time) *GetKxClusterOutput { + s.LastModifiedTimestamp = &v + return s +} + +// SetReleaseLabel sets the ReleaseLabel field's value. +func (s *GetKxClusterOutput) SetReleaseLabel(v string) *GetKxClusterOutput { + s.ReleaseLabel = &v + return s +} + +// SetSavedownStorageConfiguration sets the SavedownStorageConfiguration field's value. +func (s *GetKxClusterOutput) SetSavedownStorageConfiguration(v *KxSavedownStorageConfiguration) *GetKxClusterOutput { + s.SavedownStorageConfiguration = v + return s +} + +// SetScalingGroupConfiguration sets the ScalingGroupConfiguration field's value. +func (s *GetKxClusterOutput) SetScalingGroupConfiguration(v *KxScalingGroupConfiguration) *GetKxClusterOutput { + s.ScalingGroupConfiguration = v return s } // SetStatus sets the Status field's value. -func (s *GetKxEnvironmentOutput) SetStatus(v string) *GetKxEnvironmentOutput { +func (s *GetKxClusterOutput) SetStatus(v string) *GetKxClusterOutput { s.Status = &v return s } -// SetTgwStatus sets the TgwStatus field's value. -func (s *GetKxEnvironmentOutput) SetTgwStatus(v string) *GetKxEnvironmentOutput { - s.TgwStatus = &v +// SetStatusReason sets the StatusReason field's value. +func (s *GetKxClusterOutput) SetStatusReason(v string) *GetKxClusterOutput { + s.StatusReason = &v return s } -// SetTransitGatewayConfiguration sets the TransitGatewayConfiguration field's value. -func (s *GetKxEnvironmentOutput) SetTransitGatewayConfiguration(v *TransitGatewayConfiguration) *GetKxEnvironmentOutput { - s.TransitGatewayConfiguration = v +// SetTickerplantLogConfiguration sets the TickerplantLogConfiguration field's value. +func (s *GetKxClusterOutput) SetTickerplantLogConfiguration(v *TickerplantLogConfiguration) *GetKxClusterOutput { + s.TickerplantLogConfiguration = v return s } -// SetUpdateTimestamp sets the UpdateTimestamp field's value. -func (s *GetKxEnvironmentOutput) SetUpdateTimestamp(v time.Time) *GetKxEnvironmentOutput { - s.UpdateTimestamp = &v +// SetVolumes sets the Volumes field's value. +func (s *GetKxClusterOutput) SetVolumes(v []*Volume) *GetKxClusterOutput { + s.Volumes = v return s } -type GetKxUserInput struct { +// SetVpcConfiguration sets the VpcConfiguration field's value. +func (s *GetKxClusterOutput) SetVpcConfiguration(v *VpcConfiguration) *GetKxClusterOutput { + s.VpcConfiguration = v + return s +} + +type GetKxConnectionStringInput struct { _ struct{} `type:"structure" nopayload:"true"` + // A name of the kdb cluster. + // + // ClusterName is a required field + ClusterName *string `location:"querystring" locationName:"clusterName" min:"3" type:"string" required:"true"` + // A unique identifier for the kdb environment. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` - // A unique identifier for the user. + // The Amazon Resource Name (ARN) that identifies the user. For more information + // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + // in the IAM User Guide. // - // UserName is a required field - UserName *string `location:"uri" locationName:"userName" min:"1" type:"string" required:"true"` + // UserArn is a required field + UserArn *string `location:"querystring" locationName:"userArn" min:"20" type:"string" required:"true"` } // String returns the string representation. @@ -7613,7 +9938,7 @@ type GetKxUserInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxUserInput) String() string { +func (s GetKxConnectionStringInput) String() string { return awsutil.Prettify(s) } @@ -7622,24 +9947,30 @@ func (s GetKxUserInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxUserInput) GoString() string { +func (s GetKxConnectionStringInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetKxUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetKxUserInput"} +func (s *GetKxConnectionStringInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxConnectionStringInput"} + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + if s.ClusterName != nil && len(*s.ClusterName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) + } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.UserArn == nil { + invalidParams.Add(request.NewErrParamRequired("UserArn")) } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.UserArn != nil && len(*s.UserArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("UserArn", 20)) } if invalidParams.Len() > 0 { @@ -7648,34 +9979,33 @@ func (s *GetKxUserInput) Validate() error { return nil } +// SetClusterName sets the ClusterName field's value. +func (s *GetKxConnectionStringInput) SetClusterName(v string) *GetKxConnectionStringInput { + s.ClusterName = &v + return s +} + // SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxUserInput) SetEnvironmentId(v string) *GetKxUserInput { +func (s *GetKxConnectionStringInput) SetEnvironmentId(v string) *GetKxConnectionStringInput { s.EnvironmentId = &v return s } -// SetUserName sets the UserName field's value. -func (s *GetKxUserInput) SetUserName(v string) *GetKxUserInput { - s.UserName = &v +// SetUserArn sets the UserArn field's value. +func (s *GetKxConnectionStringInput) SetUserArn(v string) *GetKxConnectionStringInput { + s.UserArn = &v return s } -type GetKxUserOutput struct { +type GetKxConnectionStringOutput struct { _ struct{} `type:"structure"` - // A unique identifier for the kdb environment. - EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - - // The IAM role ARN that is associated with the user. - IamRole *string `locationName:"iamRole" min:"20" type:"string"` - - // The Amazon Resource Name (ARN) that identifies the user. For more information - // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - // in the IAM User Guide. - UserArn *string `locationName:"userArn" min:"20" type:"string"` - - // A unique identifier for the user. - UserName *string `locationName:"userName" min:"1" type:"string"` + // The signed connection string that you can use to connect to clusters. + // + // SignedConnectionString is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GetKxConnectionStringOutput's + // String and GoString methods. + SignedConnectionString *string `locationName:"signedConnectionString" min:"1" type:"string" sensitive:"true"` } // String returns the string representation. @@ -7683,7 +10013,7 @@ type GetKxUserOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxUserOutput) String() string { +func (s GetKxConnectionStringOutput) String() string { return awsutil.Prettify(s) } @@ -7692,47 +10022,28 @@ func (s GetKxUserOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetKxUserOutput) GoString() string { +func (s GetKxConnectionStringOutput) GoString() string { return s.String() } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *GetKxUserOutput) SetEnvironmentId(v string) *GetKxUserOutput { - s.EnvironmentId = &v - return s -} - -// SetIamRole sets the IamRole field's value. -func (s *GetKxUserOutput) SetIamRole(v string) *GetKxUserOutput { - s.IamRole = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *GetKxUserOutput) SetUserArn(v string) *GetKxUserOutput { - s.UserArn = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *GetKxUserOutput) SetUserName(v string) *GetKxUserOutput { - s.UserName = &v +// SetSignedConnectionString sets the SignedConnectionString field's value. +func (s *GetKxConnectionStringOutput) SetSignedConnectionString(v string) *GetKxConnectionStringOutput { + s.SignedConnectionString = &v return s } -// Defines the ICMP protocol that consists of the ICMP type and code. -type IcmpTypeCode struct { - _ struct{} `type:"structure"` +type GetKxDatabaseInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The ICMP code. A value of -1 means all codes for the specified ICMP type. + // The name of the kdb database. // - // Code is a required field - Code *int64 `locationName:"code" type:"integer" required:"true"` + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // The ICMP type. A value of -1 means all types. + // A unique identifier for the kdb environment. // - // Type is a required field - Type *int64 `locationName:"type" type:"integer" required:"true"` + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -7740,7 +10051,7 @@ type IcmpTypeCode struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IcmpTypeCode) String() string { +func (s GetKxDatabaseInput) String() string { return awsutil.Prettify(s) } @@ -7749,18 +10060,24 @@ func (s IcmpTypeCode) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IcmpTypeCode) GoString() string { +func (s GetKxDatabaseInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *IcmpTypeCode) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "IcmpTypeCode"} - if s.Code == nil { - invalidParams.Add(request.NewErrParamRequired("Code")) +func (s *GetKxDatabaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxDatabaseInput"} + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } if invalidParams.Len() > 0 { @@ -7769,25 +10086,54 @@ func (s *IcmpTypeCode) Validate() error { return nil } -// SetCode sets the Code field's value. -func (s *IcmpTypeCode) SetCode(v int64) *IcmpTypeCode { - s.Code = &v +// SetDatabaseName sets the DatabaseName field's value. +func (s *GetKxDatabaseInput) SetDatabaseName(v string) *GetKxDatabaseInput { + s.DatabaseName = &v return s } -// SetType sets the Type field's value. -func (s *IcmpTypeCode) SetType(v int64) *IcmpTypeCode { - s.Type = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxDatabaseInput) SetEnvironmentId(v string) *GetKxDatabaseInput { + s.EnvironmentId = &v return s } -// The request processing has failed because of an unknown error, exception -// or failure. -type InternalServerException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type GetKxDatabaseOutput struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The timestamp at which the database is created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The ARN identifier of the database. + DatabaseArn *string `locationName:"databaseArn" type:"string"` + + // The name of the kdb database for which the information is retrieved. + DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + + // A description of the database. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // A unique identifier for the changeset. + LastCompletedChangesetId *string `locationName:"lastCompletedChangesetId" min:"1" type:"string"` + + // The last time that the database was modified. The value is determined as + // epoch time in milliseconds. For example, the value for Monday, November 1, + // 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // The total number of bytes in the database. + NumBytes *int64 `locationName:"numBytes" type:"long"` + + // The total number of changesets in the database. + NumChangesets *int64 `locationName:"numChangesets" type:"integer"` + + // The total number of files in the database. + NumFiles *int64 `locationName:"numFiles" type:"integer"` } // String returns the string representation. @@ -7795,7 +10141,7 @@ type InternalServerException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerException) String() string { +func (s GetKxDatabaseOutput) String() string { return awsutil.Prettify(s) } @@ -7804,135 +10150,88 @@ func (s InternalServerException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerException) GoString() string { +func (s GetKxDatabaseOutput) GoString() string { return s.String() } -func newErrorInternalServerException(v protocol.ResponseMetadata) error { - return &InternalServerException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *InternalServerException) Code() string { - return "InternalServerException" -} - -// Message returns the exception's message. -func (s *InternalServerException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServerException) OrigErr() error { - return nil -} - -func (s *InternalServerException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *InternalServerException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *InternalServerException) RequestID() string { - return s.RespMetadata.RequestID -} - -// The request is invalid. Something is wrong with the input to the request. -type InvalidRequestException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *GetKxDatabaseOutput) SetCreatedTimestamp(v time.Time) *GetKxDatabaseOutput { + s.CreatedTimestamp = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InvalidRequestException) String() string { - return awsutil.Prettify(s) +// SetDatabaseArn sets the DatabaseArn field's value. +func (s *GetKxDatabaseOutput) SetDatabaseArn(v string) *GetKxDatabaseOutput { + s.DatabaseArn = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InvalidRequestException) GoString() string { - return s.String() +// SetDatabaseName sets the DatabaseName field's value. +func (s *GetKxDatabaseOutput) SetDatabaseName(v string) *GetKxDatabaseOutput { + s.DatabaseName = &v + return s } -func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { - return &InvalidRequestException{ - RespMetadata: v, - } +// SetDescription sets the Description field's value. +func (s *GetKxDatabaseOutput) SetDescription(v string) *GetKxDatabaseOutput { + s.Description = &v + return s } -// Code returns the exception type name. -func (s *InvalidRequestException) Code() string { - return "InvalidRequestException" +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxDatabaseOutput) SetEnvironmentId(v string) *GetKxDatabaseOutput { + s.EnvironmentId = &v + return s } -// Message returns the exception's message. -func (s *InvalidRequestException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetLastCompletedChangesetId sets the LastCompletedChangesetId field's value. +func (s *GetKxDatabaseOutput) SetLastCompletedChangesetId(v string) *GetKxDatabaseOutput { + s.LastCompletedChangesetId = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidRequestException) OrigErr() error { - return nil +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *GetKxDatabaseOutput) SetLastModifiedTimestamp(v time.Time) *GetKxDatabaseOutput { + s.LastModifiedTimestamp = &v + return s } -func (s *InvalidRequestException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetNumBytes sets the NumBytes field's value. +func (s *GetKxDatabaseOutput) SetNumBytes(v int64) *GetKxDatabaseOutput { + s.NumBytes = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidRequestException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetNumChangesets sets the NumChangesets field's value. +func (s *GetKxDatabaseOutput) SetNumChangesets(v int64) *GetKxDatabaseOutput { + s.NumChangesets = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InvalidRequestException) RequestID() string { - return s.RespMetadata.RequestID +// SetNumFiles sets the NumFiles field's value. +func (s *GetKxDatabaseOutput) SetNumFiles(v int64) *GetKxDatabaseOutput { + s.NumFiles = &v + return s } -// The configuration for read only disk cache associated with a cluster. -type KxCacheStorageConfiguration struct { - _ struct{} `type:"structure"` +type GetKxDataviewInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The size of cache in Gigabytes. + // The name of the database where you created the dataview. // - // Size is a required field - Size *int64 `locationName:"size" min:"1200" type:"integer" required:"true"` + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // The type of cache storage. The valid values are: - // - // * CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. - // - // * CACHE_250 – This type provides at least 250 MB/s disk access throughput. - // - // * CACHE_12 – This type provides at least 12 MB/s disk access throughput. + // A unique identifier for the dataview. // - // For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 - // GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache - // size in increments of 6000 GB. + // DataviewName is a required field + DataviewName *string `location:"uri" locationName:"dataviewName" min:"3" type:"string" required:"true"` + + // A unique identifier for the kdb environment, from where you want to retrieve + // the dataview details. // - // Type is a required field - Type *string `locationName:"type" min:"8" type:"string" required:"true"` + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -7940,7 +10239,7 @@ type KxCacheStorageConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxCacheStorageConfiguration) String() string { +func (s GetKxDataviewInput) String() string { return awsutil.Prettify(s) } @@ -7949,24 +10248,30 @@ func (s KxCacheStorageConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxCacheStorageConfiguration) GoString() string { +func (s GetKxDataviewInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KxCacheStorageConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxCacheStorageConfiguration"} - if s.Size == nil { - invalidParams.Add(request.NewErrParamRequired("Size")) +func (s *GetKxDataviewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxDataviewInput"} + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) } - if s.Size != nil && *s.Size < 1200 { - invalidParams.Add(request.NewErrParamMinValue("Size", 1200)) + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) + if s.DataviewName == nil { + invalidParams.Add(request.NewErrParamRequired("DataviewName")) } - if s.Type != nil && len(*s.Type) < 8 { - invalidParams.Add(request.NewErrParamMinLen("Type", 8)) + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } if invalidParams.Len() > 0 { @@ -7975,50 +10280,90 @@ func (s *KxCacheStorageConfiguration) Validate() error { return nil } -// SetSize sets the Size field's value. -func (s *KxCacheStorageConfiguration) SetSize(v int64) *KxCacheStorageConfiguration { - s.Size = &v +// SetDatabaseName sets the DatabaseName field's value. +func (s *GetKxDataviewInput) SetDatabaseName(v string) *GetKxDataviewInput { + s.DatabaseName = &v return s } -// SetType sets the Type field's value. -func (s *KxCacheStorageConfiguration) SetType(v string) *KxCacheStorageConfiguration { - s.Type = &v +// SetDataviewName sets the DataviewName field's value. +func (s *GetKxDataviewInput) SetDataviewName(v string) *GetKxDataviewInput { + s.DataviewName = &v return s } -// Details of changeset. -type KxChangesetListEntry struct { +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxDataviewInput) SetEnvironmentId(v string) *GetKxDataviewInput { + s.EnvironmentId = &v + return s +} + +type GetKxDataviewOutput struct { _ struct{} `type:"structure"` - // Beginning time from which the changeset is active. The value is determined - // as epoch time in milliseconds. For example, the value for Monday, November - // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - ActiveFromTimestamp *time.Time `locationName:"activeFromTimestamp" type:"timestamp"` + // The current active changeset versions of the database on the given dataview. + ActiveVersions []*KxDataviewActiveVersion `locationName:"activeVersions" type:"list"` - // A unique identifier for the changeset. + // The option to specify whether you want to apply all the future additions + // and corrections automatically to the dataview when new changesets are ingested. + // The default value is false. + AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The number of availability zones you want to assign per cluster. This can + // be one of the following + // + // * SINGLE – Assigns one availability zone per cluster. + // + // * MULTI – Assigns all the availability zones per cluster. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // A unique identifier of the changeset that you want to use to ingest data. ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` - // The timestamp at which the changeset was created in FinSpace. The value is + // The timestamp at which the dataview was created in FinSpace. The value is // determined as epoch time in milliseconds. For example, the value for Monday, // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` - // The timestamp at which the changeset was modified. The value is determined + // The name of the database where you created the dataview. + DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + + // A unique identifier for the dataview. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` + + // A description of the dataview. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, from where you want to retrieve + // the dataview details. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The last time that the dataview was updated in FinSpace. The value is determined // as epoch time in milliseconds. For example, the value for Monday, November // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` - // Status of the changeset. - // - // * Pending – Changeset creation is pending. + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` + + // The status of dataview creation. // - // * Processing – Changeset creation is running. + // * CREATING – The dataview creation is in progress. // - // * Failed – Changeset creation has failed. + // * UPDATING – The dataview is in the process of being updated. // - // * Complete – Changeset creation has succeeded. - Status *string `locationName:"status" type:"string" enum:"ChangesetStatus"` + // * ACTIVE – The dataview is active. + Status *string `locationName:"status" type:"string" enum:"KxDataviewStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` } // String returns the string representation. @@ -8026,7 +10371,7 @@ type KxChangesetListEntry struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxChangesetListEntry) String() string { +func (s GetKxDataviewOutput) String() string { return awsutil.Prettify(s) } @@ -8035,48 +10380,1291 @@ func (s KxChangesetListEntry) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxChangesetListEntry) GoString() string { +func (s GetKxDataviewOutput) GoString() string { return s.String() } -// SetActiveFromTimestamp sets the ActiveFromTimestamp field's value. -func (s *KxChangesetListEntry) SetActiveFromTimestamp(v time.Time) *KxChangesetListEntry { - s.ActiveFromTimestamp = &v +// SetActiveVersions sets the ActiveVersions field's value. +func (s *GetKxDataviewOutput) SetActiveVersions(v []*KxDataviewActiveVersion) *GetKxDataviewOutput { + s.ActiveVersions = v + return s +} + +// SetAutoUpdate sets the AutoUpdate field's value. +func (s *GetKxDataviewOutput) SetAutoUpdate(v bool) *GetKxDataviewOutput { + s.AutoUpdate = &v + return s +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *GetKxDataviewOutput) SetAvailabilityZoneId(v string) *GetKxDataviewOutput { + s.AvailabilityZoneId = &v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *GetKxDataviewOutput) SetAzMode(v string) *GetKxDataviewOutput { + s.AzMode = &v return s } // SetChangesetId sets the ChangesetId field's value. -func (s *KxChangesetListEntry) SetChangesetId(v string) *KxChangesetListEntry { +func (s *GetKxDataviewOutput) SetChangesetId(v string) *GetKxDataviewOutput { s.ChangesetId = &v return s } // SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *KxChangesetListEntry) SetCreatedTimestamp(v time.Time) *KxChangesetListEntry { +func (s *GetKxDataviewOutput) SetCreatedTimestamp(v time.Time) *GetKxDataviewOutput { s.CreatedTimestamp = &v return s } -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *KxChangesetListEntry) SetLastModifiedTimestamp(v time.Time) *KxChangesetListEntry { - s.LastModifiedTimestamp = &v +// SetDatabaseName sets the DatabaseName field's value. +func (s *GetKxDataviewOutput) SetDatabaseName(v string) *GetKxDataviewOutput { + s.DatabaseName = &v return s } -// SetStatus sets the Status field's value. -func (s *KxChangesetListEntry) SetStatus(v string) *KxChangesetListEntry { - s.Status = &v +// SetDataviewName sets the DataviewName field's value. +func (s *GetKxDataviewOutput) SetDataviewName(v string) *GetKxDataviewOutput { + s.DataviewName = &v return s } -// The details of a kdb cluster. -type KxCluster struct { - _ struct{} `type:"structure"` - - // The availability zone identifiers for the requested regions. - AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` +// SetDescription sets the Description field's value. +func (s *GetKxDataviewOutput) SetDescription(v string) *GetKxDataviewOutput { + s.Description = &v + return s +} - // The number of availability zones assigned per cluster. This can be one of +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxDataviewOutput) SetEnvironmentId(v string) *GetKxDataviewOutput { + s.EnvironmentId = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *GetKxDataviewOutput) SetLastModifiedTimestamp(v time.Time) *GetKxDataviewOutput { + s.LastModifiedTimestamp = &v + return s +} + +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *GetKxDataviewOutput) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *GetKxDataviewOutput { + s.SegmentConfigurations = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetKxDataviewOutput) SetStatus(v string) *GetKxDataviewOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetKxDataviewOutput) SetStatusReason(v string) *GetKxDataviewOutput { + s.StatusReason = &v + return s +} + +type GetKxEnvironmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxEnvironmentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxEnvironmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetKxEnvironmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxEnvironmentInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxEnvironmentInput) SetEnvironmentId(v string) *GetKxEnvironmentInput { + s.EnvironmentId = &v + return s +} + +type GetKxEnvironmentOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones where subnets for the environment + // are created. + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + + // The unique identifier of the AWS account that is used to create the kdb environment. + AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the certificate authority of the kdb environment. + CertificateAuthorityArn *string `locationName:"certificateAuthorityArn" min:"1" type:"string"` + + // The timestamp at which the kdb environment was created in FinSpace. + CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` + + // A list of DNS server name and server IP. This is used to set up Route-53 + // outbound resolvers. + CustomDNSConfiguration []*CustomDNSServer `locationName:"customDNSConfiguration" type:"list"` + + // A unique identifier for the AWS environment infrastructure account. + DedicatedServiceAccountId *string `locationName:"dedicatedServiceAccountId" min:"1" type:"string"` + + // A description for the kdb environment. + Description *string `locationName:"description" min:"1" type:"string"` + + // The status of DNS configuration. + DnsStatus *string `locationName:"dnsStatus" type:"string" enum:"DnsStatus"` + + // The ARN identifier of the environment. + EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // Specifies the error message that appears if a flow fails. + ErrorMessage *string `locationName:"errorMessage" type:"string"` + + // The KMS key ID to encrypt your data in the FinSpace environment. + KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` + + // The name of the kdb environment. + Name *string `locationName:"name" min:"3" type:"string"` + + // The status of the kdb environment. + Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` + + // The status of the network configuration. + TgwStatus *string `locationName:"tgwStatus" type:"string" enum:"TgwStatus"` + + // The structure of the transit gateway and network configuration that is used + // to connect the kdb environment to an internal network. + TransitGatewayConfiguration *TransitGatewayConfiguration `locationName:"transitGatewayConfiguration" type:"structure"` + + // The timestamp at which the kdb environment was updated. + UpdateTimestamp *time.Time `locationName:"updateTimestamp" type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxEnvironmentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxEnvironmentOutput) GoString() string { + return s.String() +} + +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *GetKxEnvironmentOutput) SetAvailabilityZoneIds(v []*string) *GetKxEnvironmentOutput { + s.AvailabilityZoneIds = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *GetKxEnvironmentOutput) SetAwsAccountId(v string) *GetKxEnvironmentOutput { + s.AwsAccountId = &v + return s +} + +// SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value. +func (s *GetKxEnvironmentOutput) SetCertificateAuthorityArn(v string) *GetKxEnvironmentOutput { + s.CertificateAuthorityArn = &v + return s +} + +// SetCreationTimestamp sets the CreationTimestamp field's value. +func (s *GetKxEnvironmentOutput) SetCreationTimestamp(v time.Time) *GetKxEnvironmentOutput { + s.CreationTimestamp = &v + return s +} + +// SetCustomDNSConfiguration sets the CustomDNSConfiguration field's value. +func (s *GetKxEnvironmentOutput) SetCustomDNSConfiguration(v []*CustomDNSServer) *GetKxEnvironmentOutput { + s.CustomDNSConfiguration = v + return s +} + +// SetDedicatedServiceAccountId sets the DedicatedServiceAccountId field's value. +func (s *GetKxEnvironmentOutput) SetDedicatedServiceAccountId(v string) *GetKxEnvironmentOutput { + s.DedicatedServiceAccountId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetKxEnvironmentOutput) SetDescription(v string) *GetKxEnvironmentOutput { + s.Description = &v + return s +} + +// SetDnsStatus sets the DnsStatus field's value. +func (s *GetKxEnvironmentOutput) SetDnsStatus(v string) *GetKxEnvironmentOutput { + s.DnsStatus = &v + return s +} + +// SetEnvironmentArn sets the EnvironmentArn field's value. +func (s *GetKxEnvironmentOutput) SetEnvironmentArn(v string) *GetKxEnvironmentOutput { + s.EnvironmentArn = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxEnvironmentOutput) SetEnvironmentId(v string) *GetKxEnvironmentOutput { + s.EnvironmentId = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *GetKxEnvironmentOutput) SetErrorMessage(v string) *GetKxEnvironmentOutput { + s.ErrorMessage = &v + return s +} + +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *GetKxEnvironmentOutput) SetKmsKeyId(v string) *GetKxEnvironmentOutput { + s.KmsKeyId = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetKxEnvironmentOutput) SetName(v string) *GetKxEnvironmentOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetKxEnvironmentOutput) SetStatus(v string) *GetKxEnvironmentOutput { + s.Status = &v + return s +} + +// SetTgwStatus sets the TgwStatus field's value. +func (s *GetKxEnvironmentOutput) SetTgwStatus(v string) *GetKxEnvironmentOutput { + s.TgwStatus = &v + return s +} + +// SetTransitGatewayConfiguration sets the TransitGatewayConfiguration field's value. +func (s *GetKxEnvironmentOutput) SetTransitGatewayConfiguration(v *TransitGatewayConfiguration) *GetKxEnvironmentOutput { + s.TransitGatewayConfiguration = v + return s +} + +// SetUpdateTimestamp sets the UpdateTimestamp field's value. +func (s *GetKxEnvironmentOutput) SetUpdateTimestamp(v time.Time) *GetKxEnvironmentOutput { + s.UpdateTimestamp = &v + return s +} + +type GetKxScalingGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // A unique identifier for the kdb scaling group. + // + // ScalingGroupName is a required field + ScalingGroupName *string `location:"uri" locationName:"scalingGroupName" min:"3" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxScalingGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxScalingGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetKxScalingGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxScalingGroupInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.ScalingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ScalingGroupName")) + } + if s.ScalingGroupName != nil && len(*s.ScalingGroupName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ScalingGroupName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxScalingGroupInput) SetEnvironmentId(v string) *GetKxScalingGroupInput { + s.EnvironmentId = &v + return s +} + +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *GetKxScalingGroupInput) SetScalingGroupName(v string) *GetKxScalingGroupInput { + s.ScalingGroupName = &v + return s +} + +type GetKxScalingGroupOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The list of Managed kdb clusters that are currently active in the given scaling + // group. + Clusters []*string `locationName:"clusters" type:"list"` + + // The timestamp at which the scaling group was created in FinSpace. The value + // is determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The memory and CPU capabilities of the scaling group host on which FinSpace + // Managed kdb clusters will be placed. + HostType *string `locationName:"hostType" min:"1" type:"string"` + + // The last time that the scaling group was updated in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // The ARN identifier for the scaling group. + ScalingGroupArn *string `locationName:"scalingGroupArn" min:"20" type:"string"` + + // A unique identifier for the kdb scaling group. + ScalingGroupName *string `locationName:"scalingGroupName" min:"3" type:"string"` + + // The status of scaling group. + // + // * CREATING – The scaling group creation is in progress. + // + // * CREATE_FAILED – The scaling group creation has failed. + // + // * ACTIVE – The scaling group is active. + // + // * UPDATING – The scaling group is in the process of being updated. + // + // * UPDATE_FAILED – The update action failed. + // + // * DELETING – The scaling group is in the process of being deleted. + // + // * DELETE_FAILED – The system failed to delete the scaling group. + // + // * DELETED – The scaling group is successfully deleted. + Status *string `locationName:"status" type:"string" enum:"KxScalingGroupStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxScalingGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxScalingGroupOutput) GoString() string { + return s.String() +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *GetKxScalingGroupOutput) SetAvailabilityZoneId(v string) *GetKxScalingGroupOutput { + s.AvailabilityZoneId = &v + return s +} + +// SetClusters sets the Clusters field's value. +func (s *GetKxScalingGroupOutput) SetClusters(v []*string) *GetKxScalingGroupOutput { + s.Clusters = v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *GetKxScalingGroupOutput) SetCreatedTimestamp(v time.Time) *GetKxScalingGroupOutput { + s.CreatedTimestamp = &v + return s +} + +// SetHostType sets the HostType field's value. +func (s *GetKxScalingGroupOutput) SetHostType(v string) *GetKxScalingGroupOutput { + s.HostType = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *GetKxScalingGroupOutput) SetLastModifiedTimestamp(v time.Time) *GetKxScalingGroupOutput { + s.LastModifiedTimestamp = &v + return s +} + +// SetScalingGroupArn sets the ScalingGroupArn field's value. +func (s *GetKxScalingGroupOutput) SetScalingGroupArn(v string) *GetKxScalingGroupOutput { + s.ScalingGroupArn = &v + return s +} + +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *GetKxScalingGroupOutput) SetScalingGroupName(v string) *GetKxScalingGroupOutput { + s.ScalingGroupName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetKxScalingGroupOutput) SetStatus(v string) *GetKxScalingGroupOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetKxScalingGroupOutput) SetStatusReason(v string) *GetKxScalingGroupOutput { + s.StatusReason = &v + return s +} + +type GetKxUserInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // A unique identifier for the user. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"userName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetKxUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxUserInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxUserInput) SetEnvironmentId(v string) *GetKxUserInput { + s.EnvironmentId = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *GetKxUserInput) SetUserName(v string) *GetKxUserInput { + s.UserName = &v + return s +} + +type GetKxUserOutput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The IAM role ARN that is associated with the user. + IamRole *string `locationName:"iamRole" min:"20" type:"string"` + + // The Amazon Resource Name (ARN) that identifies the user. For more information + // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + // in the IAM User Guide. + UserArn *string `locationName:"userArn" min:"20" type:"string"` + + // A unique identifier for the user. + UserName *string `locationName:"userName" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxUserOutput) GoString() string { + return s.String() +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxUserOutput) SetEnvironmentId(v string) *GetKxUserOutput { + s.EnvironmentId = &v + return s +} + +// SetIamRole sets the IamRole field's value. +func (s *GetKxUserOutput) SetIamRole(v string) *GetKxUserOutput { + s.IamRole = &v + return s +} + +// SetUserArn sets the UserArn field's value. +func (s *GetKxUserOutput) SetUserArn(v string) *GetKxUserOutput { + s.UserArn = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *GetKxUserOutput) SetUserName(v string) *GetKxUserOutput { + s.UserName = &v + return s +} + +type GetKxVolumeInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the kdb environment, whose clusters can attach to + // the volume. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // A unique identifier for the volume. + // + // VolumeName is a required field + VolumeName *string `location:"uri" locationName:"volumeName" min:"3" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxVolumeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxVolumeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetKxVolumeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetKxVolumeInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.VolumeName == nil { + invalidParams.Add(request.NewErrParamRequired("VolumeName")) + } + if s.VolumeName != nil && len(*s.VolumeName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VolumeName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxVolumeInput) SetEnvironmentId(v string) *GetKxVolumeInput { + s.EnvironmentId = &v + return s +} + +// SetVolumeName sets the VolumeName field's value. +func (s *GetKxVolumeInput) SetVolumeName(v string) *GetKxVolumeInput { + s.VolumeName = &v + return s +} + +type GetKxVolumeOutput struct { + _ struct{} `type:"structure"` + + // A list of cluster identifiers that a volume is attached to. + AttachedClusters []*KxAttachedCluster `locationName:"attachedClusters" type:"list"` + + // The identifier of the availability zones. + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + + // The number of availability zones you want to assign per cluster. Currently, + // FinSpace only support SINGLE for volumes. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // The timestamp at which the volume was created in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // A description of the volume. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, whose clusters can attach to + // the volume. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The last time that the volume was updated in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // Specifies the configuration for the Network attached storage (NAS_1) file + // system volume. + Nas1Configuration *KxNAS1Configuration `locationName:"nas1Configuration" type:"structure"` + + // The status of volume creation. + // + // * CREATING – The volume creation is in progress. + // + // * CREATE_FAILED – The volume creation has failed. + // + // * ACTIVE – The volume is active. + // + // * UPDATING – The volume is in the process of being updated. + // + // * UPDATE_FAILED – The update action failed. + // + // * UPDATED – The volume is successfully updated. + // + // * DELETING – The volume is in the process of being deleted. + // + // * DELETE_FAILED – The system failed to delete the volume. + // + // * DELETED – The volume is successfully deleted. + Status *string `locationName:"status" type:"string" enum:"KxVolumeStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + + // The ARN identifier of the volume. + VolumeArn *string `locationName:"volumeArn" min:"20" type:"string"` + + // A unique identifier for the volume. + VolumeName *string `locationName:"volumeName" min:"3" type:"string"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. + VolumeType *string `locationName:"volumeType" type:"string" enum:"KxVolumeType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxVolumeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetKxVolumeOutput) GoString() string { + return s.String() +} + +// SetAttachedClusters sets the AttachedClusters field's value. +func (s *GetKxVolumeOutput) SetAttachedClusters(v []*KxAttachedCluster) *GetKxVolumeOutput { + s.AttachedClusters = v + return s +} + +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *GetKxVolumeOutput) SetAvailabilityZoneIds(v []*string) *GetKxVolumeOutput { + s.AvailabilityZoneIds = v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *GetKxVolumeOutput) SetAzMode(v string) *GetKxVolumeOutput { + s.AzMode = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *GetKxVolumeOutput) SetCreatedTimestamp(v time.Time) *GetKxVolumeOutput { + s.CreatedTimestamp = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetKxVolumeOutput) SetDescription(v string) *GetKxVolumeOutput { + s.Description = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *GetKxVolumeOutput) SetEnvironmentId(v string) *GetKxVolumeOutput { + s.EnvironmentId = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *GetKxVolumeOutput) SetLastModifiedTimestamp(v time.Time) *GetKxVolumeOutput { + s.LastModifiedTimestamp = &v + return s +} + +// SetNas1Configuration sets the Nas1Configuration field's value. +func (s *GetKxVolumeOutput) SetNas1Configuration(v *KxNAS1Configuration) *GetKxVolumeOutput { + s.Nas1Configuration = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetKxVolumeOutput) SetStatus(v string) *GetKxVolumeOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetKxVolumeOutput) SetStatusReason(v string) *GetKxVolumeOutput { + s.StatusReason = &v + return s +} + +// SetVolumeArn sets the VolumeArn field's value. +func (s *GetKxVolumeOutput) SetVolumeArn(v string) *GetKxVolumeOutput { + s.VolumeArn = &v + return s +} + +// SetVolumeName sets the VolumeName field's value. +func (s *GetKxVolumeOutput) SetVolumeName(v string) *GetKxVolumeOutput { + s.VolumeName = &v + return s +} + +// SetVolumeType sets the VolumeType field's value. +func (s *GetKxVolumeOutput) SetVolumeType(v string) *GetKxVolumeOutput { + s.VolumeType = &v + return s +} + +// Defines the ICMP protocol that consists of the ICMP type and code. +type IcmpTypeCode struct { + _ struct{} `type:"structure"` + + // The ICMP code. A value of -1 means all codes for the specified ICMP type. + // + // Code is a required field + Code *int64 `locationName:"code" type:"integer" required:"true"` + + // The ICMP type. A value of -1 means all types. + // + // Type is a required field + Type *int64 `locationName:"type" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IcmpTypeCode) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IcmpTypeCode) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IcmpTypeCode) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IcmpTypeCode"} + if s.Code == nil { + invalidParams.Add(request.NewErrParamRequired("Code")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCode sets the Code field's value. +func (s *IcmpTypeCode) SetCode(v int64) *IcmpTypeCode { + s.Code = &v + return s +} + +// SetType sets the Type field's value. +func (s *IcmpTypeCode) SetType(v int64) *IcmpTypeCode { + s.Type = &v + return s +} + +// The request processing has failed because of an unknown error, exception +// or failure. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The request is invalid. Something is wrong with the input to the request. +type InvalidRequestException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidRequestException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidRequestException) GoString() string { + return s.String() +} + +func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { + return &InvalidRequestException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidRequestException) Code() string { + return "InvalidRequestException" +} + +// Message returns the exception's message. +func (s *InvalidRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidRequestException) OrigErr() error { + return nil +} + +func (s *InvalidRequestException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidRequestException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidRequestException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The structure containing the metadata of the attached clusters. +type KxAttachedCluster struct { + _ struct{} `type:"structure"` + + // A unique name for the attached cluster. + ClusterName *string `locationName:"clusterName" min:"3" type:"string"` + + // The status of the attached cluster. + // + // * PENDING – The cluster is pending creation. + // + // * CREATING – The cluster creation process is in progress. + // + // * CREATE_FAILED – The cluster creation process has failed. + // + // * RUNNING – The cluster creation process is running. + // + // * UPDATING – The cluster is in the process of being updated. + // + // * DELETING – The cluster is in the process of being deleted. + // + // * DELETED – The cluster has been deleted. + // + // * DELETE_FAILED – The cluster failed to delete. + ClusterStatus *string `locationName:"clusterStatus" type:"string" enum:"KxClusterStatus"` + + // Specifies the type of cluster. The volume for TP and RDB cluster types will + // be used for TP logs. + ClusterType *string `locationName:"clusterType" type:"string" enum:"KxClusterType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxAttachedCluster) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxAttachedCluster) GoString() string { + return s.String() +} + +// SetClusterName sets the ClusterName field's value. +func (s *KxAttachedCluster) SetClusterName(v string) *KxAttachedCluster { + s.ClusterName = &v + return s +} + +// SetClusterStatus sets the ClusterStatus field's value. +func (s *KxAttachedCluster) SetClusterStatus(v string) *KxAttachedCluster { + s.ClusterStatus = &v + return s +} + +// SetClusterType sets the ClusterType field's value. +func (s *KxAttachedCluster) SetClusterType(v string) *KxAttachedCluster { + s.ClusterType = &v + return s +} + +// The configuration for read only disk cache associated with a cluster. +type KxCacheStorageConfiguration struct { + _ struct{} `type:"structure"` + + // The size of cache in Gigabytes. + // + // Size is a required field + Size *int64 `locationName:"size" type:"integer" required:"true"` + + // The type of cache storage. The valid values are: + // + // * CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. + // + // * CACHE_250 – This type provides at least 250 MB/s disk access throughput. + // + // * CACHE_12 – This type provides at least 12 MB/s disk access throughput. + // + // For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 + // GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache + // size in increments of 6000 GB. + // + // Type is a required field + Type *string `locationName:"type" min:"8" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxCacheStorageConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxCacheStorageConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxCacheStorageConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxCacheStorageConfiguration"} + if s.Size == nil { + invalidParams.Add(request.NewErrParamRequired("Size")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Type != nil && len(*s.Type) < 8 { + invalidParams.Add(request.NewErrParamMinLen("Type", 8)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSize sets the Size field's value. +func (s *KxCacheStorageConfiguration) SetSize(v int64) *KxCacheStorageConfiguration { + s.Size = &v + return s +} + +// SetType sets the Type field's value. +func (s *KxCacheStorageConfiguration) SetType(v string) *KxCacheStorageConfiguration { + s.Type = &v + return s +} + +// Details of changeset. +type KxChangesetListEntry struct { + _ struct{} `type:"structure"` + + // Beginning time from which the changeset is active. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + ActiveFromTimestamp *time.Time `locationName:"activeFromTimestamp" type:"timestamp"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The timestamp at which the changeset was created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The timestamp at which the changeset was modified. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // Status of the changeset. + // + // * Pending – Changeset creation is pending. + // + // * Processing – Changeset creation is running. + // + // * Failed – Changeset creation has failed. + // + // * Complete – Changeset creation has succeeded. + Status *string `locationName:"status" type:"string" enum:"ChangesetStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxChangesetListEntry) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxChangesetListEntry) GoString() string { + return s.String() +} + +// SetActiveFromTimestamp sets the ActiveFromTimestamp field's value. +func (s *KxChangesetListEntry) SetActiveFromTimestamp(v time.Time) *KxChangesetListEntry { + s.ActiveFromTimestamp = &v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *KxChangesetListEntry) SetChangesetId(v string) *KxChangesetListEntry { + s.ChangesetId = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxChangesetListEntry) SetCreatedTimestamp(v time.Time) *KxChangesetListEntry { + s.CreatedTimestamp = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *KxChangesetListEntry) SetLastModifiedTimestamp(v time.Time) *KxChangesetListEntry { + s.LastModifiedTimestamp = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *KxChangesetListEntry) SetStatus(v string) *KxChangesetListEntry { + s.Status = &v + return s +} + +// The details of a kdb cluster. +type KxCluster struct { + _ struct{} `type:"structure"` + + // The availability zone identifiers for the requested regions. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The number of availability zones assigned per cluster. This can be one of // the following: // // * SINGLE – Assigns one availability zone per cluster. @@ -8084,82 +11672,1087 @@ type KxCluster struct { // * MULTI – Assigns all the availability zones per cluster. AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` - // A description of the cluster. - ClusterDescription *string `locationName:"clusterDescription" min:"1" type:"string"` + // A description of the cluster. + ClusterDescription *string `locationName:"clusterDescription" min:"1" type:"string"` + + // A unique name for the cluster. + ClusterName *string `locationName:"clusterName" min:"3" type:"string"` + + // Specifies the type of KDB database that is being created. The following types + // are available: + // + // * HDB – A Historical Database. The data is only accessible with read-only + // permissions from one of the FinSpace managed kdb databases mounted to + // the cluster. + // + // * RDB – A Realtime Database. This type of database captures all the + // data from a ticker plant and stores it in memory until the end of day, + // after which it writes all of its data to a disk and reloads the HDB. This + // cluster type requires local storage for temporary storage of data during + // the savedown process. If you specify this field in your request, you must + // provide the savedownStorageConfiguration parameter. + // + // * GATEWAY – A gateway cluster allows you to access data across processes + // in kdb systems. It allows you to create your own routing logic using the + // initialization scripts and custom code. This type of cluster does not + // require a writable local storage. + // + // * GP – A general purpose cluster allows you to quickly iterate on code + // during development by granting greater access to system commands and enabling + // a fast reload of custom code. This cluster type can optionally mount databases + // including cache and savedown storage. For this cluster type, the node + // count is fixed at 1. It does not support autoscaling and supports only + // SINGLE AZ mode. + // + // * Tickerplant – A tickerplant cluster allows you to subscribe to feed + // handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, + // and real-time subscribers (RTS). Tickerplants can persist messages to + // log, which is readable by any RDB environment. It supports only single-node + // that is only one kdb process. + ClusterType *string `locationName:"clusterType" type:"string" enum:"KxClusterType"` + + // The timestamp at which the cluster was created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // An IAM role that defines a set of permissions associated with a cluster. + // These permissions are assumed when a cluster attempts to access another cluster. + ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"` + + // Specifies a Q program that will be run at launch of a cluster. It is a relative + // path within .zip file that contains the custom code, which will be loaded + // on the cluster. It must include the file name itself. For example, somedir/init.q. + InitializationScript *string `locationName:"initializationScript" min:"1" type:"string"` + + // The last time that the cluster was modified. The value is determined as epoch + // time in milliseconds. For example, the value for Monday, November 1, 2021 + // 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // A version of the FinSpace managed kdb to run. + ReleaseLabel *string `locationName:"releaseLabel" min:"1" type:"string"` + + // The status of a cluster. + // + // * PENDING – The cluster is pending creation. + // + // * CREATING –The cluster creation process is in progress. + // + // * CREATE_FAILED– The cluster creation process has failed. + // + // * RUNNING – The cluster creation process is running. + // + // * UPDATING – The cluster is in the process of being updated. + // + // * DELETING – The cluster is in the process of being deleted. + // + // * DELETED – The cluster has been deleted. + // + // * DELETE_FAILED – The cluster failed to delete. + Status *string `locationName:"status" type:"string" enum:"KxClusterStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + + // A list of volumes attached to the cluster. + Volumes []*Volume `locationName:"volumes" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxCluster) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxCluster) GoString() string { + return s.String() +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *KxCluster) SetAvailabilityZoneId(v string) *KxCluster { + s.AvailabilityZoneId = &v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *KxCluster) SetAzMode(v string) *KxCluster { + s.AzMode = &v + return s +} + +// SetClusterDescription sets the ClusterDescription field's value. +func (s *KxCluster) SetClusterDescription(v string) *KxCluster { + s.ClusterDescription = &v + return s +} + +// SetClusterName sets the ClusterName field's value. +func (s *KxCluster) SetClusterName(v string) *KxCluster { + s.ClusterName = &v + return s +} + +// SetClusterType sets the ClusterType field's value. +func (s *KxCluster) SetClusterType(v string) *KxCluster { + s.ClusterType = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxCluster) SetCreatedTimestamp(v time.Time) *KxCluster { + s.CreatedTimestamp = &v + return s +} + +// SetExecutionRole sets the ExecutionRole field's value. +func (s *KxCluster) SetExecutionRole(v string) *KxCluster { + s.ExecutionRole = &v + return s +} + +// SetInitializationScript sets the InitializationScript field's value. +func (s *KxCluster) SetInitializationScript(v string) *KxCluster { + s.InitializationScript = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *KxCluster) SetLastModifiedTimestamp(v time.Time) *KxCluster { + s.LastModifiedTimestamp = &v + return s +} + +// SetReleaseLabel sets the ReleaseLabel field's value. +func (s *KxCluster) SetReleaseLabel(v string) *KxCluster { + s.ReleaseLabel = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *KxCluster) SetStatus(v string) *KxCluster { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *KxCluster) SetStatusReason(v string) *KxCluster { + s.StatusReason = &v + return s +} + +// SetVolumes sets the Volumes field's value. +func (s *KxCluster) SetVolumes(v []*Volume) *KxCluster { + s.Volumes = v + return s +} + +// The configuration that allows you to choose how you want to update code on +// a cluster. Depending on the option you choose, you can reduce the time it +// takes to update the cluster. +type KxClusterCodeDeploymentConfiguration struct { + _ struct{} `type:"structure"` + + // The type of deployment that you want on a cluster. + // + // * ROLLING – This options updates the cluster by stopping the exiting + // q process and starting a new q process with updated configuration. + // + // * NO_RESTART – This option updates the cluster without stopping the + // running q process. It is only available for GP type cluster. This option + // is quicker as it reduces the turn around time to update configuration + // on a cluster. With this deployment mode, you cannot update the initializationScript + // and commandLineArguments parameters. + // + // * FORCE – This option updates the cluster by immediately stopping all + // the running processes before starting up new ones with the updated configuration. + // + // DeploymentStrategy is a required field + DeploymentStrategy *string `locationName:"deploymentStrategy" type:"string" required:"true" enum:"KxClusterCodeDeploymentStrategy"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxClusterCodeDeploymentConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxClusterCodeDeploymentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxClusterCodeDeploymentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxClusterCodeDeploymentConfiguration"} + if s.DeploymentStrategy == nil { + invalidParams.Add(request.NewErrParamRequired("DeploymentStrategy")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeploymentStrategy sets the DeploymentStrategy field's value. +func (s *KxClusterCodeDeploymentConfiguration) SetDeploymentStrategy(v string) *KxClusterCodeDeploymentConfiguration { + s.DeploymentStrategy = &v + return s +} + +// Defines the key-value pairs to make them available inside the cluster. +type KxCommandLineArgument struct { + _ struct{} `type:"structure"` + + // The name of the key. + Key *string `locationName:"key" min:"1" type:"string"` + + // The value of the key. + Value *string `locationName:"value" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxCommandLineArgument) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxCommandLineArgument) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxCommandLineArgument) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxCommandLineArgument"} + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKey sets the Key field's value. +func (s *KxCommandLineArgument) SetKey(v string) *KxCommandLineArgument { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *KxCommandLineArgument) SetValue(v string) *KxCommandLineArgument { + s.Value = &v + return s +} + +// The structure of database cache configuration that is used for mapping database +// paths to cache types in clusters. +type KxDatabaseCacheConfiguration struct { + _ struct{} `type:"structure"` + + // The type of disk cache. This parameter is used to map the database path to + // cache storage. The valid values are: + // + // * CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. + // + // CacheType is a required field + CacheType *string `locationName:"cacheType" min:"8" type:"string" required:"true"` + + // The name of the dataview to be used for caching historical data on disk. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` + + // Specifies the portions of database that will be loaded into the cache for + // access. + // + // DbPaths is a required field + DbPaths []*string `locationName:"dbPaths" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDatabaseCacheConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDatabaseCacheConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxDatabaseCacheConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxDatabaseCacheConfiguration"} + if s.CacheType == nil { + invalidParams.Add(request.NewErrParamRequired("CacheType")) + } + if s.CacheType != nil && len(*s.CacheType) < 8 { + invalidParams.Add(request.NewErrParamMinLen("CacheType", 8)) + } + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) + } + if s.DbPaths == nil { + invalidParams.Add(request.NewErrParamRequired("DbPaths")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCacheType sets the CacheType field's value. +func (s *KxDatabaseCacheConfiguration) SetCacheType(v string) *KxDatabaseCacheConfiguration { + s.CacheType = &v + return s +} + +// SetDataviewName sets the DataviewName field's value. +func (s *KxDatabaseCacheConfiguration) SetDataviewName(v string) *KxDatabaseCacheConfiguration { + s.DataviewName = &v + return s +} + +// SetDbPaths sets the DbPaths field's value. +func (s *KxDatabaseCacheConfiguration) SetDbPaths(v []*string) *KxDatabaseCacheConfiguration { + s.DbPaths = v + return s +} + +// The configuration of data that is available for querying from this database. +type KxDatabaseConfiguration struct { + _ struct{} `type:"structure"` + + // Configuration details for the disk cache used to increase performance reading + // from a kdb database mounted to the cluster. + CacheConfigurations []*KxDatabaseCacheConfiguration `locationName:"cacheConfigurations" type:"list"` + + // A unique identifier of the changeset that is associated with the cluster. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The name of the kdb database. When this parameter is specified in the structure, + // S3 with the whole database is included by default. + // + // DatabaseName is a required field + DatabaseName *string `locationName:"databaseName" min:"3" type:"string" required:"true"` + + // The configuration of the dataview to be used with specified cluster. + DataviewConfiguration *KxDataviewConfiguration `locationName:"dataviewConfiguration" type:"structure"` + + // The name of the dataview to be used for caching historical data on disk. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDatabaseConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDatabaseConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxDatabaseConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxDatabaseConfiguration"} + if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) + } + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + } + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + } + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) + } + if s.CacheConfigurations != nil { + for i, v := range s.CacheConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CacheConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DataviewConfiguration != nil { + if err := s.DataviewConfiguration.Validate(); err != nil { + invalidParams.AddNested("DataviewConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCacheConfigurations sets the CacheConfigurations field's value. +func (s *KxDatabaseConfiguration) SetCacheConfigurations(v []*KxDatabaseCacheConfiguration) *KxDatabaseConfiguration { + s.CacheConfigurations = v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *KxDatabaseConfiguration) SetChangesetId(v string) *KxDatabaseConfiguration { + s.ChangesetId = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *KxDatabaseConfiguration) SetDatabaseName(v string) *KxDatabaseConfiguration { + s.DatabaseName = &v + return s +} + +// SetDataviewConfiguration sets the DataviewConfiguration field's value. +func (s *KxDatabaseConfiguration) SetDataviewConfiguration(v *KxDataviewConfiguration) *KxDatabaseConfiguration { + s.DataviewConfiguration = v + return s +} + +// SetDataviewName sets the DataviewName field's value. +func (s *KxDatabaseConfiguration) SetDataviewName(v string) *KxDatabaseConfiguration { + s.DataviewName = &v + return s +} + +// Details about a FinSpace managed kdb database +type KxDatabaseListEntry struct { + _ struct{} `type:"structure"` + + // The timestamp at which the database was created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The name of the kdb database. + DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + + // The last time that the database was modified. The value is determined as + // epoch time in milliseconds. For example, the value for Monday, November 1, + // 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDatabaseListEntry) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDatabaseListEntry) GoString() string { + return s.String() +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxDatabaseListEntry) SetCreatedTimestamp(v time.Time) *KxDatabaseListEntry { + s.CreatedTimestamp = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *KxDatabaseListEntry) SetDatabaseName(v string) *KxDatabaseListEntry { + s.DatabaseName = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *KxDatabaseListEntry) SetLastModifiedTimestamp(v time.Time) *KxDatabaseListEntry { + s.LastModifiedTimestamp = &v + return s +} + +// The active version of the dataview that is currently in use by this cluster. +type KxDataviewActiveVersion struct { + _ struct{} `type:"structure"` + + // The list of clusters that are currently using this dataview. + AttachedClusters []*string `locationName:"attachedClusters" type:"list"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The timestamp at which the dataview version was active. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` + + // A unique identifier of the active version. + VersionId *string `locationName:"versionId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewActiveVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewActiveVersion) GoString() string { + return s.String() +} + +// SetAttachedClusters sets the AttachedClusters field's value. +func (s *KxDataviewActiveVersion) SetAttachedClusters(v []*string) *KxDataviewActiveVersion { + s.AttachedClusters = v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *KxDataviewActiveVersion) SetChangesetId(v string) *KxDataviewActiveVersion { + s.ChangesetId = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxDataviewActiveVersion) SetCreatedTimestamp(v time.Time) *KxDataviewActiveVersion { + s.CreatedTimestamp = &v + return s +} + +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *KxDataviewActiveVersion) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *KxDataviewActiveVersion { + s.SegmentConfigurations = v + return s +} + +// SetVersionId sets the VersionId field's value. +func (s *KxDataviewActiveVersion) SetVersionId(v string) *KxDataviewActiveVersion { + s.VersionId = &v + return s +} + +// The structure that stores the configuration details of a dataview. +type KxDataviewConfiguration struct { + _ struct{} `type:"structure"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The unique identifier of the dataview. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` + + // The version of the dataview corresponding to a given changeset. + DataviewVersionId *string `locationName:"dataviewVersionId" min:"1" type:"string"` + + // The db path and volume configuration for the segmented database. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxDataviewConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxDataviewConfiguration"} + if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) + } + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) + } + if s.DataviewVersionId != nil && len(*s.DataviewVersionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DataviewVersionId", 1)) + } + if s.SegmentConfigurations != nil { + for i, v := range s.SegmentConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SegmentConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *KxDataviewConfiguration) SetChangesetId(v string) *KxDataviewConfiguration { + s.ChangesetId = &v + return s +} + +// SetDataviewName sets the DataviewName field's value. +func (s *KxDataviewConfiguration) SetDataviewName(v string) *KxDataviewConfiguration { + s.DataviewName = &v + return s +} + +// SetDataviewVersionId sets the DataviewVersionId field's value. +func (s *KxDataviewConfiguration) SetDataviewVersionId(v string) *KxDataviewConfiguration { + s.DataviewVersionId = &v + return s +} + +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *KxDataviewConfiguration) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *KxDataviewConfiguration { + s.SegmentConfigurations = v + return s +} + +// A collection of kdb dataview entries. +type KxDataviewListEntry struct { + _ struct{} `type:"structure"` + + // The active changeset versions for the given dataview entry. + ActiveVersions []*KxDataviewActiveVersion `locationName:"activeVersions" type:"list"` + + // The option to specify whether you want to apply all the future additions + // and corrections automatically to the dataview when you ingest new changesets. + // The default value is false. + AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The number of availability zones you want to assign per cluster. This can + // be one of the following + // + // * SINGLE – Assigns one availability zone per cluster. + // + // * MULTI – Assigns all the availability zones per cluster. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The timestamp at which the dataview list entry was created in FinSpace. The + // value is determined as epoch time in milliseconds. For example, the value + // for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // A unique identifier of the database. + DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + + // A unique identifier of the dataview. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` + + // A description for the dataview list entry. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The last time that the dataview list was updated in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` + + // The status of a given dataview entry. + Status *string `locationName:"status" type:"string" enum:"KxDataviewStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewListEntry) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewListEntry) GoString() string { + return s.String() +} + +// SetActiveVersions sets the ActiveVersions field's value. +func (s *KxDataviewListEntry) SetActiveVersions(v []*KxDataviewActiveVersion) *KxDataviewListEntry { + s.ActiveVersions = v + return s +} + +// SetAutoUpdate sets the AutoUpdate field's value. +func (s *KxDataviewListEntry) SetAutoUpdate(v bool) *KxDataviewListEntry { + s.AutoUpdate = &v + return s +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *KxDataviewListEntry) SetAvailabilityZoneId(v string) *KxDataviewListEntry { + s.AvailabilityZoneId = &v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *KxDataviewListEntry) SetAzMode(v string) *KxDataviewListEntry { + s.AzMode = &v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *KxDataviewListEntry) SetChangesetId(v string) *KxDataviewListEntry { + s.ChangesetId = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxDataviewListEntry) SetCreatedTimestamp(v time.Time) *KxDataviewListEntry { + s.CreatedTimestamp = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *KxDataviewListEntry) SetDatabaseName(v string) *KxDataviewListEntry { + s.DatabaseName = &v + return s +} + +// SetDataviewName sets the DataviewName field's value. +func (s *KxDataviewListEntry) SetDataviewName(v string) *KxDataviewListEntry { + s.DataviewName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *KxDataviewListEntry) SetDescription(v string) *KxDataviewListEntry { + s.Description = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *KxDataviewListEntry) SetEnvironmentId(v string) *KxDataviewListEntry { + s.EnvironmentId = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *KxDataviewListEntry) SetLastModifiedTimestamp(v time.Time) *KxDataviewListEntry { + s.LastModifiedTimestamp = &v + return s +} + +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *KxDataviewListEntry) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *KxDataviewListEntry { + s.SegmentConfigurations = v + return s +} + +// SetStatus sets the Status field's value. +func (s *KxDataviewListEntry) SetStatus(v string) *KxDataviewListEntry { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *KxDataviewListEntry) SetStatusReason(v string) *KxDataviewListEntry { + s.StatusReason = &v + return s +} + +// The configuration that contains the database path of the data that you want +// to place on each selected volume. Each segment must have a unique database +// path for each volume. If you do not explicitly specify any database path +// for a volume, they are accessible from the cluster through the default S3/object +// store segment. +type KxDataviewSegmentConfiguration struct { + _ struct{} `type:"structure"` + + // The database path of the data that you want to place on each selected volume + // for the segment. Each segment must have a unique database path for each volume. + // + // DbPaths is a required field + DbPaths []*string `locationName:"dbPaths" min:"1" type:"list" required:"true"` + + // The name of the volume where you want to add data. + // + // VolumeName is a required field + VolumeName *string `locationName:"volumeName" min:"3" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewSegmentConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDataviewSegmentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxDataviewSegmentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxDataviewSegmentConfiguration"} + if s.DbPaths == nil { + invalidParams.Add(request.NewErrParamRequired("DbPaths")) + } + if s.DbPaths != nil && len(s.DbPaths) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DbPaths", 1)) + } + if s.VolumeName == nil { + invalidParams.Add(request.NewErrParamRequired("VolumeName")) + } + if s.VolumeName != nil && len(*s.VolumeName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VolumeName", 3)) + } - // A unique name for the cluster. - ClusterName *string `locationName:"clusterName" min:"3" type:"string"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // Specifies the type of KDB database that is being created. The following types - // are available: - // - // * HDB – A Historical Database. The data is only accessible with read-only - // permissions from one of the FinSpace managed kdb databases mounted to - // the cluster. +// SetDbPaths sets the DbPaths field's value. +func (s *KxDataviewSegmentConfiguration) SetDbPaths(v []*string) *KxDataviewSegmentConfiguration { + s.DbPaths = v + return s +} + +// SetVolumeName sets the VolumeName field's value. +func (s *KxDataviewSegmentConfiguration) SetVolumeName(v string) *KxDataviewSegmentConfiguration { + s.VolumeName = &v + return s +} + +// The configuration that allows you to choose how you want to update the databases +// on a cluster. Depending on the option you choose, you can reduce the time +// it takes to update the cluster. +type KxDeploymentConfiguration struct { + _ struct{} `type:"structure"` + + // The type of deployment that you want on a cluster. // - // * RDB – A Realtime Database. This type of database captures all the - // data from a ticker plant and stores it in memory until the end of day, - // after which it writes all of its data to a disk and reloads the HDB. This - // cluster type requires local storage for temporary storage of data during - // the savedown process. If you specify this field in your request, you must - // provide the savedownStorageConfiguration parameter. + // * ROLLING – This options updates the cluster by stopping the exiting + // q process and starting a new q process with updated configuration. // - // * GATEWAY – A gateway cluster allows you to access data across processes - // in kdb systems. It allows you to create your own routing logic using the - // initialization scripts and custom code. This type of cluster does not - // require a writable local storage. + // * NO_RESTART – This option updates the cluster without stopping the + // running q process. It is only available for HDB type cluster. This option + // is quicker as it reduces the turn around time to update configuration + // on a cluster. With this deployment mode, you cannot update the initializationScript + // and commandLineArguments parameters. // - // * GP – A general purpose cluster allows you to quickly iterate on code - // during development by granting greater access to system commands and enabling - // a fast reload of custom code. This cluster type can optionally mount databases - // including cache and savedown storage. For this cluster type, the node - // count is fixed at 1. It does not support autoscaling and supports only - // SINGLE AZ mode. - ClusterType *string `locationName:"clusterType" type:"string" enum:"KxClusterType"` + // DeploymentStrategy is a required field + DeploymentStrategy *string `locationName:"deploymentStrategy" type:"string" required:"true" enum:"KxDeploymentStrategy"` +} - // The timestamp at which the cluster was created in FinSpace. The value is - // determined as epoch time in milliseconds. For example, the value for Monday, +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDeploymentConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxDeploymentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KxDeploymentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxDeploymentConfiguration"} + if s.DeploymentStrategy == nil { + invalidParams.Add(request.NewErrParamRequired("DeploymentStrategy")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeploymentStrategy sets the DeploymentStrategy field's value. +func (s *KxDeploymentConfiguration) SetDeploymentStrategy(v string) *KxDeploymentConfiguration { + s.DeploymentStrategy = &v + return s +} + +// The details of a kdb environment. +type KxEnvironment struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones where subnets for the environment + // are created. + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + + // The unique identifier of the AWS account in which you create the kdb environment. + AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the certificate authority: + CertificateAuthorityArn *string `locationName:"certificateAuthorityArn" min:"1" type:"string"` + + // The timestamp at which the kdb environment was created in FinSpace. The value + // is determined as epoch time in milliseconds. For example, the value for Monday, // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` - // An IAM role that defines a set of permissions associated with a cluster. - // These permissions are assumed when a cluster attempts to access another cluster. - ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"` + // A list of DNS server name and server IP. This is used to set up Route-53 + // outbound resolvers. + CustomDNSConfiguration []*CustomDNSServer `locationName:"customDNSConfiguration" type:"list"` - // Specifies a Q program that will be run at launch of a cluster. It is a relative - // path within .zip file that contains the custom code, which will be loaded - // on the cluster. It must include the file name itself. For example, somedir/init.q. - InitializationScript *string `locationName:"initializationScript" min:"1" type:"string"` + // A unique identifier for the AWS environment infrastructure account. + DedicatedServiceAccountId *string `locationName:"dedicatedServiceAccountId" min:"1" type:"string"` - // The last time that the cluster was modified. The value is determined as epoch - // time in milliseconds. For example, the value for Monday, November 1, 2021 - // 12:00:00 PM UTC is specified as 1635768000000. - LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + // A description of the kdb environment. + Description *string `locationName:"description" min:"1" type:"string"` - // A version of the FinSpace managed kdb to run. - ReleaseLabel *string `locationName:"releaseLabel" min:"1" type:"string"` + // The status of DNS configuration. + DnsStatus *string `locationName:"dnsStatus" type:"string" enum:"DnsStatus"` - // The status of a cluster. + // The Amazon Resource Name (ARN) of your kdb environment. + EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // Specifies the error message that appears if a flow fails. + ErrorMessage *string `locationName:"errorMessage" type:"string"` + + // The unique identifier of the KMS key. + KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` + + // The name of the kdb environment. + Name *string `locationName:"name" min:"3" type:"string"` + + // The status of the environment creation. // - // * PENDING – The cluster is pending creation. + // * CREATE_REQUESTED – Environment creation has been requested. // - // * CREATING –The cluster creation process is in progress. + // * CREATING – Environment is in the process of being created. // - // * CREATE_FAILED– The cluster creation process has failed. + // * FAILED_CREATION – Environment creation has failed. // - // * RUNNING – The cluster creation process is running. + // * CREATED – Environment is successfully created and is currently active. // - // * UPDATING – The cluster is in the process of being updated. + // * DELETE REQUESTED – Environment deletion has been requested. // - // * DELETING – The cluster is in the process of being deleted. + // * DELETING – Environment is in the process of being deleted. // - // * DELETED – The cluster has been deleted. + // * RETRY_DELETION – Initial environment deletion failed, system is reattempting + // delete. // - // * DELETE_FAILED – The cluster failed to delete. - Status *string `locationName:"status" type:"string" enum:"KxClusterStatus"` + // * DELETED – Environment has been deleted. + // + // * FAILED_DELETION – Environment deletion has failed. + Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` - // The error message when a failed state occurs. - StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + // The status of the network configuration. + TgwStatus *string `locationName:"tgwStatus" type:"string" enum:"TgwStatus"` + + // Specifies the transit gateway and network configuration to connect the kdb + // environment to an internal network. + TransitGatewayConfiguration *TransitGatewayConfiguration `locationName:"transitGatewayConfiguration" type:"structure"` + + // The timestamp at which the kdb environment was modified in FinSpace. The + // value is determined as epoch time in milliseconds. For example, the value + // for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + UpdateTimestamp *time.Time `locationName:"updateTimestamp" type:"timestamp"` } // String returns the string representation. @@ -8167,7 +12760,7 @@ type KxCluster struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxCluster) String() string { +func (s KxEnvironment) String() string { return awsutil.Prettify(s) } @@ -8176,104 +12769,122 @@ func (s KxCluster) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxCluster) GoString() string { +func (s KxEnvironment) GoString() string { return s.String() } -// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. -func (s *KxCluster) SetAvailabilityZoneId(v string) *KxCluster { - s.AvailabilityZoneId = &v +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *KxEnvironment) SetAvailabilityZoneIds(v []*string) *KxEnvironment { + s.AvailabilityZoneIds = v return s } -// SetAzMode sets the AzMode field's value. -func (s *KxCluster) SetAzMode(v string) *KxCluster { - s.AzMode = &v +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *KxEnvironment) SetAwsAccountId(v string) *KxEnvironment { + s.AwsAccountId = &v return s } -// SetClusterDescription sets the ClusterDescription field's value. -func (s *KxCluster) SetClusterDescription(v string) *KxCluster { - s.ClusterDescription = &v +// SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value. +func (s *KxEnvironment) SetCertificateAuthorityArn(v string) *KxEnvironment { + s.CertificateAuthorityArn = &v return s } -// SetClusterName sets the ClusterName field's value. -func (s *KxCluster) SetClusterName(v string) *KxCluster { - s.ClusterName = &v +// SetCreationTimestamp sets the CreationTimestamp field's value. +func (s *KxEnvironment) SetCreationTimestamp(v time.Time) *KxEnvironment { + s.CreationTimestamp = &v return s } -// SetClusterType sets the ClusterType field's value. -func (s *KxCluster) SetClusterType(v string) *KxCluster { - s.ClusterType = &v +// SetCustomDNSConfiguration sets the CustomDNSConfiguration field's value. +func (s *KxEnvironment) SetCustomDNSConfiguration(v []*CustomDNSServer) *KxEnvironment { + s.CustomDNSConfiguration = v + return s +} + +// SetDedicatedServiceAccountId sets the DedicatedServiceAccountId field's value. +func (s *KxEnvironment) SetDedicatedServiceAccountId(v string) *KxEnvironment { + s.DedicatedServiceAccountId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *KxEnvironment) SetDescription(v string) *KxEnvironment { + s.Description = &v + return s +} + +// SetDnsStatus sets the DnsStatus field's value. +func (s *KxEnvironment) SetDnsStatus(v string) *KxEnvironment { + s.DnsStatus = &v + return s +} + +// SetEnvironmentArn sets the EnvironmentArn field's value. +func (s *KxEnvironment) SetEnvironmentArn(v string) *KxEnvironment { + s.EnvironmentArn = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *KxEnvironment) SetEnvironmentId(v string) *KxEnvironment { + s.EnvironmentId = &v return s } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *KxCluster) SetCreatedTimestamp(v time.Time) *KxCluster { - s.CreatedTimestamp = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *KxEnvironment) SetErrorMessage(v string) *KxEnvironment { + s.ErrorMessage = &v return s } -// SetExecutionRole sets the ExecutionRole field's value. -func (s *KxCluster) SetExecutionRole(v string) *KxCluster { - s.ExecutionRole = &v +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *KxEnvironment) SetKmsKeyId(v string) *KxEnvironment { + s.KmsKeyId = &v return s } -// SetInitializationScript sets the InitializationScript field's value. -func (s *KxCluster) SetInitializationScript(v string) *KxCluster { - s.InitializationScript = &v +// SetName sets the Name field's value. +func (s *KxEnvironment) SetName(v string) *KxEnvironment { + s.Name = &v return s } -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *KxCluster) SetLastModifiedTimestamp(v time.Time) *KxCluster { - s.LastModifiedTimestamp = &v +// SetStatus sets the Status field's value. +func (s *KxEnvironment) SetStatus(v string) *KxEnvironment { + s.Status = &v return s } -// SetReleaseLabel sets the ReleaseLabel field's value. -func (s *KxCluster) SetReleaseLabel(v string) *KxCluster { - s.ReleaseLabel = &v +// SetTgwStatus sets the TgwStatus field's value. +func (s *KxEnvironment) SetTgwStatus(v string) *KxEnvironment { + s.TgwStatus = &v return s } -// SetStatus sets the Status field's value. -func (s *KxCluster) SetStatus(v string) *KxCluster { - s.Status = &v +// SetTransitGatewayConfiguration sets the TransitGatewayConfiguration field's value. +func (s *KxEnvironment) SetTransitGatewayConfiguration(v *TransitGatewayConfiguration) *KxEnvironment { + s.TransitGatewayConfiguration = v return s } -// SetStatusReason sets the StatusReason field's value. -func (s *KxCluster) SetStatusReason(v string) *KxCluster { - s.StatusReason = &v +// SetUpdateTimestamp sets the UpdateTimestamp field's value. +func (s *KxEnvironment) SetUpdateTimestamp(v time.Time) *KxEnvironment { + s.UpdateTimestamp = &v return s } -// The configuration that allows you to choose how you want to update code on -// a cluster. Depending on the option you choose, you can reduce the time it -// takes to update the cluster. -type KxClusterCodeDeploymentConfiguration struct { +// The structure containing the size and type of the network attached storage +// (NAS_1) file system volume. +type KxNAS1Configuration struct { _ struct{} `type:"structure"` - // The type of deployment that you want on a cluster. - // - // * ROLLING – This options updates the cluster by stopping the exiting - // q process and starting a new q process with updated configuration. - // - // * NO_RESTART – This option updates the cluster without stopping the - // running q process. It is only available for GP type cluster. This option - // is quicker as it reduces the turn around time to update configuration - // on a cluster. With this deployment mode, you cannot update the initializationScript - // and commandLineArguments parameters. - // - // * FORCE – This option updates the cluster by immediately stopping all - // the running processes before starting up new ones with the updated configuration. - // - // DeploymentStrategy is a required field - DeploymentStrategy *string `locationName:"deploymentStrategy" type:"string" required:"true" enum:"KxClusterCodeDeploymentStrategy"` + // The size of the network attached storage. + Size *int64 `locationName:"size" min:"1200" type:"integer"` + + // The type of the network attached storage. + Type *string `locationName:"type" type:"string" enum:"KxNAS1Type"` } // String returns the string representation. @@ -8281,7 +12892,7 @@ type KxClusterCodeDeploymentConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxClusterCodeDeploymentConfiguration) String() string { +func (s KxNAS1Configuration) String() string { return awsutil.Prettify(s) } @@ -8290,15 +12901,15 @@ func (s KxClusterCodeDeploymentConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxClusterCodeDeploymentConfiguration) GoString() string { +func (s KxNAS1Configuration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KxClusterCodeDeploymentConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxClusterCodeDeploymentConfiguration"} - if s.DeploymentStrategy == nil { - invalidParams.Add(request.NewErrParamRequired("DeploymentStrategy")) +func (s *KxNAS1Configuration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxNAS1Configuration"} + if s.Size != nil && *s.Size < 1200 { + invalidParams.Add(request.NewErrParamMinValue("Size", 1200)) } if invalidParams.Len() > 0 { @@ -8307,21 +12918,33 @@ func (s *KxClusterCodeDeploymentConfiguration) Validate() error { return nil } -// SetDeploymentStrategy sets the DeploymentStrategy field's value. -func (s *KxClusterCodeDeploymentConfiguration) SetDeploymentStrategy(v string) *KxClusterCodeDeploymentConfiguration { - s.DeploymentStrategy = &v +// SetSize sets the Size field's value. +func (s *KxNAS1Configuration) SetSize(v int64) *KxNAS1Configuration { + s.Size = &v return s } -// Defines the key-value pairs to make them available inside the cluster. -type KxCommandLineArgument struct { +// SetType sets the Type field's value. +func (s *KxNAS1Configuration) SetType(v string) *KxNAS1Configuration { + s.Type = &v + return s +} + +// A structure that stores metadata for a kdb node. +type KxNode struct { _ struct{} `type:"structure"` - // The name of the key. - Key *string `locationName:"key" min:"1" type:"string"` + // The identifier of the availability zones where subnets for the environment + // are created. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` - // The value of the key. - Value *string `locationName:"value" min:"1" type:"string"` + // The time when a particular node is started. The value is determined as epoch + // time in milliseconds. For example, the value for Monday, November 1, 2021 + // 12:00:00 PM UTC is specified as 1635768000000. + LaunchTime *time.Time `locationName:"launchTime" type:"timestamp"` + + // A unique identifier for the node. + NodeId *string `locationName:"nodeId" min:"1" type:"string"` } // String returns the string representation. @@ -8329,7 +12952,7 @@ type KxCommandLineArgument struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxCommandLineArgument) String() string { +func (s KxNode) String() string { return awsutil.Prettify(s) } @@ -8338,56 +12961,46 @@ func (s KxCommandLineArgument) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxCommandLineArgument) GoString() string { +func (s KxNode) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *KxCommandLineArgument) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxCommandLineArgument"} - if s.Key != nil && len(*s.Key) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Key", 1)) - } - if s.Value != nil && len(*s.Value) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Value", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *KxNode) SetAvailabilityZoneId(v string) *KxNode { + s.AvailabilityZoneId = &v + return s } -// SetKey sets the Key field's value. -func (s *KxCommandLineArgument) SetKey(v string) *KxCommandLineArgument { - s.Key = &v +// SetLaunchTime sets the LaunchTime field's value. +func (s *KxNode) SetLaunchTime(v time.Time) *KxNode { + s.LaunchTime = &v return s } -// SetValue sets the Value field's value. -func (s *KxCommandLineArgument) SetValue(v string) *KxCommandLineArgument { - s.Value = &v +// SetNodeId sets the NodeId field's value. +func (s *KxNode) SetNodeId(v string) *KxNode { + s.NodeId = &v return s } -// The structure of database cache configuration that is used for mapping database -// paths to cache types in clusters. -type KxDatabaseCacheConfiguration struct { +// The size and type of temporary storage that is used to hold data during the +// savedown process. All the data written to this storage space is lost when +// the cluster node is restarted. +type KxSavedownStorageConfiguration struct { _ struct{} `type:"structure"` - // The type of disk cache. This parameter is used to map the database path to - // cache storage. The valid values are: - // - // * CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. - // - // CacheType is a required field - CacheType *string `locationName:"cacheType" min:"8" type:"string" required:"true"` + // The size of temporary storage in gibibytes. + Size *int64 `locationName:"size" min:"10" type:"integer"` - // Specifies the portions of database that will be loaded into the cache for - // access. + // The type of writeable storage space for temporarily storing your savedown + // data. The valid values are: // - // DbPaths is a required field - DbPaths []*string `locationName:"dbPaths" type:"list" required:"true"` + // * SDS01 – This type represents 3000 IOPS and io2 ebs volume type. + Type *string `locationName:"type" type:"string" enum:"KxSavedownStorageType"` + + // The name of the kdb volume that you want to use as writeable save-down storage + // for clusters. + VolumeName *string `locationName:"volumeName" min:"3" type:"string"` } // String returns the string representation. @@ -8395,7 +13008,7 @@ type KxDatabaseCacheConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDatabaseCacheConfiguration) String() string { +func (s KxSavedownStorageConfiguration) String() string { return awsutil.Prettify(s) } @@ -8404,21 +13017,18 @@ func (s KxDatabaseCacheConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDatabaseCacheConfiguration) GoString() string { +func (s KxSavedownStorageConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KxDatabaseCacheConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxDatabaseCacheConfiguration"} - if s.CacheType == nil { - invalidParams.Add(request.NewErrParamRequired("CacheType")) - } - if s.CacheType != nil && len(*s.CacheType) < 8 { - invalidParams.Add(request.NewErrParamMinLen("CacheType", 8)) +func (s *KxSavedownStorageConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxSavedownStorageConfiguration"} + if s.Size != nil && *s.Size < 10 { + invalidParams.Add(request.NewErrParamMinValue("Size", 10)) } - if s.DbPaths == nil { - invalidParams.Add(request.NewErrParamRequired("DbPaths")) + if s.VolumeName != nil && len(*s.VolumeName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VolumeName", 3)) } if invalidParams.Len() > 0 { @@ -8427,34 +13037,152 @@ func (s *KxDatabaseCacheConfiguration) Validate() error { return nil } -// SetCacheType sets the CacheType field's value. -func (s *KxDatabaseCacheConfiguration) SetCacheType(v string) *KxDatabaseCacheConfiguration { - s.CacheType = &v +// SetSize sets the Size field's value. +func (s *KxSavedownStorageConfiguration) SetSize(v int64) *KxSavedownStorageConfiguration { + s.Size = &v return s } -// SetDbPaths sets the DbPaths field's value. -func (s *KxDatabaseCacheConfiguration) SetDbPaths(v []*string) *KxDatabaseCacheConfiguration { - s.DbPaths = v +// SetType sets the Type field's value. +func (s *KxSavedownStorageConfiguration) SetType(v string) *KxSavedownStorageConfiguration { + s.Type = &v + return s +} + +// SetVolumeName sets the VolumeName field's value. +func (s *KxSavedownStorageConfiguration) SetVolumeName(v string) *KxSavedownStorageConfiguration { + s.VolumeName = &v + return s +} + +// A structure for storing metadata of scaling group. +type KxScalingGroup struct { + _ struct{} `type:"structure"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The list of clusters currently active in a given scaling group. + Clusters []*string `locationName:"clusters" type:"list"` + + // The timestamp at which the scaling group was created in FinSpace. The value + // is determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The memory and CPU capabilities of the scaling group host on which FinSpace + // Managed kdb clusters will be placed. + HostType *string `locationName:"hostType" min:"1" type:"string"` + + // The last time that the scaling group was updated in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // A unique identifier for the kdb scaling group. + ScalingGroupName *string `locationName:"scalingGroupName" min:"3" type:"string"` + + // The status of scaling groups. + Status *string `locationName:"status" type:"string" enum:"KxScalingGroupStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxScalingGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s KxScalingGroup) GoString() string { + return s.String() +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *KxScalingGroup) SetAvailabilityZoneId(v string) *KxScalingGroup { + s.AvailabilityZoneId = &v + return s +} + +// SetClusters sets the Clusters field's value. +func (s *KxScalingGroup) SetClusters(v []*string) *KxScalingGroup { + s.Clusters = v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxScalingGroup) SetCreatedTimestamp(v time.Time) *KxScalingGroup { + s.CreatedTimestamp = &v + return s +} + +// SetHostType sets the HostType field's value. +func (s *KxScalingGroup) SetHostType(v string) *KxScalingGroup { + s.HostType = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *KxScalingGroup) SetLastModifiedTimestamp(v time.Time) *KxScalingGroup { + s.LastModifiedTimestamp = &v + return s +} + +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *KxScalingGroup) SetScalingGroupName(v string) *KxScalingGroup { + s.ScalingGroupName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *KxScalingGroup) SetStatus(v string) *KxScalingGroup { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *KxScalingGroup) SetStatusReason(v string) *KxScalingGroup { + s.StatusReason = &v return s } -// The configuration of data that is available for querying from this database. -type KxDatabaseConfiguration struct { +// The structure that stores the capacity configuration details of a scaling +// group. +type KxScalingGroupConfiguration struct { _ struct{} `type:"structure"` - // Configuration details for the disk cache used to increase performance reading - // from a kdb database mounted to the cluster. - CacheConfigurations []*KxDatabaseCacheConfiguration `locationName:"cacheConfigurations" type:"list"` + // The number of vCPUs that you want to reserve for each node of this kdb cluster + // on the scaling group host. + Cpu *float64 `locationName:"cpu" min:"0.1" type:"double"` - // A unique identifier of the changeset that is associated with the cluster. - ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + // An optional hard limit on the amount of memory a kdb cluster can use. + MemoryLimit *int64 `locationName:"memoryLimit" min:"6" type:"integer"` - // The name of the kdb database. When this parameter is specified in the structure, - // S3 with the whole database is included by default. + // A reservation of the minimum amount of memory that should be available on + // the scaling group for a kdb cluster to be successfully placed in a scaling + // group. // - // DatabaseName is a required field - DatabaseName *string `locationName:"databaseName" min:"3" type:"string" required:"true"` + // MemoryReservation is a required field + MemoryReservation *int64 `locationName:"memoryReservation" min:"6" type:"integer" required:"true"` + + // The number of kdb cluster nodes. + // + // NodeCount is a required field + NodeCount *int64 `locationName:"nodeCount" min:"1" type:"integer" required:"true"` + + // A unique identifier for the kdb scaling group. + // + // ScalingGroupName is a required field + ScalingGroupName *string `locationName:"scalingGroupName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -8462,7 +13190,7 @@ type KxDatabaseConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDatabaseConfiguration) String() string { +func (s KxScalingGroupConfiguration) String() string { return awsutil.Prettify(s) } @@ -8471,31 +13199,36 @@ func (s KxDatabaseConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDatabaseConfiguration) GoString() string { +func (s KxScalingGroupConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KxDatabaseConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxDatabaseConfiguration"} - if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) +func (s *KxScalingGroupConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KxScalingGroupConfiguration"} + if s.Cpu != nil && *s.Cpu < 0.1 { + invalidParams.Add(request.NewErrParamMinValue("Cpu", 0.1)) } - if s.DatabaseName == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + if s.MemoryLimit != nil && *s.MemoryLimit < 6 { + invalidParams.Add(request.NewErrParamMinValue("MemoryLimit", 6)) } - if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + if s.MemoryReservation == nil { + invalidParams.Add(request.NewErrParamRequired("MemoryReservation")) } - if s.CacheConfigurations != nil { - for i, v := range s.CacheConfigurations { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CacheConfigurations", i), err.(request.ErrInvalidParams)) - } - } + if s.MemoryReservation != nil && *s.MemoryReservation < 6 { + invalidParams.Add(request.NewErrParamMinValue("MemoryReservation", 6)) + } + if s.NodeCount == nil { + invalidParams.Add(request.NewErrParamRequired("NodeCount")) + } + if s.NodeCount != nil && *s.NodeCount < 1 { + invalidParams.Add(request.NewErrParamMinValue("NodeCount", 1)) + } + if s.ScalingGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("ScalingGroupName")) + } + if s.ScalingGroupName != nil && len(*s.ScalingGroupName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ScalingGroupName", 3)) } if invalidParams.Len() > 0 { @@ -8504,40 +13237,56 @@ func (s *KxDatabaseConfiguration) Validate() error { return nil } -// SetCacheConfigurations sets the CacheConfigurations field's value. -func (s *KxDatabaseConfiguration) SetCacheConfigurations(v []*KxDatabaseCacheConfiguration) *KxDatabaseConfiguration { - s.CacheConfigurations = v +// SetCpu sets the Cpu field's value. +func (s *KxScalingGroupConfiguration) SetCpu(v float64) *KxScalingGroupConfiguration { + s.Cpu = &v return s } -// SetChangesetId sets the ChangesetId field's value. -func (s *KxDatabaseConfiguration) SetChangesetId(v string) *KxDatabaseConfiguration { - s.ChangesetId = &v +// SetMemoryLimit sets the MemoryLimit field's value. +func (s *KxScalingGroupConfiguration) SetMemoryLimit(v int64) *KxScalingGroupConfiguration { + s.MemoryLimit = &v return s } -// SetDatabaseName sets the DatabaseName field's value. -func (s *KxDatabaseConfiguration) SetDatabaseName(v string) *KxDatabaseConfiguration { - s.DatabaseName = &v +// SetMemoryReservation sets the MemoryReservation field's value. +func (s *KxScalingGroupConfiguration) SetMemoryReservation(v int64) *KxScalingGroupConfiguration { + s.MemoryReservation = &v return s } -// Details about a FinSpace managed kdb database -type KxDatabaseListEntry struct { +// SetNodeCount sets the NodeCount field's value. +func (s *KxScalingGroupConfiguration) SetNodeCount(v int64) *KxScalingGroupConfiguration { + s.NodeCount = &v + return s +} + +// SetScalingGroupName sets the ScalingGroupName field's value. +func (s *KxScalingGroupConfiguration) SetScalingGroupName(v string) *KxScalingGroupConfiguration { + s.ScalingGroupName = &v + return s +} + +// A structure that stores metadata for a kdb user. +type KxUser struct { _ struct{} `type:"structure"` - // The timestamp at which the database was created in FinSpace. The value is - // determined as epoch time in milliseconds. For example, the value for Monday, - // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + // The timestamp at which the kdb user was created. + CreateTimestamp *time.Time `locationName:"createTimestamp" type:"timestamp"` - // The name of the kdb database. - DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + // The IAM role ARN that is associated with the user. + IamRole *string `locationName:"iamRole" min:"20" type:"string"` - // The last time that the database was modified. The value is determined as - // epoch time in milliseconds. For example, the value for Monday, November 1, - // 2021 12:00:00 PM UTC is specified as 1635768000000. - LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + // The timestamp at which the kdb user was updated. + UpdateTimestamp *time.Time `locationName:"updateTimestamp" type:"timestamp"` + + // The Amazon Resource Name (ARN) that identifies the user. For more information + // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + // in the IAM User Guide. + UserArn *string `locationName:"userArn" min:"20" type:"string"` + + // A unique identifier for the user. + UserName *string `locationName:"userName" min:"1" type:"string"` } // String returns the string representation. @@ -8545,7 +13294,7 @@ type KxDatabaseListEntry struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDatabaseListEntry) String() string { +func (s KxUser) String() string { return awsutil.Prettify(s) } @@ -8554,47 +13303,94 @@ func (s KxDatabaseListEntry) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDatabaseListEntry) GoString() string { +func (s KxUser) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *KxDatabaseListEntry) SetCreatedTimestamp(v time.Time) *KxDatabaseListEntry { - s.CreatedTimestamp = &v +// SetCreateTimestamp sets the CreateTimestamp field's value. +func (s *KxUser) SetCreateTimestamp(v time.Time) *KxUser { + s.CreateTimestamp = &v return s } -// SetDatabaseName sets the DatabaseName field's value. -func (s *KxDatabaseListEntry) SetDatabaseName(v string) *KxDatabaseListEntry { - s.DatabaseName = &v +// SetIamRole sets the IamRole field's value. +func (s *KxUser) SetIamRole(v string) *KxUser { + s.IamRole = &v return s } -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *KxDatabaseListEntry) SetLastModifiedTimestamp(v time.Time) *KxDatabaseListEntry { - s.LastModifiedTimestamp = &v +// SetUpdateTimestamp sets the UpdateTimestamp field's value. +func (s *KxUser) SetUpdateTimestamp(v time.Time) *KxUser { + s.UpdateTimestamp = &v return s } -// The configuration that allows you to choose how you want to update the databases -// on a cluster. Depending on the option you choose, you can reduce the time -// it takes to update the cluster. -type KxDeploymentConfiguration struct { +// SetUserArn sets the UserArn field's value. +func (s *KxUser) SetUserArn(v string) *KxUser { + s.UserArn = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *KxUser) SetUserName(v string) *KxUser { + s.UserName = &v + return s +} + +// The structure that contains the metadata of the volume. +type KxVolume struct { _ struct{} `type:"structure"` - // The type of deployment that you want on a cluster. + // The identifier of the availability zones. + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + + // The number of availability zones assigned to the volume. Currently, only + // SINGLE is supported. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // The timestamp at which the volume was created in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // A description of the volume. + Description *string `locationName:"description" min:"1" type:"string"` + + // The last time that the volume was updated in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // The status of volume. // - // * ROLLING – This options updates the cluster by stopping the exiting - // q process and starting a new q process with updated configuration. + // * CREATING – The volume creation is in progress. // - // * NO_RESTART – This option updates the cluster without stopping the - // running q process. It is only available for HDB type cluster. This option - // is quicker as it reduces the turn around time to update configuration - // on a cluster. With this deployment mode, you cannot update the initializationScript - // and commandLineArguments parameters. + // * CREATE_FAILED – The volume creation has failed. // - // DeploymentStrategy is a required field - DeploymentStrategy *string `locationName:"deploymentStrategy" type:"string" required:"true" enum:"KxDeploymentStrategy"` + // * ACTIVE – The volume is active. + // + // * UPDATING – The volume is in the process of being updated. + // + // * UPDATE_FAILED – The update action failed. + // + // * UPDATED – The volume is successfully updated. + // + // * DELETING – The volume is in the process of being deleted. + // + // * DELETE_FAILED – The system failed to delete the volume. + // + // * DELETED – The volume is successfully deleted. + Status *string `locationName:"status" type:"string" enum:"KxVolumeStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + + // A unique identifier for the volume. + VolumeName *string `locationName:"volumeName" min:"3" type:"string"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. + VolumeType *string `locationName:"volumeType" type:"string" enum:"KxVolumeType"` } // String returns the string representation. @@ -8602,7 +13398,7 @@ type KxDeploymentConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDeploymentConfiguration) String() string { +func (s KxVolume) String() string { return awsutil.Prettify(s) } @@ -8611,109 +13407,70 @@ func (s KxDeploymentConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxDeploymentConfiguration) GoString() string { +func (s KxVolume) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *KxDeploymentConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxDeploymentConfiguration"} - if s.DeploymentStrategy == nil { - invalidParams.Add(request.NewErrParamRequired("DeploymentStrategy")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *KxVolume) SetAvailabilityZoneIds(v []*string) *KxVolume { + s.AvailabilityZoneIds = v + return s } -// SetDeploymentStrategy sets the DeploymentStrategy field's value. -func (s *KxDeploymentConfiguration) SetDeploymentStrategy(v string) *KxDeploymentConfiguration { - s.DeploymentStrategy = &v +// SetAzMode sets the AzMode field's value. +func (s *KxVolume) SetAzMode(v string) *KxVolume { + s.AzMode = &v return s } -// The details of a kdb environment. -type KxEnvironment struct { - _ struct{} `type:"structure"` - - // The identifier of the availability zones where subnets for the environment - // are created. - AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` - - // The unique identifier of the AWS account in which you create the kdb environment. - AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the certificate authority: - CertificateAuthorityArn *string `locationName:"certificateAuthorityArn" min:"1" type:"string"` - - // The timestamp at which the kdb environment was created in FinSpace. The value - // is determined as epoch time in milliseconds. For example, the value for Monday, - // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - CreationTimestamp *time.Time `locationName:"creationTimestamp" type:"timestamp"` - - // A list of DNS server name and server IP. This is used to set up Route-53 - // outbound resolvers. - CustomDNSConfiguration []*CustomDNSServer `locationName:"customDNSConfiguration" type:"list"` - - // A unique identifier for the AWS environment infrastructure account. - DedicatedServiceAccountId *string `locationName:"dedicatedServiceAccountId" min:"1" type:"string"` - - // A description of the kdb environment. - Description *string `locationName:"description" min:"1" type:"string"` - - // The status of DNS configuration. - DnsStatus *string `locationName:"dnsStatus" type:"string" enum:"DnsStatus"` - - // The Amazon Resource Name (ARN) of your kdb environment. - EnvironmentArn *string `locationName:"environmentArn" min:"20" type:"string"` - - // A unique identifier for the kdb environment. - EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - - // Specifies the error message that appears if a flow fails. - ErrorMessage *string `locationName:"errorMessage" type:"string"` - - // The unique identifier of the KMS key. - KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *KxVolume) SetCreatedTimestamp(v time.Time) *KxVolume { + s.CreatedTimestamp = &v + return s +} - // The name of the kdb environment. - Name *string `locationName:"name" min:"3" type:"string"` +// SetDescription sets the Description field's value. +func (s *KxVolume) SetDescription(v string) *KxVolume { + s.Description = &v + return s +} - // The status of the environment creation. - // - // * CREATE_REQUESTED – Environment creation has been requested. - // - // * CREATING – Environment is in the process of being created. - // - // * FAILED_CREATION – Environment creation has failed. - // - // * CREATED – Environment is successfully created and is currently active. - // - // * DELETE REQUESTED – Environment deletion has been requested. - // - // * DELETING – Environment is in the process of being deleted. - // - // * RETRY_DELETION – Initial environment deletion failed, system is reattempting - // delete. - // - // * DELETED – Environment has been deleted. - // - // * FAILED_DELETION – Environment deletion has failed. - Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *KxVolume) SetLastModifiedTimestamp(v time.Time) *KxVolume { + s.LastModifiedTimestamp = &v + return s +} - // The status of the network configuration. - TgwStatus *string `locationName:"tgwStatus" type:"string" enum:"TgwStatus"` +// SetStatus sets the Status field's value. +func (s *KxVolume) SetStatus(v string) *KxVolume { + s.Status = &v + return s +} - // Specifies the transit gateway and network configuration to connect the kdb - // environment to an internal network. - TransitGatewayConfiguration *TransitGatewayConfiguration `locationName:"transitGatewayConfiguration" type:"structure"` +// SetStatusReason sets the StatusReason field's value. +func (s *KxVolume) SetStatusReason(v string) *KxVolume { + s.StatusReason = &v + return s +} - // The timestamp at which the kdb environment was modified in FinSpace. The - // value is determined as epoch time in milliseconds. For example, the value - // for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. - UpdateTimestamp *time.Time `locationName:"updateTimestamp" type:"timestamp"` +// SetVolumeName sets the VolumeName field's value. +func (s *KxVolume) SetVolumeName(v string) *KxVolume { + s.VolumeName = &v + return s +} + +// SetVolumeType sets the VolumeType field's value. +func (s *KxVolume) SetVolumeType(v string) *KxVolume { + s.VolumeType = &v + return s +} + +// A service limit or quota is exceeded. +type LimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -8721,7 +13478,7 @@ type KxEnvironment struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxEnvironment) String() string { +func (s LimitExceededException) String() string { return awsutil.Prettify(s) } @@ -8730,127 +13487,163 @@ func (s KxEnvironment) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxEnvironment) GoString() string { +func (s LimitExceededException) GoString() string { return s.String() } -// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. -func (s *KxEnvironment) SetAvailabilityZoneIds(v []*string) *KxEnvironment { - s.AvailabilityZoneIds = v - return s +func newErrorLimitExceededException(v protocol.ResponseMetadata) error { + return &LimitExceededException{ + RespMetadata: v, + } } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *KxEnvironment) SetAwsAccountId(v string) *KxEnvironment { - s.AwsAccountId = &v - return s +// Code returns the exception type name. +func (s *LimitExceededException) Code() string { + return "LimitExceededException" } -// SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value. -func (s *KxEnvironment) SetCertificateAuthorityArn(v string) *KxEnvironment { - s.CertificateAuthorityArn = &v - return s +// Message returns the exception's message. +func (s *LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *KxEnvironment) SetCreationTimestamp(v time.Time) *KxEnvironment { - s.CreationTimestamp = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *LimitExceededException) OrigErr() error { + return nil } -// SetCustomDNSConfiguration sets the CustomDNSConfiguration field's value. -func (s *KxEnvironment) SetCustomDNSConfiguration(v []*CustomDNSServer) *KxEnvironment { - s.CustomDNSConfiguration = v - return s +func (s *LimitExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetDedicatedServiceAccountId sets the DedicatedServiceAccountId field's value. -func (s *KxEnvironment) SetDedicatedServiceAccountId(v string) *KxEnvironment { - s.DedicatedServiceAccountId = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *LimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetDescription sets the Description field's value. -func (s *KxEnvironment) SetDescription(v string) *KxEnvironment { - s.Description = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *LimitExceededException) RequestID() string { + return s.RespMetadata.RequestID } -// SetDnsStatus sets the DnsStatus field's value. -func (s *KxEnvironment) SetDnsStatus(v string) *KxEnvironment { - s.DnsStatus = &v - return s +type ListEnvironmentsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of results to return in this request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // A token generated by FinSpace that specifies where to continue pagination + // if a previous request was truncated. To get the next set of pages, pass in + // the nextTokennextToken value from the response object of the previous page + // call. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } -// SetEnvironmentArn sets the EnvironmentArn field's value. -func (s *KxEnvironment) SetEnvironmentArn(v string) *KxEnvironment { - s.EnvironmentArn = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListEnvironmentsInput) String() string { + return awsutil.Prettify(s) } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *KxEnvironment) SetEnvironmentId(v string) *KxEnvironment { - s.EnvironmentId = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListEnvironmentsInput) GoString() string { + return s.String() } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *KxEnvironment) SetErrorMessage(v string) *KxEnvironment { - s.ErrorMessage = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListEnvironmentsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListEnvironmentsInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *KxEnvironment) SetKmsKeyId(v string) *KxEnvironment { - s.KmsKeyId = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListEnvironmentsInput) SetMaxResults(v int64) *ListEnvironmentsInput { + s.MaxResults = &v return s } -// SetName sets the Name field's value. -func (s *KxEnvironment) SetName(v string) *KxEnvironment { - s.Name = &v +// SetNextToken sets the NextToken field's value. +func (s *ListEnvironmentsInput) SetNextToken(v string) *ListEnvironmentsInput { + s.NextToken = &v return s } -// SetStatus sets the Status field's value. -func (s *KxEnvironment) SetStatus(v string) *KxEnvironment { - s.Status = &v - return s +type ListEnvironmentsOutput struct { + _ struct{} `type:"structure"` + + // A list of all of your FinSpace environments. + Environments []*Environment `locationName:"environments" type:"list"` + + // A token that you can use in a subsequent call to retrieve the next set of + // results. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } -// SetTgwStatus sets the TgwStatus field's value. -func (s *KxEnvironment) SetTgwStatus(v string) *KxEnvironment { - s.TgwStatus = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListEnvironmentsOutput) String() string { + return awsutil.Prettify(s) } -// SetTransitGatewayConfiguration sets the TransitGatewayConfiguration field's value. -func (s *KxEnvironment) SetTransitGatewayConfiguration(v *TransitGatewayConfiguration) *KxEnvironment { - s.TransitGatewayConfiguration = v +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListEnvironmentsOutput) GoString() string { + return s.String() +} + +// SetEnvironments sets the Environments field's value. +func (s *ListEnvironmentsOutput) SetEnvironments(v []*Environment) *ListEnvironmentsOutput { + s.Environments = v return s } -// SetUpdateTimestamp sets the UpdateTimestamp field's value. -func (s *KxEnvironment) SetUpdateTimestamp(v time.Time) *KxEnvironment { - s.UpdateTimestamp = &v +// SetNextToken sets the NextToken field's value. +func (s *ListEnvironmentsOutput) SetNextToken(v string) *ListEnvironmentsOutput { + s.NextToken = &v return s } -// A structure that stores metadata for a kdb node. -type KxNode struct { - _ struct{} `type:"structure"` +type ListKxChangesetsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The identifier of the availability zones where subnets for the environment - // are created. - AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + // The name of the kdb database. + // + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // The time when a particular node is started. The value is determined as epoch - // time in milliseconds. For example, the value for Monday, November 1, 2021 - // 12:00:00 PM UTC is specified as 1635768000000. - LaunchTime *time.Time `locationName:"launchTime" type:"timestamp"` + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` - // A unique identifier for the node. - NodeId *string `locationName:"nodeId" min:"1" type:"string"` + // The maximum number of results to return in this request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // A token that indicates where a results page should begin. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -8858,7 +13651,7 @@ type KxNode struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxNode) String() string { +func (s ListKxChangesetsInput) String() string { return awsutil.Prettify(s) } @@ -8867,46 +13660,67 @@ func (s KxNode) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxNode) GoString() string { +func (s ListKxChangesetsInput) GoString() string { return s.String() } -// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. -func (s *KxNode) SetAvailabilityZoneId(v string) *KxNode { - s.AvailabilityZoneId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListKxChangesetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxChangesetsInput"} + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + } + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *ListKxChangesetsInput) SetDatabaseName(v string) *ListKxChangesetsInput { + s.DatabaseName = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *ListKxChangesetsInput) SetEnvironmentId(v string) *ListKxChangesetsInput { + s.EnvironmentId = &v return s } -// SetLaunchTime sets the LaunchTime field's value. -func (s *KxNode) SetLaunchTime(v time.Time) *KxNode { - s.LaunchTime = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListKxChangesetsInput) SetMaxResults(v int64) *ListKxChangesetsInput { + s.MaxResults = &v return s } -// SetNodeId sets the NodeId field's value. -func (s *KxNode) SetNodeId(v string) *KxNode { - s.NodeId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListKxChangesetsInput) SetNextToken(v string) *ListKxChangesetsInput { + s.NextToken = &v return s } -// The size and type of temporary storage that is used to hold data during the -// savedown process. All the data written to this storage space is lost when -// the cluster node is restarted. -type KxSavedownStorageConfiguration struct { +type ListKxChangesetsOutput struct { _ struct{} `type:"structure"` - // The size of temporary storage in gibibytes. - // - // Size is a required field - Size *int64 `locationName:"size" min:"4" type:"integer" required:"true"` + // A list of changesets for a database. + KxChangesets []*KxChangesetListEntry `locationName:"kxChangesets" type:"list"` - // The type of writeable storage space for temporarily storing your savedown - // data. The valid values are: - // - // * SDS01 – This type represents 3000 IOPS and io2 ebs volume type. - // - // Type is a required field - Type *string `locationName:"type" type:"string" required:"true" enum:"KxSavedownStorageType"` + // A token that indicates where a results page should begin. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -8914,7 +13728,7 @@ type KxSavedownStorageConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxSavedownStorageConfiguration) String() string { +func (s ListKxChangesetsOutput) String() string { return awsutil.Prettify(s) } @@ -8923,61 +13737,40 @@ func (s KxSavedownStorageConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxSavedownStorageConfiguration) GoString() string { +func (s ListKxChangesetsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *KxSavedownStorageConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KxSavedownStorageConfiguration"} - if s.Size == nil { - invalidParams.Add(request.NewErrParamRequired("Size")) - } - if s.Size != nil && *s.Size < 4 { - invalidParams.Add(request.NewErrParamMinValue("Size", 4)) - } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetSize sets the Size field's value. -func (s *KxSavedownStorageConfiguration) SetSize(v int64) *KxSavedownStorageConfiguration { - s.Size = &v +// SetKxChangesets sets the KxChangesets field's value. +func (s *ListKxChangesetsOutput) SetKxChangesets(v []*KxChangesetListEntry) *ListKxChangesetsOutput { + s.KxChangesets = v return s } -// SetType sets the Type field's value. -func (s *KxSavedownStorageConfiguration) SetType(v string) *KxSavedownStorageConfiguration { - s.Type = &v +// SetNextToken sets the NextToken field's value. +func (s *ListKxChangesetsOutput) SetNextToken(v string) *ListKxChangesetsOutput { + s.NextToken = &v return s } -// A structure that stores metadata for a kdb user. -type KxUser struct { - _ struct{} `type:"structure"` - - // The timestamp at which the kdb user was created. - CreateTimestamp *time.Time `locationName:"createTimestamp" type:"timestamp"` +type ListKxClusterNodesInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The IAM role ARN that is associated with the user. - IamRole *string `locationName:"iamRole" min:"20" type:"string"` + // A unique name for the cluster. + // + // ClusterName is a required field + ClusterName *string `location:"uri" locationName:"clusterName" min:"3" type:"string" required:"true"` - // The timestamp at which the kdb user was updated. - UpdateTimestamp *time.Time `locationName:"updateTimestamp" type:"timestamp"` + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` - // The Amazon Resource Name (ARN) that identifies the user. For more information - // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - // in the IAM User Guide. - UserArn *string `locationName:"userArn" min:"20" type:"string"` + // The maximum number of results to return in this request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // A unique identifier for the user. - UserName *string `locationName:"userName" min:"1" type:"string"` + // A token that indicates where a results page should begin. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -8985,7 +13778,7 @@ type KxUser struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxUser) String() string { +func (s ListKxClusterNodesInput) String() string { return awsutil.Prettify(s) } @@ -8994,46 +13787,67 @@ func (s KxUser) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KxUser) GoString() string { +func (s ListKxClusterNodesInput) GoString() string { return s.String() } -// SetCreateTimestamp sets the CreateTimestamp field's value. -func (s *KxUser) SetCreateTimestamp(v time.Time) *KxUser { - s.CreateTimestamp = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListKxClusterNodesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxClusterNodesInput"} + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + if s.ClusterName != nil && len(*s.ClusterName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIamRole sets the IamRole field's value. -func (s *KxUser) SetIamRole(v string) *KxUser { - s.IamRole = &v +// SetClusterName sets the ClusterName field's value. +func (s *ListKxClusterNodesInput) SetClusterName(v string) *ListKxClusterNodesInput { + s.ClusterName = &v return s } -// SetUpdateTimestamp sets the UpdateTimestamp field's value. -func (s *KxUser) SetUpdateTimestamp(v time.Time) *KxUser { - s.UpdateTimestamp = &v +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *ListKxClusterNodesInput) SetEnvironmentId(v string) *ListKxClusterNodesInput { + s.EnvironmentId = &v return s } -// SetUserArn sets the UserArn field's value. -func (s *KxUser) SetUserArn(v string) *KxUser { - s.UserArn = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListKxClusterNodesInput) SetMaxResults(v int64) *ListKxClusterNodesInput { + s.MaxResults = &v return s } -// SetUserName sets the UserName field's value. -func (s *KxUser) SetUserName(v string) *KxUser { - s.UserName = &v +// SetNextToken sets the NextToken field's value. +func (s *ListKxClusterNodesInput) SetNextToken(v string) *ListKxClusterNodesInput { + s.NextToken = &v return s } -// A service limit or quota is exceeded. -type LimitExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type ListKxClusterNodesOutput struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // A token that indicates where a results page should begin. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of nodes associated with the cluster. + Nodes []*KxNode `locationName:"nodes" type:"list"` } // String returns the string representation. @@ -9041,7 +13855,7 @@ type LimitExceededException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LimitExceededException) String() string { +func (s ListKxClusterNodesOutput) String() string { return awsutil.Prettify(s) } @@ -9050,58 +13864,67 @@ func (s LimitExceededException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LimitExceededException) GoString() string { +func (s ListKxClusterNodesOutput) GoString() string { return s.String() } -func newErrorLimitExceededException(v protocol.ResponseMetadata) error { - return &LimitExceededException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *LimitExceededException) Code() string { - return "LimitExceededException" -} - -// Message returns the exception's message. -func (s *LimitExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *LimitExceededException) OrigErr() error { - return nil -} - -func (s *LimitExceededException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *LimitExceededException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetNextToken sets the NextToken field's value. +func (s *ListKxClusterNodesOutput) SetNextToken(v string) *ListKxClusterNodesOutput { + s.NextToken = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *LimitExceededException) RequestID() string { - return s.RespMetadata.RequestID +// SetNodes sets the Nodes field's value. +func (s *ListKxClusterNodesOutput) SetNodes(v []*KxNode) *ListKxClusterNodesOutput { + s.Nodes = v + return s } -type ListEnvironmentsInput struct { +type ListKxClustersInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The maximum number of results to return in this request. - MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + // Specifies the type of KDB database that is being created. The following types + // are available: + // + // * HDB – A Historical Database. The data is only accessible with read-only + // permissions from one of the FinSpace managed kdb databases mounted to + // the cluster. + // + // * RDB – A Realtime Database. This type of database captures all the + // data from a ticker plant and stores it in memory until the end of day, + // after which it writes all of its data to a disk and reloads the HDB. This + // cluster type requires local storage for temporary storage of data during + // the savedown process. If you specify this field in your request, you must + // provide the savedownStorageConfiguration parameter. + // + // * GATEWAY – A gateway cluster allows you to access data across processes + // in kdb systems. It allows you to create your own routing logic using the + // initialization scripts and custom code. This type of cluster does not + // require a writable local storage. + // + // * GP – A general purpose cluster allows you to quickly iterate on code + // during development by granting greater access to system commands and enabling + // a fast reload of custom code. This cluster type can optionally mount databases + // including cache and savedown storage. For this cluster type, the node + // count is fixed at 1. It does not support autoscaling and supports only + // SINGLE AZ mode. + // + // * Tickerplant – A tickerplant cluster allows you to subscribe to feed + // handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, + // and real-time subscribers (RTS). Tickerplants can persist messages to + // log, which is readable by any RDB environment. It supports only single-node + // that is only one kdb process. + ClusterType *string `location:"querystring" locationName:"clusterType" type:"string" enum:"KxClusterType"` - // A token generated by FinSpace that specifies where to continue pagination - // if a previous request was truncated. To get the next set of pages, pass in - // the nextTokennextToken value from the response object of the previous page - // call. + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // The maximum number of results to return in this request. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // A token that indicates where a results page should begin. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -9110,7 +13933,7 @@ type ListEnvironmentsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListEnvironmentsInput) String() string { +func (s ListKxClustersInput) String() string { return awsutil.Prettify(s) } @@ -9119,13 +13942,19 @@ func (s ListEnvironmentsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListEnvironmentsInput) GoString() string { +func (s ListKxClustersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListEnvironmentsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListEnvironmentsInput"} +func (s *ListKxClustersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxClustersInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } @@ -9136,26 +13965,37 @@ func (s *ListEnvironmentsInput) Validate() error { return nil } +// SetClusterType sets the ClusterType field's value. +func (s *ListKxClustersInput) SetClusterType(v string) *ListKxClustersInput { + s.ClusterType = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *ListKxClustersInput) SetEnvironmentId(v string) *ListKxClustersInput { + s.EnvironmentId = &v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListEnvironmentsInput) SetMaxResults(v int64) *ListEnvironmentsInput { +func (s *ListKxClustersInput) SetMaxResults(v int64) *ListKxClustersInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListEnvironmentsInput) SetNextToken(v string) *ListEnvironmentsInput { +func (s *ListKxClustersInput) SetNextToken(v string) *ListKxClustersInput { s.NextToken = &v return s } -type ListEnvironmentsOutput struct { +type ListKxClustersOutput struct { _ struct{} `type:"structure"` - // A list of all of your FinSpace environments. - Environments []*Environment `locationName:"environments" type:"list"` + // Lists the cluster details. + KxClusterSummaries []*KxCluster `locationName:"kxClusterSummaries" type:"list"` - // A token that you can use in a subsequent call to retrieve the next set of - // results. + // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` } @@ -9164,7 +14004,7 @@ type ListEnvironmentsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListEnvironmentsOutput) String() string { +func (s ListKxClustersOutput) String() string { return awsutil.Prettify(s) } @@ -9173,30 +14013,25 @@ func (s ListEnvironmentsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListEnvironmentsOutput) GoString() string { +func (s ListKxClustersOutput) GoString() string { return s.String() } -// SetEnvironments sets the Environments field's value. -func (s *ListEnvironmentsOutput) SetEnvironments(v []*Environment) *ListEnvironmentsOutput { - s.Environments = v +// SetKxClusterSummaries sets the KxClusterSummaries field's value. +func (s *ListKxClustersOutput) SetKxClusterSummaries(v []*KxCluster) *ListKxClustersOutput { + s.KxClusterSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListEnvironmentsOutput) SetNextToken(v string) *ListEnvironmentsOutput { +func (s *ListKxClustersOutput) SetNextToken(v string) *ListKxClustersOutput { s.NextToken = &v return s } -type ListKxChangesetsInput struct { +type ListKxDatabasesInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the kdb database. - // - // DatabaseName is a required field - DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // A unique identifier for the kdb environment. // // EnvironmentId is a required field @@ -9214,7 +14049,7 @@ type ListKxChangesetsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxChangesetsInput) String() string { +func (s ListKxDatabasesInput) String() string { return awsutil.Prettify(s) } @@ -9223,19 +14058,13 @@ func (s ListKxChangesetsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxChangesetsInput) GoString() string { +func (s ListKxDatabasesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListKxChangesetsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListKxChangesetsInput"} - if s.DatabaseName == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseName")) - } - if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) - } +func (s *ListKxDatabasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxDatabasesInput"} if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } @@ -9252,35 +14081,29 @@ func (s *ListKxChangesetsInput) Validate() error { return nil } -// SetDatabaseName sets the DatabaseName field's value. -func (s *ListKxChangesetsInput) SetDatabaseName(v string) *ListKxChangesetsInput { - s.DatabaseName = &v - return s -} - // SetEnvironmentId sets the EnvironmentId field's value. -func (s *ListKxChangesetsInput) SetEnvironmentId(v string) *ListKxChangesetsInput { +func (s *ListKxDatabasesInput) SetEnvironmentId(v string) *ListKxDatabasesInput { s.EnvironmentId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListKxChangesetsInput) SetMaxResults(v int64) *ListKxChangesetsInput { +func (s *ListKxDatabasesInput) SetMaxResults(v int64) *ListKxDatabasesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxChangesetsInput) SetNextToken(v string) *ListKxChangesetsInput { +func (s *ListKxDatabasesInput) SetNextToken(v string) *ListKxDatabasesInput { s.NextToken = &v return s } -type ListKxChangesetsOutput struct { +type ListKxDatabasesOutput struct { _ struct{} `type:"structure"` - // A list of changesets for a database. - KxChangesets []*KxChangesetListEntry `locationName:"kxChangesets" type:"list"` + // A list of databases in the kdb environment. + KxDatabases []*KxDatabaseListEntry `locationName:"kxDatabases" type:"list"` // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` @@ -9291,7 +14114,7 @@ type ListKxChangesetsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxChangesetsOutput) String() string { +func (s ListKxDatabasesOutput) String() string { return awsutil.Prettify(s) } @@ -9300,31 +14123,32 @@ func (s ListKxChangesetsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxChangesetsOutput) GoString() string { +func (s ListKxDatabasesOutput) GoString() string { return s.String() } -// SetKxChangesets sets the KxChangesets field's value. -func (s *ListKxChangesetsOutput) SetKxChangesets(v []*KxChangesetListEntry) *ListKxChangesetsOutput { - s.KxChangesets = v +// SetKxDatabases sets the KxDatabases field's value. +func (s *ListKxDatabasesOutput) SetKxDatabases(v []*KxDatabaseListEntry) *ListKxDatabasesOutput { + s.KxDatabases = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxChangesetsOutput) SetNextToken(v string) *ListKxChangesetsOutput { +func (s *ListKxDatabasesOutput) SetNextToken(v string) *ListKxDatabasesOutput { s.NextToken = &v return s } -type ListKxClusterNodesInput struct { +type ListKxDataviewsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A unique name for the cluster. + // The name of the database where the dataviews were created. // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"clusterName" min:"3" type:"string" required:"true"` + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment, for which you want to retrieve + // a list of dataviews. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` @@ -9341,7 +14165,7 @@ type ListKxClusterNodesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClusterNodesInput) String() string { +func (s ListKxDataviewsInput) String() string { return awsutil.Prettify(s) } @@ -9350,18 +14174,18 @@ func (s ListKxClusterNodesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClusterNodesInput) GoString() string { +func (s ListKxDataviewsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListKxClusterNodesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListKxClusterNodesInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) +func (s *ListKxDataviewsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxDataviewsInput"} + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) } - if s.ClusterName != nil && len(*s.ClusterName) < 3 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 3)) + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) @@ -9379,38 +14203,38 @@ func (s *ListKxClusterNodesInput) Validate() error { return nil } -// SetClusterName sets the ClusterName field's value. -func (s *ListKxClusterNodesInput) SetClusterName(v string) *ListKxClusterNodesInput { - s.ClusterName = &v +// SetDatabaseName sets the DatabaseName field's value. +func (s *ListKxDataviewsInput) SetDatabaseName(v string) *ListKxDataviewsInput { + s.DatabaseName = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *ListKxClusterNodesInput) SetEnvironmentId(v string) *ListKxClusterNodesInput { +func (s *ListKxDataviewsInput) SetEnvironmentId(v string) *ListKxDataviewsInput { s.EnvironmentId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListKxClusterNodesInput) SetMaxResults(v int64) *ListKxClusterNodesInput { +func (s *ListKxDataviewsInput) SetMaxResults(v int64) *ListKxDataviewsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxClusterNodesInput) SetNextToken(v string) *ListKxClusterNodesInput { +func (s *ListKxDataviewsInput) SetNextToken(v string) *ListKxDataviewsInput { s.NextToken = &v return s } -type ListKxClusterNodesOutput struct { +type ListKxDataviewsOutput struct { _ struct{} `type:"structure"` + // The list of kdb dataviews that are currently active for the given database. + KxDataviews []*KxDataviewListEntry `locationName:"kxDataviews" type:"list"` + // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - - // A list of nodes associated with the cluster. - Nodes []*KxNode `locationName:"nodes" type:"list"` } // String returns the string representation. @@ -9418,7 +14242,7 @@ type ListKxClusterNodesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClusterNodesOutput) String() string { +func (s ListKxDataviewsOutput) String() string { return awsutil.Prettify(s) } @@ -9427,57 +14251,25 @@ func (s ListKxClusterNodesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClusterNodesOutput) GoString() string { +func (s ListKxDataviewsOutput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListKxClusterNodesOutput) SetNextToken(v string) *ListKxClusterNodesOutput { - s.NextToken = &v +// SetKxDataviews sets the KxDataviews field's value. +func (s *ListKxDataviewsOutput) SetKxDataviews(v []*KxDataviewListEntry) *ListKxDataviewsOutput { + s.KxDataviews = v return s } -// SetNodes sets the Nodes field's value. -func (s *ListKxClusterNodesOutput) SetNodes(v []*KxNode) *ListKxClusterNodesOutput { - s.Nodes = v +// SetNextToken sets the NextToken field's value. +func (s *ListKxDataviewsOutput) SetNextToken(v string) *ListKxDataviewsOutput { + s.NextToken = &v return s } -type ListKxClustersInput struct { +type ListKxEnvironmentsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Specifies the type of KDB database that is being created. The following types - // are available: - // - // * HDB – A Historical Database. The data is only accessible with read-only - // permissions from one of the FinSpace managed kdb databases mounted to - // the cluster. - // - // * RDB – A Realtime Database. This type of database captures all the - // data from a ticker plant and stores it in memory until the end of day, - // after which it writes all of its data to a disk and reloads the HDB. This - // cluster type requires local storage for temporary storage of data during - // the savedown process. If you specify this field in your request, you must - // provide the savedownStorageConfiguration parameter. - // - // * GATEWAY – A gateway cluster allows you to access data across processes - // in kdb systems. It allows you to create your own routing logic using the - // initialization scripts and custom code. This type of cluster does not - // require a writable local storage. - // - // * GP – A general purpose cluster allows you to quickly iterate on code - // during development by granting greater access to system commands and enabling - // a fast reload of custom code. This cluster type can optionally mount databases - // including cache and savedown storage. For this cluster type, the node - // count is fixed at 1. It does not support autoscaling and supports only - // SINGLE AZ mode. - ClusterType *string `location:"querystring" locationName:"clusterType" type:"string" enum:"KxClusterType"` - - // A unique identifier for the kdb environment. - // - // EnvironmentId is a required field - EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` - // The maximum number of results to return in this request. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` @@ -9490,7 +14282,7 @@ type ListKxClustersInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClustersInput) String() string { +func (s ListKxEnvironmentsInput) String() string { return awsutil.Prettify(s) } @@ -9499,19 +14291,13 @@ func (s ListKxClustersInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClustersInput) GoString() string { +func (s ListKxEnvironmentsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListKxClustersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListKxClustersInput"} - if s.EnvironmentId == nil { - invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) - } - if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) - } +func (s *ListKxEnvironmentsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxEnvironmentsInput"} if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } @@ -9522,35 +14308,23 @@ func (s *ListKxClustersInput) Validate() error { return nil } -// SetClusterType sets the ClusterType field's value. -func (s *ListKxClustersInput) SetClusterType(v string) *ListKxClustersInput { - s.ClusterType = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *ListKxClustersInput) SetEnvironmentId(v string) *ListKxClustersInput { - s.EnvironmentId = &v - return s -} - // SetMaxResults sets the MaxResults field's value. -func (s *ListKxClustersInput) SetMaxResults(v int64) *ListKxClustersInput { +func (s *ListKxEnvironmentsInput) SetMaxResults(v int64) *ListKxEnvironmentsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxClustersInput) SetNextToken(v string) *ListKxClustersInput { +func (s *ListKxEnvironmentsInput) SetNextToken(v string) *ListKxEnvironmentsInput { s.NextToken = &v return s } -type ListKxClustersOutput struct { +type ListKxEnvironmentsOutput struct { _ struct{} `type:"structure"` - // Lists the cluster details. - KxClusterSummaries []*KxCluster `locationName:"kxClusterSummaries" type:"list"` + // A list of environments in an account. + Environments []*KxEnvironment `locationName:"environments" type:"list"` // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` @@ -9561,7 +14335,7 @@ type ListKxClustersOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClustersOutput) String() string { +func (s ListKxEnvironmentsOutput) String() string { return awsutil.Prettify(s) } @@ -9570,26 +14344,27 @@ func (s ListKxClustersOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxClustersOutput) GoString() string { +func (s ListKxEnvironmentsOutput) GoString() string { return s.String() } -// SetKxClusterSummaries sets the KxClusterSummaries field's value. -func (s *ListKxClustersOutput) SetKxClusterSummaries(v []*KxCluster) *ListKxClustersOutput { - s.KxClusterSummaries = v +// SetEnvironments sets the Environments field's value. +func (s *ListKxEnvironmentsOutput) SetEnvironments(v []*KxEnvironment) *ListKxEnvironmentsOutput { + s.Environments = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxClustersOutput) SetNextToken(v string) *ListKxClustersOutput { +func (s *ListKxEnvironmentsOutput) SetNextToken(v string) *ListKxEnvironmentsOutput { s.NextToken = &v return s } -type ListKxDatabasesInput struct { +type ListKxScalingGroupsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment, for which you want to retrieve + // a list of scaling groups. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` @@ -9606,7 +14381,7 @@ type ListKxDatabasesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxDatabasesInput) String() string { +func (s ListKxScalingGroupsInput) String() string { return awsutil.Prettify(s) } @@ -9615,13 +14390,13 @@ func (s ListKxDatabasesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxDatabasesInput) GoString() string { +func (s ListKxScalingGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListKxDatabasesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListKxDatabasesInput"} +func (s *ListKxScalingGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxScalingGroupsInput"} if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } @@ -9639,31 +14414,31 @@ func (s *ListKxDatabasesInput) Validate() error { } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *ListKxDatabasesInput) SetEnvironmentId(v string) *ListKxDatabasesInput { +func (s *ListKxScalingGroupsInput) SetEnvironmentId(v string) *ListKxScalingGroupsInput { s.EnvironmentId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListKxDatabasesInput) SetMaxResults(v int64) *ListKxDatabasesInput { +func (s *ListKxScalingGroupsInput) SetMaxResults(v int64) *ListKxScalingGroupsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxDatabasesInput) SetNextToken(v string) *ListKxDatabasesInput { +func (s *ListKxScalingGroupsInput) SetNextToken(v string) *ListKxScalingGroupsInput { s.NextToken = &v return s } -type ListKxDatabasesOutput struct { +type ListKxScalingGroupsOutput struct { _ struct{} `type:"structure"` - // A list of databases in the kdb environment. - KxDatabases []*KxDatabaseListEntry `locationName:"kxDatabases" type:"list"` - // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of scaling groups available in a kdb environment. + ScalingGroups []*KxScalingGroup `locationName:"scalingGroups" type:"list"` } // String returns the string representation. @@ -9671,7 +14446,7 @@ type ListKxDatabasesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxDatabasesOutput) String() string { +func (s ListKxScalingGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -9680,25 +14455,30 @@ func (s ListKxDatabasesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxDatabasesOutput) GoString() string { +func (s ListKxScalingGroupsOutput) GoString() string { return s.String() } -// SetKxDatabases sets the KxDatabases field's value. -func (s *ListKxDatabasesOutput) SetKxDatabases(v []*KxDatabaseListEntry) *ListKxDatabasesOutput { - s.KxDatabases = v +// SetNextToken sets the NextToken field's value. +func (s *ListKxScalingGroupsOutput) SetNextToken(v string) *ListKxScalingGroupsOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListKxDatabasesOutput) SetNextToken(v string) *ListKxDatabasesOutput { - s.NextToken = &v +// SetScalingGroups sets the ScalingGroups field's value. +func (s *ListKxScalingGroupsOutput) SetScalingGroups(v []*KxScalingGroup) *ListKxScalingGroupsOutput { + s.ScalingGroups = v return s } -type ListKxEnvironmentsInput struct { +type ListKxUsersInput struct { _ struct{} `type:"structure" nopayload:"true"` + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + // The maximum number of results to return in this request. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` @@ -9711,7 +14491,7 @@ type ListKxEnvironmentsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxEnvironmentsInput) String() string { +func (s ListKxUsersInput) String() string { return awsutil.Prettify(s) } @@ -9720,13 +14500,19 @@ func (s ListKxEnvironmentsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxEnvironmentsInput) GoString() string { +func (s ListKxUsersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListKxEnvironmentsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListKxEnvironmentsInput"} +func (s *ListKxUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxUsersInput"} + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } @@ -9737,26 +14523,32 @@ func (s *ListKxEnvironmentsInput) Validate() error { return nil } +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *ListKxUsersInput) SetEnvironmentId(v string) *ListKxUsersInput { + s.EnvironmentId = &v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListKxEnvironmentsInput) SetMaxResults(v int64) *ListKxEnvironmentsInput { +func (s *ListKxUsersInput) SetMaxResults(v int64) *ListKxUsersInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxEnvironmentsInput) SetNextToken(v string) *ListKxEnvironmentsInput { +func (s *ListKxUsersInput) SetNextToken(v string) *ListKxUsersInput { s.NextToken = &v return s } -type ListKxEnvironmentsOutput struct { +type ListKxUsersOutput struct { _ struct{} `type:"structure"` - // A list of environments in an account. - Environments []*KxEnvironment `locationName:"environments" type:"list"` - // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of users in a kdb environment. + Users []*KxUser `locationName:"users" type:"list"` } // String returns the string representation. @@ -9764,7 +14556,7 @@ type ListKxEnvironmentsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxEnvironmentsOutput) String() string { +func (s ListKxUsersOutput) String() string { return awsutil.Prettify(s) } @@ -9773,26 +14565,27 @@ func (s ListKxEnvironmentsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxEnvironmentsOutput) GoString() string { +func (s ListKxUsersOutput) GoString() string { return s.String() } -// SetEnvironments sets the Environments field's value. -func (s *ListKxEnvironmentsOutput) SetEnvironments(v []*KxEnvironment) *ListKxEnvironmentsOutput { - s.Environments = v +// SetNextToken sets the NextToken field's value. +func (s *ListKxUsersOutput) SetNextToken(v string) *ListKxUsersOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListKxEnvironmentsOutput) SetNextToken(v string) *ListKxEnvironmentsOutput { - s.NextToken = &v +// SetUsers sets the Users field's value. +func (s *ListKxUsersOutput) SetUsers(v []*KxUser) *ListKxUsersOutput { + s.Users = v return s } -type ListKxUsersInput struct { +type ListKxVolumesInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment, whose clusters can attach to + // the volume. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` @@ -9802,6 +14595,10 @@ type ListKxUsersInput struct { // A token that indicates where a results page should begin. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. + VolumeType *string `location:"querystring" locationName:"volumeType" type:"string" enum:"KxVolumeType"` } // String returns the string representation. @@ -9809,7 +14606,7 @@ type ListKxUsersInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxUsersInput) String() string { +func (s ListKxVolumesInput) String() string { return awsutil.Prettify(s) } @@ -9818,13 +14615,13 @@ func (s ListKxUsersInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxUsersInput) GoString() string { +func (s ListKxVolumesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListKxUsersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListKxUsersInput"} +func (s *ListKxVolumesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListKxVolumesInput"} if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } @@ -9842,31 +14639,37 @@ func (s *ListKxUsersInput) Validate() error { } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *ListKxUsersInput) SetEnvironmentId(v string) *ListKxUsersInput { +func (s *ListKxVolumesInput) SetEnvironmentId(v string) *ListKxVolumesInput { s.EnvironmentId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListKxUsersInput) SetMaxResults(v int64) *ListKxUsersInput { +func (s *ListKxVolumesInput) SetMaxResults(v int64) *ListKxVolumesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListKxUsersInput) SetNextToken(v string) *ListKxUsersInput { +func (s *ListKxVolumesInput) SetNextToken(v string) *ListKxVolumesInput { s.NextToken = &v return s } -type ListKxUsersOutput struct { +// SetVolumeType sets the VolumeType field's value. +func (s *ListKxVolumesInput) SetVolumeType(v string) *ListKxVolumesInput { + s.VolumeType = &v + return s +} + +type ListKxVolumesOutput struct { _ struct{} `type:"structure"` + // A summary of volumes. + KxVolumeSummaries []*KxVolume `locationName:"kxVolumeSummaries" type:"list"` + // A token that indicates where a results page should begin. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - - // A list of users in a kdb environment. - Users []*KxUser `locationName:"users" type:"list"` } // String returns the string representation. @@ -9874,7 +14677,7 @@ type ListKxUsersOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxUsersOutput) String() string { +func (s ListKxVolumesOutput) String() string { return awsutil.Prettify(s) } @@ -9883,19 +14686,19 @@ func (s ListKxUsersOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListKxUsersOutput) GoString() string { +func (s ListKxVolumesOutput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListKxUsersOutput) SetNextToken(v string) *ListKxUsersOutput { - s.NextToken = &v +// SetKxVolumeSummaries sets the KxVolumeSummaries field's value. +func (s *ListKxVolumesOutput) SetKxVolumeSummaries(v []*KxVolume) *ListKxVolumesOutput { + s.KxVolumeSummaries = v return s } -// SetUsers sets the Users field's value. -func (s *ListKxUsersOutput) SetUsers(v []*KxUser) *ListKxUsersOutput { - s.Users = v +// SetNextToken sets the NextToken field's value. +func (s *ListKxVolumesOutput) SetNextToken(v string) *ListKxVolumesOutput { + s.NextToken = &v return s } @@ -10608,6 +15411,41 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +// A configuration to store the Tickerplant logs. It consists of a list of volumes +// that will be mounted to your cluster. For the cluster type Tickerplant, the +// location of the TP volume on the cluster will be available by using the global +// variable .aws.tp_log_path. +type TickerplantLogConfiguration struct { + _ struct{} `type:"structure"` + + // The name of the volumes for tickerplant logs. + TickerplantLogVolumes []*string `locationName:"tickerplantLogVolumes" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TickerplantLogConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TickerplantLogConfiguration) GoString() string { + return s.String() +} + +// SetTickerplantLogVolumes sets the TickerplantLogVolumes field's value. +func (s *TickerplantLogConfiguration) SetTickerplantLogVolumes(v []*string) *TickerplantLogConfiguration { + s.TickerplantLogVolumes = v + return s +} + // The structure of the transit gateway and network configuration that is used // to connect the kdb environment to an internal network. type TransitGatewayConfiguration struct { @@ -11257,7 +16095,173 @@ type UpdateKxDatabaseInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxDatabaseInput) String() string { +func (s UpdateKxDatabaseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxDatabaseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateKxDatabaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateKxDatabaseInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + } + if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *UpdateKxDatabaseInput) SetClientToken(v string) *UpdateKxDatabaseInput { + s.ClientToken = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *UpdateKxDatabaseInput) SetDatabaseName(v string) *UpdateKxDatabaseInput { + s.DatabaseName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateKxDatabaseInput) SetDescription(v string) *UpdateKxDatabaseInput { + s.Description = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *UpdateKxDatabaseInput) SetEnvironmentId(v string) *UpdateKxDatabaseInput { + s.EnvironmentId = &v + return s +} + +type UpdateKxDatabaseOutput struct { + _ struct{} `type:"structure"` + + // The name of the kdb database. + DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` + + // A description of the database. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The last time that the database was modified. The value is determined as + // epoch time in milliseconds. For example, the value for Monday, November 1, + // 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxDatabaseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxDatabaseOutput) GoString() string { + return s.String() +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *UpdateKxDatabaseOutput) SetDatabaseName(v string) *UpdateKxDatabaseOutput { + s.DatabaseName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateKxDatabaseOutput) SetDescription(v string) *UpdateKxDatabaseOutput { + s.Description = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *UpdateKxDatabaseOutput) SetEnvironmentId(v string) *UpdateKxDatabaseOutput { + s.EnvironmentId = &v + return s +} + +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *UpdateKxDatabaseOutput) SetLastModifiedTimestamp(v time.Time) *UpdateKxDatabaseOutput { + s.LastModifiedTimestamp = &v + return s +} + +type UpdateKxDataviewInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // The name of the database. + // + // DatabaseName is a required field + DatabaseName *string `location:"uri" locationName:"databaseName" min:"3" type:"string" required:"true"` + + // The name of the dataview that you want to update. + // + // DataviewName is a required field + DataviewName *string `location:"uri" locationName:"dataviewName" min:"3" type:"string" required:"true"` + + // The description for a dataview. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment, where you want to update the + // dataview. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxDataviewInput) String() string { return awsutil.Prettify(s) } @@ -11266,13 +16270,16 @@ func (s UpdateKxDatabaseInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxDatabaseInput) GoString() string { +func (s UpdateKxDataviewInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateKxDatabaseInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateKxDatabaseInput"} +func (s *UpdateKxDataviewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateKxDataviewInput"} + if s.ChangesetId != nil && len(*s.ChangesetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChangesetId", 1)) + } if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } @@ -11282,6 +16289,12 @@ func (s *UpdateKxDatabaseInput) Validate() error { if s.DatabaseName != nil && len(*s.DatabaseName) < 3 { invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 3)) } + if s.DataviewName == nil { + invalidParams.Add(request.NewErrParamRequired("DataviewName")) + } + if s.DataviewName != nil && len(*s.DataviewName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DataviewName", 3)) + } if s.Description != nil && len(*s.Description) < 1 { invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } @@ -11291,6 +16304,16 @@ func (s *UpdateKxDatabaseInput) Validate() error { if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } + if s.SegmentConfigurations != nil { + for i, v := range s.SegmentConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SegmentConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -11298,46 +16321,111 @@ func (s *UpdateKxDatabaseInput) Validate() error { return nil } +// SetChangesetId sets the ChangesetId field's value. +func (s *UpdateKxDataviewInput) SetChangesetId(v string) *UpdateKxDataviewInput { + s.ChangesetId = &v + return s +} + // SetClientToken sets the ClientToken field's value. -func (s *UpdateKxDatabaseInput) SetClientToken(v string) *UpdateKxDatabaseInput { +func (s *UpdateKxDataviewInput) SetClientToken(v string) *UpdateKxDataviewInput { s.ClientToken = &v return s } // SetDatabaseName sets the DatabaseName field's value. -func (s *UpdateKxDatabaseInput) SetDatabaseName(v string) *UpdateKxDatabaseInput { +func (s *UpdateKxDataviewInput) SetDatabaseName(v string) *UpdateKxDataviewInput { s.DatabaseName = &v return s } +// SetDataviewName sets the DataviewName field's value. +func (s *UpdateKxDataviewInput) SetDataviewName(v string) *UpdateKxDataviewInput { + s.DataviewName = &v + return s +} + // SetDescription sets the Description field's value. -func (s *UpdateKxDatabaseInput) SetDescription(v string) *UpdateKxDatabaseInput { +func (s *UpdateKxDataviewInput) SetDescription(v string) *UpdateKxDataviewInput { s.Description = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateKxDatabaseInput) SetEnvironmentId(v string) *UpdateKxDatabaseInput { +func (s *UpdateKxDataviewInput) SetEnvironmentId(v string) *UpdateKxDataviewInput { s.EnvironmentId = &v return s } -type UpdateKxDatabaseOutput struct { +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *UpdateKxDataviewInput) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *UpdateKxDataviewInput { + s.SegmentConfigurations = v + return s +} + +type UpdateKxDataviewOutput struct { _ struct{} `type:"structure"` - // The name of the kdb database. + // The current active changeset versions of the database on the given dataview. + ActiveVersions []*KxDataviewActiveVersion `locationName:"activeVersions" type:"list"` + + // The option to specify whether you want to apply all the future additions + // and corrections automatically to the dataview when new changesets are ingested. + // The default value is false. + AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"` + + // The identifier of the availability zones. + AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"` + + // The number of availability zones you want to assign per cluster. This can + // be one of the following + // + // * SINGLE – Assigns one availability zone per cluster. + // + // * MULTI – Assigns all the availability zones per cluster. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // A unique identifier for the changeset. + ChangesetId *string `locationName:"changesetId" min:"1" type:"string"` + + // The timestamp at which the dataview was created in FinSpace. The value is + // determined as epoch time in milliseconds. For example, the value for Monday, + // November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The name of the database. DatabaseName *string `locationName:"databaseName" min:"3" type:"string"` - // A description of the database. + // The name of the database under which the dataview was created. + DataviewName *string `locationName:"dataviewName" min:"3" type:"string"` + + // A description of the dataview. Description *string `locationName:"description" min:"1" type:"string"` - // A unique identifier for the kdb environment. + // A unique identifier for the kdb environment, where you want to update the + // dataview. EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - // The last time that the database was modified. The value is determined as - // epoch time in milliseconds. For example, the value for Monday, November 1, - // 2021 12:00:00 PM UTC is specified as 1635768000000. + // The last time that the dataview was updated in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` + + // The configuration that contains the database path of the data that you want + // to place on each selected volume. Each segment must have a unique database + // path for each volume. If you do not explicitly specify any database path + // for a volume, they are accessible from the cluster through the default S3/object + // store segment. + SegmentConfigurations []*KxDataviewSegmentConfiguration `locationName:"segmentConfigurations" type:"list"` + + // The status of dataview creation. + // + // * CREATING – The dataview creation is in progress. + // + // * UPDATING – The dataview is in the process of being updated. + // + // * ACTIVE – The dataview is active. + Status *string `locationName:"status" type:"string" enum:"KxDataviewStatus"` } // String returns the string representation. @@ -11345,7 +16433,7 @@ type UpdateKxDatabaseOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxDatabaseOutput) String() string { +func (s UpdateKxDataviewOutput) String() string { return awsutil.Prettify(s) } @@ -11354,39 +16442,93 @@ func (s UpdateKxDatabaseOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxDatabaseOutput) GoString() string { +func (s UpdateKxDataviewOutput) GoString() string { return s.String() } +// SetActiveVersions sets the ActiveVersions field's value. +func (s *UpdateKxDataviewOutput) SetActiveVersions(v []*KxDataviewActiveVersion) *UpdateKxDataviewOutput { + s.ActiveVersions = v + return s +} + +// SetAutoUpdate sets the AutoUpdate field's value. +func (s *UpdateKxDataviewOutput) SetAutoUpdate(v bool) *UpdateKxDataviewOutput { + s.AutoUpdate = &v + return s +} + +// SetAvailabilityZoneId sets the AvailabilityZoneId field's value. +func (s *UpdateKxDataviewOutput) SetAvailabilityZoneId(v string) *UpdateKxDataviewOutput { + s.AvailabilityZoneId = &v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *UpdateKxDataviewOutput) SetAzMode(v string) *UpdateKxDataviewOutput { + s.AzMode = &v + return s +} + +// SetChangesetId sets the ChangesetId field's value. +func (s *UpdateKxDataviewOutput) SetChangesetId(v string) *UpdateKxDataviewOutput { + s.ChangesetId = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *UpdateKxDataviewOutput) SetCreatedTimestamp(v time.Time) *UpdateKxDataviewOutput { + s.CreatedTimestamp = &v + return s +} + // SetDatabaseName sets the DatabaseName field's value. -func (s *UpdateKxDatabaseOutput) SetDatabaseName(v string) *UpdateKxDatabaseOutput { +func (s *UpdateKxDataviewOutput) SetDatabaseName(v string) *UpdateKxDataviewOutput { s.DatabaseName = &v return s } +// SetDataviewName sets the DataviewName field's value. +func (s *UpdateKxDataviewOutput) SetDataviewName(v string) *UpdateKxDataviewOutput { + s.DataviewName = &v + return s +} + // SetDescription sets the Description field's value. -func (s *UpdateKxDatabaseOutput) SetDescription(v string) *UpdateKxDatabaseOutput { +func (s *UpdateKxDataviewOutput) SetDescription(v string) *UpdateKxDataviewOutput { s.Description = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateKxDatabaseOutput) SetEnvironmentId(v string) *UpdateKxDatabaseOutput { +func (s *UpdateKxDataviewOutput) SetEnvironmentId(v string) *UpdateKxDataviewOutput { s.EnvironmentId = &v return s } // SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *UpdateKxDatabaseOutput) SetLastModifiedTimestamp(v time.Time) *UpdateKxDatabaseOutput { +func (s *UpdateKxDataviewOutput) SetLastModifiedTimestamp(v time.Time) *UpdateKxDataviewOutput { s.LastModifiedTimestamp = &v return s } +// SetSegmentConfigurations sets the SegmentConfigurations field's value. +func (s *UpdateKxDataviewOutput) SetSegmentConfigurations(v []*KxDataviewSegmentConfiguration) *UpdateKxDataviewOutput { + s.SegmentConfigurations = v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateKxDataviewOutput) SetStatus(v string) *UpdateKxDataviewOutput { + s.Status = &v + return s +} + type UpdateKxEnvironmentInput struct { _ struct{} `type:"structure"` // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // A description of the kdb environment. Description *string `locationName:"description" min:"1" type:"string"` @@ -11471,7 +16613,7 @@ type UpdateKxEnvironmentNetworkInput struct { _ struct{} `type:"structure"` // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // A list of DNS server name and server IP. This is used to set up Route-53 // outbound resolvers. @@ -11877,50 +17019,208 @@ func (s *UpdateKxEnvironmentOutput) SetName(v string) *UpdateKxEnvironmentOutput return s } -// SetStatus sets the Status field's value. -func (s *UpdateKxEnvironmentOutput) SetStatus(v string) *UpdateKxEnvironmentOutput { - s.Status = &v +// SetStatus sets the Status field's value. +func (s *UpdateKxEnvironmentOutput) SetStatus(v string) *UpdateKxEnvironmentOutput { + s.Status = &v + return s +} + +// SetTgwStatus sets the TgwStatus field's value. +func (s *UpdateKxEnvironmentOutput) SetTgwStatus(v string) *UpdateKxEnvironmentOutput { + s.TgwStatus = &v + return s +} + +// SetTransitGatewayConfiguration sets the TransitGatewayConfiguration field's value. +func (s *UpdateKxEnvironmentOutput) SetTransitGatewayConfiguration(v *TransitGatewayConfiguration) *UpdateKxEnvironmentOutput { + s.TransitGatewayConfiguration = v + return s +} + +// SetUpdateTimestamp sets the UpdateTimestamp field's value. +func (s *UpdateKxEnvironmentOutput) SetUpdateTimestamp(v time.Time) *UpdateKxEnvironmentOutput { + s.UpdateTimestamp = &v + return s +} + +type UpdateKxUserInput struct { + _ struct{} `type:"structure"` + + // A token that ensures idempotency. This token expires in 10 minutes. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // A unique identifier for the kdb environment. + // + // EnvironmentId is a required field + EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` + + // The IAM role ARN that is associated with the user. + // + // IamRole is a required field + IamRole *string `locationName:"iamRole" min:"20" type:"string" required:"true"` + + // A unique identifier for the user. + // + // UserName is a required field + UserName *string `location:"uri" locationName:"userName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxUserInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateKxUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateKxUserInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.EnvironmentId == nil { + invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) + } + if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) + } + if s.IamRole == nil { + invalidParams.Add(request.NewErrParamRequired("IamRole")) + } + if s.IamRole != nil && len(*s.IamRole) < 20 { + invalidParams.Add(request.NewErrParamMinLen("IamRole", 20)) + } + if s.UserName == nil { + invalidParams.Add(request.NewErrParamRequired("UserName")) + } + if s.UserName != nil && len(*s.UserName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *UpdateKxUserInput) SetClientToken(v string) *UpdateKxUserInput { + s.ClientToken = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *UpdateKxUserInput) SetEnvironmentId(v string) *UpdateKxUserInput { + s.EnvironmentId = &v + return s +} + +// SetIamRole sets the IamRole field's value. +func (s *UpdateKxUserInput) SetIamRole(v string) *UpdateKxUserInput { + s.IamRole = &v + return s +} + +// SetUserName sets the UserName field's value. +func (s *UpdateKxUserInput) SetUserName(v string) *UpdateKxUserInput { + s.UserName = &v + return s +} + +type UpdateKxUserOutput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the kdb environment. + EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` + + // The IAM role ARN that is associated with the user. + IamRole *string `locationName:"iamRole" min:"20" type:"string"` + + // The Amazon Resource Name (ARN) that identifies the user. For more information + // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + // in the IAM User Guide. + UserArn *string `locationName:"userArn" min:"20" type:"string"` + + // A unique identifier for the user. + UserName *string `locationName:"userName" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateKxUserOutput) GoString() string { + return s.String() +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *UpdateKxUserOutput) SetEnvironmentId(v string) *UpdateKxUserOutput { + s.EnvironmentId = &v return s } -// SetTgwStatus sets the TgwStatus field's value. -func (s *UpdateKxEnvironmentOutput) SetTgwStatus(v string) *UpdateKxEnvironmentOutput { - s.TgwStatus = &v +// SetIamRole sets the IamRole field's value. +func (s *UpdateKxUserOutput) SetIamRole(v string) *UpdateKxUserOutput { + s.IamRole = &v return s } -// SetTransitGatewayConfiguration sets the TransitGatewayConfiguration field's value. -func (s *UpdateKxEnvironmentOutput) SetTransitGatewayConfiguration(v *TransitGatewayConfiguration) *UpdateKxEnvironmentOutput { - s.TransitGatewayConfiguration = v +// SetUserArn sets the UserArn field's value. +func (s *UpdateKxUserOutput) SetUserArn(v string) *UpdateKxUserOutput { + s.UserArn = &v return s } -// SetUpdateTimestamp sets the UpdateTimestamp field's value. -func (s *UpdateKxEnvironmentOutput) SetUpdateTimestamp(v time.Time) *UpdateKxEnvironmentOutput { - s.UpdateTimestamp = &v +// SetUserName sets the UserName field's value. +func (s *UpdateKxUserOutput) SetUserName(v string) *UpdateKxUserOutput { + s.UserName = &v return s } -type UpdateKxUserInput struct { +type UpdateKxVolumeInput struct { _ struct{} `type:"structure"` // A token that ensures idempotency. This token expires in 10 minutes. - ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` - // A unique identifier for the kdb environment. + // A description of the volume. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment where you created the storage + // volume. // // EnvironmentId is a required field EnvironmentId *string `location:"uri" locationName:"environmentId" min:"1" type:"string" required:"true"` - // The IAM role ARN that is associated with the user. - // - // IamRole is a required field - IamRole *string `locationName:"iamRole" min:"20" type:"string" required:"true"` + // Specifies the configuration for the Network attached storage (NAS_1) file + // system volume. + Nas1Configuration *KxNAS1Configuration `locationName:"nas1Configuration" type:"structure"` - // A unique identifier for the user. + // A unique identifier for the volume. // - // UserName is a required field - UserName *string `location:"uri" locationName:"userName" min:"1" type:"string" required:"true"` + // VolumeName is a required field + VolumeName *string `location:"uri" locationName:"volumeName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -11928,7 +17228,7 @@ type UpdateKxUserInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxUserInput) String() string { +func (s UpdateKxVolumeInput) String() string { return awsutil.Prettify(s) } @@ -11937,33 +17237,35 @@ func (s UpdateKxUserInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxUserInput) GoString() string { +func (s UpdateKxVolumeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateKxUserInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateKxUserInput"} +func (s *UpdateKxVolumeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateKxVolumeInput"} if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } if s.EnvironmentId == nil { invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) } if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } - if s.IamRole == nil { - invalidParams.Add(request.NewErrParamRequired("IamRole")) - } - if s.IamRole != nil && len(*s.IamRole) < 20 { - invalidParams.Add(request.NewErrParamMinLen("IamRole", 20)) + if s.VolumeName == nil { + invalidParams.Add(request.NewErrParamRequired("VolumeName")) } - if s.UserName == nil { - invalidParams.Add(request.NewErrParamRequired("UserName")) + if s.VolumeName != nil && len(*s.VolumeName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VolumeName", 3)) } - if s.UserName != nil && len(*s.UserName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) + if s.Nas1Configuration != nil { + if err := s.Nas1Configuration.Validate(); err != nil { + invalidParams.AddNested("Nas1Configuration", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -11973,45 +17275,102 @@ func (s *UpdateKxUserInput) Validate() error { } // SetClientToken sets the ClientToken field's value. -func (s *UpdateKxUserInput) SetClientToken(v string) *UpdateKxUserInput { +func (s *UpdateKxVolumeInput) SetClientToken(v string) *UpdateKxVolumeInput { s.ClientToken = &v return s } +// SetDescription sets the Description field's value. +func (s *UpdateKxVolumeInput) SetDescription(v string) *UpdateKxVolumeInput { + s.Description = &v + return s +} + // SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateKxUserInput) SetEnvironmentId(v string) *UpdateKxUserInput { +func (s *UpdateKxVolumeInput) SetEnvironmentId(v string) *UpdateKxVolumeInput { s.EnvironmentId = &v return s } -// SetIamRole sets the IamRole field's value. -func (s *UpdateKxUserInput) SetIamRole(v string) *UpdateKxUserInput { - s.IamRole = &v +// SetNas1Configuration sets the Nas1Configuration field's value. +func (s *UpdateKxVolumeInput) SetNas1Configuration(v *KxNAS1Configuration) *UpdateKxVolumeInput { + s.Nas1Configuration = v return s } -// SetUserName sets the UserName field's value. -func (s *UpdateKxUserInput) SetUserName(v string) *UpdateKxUserInput { - s.UserName = &v +// SetVolumeName sets the VolumeName field's value. +func (s *UpdateKxVolumeInput) SetVolumeName(v string) *UpdateKxVolumeInput { + s.VolumeName = &v return s } -type UpdateKxUserOutput struct { +type UpdateKxVolumeOutput struct { _ struct{} `type:"structure"` - // A unique identifier for the kdb environment. + // Specifies the clusters that a volume is attached to. + AttachedClusters []*KxAttachedCluster `locationName:"attachedClusters" type:"list"` + + // The identifier of the availability zones. + AvailabilityZoneIds []*string `locationName:"availabilityZoneIds" type:"list"` + + // The number of availability zones you want to assign per cluster. Currently, + // FinSpace only support SINGLE for volumes. + AzMode *string `locationName:"azMode" type:"string" enum:"KxAzMode"` + + // The timestamp at which the volume was created in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + CreatedTimestamp *time.Time `locationName:"createdTimestamp" type:"timestamp"` + + // The description for the volume. + Description *string `locationName:"description" min:"1" type:"string"` + + // A unique identifier for the kdb environment where you want to update the + // volume. EnvironmentId *string `locationName:"environmentId" min:"1" type:"string"` - // The IAM role ARN that is associated with the user. - IamRole *string `locationName:"iamRole" min:"20" type:"string"` + // The last time that the volume was updated in FinSpace. The value is determined + // as epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + LastModifiedTimestamp *time.Time `locationName:"lastModifiedTimestamp" type:"timestamp"` - // The Amazon Resource Name (ARN) that identifies the user. For more information - // about ARNs and how to use ARNs in policies, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - // in the IAM User Guide. - UserArn *string `locationName:"userArn" min:"20" type:"string"` + // Specifies the configuration for the Network attached storage (NAS_1) file + // system volume. + Nas1Configuration *KxNAS1Configuration `locationName:"nas1Configuration" type:"structure"` - // A unique identifier for the user. - UserName *string `locationName:"userName" min:"1" type:"string"` + // The status of the volume. + // + // * CREATING – The volume creation is in progress. + // + // * CREATE_FAILED – The volume creation has failed. + // + // * ACTIVE – The volume is active. + // + // * UPDATING – The volume is in the process of being updated. + // + // * UPDATE_FAILED – The update action failed. + // + // * UPDATED – The volume is successfully updated. + // + // * DELETING – The volume is in the process of being deleted. + // + // * DELETE_FAILED – The system failed to delete the volume. + // + // * DELETED – The volume is successfully deleted. + Status *string `locationName:"status" type:"string" enum:"KxVolumeStatus"` + + // The error message when a failed state occurs. + StatusReason *string `locationName:"statusReason" min:"1" type:"string"` + + // The ARN identifier of the volume. + VolumeArn *string `locationName:"volumeArn" min:"20" type:"string"` + + // A unique identifier for the volume that you want to update. + VolumeName *string `locationName:"volumeName" min:"3" type:"string"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. + VolumeType *string `locationName:"volumeType" type:"string" enum:"KxVolumeType"` } // String returns the string representation. @@ -12019,7 +17378,7 @@ type UpdateKxUserOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxUserOutput) String() string { +func (s UpdateKxVolumeOutput) String() string { return awsutil.Prettify(s) } @@ -12028,31 +17387,85 @@ func (s UpdateKxUserOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateKxUserOutput) GoString() string { +func (s UpdateKxVolumeOutput) GoString() string { return s.String() } +// SetAttachedClusters sets the AttachedClusters field's value. +func (s *UpdateKxVolumeOutput) SetAttachedClusters(v []*KxAttachedCluster) *UpdateKxVolumeOutput { + s.AttachedClusters = v + return s +} + +// SetAvailabilityZoneIds sets the AvailabilityZoneIds field's value. +func (s *UpdateKxVolumeOutput) SetAvailabilityZoneIds(v []*string) *UpdateKxVolumeOutput { + s.AvailabilityZoneIds = v + return s +} + +// SetAzMode sets the AzMode field's value. +func (s *UpdateKxVolumeOutput) SetAzMode(v string) *UpdateKxVolumeOutput { + s.AzMode = &v + return s +} + +// SetCreatedTimestamp sets the CreatedTimestamp field's value. +func (s *UpdateKxVolumeOutput) SetCreatedTimestamp(v time.Time) *UpdateKxVolumeOutput { + s.CreatedTimestamp = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateKxVolumeOutput) SetDescription(v string) *UpdateKxVolumeOutput { + s.Description = &v + return s +} + // SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateKxUserOutput) SetEnvironmentId(v string) *UpdateKxUserOutput { +func (s *UpdateKxVolumeOutput) SetEnvironmentId(v string) *UpdateKxVolumeOutput { s.EnvironmentId = &v return s } -// SetIamRole sets the IamRole field's value. -func (s *UpdateKxUserOutput) SetIamRole(v string) *UpdateKxUserOutput { - s.IamRole = &v +// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. +func (s *UpdateKxVolumeOutput) SetLastModifiedTimestamp(v time.Time) *UpdateKxVolumeOutput { + s.LastModifiedTimestamp = &v return s } -// SetUserArn sets the UserArn field's value. -func (s *UpdateKxUserOutput) SetUserArn(v string) *UpdateKxUserOutput { - s.UserArn = &v +// SetNas1Configuration sets the Nas1Configuration field's value. +func (s *UpdateKxVolumeOutput) SetNas1Configuration(v *KxNAS1Configuration) *UpdateKxVolumeOutput { + s.Nas1Configuration = v return s } -// SetUserName sets the UserName field's value. -func (s *UpdateKxUserOutput) SetUserName(v string) *UpdateKxUserOutput { - s.UserName = &v +// SetStatus sets the Status field's value. +func (s *UpdateKxVolumeOutput) SetStatus(v string) *UpdateKxVolumeOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *UpdateKxVolumeOutput) SetStatusReason(v string) *UpdateKxVolumeOutput { + s.StatusReason = &v + return s +} + +// SetVolumeArn sets the VolumeArn field's value. +func (s *UpdateKxVolumeOutput) SetVolumeArn(v string) *UpdateKxVolumeOutput { + s.VolumeArn = &v + return s +} + +// SetVolumeName sets the VolumeName field's value. +func (s *UpdateKxVolumeOutput) SetVolumeName(v string) *UpdateKxVolumeOutput { + s.VolumeName = &v + return s +} + +// SetVolumeType sets the VolumeType field's value. +func (s *UpdateKxVolumeOutput) SetVolumeType(v string) *UpdateKxVolumeOutput { + s.VolumeType = &v return s } @@ -12120,6 +17533,48 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +// The structure that consists of name and type of volume. +type Volume struct { + _ struct{} `type:"structure"` + + // A unique identifier for the volume. + VolumeName *string `locationName:"volumeName" min:"3" type:"string"` + + // The type of file system volume. Currently, FinSpace only supports NAS_1 volume + // type. + VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Volume) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Volume) GoString() string { + return s.String() +} + +// SetVolumeName sets the VolumeName field's value. +func (s *Volume) SetVolumeName(v string) *Volume { + s.VolumeName = &v + return s +} + +// SetVolumeType sets the VolumeType field's value. +func (s *Volume) SetVolumeType(v string) *Volume { + s.VolumeType = &v + return s +} + // Configuration details about the network where the Privatelink endpoint of // the cluster resides. type VpcConfiguration struct { @@ -12494,6 +17949,9 @@ const ( // KxClusterTypeGp is a KxClusterType enum value KxClusterTypeGp = "GP" + + // KxClusterTypeTickerplant is a KxClusterType enum value + KxClusterTypeTickerplant = "TICKERPLANT" ) // KxClusterType_Values returns all elements of the KxClusterType enum @@ -12503,6 +17961,35 @@ func KxClusterType_Values() []string { KxClusterTypeRdb, KxClusterTypeGateway, KxClusterTypeGp, + KxClusterTypeTickerplant, + } +} + +const ( + // KxDataviewStatusCreating is a KxDataviewStatus enum value + KxDataviewStatusCreating = "CREATING" + + // KxDataviewStatusActive is a KxDataviewStatus enum value + KxDataviewStatusActive = "ACTIVE" + + // KxDataviewStatusUpdating is a KxDataviewStatus enum value + KxDataviewStatusUpdating = "UPDATING" + + // KxDataviewStatusFailed is a KxDataviewStatus enum value + KxDataviewStatusFailed = "FAILED" + + // KxDataviewStatusDeleting is a KxDataviewStatus enum value + KxDataviewStatusDeleting = "DELETING" +) + +// KxDataviewStatus_Values returns all elements of the KxDataviewStatus enum +func KxDataviewStatus_Values() []string { + return []string{ + KxDataviewStatusCreating, + KxDataviewStatusActive, + KxDataviewStatusUpdating, + KxDataviewStatusFailed, + KxDataviewStatusDeleting, } } @@ -12522,6 +18009,26 @@ func KxDeploymentStrategy_Values() []string { } } +const ( + // KxNAS1TypeSsd1000 is a KxNAS1Type enum value + KxNAS1TypeSsd1000 = "SSD_1000" + + // KxNAS1TypeSsd250 is a KxNAS1Type enum value + KxNAS1TypeSsd250 = "SSD_250" + + // KxNAS1TypeHdd12 is a KxNAS1Type enum value + KxNAS1TypeHdd12 = "HDD_12" +) + +// KxNAS1Type_Values returns all elements of the KxNAS1Type enum +func KxNAS1Type_Values() []string { + return []string{ + KxNAS1TypeSsd1000, + KxNAS1TypeSsd250, + KxNAS1TypeHdd12, + } +} + const ( // KxSavedownStorageTypeSds01 is a KxSavedownStorageType enum value KxSavedownStorageTypeSds01 = "SDS01" @@ -12534,6 +18041,94 @@ func KxSavedownStorageType_Values() []string { } } +const ( + // KxScalingGroupStatusCreating is a KxScalingGroupStatus enum value + KxScalingGroupStatusCreating = "CREATING" + + // KxScalingGroupStatusCreateFailed is a KxScalingGroupStatus enum value + KxScalingGroupStatusCreateFailed = "CREATE_FAILED" + + // KxScalingGroupStatusActive is a KxScalingGroupStatus enum value + KxScalingGroupStatusActive = "ACTIVE" + + // KxScalingGroupStatusDeleting is a KxScalingGroupStatus enum value + KxScalingGroupStatusDeleting = "DELETING" + + // KxScalingGroupStatusDeleted is a KxScalingGroupStatus enum value + KxScalingGroupStatusDeleted = "DELETED" + + // KxScalingGroupStatusDeleteFailed is a KxScalingGroupStatus enum value + KxScalingGroupStatusDeleteFailed = "DELETE_FAILED" +) + +// KxScalingGroupStatus_Values returns all elements of the KxScalingGroupStatus enum +func KxScalingGroupStatus_Values() []string { + return []string{ + KxScalingGroupStatusCreating, + KxScalingGroupStatusCreateFailed, + KxScalingGroupStatusActive, + KxScalingGroupStatusDeleting, + KxScalingGroupStatusDeleted, + KxScalingGroupStatusDeleteFailed, + } +} + +const ( + // KxVolumeStatusCreating is a KxVolumeStatus enum value + KxVolumeStatusCreating = "CREATING" + + // KxVolumeStatusCreateFailed is a KxVolumeStatus enum value + KxVolumeStatusCreateFailed = "CREATE_FAILED" + + // KxVolumeStatusActive is a KxVolumeStatus enum value + KxVolumeStatusActive = "ACTIVE" + + // KxVolumeStatusUpdating is a KxVolumeStatus enum value + KxVolumeStatusUpdating = "UPDATING" + + // KxVolumeStatusUpdated is a KxVolumeStatus enum value + KxVolumeStatusUpdated = "UPDATED" + + // KxVolumeStatusUpdateFailed is a KxVolumeStatus enum value + KxVolumeStatusUpdateFailed = "UPDATE_FAILED" + + // KxVolumeStatusDeleting is a KxVolumeStatus enum value + KxVolumeStatusDeleting = "DELETING" + + // KxVolumeStatusDeleted is a KxVolumeStatus enum value + KxVolumeStatusDeleted = "DELETED" + + // KxVolumeStatusDeleteFailed is a KxVolumeStatus enum value + KxVolumeStatusDeleteFailed = "DELETE_FAILED" +) + +// KxVolumeStatus_Values returns all elements of the KxVolumeStatus enum +func KxVolumeStatus_Values() []string { + return []string{ + KxVolumeStatusCreating, + KxVolumeStatusCreateFailed, + KxVolumeStatusActive, + KxVolumeStatusUpdating, + KxVolumeStatusUpdated, + KxVolumeStatusUpdateFailed, + KxVolumeStatusDeleting, + KxVolumeStatusDeleted, + KxVolumeStatusDeleteFailed, + } +} + +const ( + // KxVolumeTypeNas1 is a KxVolumeType enum value + KxVolumeTypeNas1 = "NAS_1" +) + +// KxVolumeType_Values returns all elements of the KxVolumeType enum +func KxVolumeType_Values() []string { + return []string{ + KxVolumeTypeNas1, + } +} + const ( // RuleActionAllow is a RuleAction enum value RuleActionAllow = "allow" @@ -12577,3 +18172,15 @@ func TgwStatus_Values() []string { TgwStatusSuccessfullyUpdated, } } + +const ( + // VolumeTypeNas1 is a VolumeType enum value + VolumeTypeNas1 = "NAS_1" +) + +// VolumeType_Values returns all elements of the VolumeType enum +func VolumeType_Values() []string { + return []string{ + VolumeTypeNas1, + } +} diff --git a/service/finspace/finspaceiface/interface.go b/service/finspace/finspaceiface/interface.go index 6dce3b34802..2c43e9e7c87 100644 --- a/service/finspace/finspaceiface/interface.go +++ b/service/finspace/finspaceiface/interface.go @@ -76,14 +76,26 @@ type FinspaceAPI interface { CreateKxDatabaseWithContext(aws.Context, *finspace.CreateKxDatabaseInput, ...request.Option) (*finspace.CreateKxDatabaseOutput, error) CreateKxDatabaseRequest(*finspace.CreateKxDatabaseInput) (*request.Request, *finspace.CreateKxDatabaseOutput) + CreateKxDataview(*finspace.CreateKxDataviewInput) (*finspace.CreateKxDataviewOutput, error) + CreateKxDataviewWithContext(aws.Context, *finspace.CreateKxDataviewInput, ...request.Option) (*finspace.CreateKxDataviewOutput, error) + CreateKxDataviewRequest(*finspace.CreateKxDataviewInput) (*request.Request, *finspace.CreateKxDataviewOutput) + CreateKxEnvironment(*finspace.CreateKxEnvironmentInput) (*finspace.CreateKxEnvironmentOutput, error) CreateKxEnvironmentWithContext(aws.Context, *finspace.CreateKxEnvironmentInput, ...request.Option) (*finspace.CreateKxEnvironmentOutput, error) CreateKxEnvironmentRequest(*finspace.CreateKxEnvironmentInput) (*request.Request, *finspace.CreateKxEnvironmentOutput) + CreateKxScalingGroup(*finspace.CreateKxScalingGroupInput) (*finspace.CreateKxScalingGroupOutput, error) + CreateKxScalingGroupWithContext(aws.Context, *finspace.CreateKxScalingGroupInput, ...request.Option) (*finspace.CreateKxScalingGroupOutput, error) + CreateKxScalingGroupRequest(*finspace.CreateKxScalingGroupInput) (*request.Request, *finspace.CreateKxScalingGroupOutput) + CreateKxUser(*finspace.CreateKxUserInput) (*finspace.CreateKxUserOutput, error) CreateKxUserWithContext(aws.Context, *finspace.CreateKxUserInput, ...request.Option) (*finspace.CreateKxUserOutput, error) CreateKxUserRequest(*finspace.CreateKxUserInput) (*request.Request, *finspace.CreateKxUserOutput) + CreateKxVolume(*finspace.CreateKxVolumeInput) (*finspace.CreateKxVolumeOutput, error) + CreateKxVolumeWithContext(aws.Context, *finspace.CreateKxVolumeInput, ...request.Option) (*finspace.CreateKxVolumeOutput, error) + CreateKxVolumeRequest(*finspace.CreateKxVolumeInput) (*request.Request, *finspace.CreateKxVolumeOutput) + DeleteEnvironment(*finspace.DeleteEnvironmentInput) (*finspace.DeleteEnvironmentOutput, error) DeleteEnvironmentWithContext(aws.Context, *finspace.DeleteEnvironmentInput, ...request.Option) (*finspace.DeleteEnvironmentOutput, error) DeleteEnvironmentRequest(*finspace.DeleteEnvironmentInput) (*request.Request, *finspace.DeleteEnvironmentOutput) @@ -96,14 +108,26 @@ type FinspaceAPI interface { DeleteKxDatabaseWithContext(aws.Context, *finspace.DeleteKxDatabaseInput, ...request.Option) (*finspace.DeleteKxDatabaseOutput, error) DeleteKxDatabaseRequest(*finspace.DeleteKxDatabaseInput) (*request.Request, *finspace.DeleteKxDatabaseOutput) + DeleteKxDataview(*finspace.DeleteKxDataviewInput) (*finspace.DeleteKxDataviewOutput, error) + DeleteKxDataviewWithContext(aws.Context, *finspace.DeleteKxDataviewInput, ...request.Option) (*finspace.DeleteKxDataviewOutput, error) + DeleteKxDataviewRequest(*finspace.DeleteKxDataviewInput) (*request.Request, *finspace.DeleteKxDataviewOutput) + DeleteKxEnvironment(*finspace.DeleteKxEnvironmentInput) (*finspace.DeleteKxEnvironmentOutput, error) DeleteKxEnvironmentWithContext(aws.Context, *finspace.DeleteKxEnvironmentInput, ...request.Option) (*finspace.DeleteKxEnvironmentOutput, error) DeleteKxEnvironmentRequest(*finspace.DeleteKxEnvironmentInput) (*request.Request, *finspace.DeleteKxEnvironmentOutput) + DeleteKxScalingGroup(*finspace.DeleteKxScalingGroupInput) (*finspace.DeleteKxScalingGroupOutput, error) + DeleteKxScalingGroupWithContext(aws.Context, *finspace.DeleteKxScalingGroupInput, ...request.Option) (*finspace.DeleteKxScalingGroupOutput, error) + DeleteKxScalingGroupRequest(*finspace.DeleteKxScalingGroupInput) (*request.Request, *finspace.DeleteKxScalingGroupOutput) + DeleteKxUser(*finspace.DeleteKxUserInput) (*finspace.DeleteKxUserOutput, error) DeleteKxUserWithContext(aws.Context, *finspace.DeleteKxUserInput, ...request.Option) (*finspace.DeleteKxUserOutput, error) DeleteKxUserRequest(*finspace.DeleteKxUserInput) (*request.Request, *finspace.DeleteKxUserOutput) + DeleteKxVolume(*finspace.DeleteKxVolumeInput) (*finspace.DeleteKxVolumeOutput, error) + DeleteKxVolumeWithContext(aws.Context, *finspace.DeleteKxVolumeInput, ...request.Option) (*finspace.DeleteKxVolumeOutput, error) + DeleteKxVolumeRequest(*finspace.DeleteKxVolumeInput) (*request.Request, *finspace.DeleteKxVolumeOutput) + GetEnvironment(*finspace.GetEnvironmentInput) (*finspace.GetEnvironmentOutput, error) GetEnvironmentWithContext(aws.Context, *finspace.GetEnvironmentInput, ...request.Option) (*finspace.GetEnvironmentOutput, error) GetEnvironmentRequest(*finspace.GetEnvironmentInput) (*request.Request, *finspace.GetEnvironmentOutput) @@ -124,14 +148,26 @@ type FinspaceAPI interface { GetKxDatabaseWithContext(aws.Context, *finspace.GetKxDatabaseInput, ...request.Option) (*finspace.GetKxDatabaseOutput, error) GetKxDatabaseRequest(*finspace.GetKxDatabaseInput) (*request.Request, *finspace.GetKxDatabaseOutput) + GetKxDataview(*finspace.GetKxDataviewInput) (*finspace.GetKxDataviewOutput, error) + GetKxDataviewWithContext(aws.Context, *finspace.GetKxDataviewInput, ...request.Option) (*finspace.GetKxDataviewOutput, error) + GetKxDataviewRequest(*finspace.GetKxDataviewInput) (*request.Request, *finspace.GetKxDataviewOutput) + GetKxEnvironment(*finspace.GetKxEnvironmentInput) (*finspace.GetKxEnvironmentOutput, error) GetKxEnvironmentWithContext(aws.Context, *finspace.GetKxEnvironmentInput, ...request.Option) (*finspace.GetKxEnvironmentOutput, error) GetKxEnvironmentRequest(*finspace.GetKxEnvironmentInput) (*request.Request, *finspace.GetKxEnvironmentOutput) + GetKxScalingGroup(*finspace.GetKxScalingGroupInput) (*finspace.GetKxScalingGroupOutput, error) + GetKxScalingGroupWithContext(aws.Context, *finspace.GetKxScalingGroupInput, ...request.Option) (*finspace.GetKxScalingGroupOutput, error) + GetKxScalingGroupRequest(*finspace.GetKxScalingGroupInput) (*request.Request, *finspace.GetKxScalingGroupOutput) + GetKxUser(*finspace.GetKxUserInput) (*finspace.GetKxUserOutput, error) GetKxUserWithContext(aws.Context, *finspace.GetKxUserInput, ...request.Option) (*finspace.GetKxUserOutput, error) GetKxUserRequest(*finspace.GetKxUserInput) (*request.Request, *finspace.GetKxUserOutput) + GetKxVolume(*finspace.GetKxVolumeInput) (*finspace.GetKxVolumeOutput, error) + GetKxVolumeWithContext(aws.Context, *finspace.GetKxVolumeInput, ...request.Option) (*finspace.GetKxVolumeOutput, error) + GetKxVolumeRequest(*finspace.GetKxVolumeInput) (*request.Request, *finspace.GetKxVolumeOutput) + ListEnvironments(*finspace.ListEnvironmentsInput) (*finspace.ListEnvironmentsOutput, error) ListEnvironmentsWithContext(aws.Context, *finspace.ListEnvironmentsInput, ...request.Option) (*finspace.ListEnvironmentsOutput, error) ListEnvironmentsRequest(*finspace.ListEnvironmentsInput) (*request.Request, *finspace.ListEnvironmentsOutput) @@ -161,6 +197,13 @@ type FinspaceAPI interface { ListKxDatabasesPages(*finspace.ListKxDatabasesInput, func(*finspace.ListKxDatabasesOutput, bool) bool) error ListKxDatabasesPagesWithContext(aws.Context, *finspace.ListKxDatabasesInput, func(*finspace.ListKxDatabasesOutput, bool) bool, ...request.Option) error + ListKxDataviews(*finspace.ListKxDataviewsInput) (*finspace.ListKxDataviewsOutput, error) + ListKxDataviewsWithContext(aws.Context, *finspace.ListKxDataviewsInput, ...request.Option) (*finspace.ListKxDataviewsOutput, error) + ListKxDataviewsRequest(*finspace.ListKxDataviewsInput) (*request.Request, *finspace.ListKxDataviewsOutput) + + ListKxDataviewsPages(*finspace.ListKxDataviewsInput, func(*finspace.ListKxDataviewsOutput, bool) bool) error + ListKxDataviewsPagesWithContext(aws.Context, *finspace.ListKxDataviewsInput, func(*finspace.ListKxDataviewsOutput, bool) bool, ...request.Option) error + ListKxEnvironments(*finspace.ListKxEnvironmentsInput) (*finspace.ListKxEnvironmentsOutput, error) ListKxEnvironmentsWithContext(aws.Context, *finspace.ListKxEnvironmentsInput, ...request.Option) (*finspace.ListKxEnvironmentsOutput, error) ListKxEnvironmentsRequest(*finspace.ListKxEnvironmentsInput) (*request.Request, *finspace.ListKxEnvironmentsOutput) @@ -168,10 +211,21 @@ type FinspaceAPI interface { ListKxEnvironmentsPages(*finspace.ListKxEnvironmentsInput, func(*finspace.ListKxEnvironmentsOutput, bool) bool) error ListKxEnvironmentsPagesWithContext(aws.Context, *finspace.ListKxEnvironmentsInput, func(*finspace.ListKxEnvironmentsOutput, bool) bool, ...request.Option) error + ListKxScalingGroups(*finspace.ListKxScalingGroupsInput) (*finspace.ListKxScalingGroupsOutput, error) + ListKxScalingGroupsWithContext(aws.Context, *finspace.ListKxScalingGroupsInput, ...request.Option) (*finspace.ListKxScalingGroupsOutput, error) + ListKxScalingGroupsRequest(*finspace.ListKxScalingGroupsInput) (*request.Request, *finspace.ListKxScalingGroupsOutput) + + ListKxScalingGroupsPages(*finspace.ListKxScalingGroupsInput, func(*finspace.ListKxScalingGroupsOutput, bool) bool) error + ListKxScalingGroupsPagesWithContext(aws.Context, *finspace.ListKxScalingGroupsInput, func(*finspace.ListKxScalingGroupsOutput, bool) bool, ...request.Option) error + ListKxUsers(*finspace.ListKxUsersInput) (*finspace.ListKxUsersOutput, error) ListKxUsersWithContext(aws.Context, *finspace.ListKxUsersInput, ...request.Option) (*finspace.ListKxUsersOutput, error) ListKxUsersRequest(*finspace.ListKxUsersInput) (*request.Request, *finspace.ListKxUsersOutput) + ListKxVolumes(*finspace.ListKxVolumesInput) (*finspace.ListKxVolumesOutput, error) + ListKxVolumesWithContext(aws.Context, *finspace.ListKxVolumesInput, ...request.Option) (*finspace.ListKxVolumesOutput, error) + ListKxVolumesRequest(*finspace.ListKxVolumesInput) (*request.Request, *finspace.ListKxVolumesOutput) + ListTagsForResource(*finspace.ListTagsForResourceInput) (*finspace.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *finspace.ListTagsForResourceInput, ...request.Option) (*finspace.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*finspace.ListTagsForResourceInput) (*request.Request, *finspace.ListTagsForResourceOutput) @@ -200,6 +254,10 @@ type FinspaceAPI interface { UpdateKxDatabaseWithContext(aws.Context, *finspace.UpdateKxDatabaseInput, ...request.Option) (*finspace.UpdateKxDatabaseOutput, error) UpdateKxDatabaseRequest(*finspace.UpdateKxDatabaseInput) (*request.Request, *finspace.UpdateKxDatabaseOutput) + UpdateKxDataview(*finspace.UpdateKxDataviewInput) (*finspace.UpdateKxDataviewOutput, error) + UpdateKxDataviewWithContext(aws.Context, *finspace.UpdateKxDataviewInput, ...request.Option) (*finspace.UpdateKxDataviewOutput, error) + UpdateKxDataviewRequest(*finspace.UpdateKxDataviewInput) (*request.Request, *finspace.UpdateKxDataviewOutput) + UpdateKxEnvironment(*finspace.UpdateKxEnvironmentInput) (*finspace.UpdateKxEnvironmentOutput, error) UpdateKxEnvironmentWithContext(aws.Context, *finspace.UpdateKxEnvironmentInput, ...request.Option) (*finspace.UpdateKxEnvironmentOutput, error) UpdateKxEnvironmentRequest(*finspace.UpdateKxEnvironmentInput) (*request.Request, *finspace.UpdateKxEnvironmentOutput) @@ -211,6 +269,10 @@ type FinspaceAPI interface { UpdateKxUser(*finspace.UpdateKxUserInput) (*finspace.UpdateKxUserOutput, error) UpdateKxUserWithContext(aws.Context, *finspace.UpdateKxUserInput, ...request.Option) (*finspace.UpdateKxUserOutput, error) UpdateKxUserRequest(*finspace.UpdateKxUserInput) (*request.Request, *finspace.UpdateKxUserOutput) + + UpdateKxVolume(*finspace.UpdateKxVolumeInput) (*finspace.UpdateKxVolumeOutput, error) + UpdateKxVolumeWithContext(aws.Context, *finspace.UpdateKxVolumeInput, ...request.Option) (*finspace.UpdateKxVolumeOutput, error) + UpdateKxVolumeRequest(*finspace.UpdateKxVolumeInput) (*request.Request, *finspace.UpdateKxVolumeOutput) } var _ FinspaceAPI = (*finspace.Finspace)(nil)