diff --git a/CHANGELOG.md b/CHANGELOG.md index 69461435f6c..06a00920052 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.44.323 (2023-08-14) +=== + +### Service Client Updates +* `service/mediapackage`: Updates service API + * Fix SDK logging of certain fields. +* `service/omics`: Updates service API, documentation, waiters, and paginators +* `service/transfer`: Updates service documentation + * Documentation updates for AWS Transfer Family + Release v1.44.322 (2023-08-11) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index e5da12fedd4..d7ca9fbf543 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -705,6 +705,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "il-central-1", + }: endpoint{}, endpointKey{ Region: "me-central-1", }: endpoint{}, @@ -19774,6 +19777,24 @@ var awsPartition = partition{ Region: "us-west-2", }, }, + endpointKey{ + Region: "aws-global", + Variant: fipsVariant, + }: endpoint{ + Hostname: "networkmanager-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, + endpointKey{ + Region: "fips-aws-global", + }: endpoint{ + Hostname: "networkmanager-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, }, }, "nimble": service{ @@ -24689,6 +24710,9 @@ var awsPartition = partition{ }, "schemas": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-east-1", }: endpoint{}, @@ -24698,6 +24722,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -24707,15 +24734,27 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-2", + }: endpoint{}, endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -24725,6 +24764,12 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, + endpointKey{ + Region: "me-south-1", + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, @@ -29528,9 +29573,18 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, @@ -33023,6 +33077,16 @@ var awscnPartition = partition{ }, }, }, + "schemas": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{}, + }, + }, "secretsmanager": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -37368,6 +37432,24 @@ var awsusgovPartition = partition{ Region: "us-gov-west-1", }, }, + endpointKey{ + Region: "aws-us-gov-global", + Variant: fipsVariant, + }: endpoint{ + Hostname: "networkmanager.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + endpointKey{ + Region: "fips-aws-us-gov-global", + }: endpoint{ + Hostname: "networkmanager.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, }, }, "oidc": service{ diff --git a/aws/version.go b/aws/version.go index b9787264c6c..a0203e75803 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.44.322" +const SDKVersion = "1.44.323" diff --git a/models/apis/mediapackage/2017-10-12/api-2.json b/models/apis/mediapackage/2017-10-12/api-2.json index 840b4929fef..15fe43dba48 100644 --- a/models/apis/mediapackage/2017-10-12/api-2.json +++ b/models/apis/mediapackage/2017-10-12/api-2.json @@ -1762,7 +1762,7 @@ }, "Password": { "locationName": "password", - "shape": "__string" + "shape": "SensitiveString" }, "Url": { "locationName": "url", @@ -1770,7 +1770,7 @@ }, "Username": { "locationName": "username", - "shape": "__string" + "shape": "SensitiveString" } }, "type": "structure" @@ -2363,6 +2363,10 @@ ], "type": "string" }, + "SensitiveString": { + "sensitive": true, + "type": "string" + }, "ServiceUnavailableException": { "error": { "httpStatusCode": 503 diff --git a/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json b/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json index 471664d7912..94f09fea26e 100644 --- a/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json +++ b/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mediapackage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mediapackage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://mediapackage-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mediapackage-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mediapackage.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://mediapackage.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mediapackage.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://mediapackage.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/mediapackage/2017-10-12/endpoint-tests-1.json b/models/apis/mediapackage/2017-10-12/endpoint-tests-1.json index 89d130745a4..9d863247b5a 100644 --- a/models/apis/mediapackage/2017-10-12/endpoint-tests-1.json +++ b/models/apis/mediapackage/2017-10-12/endpoint-tests-1.json @@ -351,6 +351,17 @@ "UseDualStack": false } }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -364,6 +375,28 @@ "UseDualStack": false } }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -377,6 +410,17 @@ "UseDualStack": false } }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -440,6 +484,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/omics/2022-11-28/api-2.json b/models/apis/omics/2022-11-28/api-2.json index 81d545b2075..2faa0d9de5e 100644 --- a/models/apis/omics/2022-11-28/api-2.json +++ b/models/apis/omics/2022-11-28/api-2.json @@ -55,6 +55,47 @@ "shape": "AbortMultipartReadSetUploadResponse" } }, + "AcceptShare": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/share/{shareId}", + "responseCode": 200 + }, + "input": { + "shape": "AcceptShareRequest" + }, + "name": "AcceptShare", + "output": { + "shape": "AcceptShareResponse" + } + }, "BatchDeleteReadSet": { "authtype": "v4", "endpoint": { @@ -292,6 +333,47 @@ "shape": "CreateAnnotationStoreResponse" } }, + "CreateAnnotationStoreVersion": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/annotationStore/{name}/version", + "responseCode": 200 + }, + "input": { + "shape": "CreateAnnotationStoreVersionRequest" + }, + "name": "CreateAnnotationStoreVersion", + "output": { + "shape": "CreateAnnotationStoreVersionResponse" + } + }, "CreateMultipartReadSetUpload": { "authtype": "v4", "endpoint": { @@ -456,6 +538,47 @@ "shape": "CreateSequenceStoreResponse" } }, + "CreateShare": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/share", + "responseCode": 200 + }, + "input": { + "shape": "CreateShareRequest" + }, + "name": "CreateShare", + "output": { + "shape": "CreateShareResponse" + } + }, "CreateVariantStore": { "authtype": "v4", "endpoint": { @@ -580,6 +703,45 @@ "shape": "DeleteAnnotationStoreResponse" } }, + "DeleteAnnotationStoreVersions": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/annotationStore/{name}/versions/delete", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteAnnotationStoreVersionsRequest" + }, + "name": "DeleteAnnotationStoreVersions", + "output": { + "shape": "DeleteAnnotationStoreVersionsResponse" + } + }, "DeleteReference": { "authtype": "v4", "endpoint": { @@ -790,6 +952,48 @@ "shape": "DeleteSequenceStoreResponse" } }, + "DeleteShare": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/share/{shareId}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteShareRequest" + }, + "name": "DeleteShare", + "output": { + "shape": "DeleteShareResponse" + } + }, "DeleteVariantStore": { "authtype": "v4", "endpoint": { @@ -941,6 +1145,41 @@ "shape": "GetAnnotationStoreResponse" } }, + "GetAnnotationStoreVersion": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "GET", + "requestUri": "/annotationStore/{name}/version/{versionName}", + "responseCode": 200 + }, + "input": { + "shape": "GetAnnotationStoreVersionRequest" + }, + "name": "GetAnnotationStoreVersion", + "output": { + "shape": "GetAnnotationStoreVersionResponse" + } + }, "GetReadSet": { "authtype": "v4", "endpoint": { @@ -1462,6 +1701,47 @@ "shape": "GetSequenceStoreResponse" } }, + "GetShare": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "GET", + "requestUri": "/share/{shareId}", + "responseCode": 200 + }, + "input": { + "shape": "GetShareRequest" + }, + "name": "GetShare", + "output": { + "shape": "GetShareResponse" + } + }, "GetVariantImportJob": { "authtype": "v4", "endpoint": { @@ -1611,7 +1891,7 @@ "shape": "ListAnnotationImportJobsResponse" } }, - "ListAnnotationStores": { + "ListAnnotationStoreVersions": { "authtype": "v4", "endpoint": { "hostPrefix": "analytics-" @@ -1635,28 +1915,63 @@ ], "http": { "method": "POST", - "requestUri": "/annotationStores", + "requestUri": "/annotationStore/{name}/versions", "responseCode": 200 }, "input": { - "shape": "ListAnnotationStoresRequest" + "shape": "ListAnnotationStoreVersionsRequest" }, - "name": "ListAnnotationStores", + "name": "ListAnnotationStoreVersions", "output": { - "shape": "ListAnnotationStoresResponse" + "shape": "ListAnnotationStoreVersionsResponse" } }, - "ListMultipartReadSetUploads": { + "ListAnnotationStores": { "authtype": "v4", "endpoint": { - "hostPrefix": "control-storage-" + "hostPrefix": "analytics-" }, "errors": [ { "shape": "InternalServerException" }, { - "shape": "NotSupportedOperationException" + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/annotationStores", + "responseCode": 200 + }, + "input": { + "shape": "ListAnnotationStoresRequest" + }, + "name": "ListAnnotationStores", + "output": { + "shape": "ListAnnotationStoresResponse" + } + }, + "ListMultipartReadSetUploads": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "control-storage-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "NotSupportedOperationException" }, { "shape": "ServiceQuotaExceededException" @@ -2164,6 +2479,47 @@ "shape": "ListSequenceStoresResponse" } }, + "ListShares": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/shares", + "responseCode": 200 + }, + "input": { + "shape": "ListSharesRequest" + }, + "name": "ListShares", + "output": { + "shape": "ListSharesResponse" + } + }, "ListTagsForResource": { "authtype": "v4", "endpoint": { @@ -2730,6 +3086,41 @@ "shape": "UpdateAnnotationStoreResponse" } }, + "UpdateAnnotationStoreVersion": { + "authtype": "v4", + "endpoint": { + "hostPrefix": "analytics-" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "http": { + "method": "POST", + "requestUri": "/annotationStore/{name}/version/{versionName}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateAnnotationStoreVersionRequest" + }, + "name": "UpdateAnnotationStoreVersion", + "output": { + "shape": "UpdateAnnotationStoreVersionResponse" + } + }, "UpdateRunGroup": { "authtype": "v4", "endpoint": { @@ -2924,6 +3315,27 @@ "min": 1, "type": "string" }, + "AcceptShareRequest": { + "members": { + "shareId": { + "location": "uri", + "locationName": "shareId", + "shape": "String" + } + }, + "required": [ + "shareId" + ], + "type": "structure" + }, + "AcceptShareResponse": { + "members": { + "status": { + "shape": "ShareStatus" + } + }, + "type": "structure" + }, "AccessDeniedException": { "error": { "httpStatusCode": 403, @@ -3104,11 +3516,15 @@ }, "updateTime": { "shape": "UpdateTime" + }, + "versionName": { + "shape": "VersionName" } }, "required": [ "id", "destinationName", + "versionName", "roleArn", "status", "creationTime", @@ -3128,7 +3544,7 @@ "shape": "CreationTime" }, "description": { - "shape": "StoreDescription" + "shape": "Description" }, "id": { "shape": "ResourceId" @@ -3183,6 +3599,63 @@ }, "type": "list" }, + "AnnotationStoreVersionItem": { + "members": { + "creationTime": { + "shape": "CreationTime" + }, + "description": { + "shape": "Description" + }, + "id": { + "shape": "ResourceId" + }, + "name": { + "shape": "StoreName" + }, + "status": { + "shape": "VersionStatus" + }, + "statusMessage": { + "shape": "StatusMessage" + }, + "storeId": { + "shape": "ResourceId" + }, + "updateTime": { + "shape": "UpdateTime" + }, + "versionArn": { + "shape": "Arn" + }, + "versionName": { + "shape": "VersionName" + }, + "versionSizeBytes": { + "shape": "Long" + } + }, + "required": [ + "storeId", + "id", + "status", + "versionArn", + "name", + "versionName", + "description", + "creationTime", + "updateTime", + "statusMessage", + "versionSizeBytes" + ], + "type": "structure" + }, + "AnnotationStoreVersionItems": { + "member": { + "shape": "AnnotationStoreVersionItem" + }, + "type": "list" + }, "AnnotationType": { "enum": [ "GENERIC", @@ -3201,6 +3674,14 @@ "pattern": "arn:([^: ]*):([^: ]*):([^: ]*):([0-9]{12}):([^: ]*)", "type": "string" }, + "ArnList": { + "max": 10, + "member": { + "shape": "String" + }, + "min": 1, + "type": "list" + }, "BatchDeleteReadSetRequest": { "members": { "ids": { @@ -3379,10 +3860,10 @@ "CreateAnnotationStoreRequest": { "members": { "description": { - "shape": "StoreDescription" + "shape": "Description" }, "name": { - "shape": "CreateAnnotationStoreRequestNameString" + "shape": "StoreName" }, "reference": { "shape": "ReferenceItem" @@ -3398,6 +3879,9 @@ }, "tags": { "shape": "TagMap" + }, + "versionName": { + "shape": "VersionName" } }, "required": [ @@ -3405,10 +3889,6 @@ ], "type": "structure" }, - "CreateAnnotationStoreRequestNameString": { - "pattern": "([a-z]){1}([a-z0-9_]){2,254}", - "type": "string" - }, "CreateAnnotationStoreResponse": { "members": { "creationTime": { @@ -3431,12 +3911,76 @@ }, "storeOptions": { "shape": "StoreOptions" + }, + "versionName": { + "shape": "VersionName" } }, "required": [ "id", "status", "name", + "versionName", + "creationTime" + ], + "type": "structure" + }, + "CreateAnnotationStoreVersionRequest": { + "members": { + "description": { + "shape": "Description" + }, + "name": { + "location": "uri", + "locationName": "name", + "shape": "StoreName" + }, + "tags": { + "shape": "TagMap" + }, + "versionName": { + "shape": "VersionName" + }, + "versionOptions": { + "shape": "VersionOptions" + } + }, + "required": [ + "name", + "versionName" + ], + "type": "structure" + }, + "CreateAnnotationStoreVersionResponse": { + "members": { + "creationTime": { + "shape": "CreationTime" + }, + "id": { + "shape": "ResourceId" + }, + "name": { + "shape": "StoreName" + }, + "status": { + "shape": "VersionStatus" + }, + "storeId": { + "shape": "ResourceId" + }, + "versionName": { + "shape": "VersionName" + }, + "versionOptions": { + "shape": "VersionOptions" + } + }, + "required": [ + "id", + "versionName", + "storeId", + "name", + "status", "creationTime" ], "type": "structure" @@ -3709,13 +4253,45 @@ ], "type": "structure" }, + "CreateShareRequest": { + "members": { + "principalSubscriber": { + "shape": "String" + }, + "resourceArn": { + "shape": "String" + }, + "shareName": { + "shape": "ShareName" + } + }, + "required": [ + "resourceArn", + "principalSubscriber" + ], + "type": "structure" + }, + "CreateShareResponse": { + "members": { + "shareId": { + "shape": "String" + }, + "shareName": { + "shape": "ShareName" + }, + "status": { + "shape": "ShareStatus" + } + }, + "type": "structure" + }, "CreateVariantStoreRequest": { "members": { "description": { - "shape": "StoreDescription" + "shape": "Description" }, "name": { - "shape": "CreateVariantStoreRequestNameString" + "shape": "StoreName" }, "reference": { "shape": "ReferenceItem" @@ -3732,10 +4308,6 @@ ], "type": "structure" }, - "CreateVariantStoreRequestNameString": { - "pattern": "([a-z]){1}([a-z0-9_]){2,254}", - "type": "string" - }, "CreateVariantStoreResponse": { "members": { "creationTime": { @@ -3867,6 +4439,36 @@ ], "type": "structure" }, + "DeleteAnnotationStoreVersionsRequest": { + "members": { + "force": { + "location": "querystring", + "locationName": "force", + "shape": "PrimitiveBoolean" + }, + "name": { + "location": "uri", + "locationName": "name", + "shape": "String" + }, + "versions": { + "shape": "VersionList" + } + }, + "required": [ + "name", + "versions" + ], + "type": "structure" + }, + "DeleteAnnotationStoreVersionsResponse": { + "members": { + "errors": { + "shape": "VersionDeleteErrorList" + } + }, + "type": "structure" + }, "DeleteReferenceRequest": { "members": { "id": { @@ -3950,6 +4552,27 @@ "members": {}, "type": "structure" }, + "DeleteShareRequest": { + "members": { + "shareId": { + "location": "uri", + "locationName": "shareId", + "shape": "String" + } + }, + "required": [ + "shareId" + ], + "type": "structure" + }, + "DeleteShareResponse": { + "members": { + "status": { + "shape": "ShareStatus" + } + }, + "type": "structure" + }, "DeleteVariantStoreRequest": { "members": { "force": { @@ -3992,6 +4615,11 @@ ], "type": "structure" }, + "Description": { + "max": 500, + "min": 0, + "type": "string" + }, "Encoding": { "max": 20, "min": 1, @@ -4142,6 +4770,17 @@ ], "type": "string" }, + "Filter": { + "members": { + "resourceArns": { + "shape": "ArnList" + }, + "status": { + "shape": "StatusList" + } + }, + "type": "structure" + }, "FormatOptions": { "members": { "tsvOptions": { @@ -4235,11 +4874,15 @@ }, "updateTime": { "shape": "UpdateTime" + }, + "versionName": { + "shape": "VersionName" } }, "required": [ "id", "destinationName", + "versionName", "roleArn", "status", "statusMessage", @@ -4271,7 +4914,7 @@ "shape": "CreationTime" }, "description": { - "shape": "StoreDescription" + "shape": "Description" }, "id": { "shape": "ResourceId" @@ -4279,6 +4922,9 @@ "name": { "shape": "String" }, + "numVersions": { + "shape": "Integer" + }, "reference": { "shape": "ReferenceItem" }, @@ -4314,15 +4960,93 @@ "id", "reference", "status", - "storeArn", + "storeArn", + "name", + "description", + "sseConfig", + "creationTime", + "updateTime", + "tags", + "statusMessage", + "storeSizeBytes", + "numVersions" + ], + "type": "structure" + }, + "GetAnnotationStoreVersionRequest": { + "members": { + "name": { + "location": "uri", + "locationName": "name", + "shape": "String" + }, + "versionName": { + "location": "uri", + "locationName": "versionName", + "shape": "String" + } + }, + "required": [ + "name", + "versionName" + ], + "type": "structure" + }, + "GetAnnotationStoreVersionResponse": { + "members": { + "creationTime": { + "shape": "CreationTime" + }, + "description": { + "shape": "Description" + }, + "id": { + "shape": "ResourceId" + }, + "name": { + "shape": "StoreName" + }, + "status": { + "shape": "VersionStatus" + }, + "statusMessage": { + "shape": "StatusMessage" + }, + "storeId": { + "shape": "ResourceId" + }, + "tags": { + "shape": "TagMap" + }, + "updateTime": { + "shape": "UpdateTime" + }, + "versionArn": { + "shape": "Arn" + }, + "versionName": { + "shape": "VersionName" + }, + "versionOptions": { + "shape": "VersionOptions" + }, + "versionSizeBytes": { + "shape": "Long" + } + }, + "required": [ + "storeId", + "id", + "status", + "versionArn", "name", + "versionName", "description", - "sseConfig", "creationTime", "updateTime", "tags", "statusMessage", - "storeSizeBytes" + "versionSizeBytes" ], "type": "structure" }, @@ -5111,6 +5835,27 @@ ], "type": "structure" }, + "GetShareRequest": { + "members": { + "shareId": { + "location": "uri", + "locationName": "shareId", + "shape": "String" + } + }, + "required": [ + "shareId" + ], + "type": "structure" + }, + "GetShareResponse": { + "members": { + "share": { + "shape": "ShareDetails" + } + }, + "type": "structure" + }, "GetVariantImportRequest": { "members": { "jobId": { @@ -5192,7 +5937,7 @@ "shape": "CreationTime" }, "description": { - "shape": "StoreDescription" + "shape": "Description" }, "id": { "shape": "ResourceId" @@ -5518,6 +6263,10 @@ }, "type": "list" }, + "Integer": { + "box": true, + "type": "integer" + }, "InternalServerException": { "error": { "httpStatusCode": 500 @@ -5624,6 +6373,62 @@ }, "type": "structure" }, + "ListAnnotationStoreVersionsFilter": { + "members": { + "status": { + "shape": "VersionStatus" + } + }, + "type": "structure" + }, + "ListAnnotationStoreVersionsRequest": { + "members": { + "filter": { + "shape": "ListAnnotationStoreVersionsFilter" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListAnnotationStoreVersionsRequestMaxResultsInteger" + }, + "name": { + "location": "uri", + "locationName": "name", + "shape": "String" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "ListAnnotationStoreVersionsRequestNextTokenString" + } + }, + "required": [ + "name" + ], + "type": "structure" + }, + "ListAnnotationStoreVersionsRequestMaxResultsInteger": { + "box": true, + "max": 100, + "min": 1, + "type": "integer" + }, + "ListAnnotationStoreVersionsRequestNextTokenString": { + "max": 10000, + "min": 1, + "type": "string" + }, + "ListAnnotationStoreVersionsResponse": { + "members": { + "annotationStoreVersions": { + "shape": "AnnotationStoreVersionItems" + }, + "nextToken": { + "shape": "String" + } + }, + "type": "structure" + }, "ListAnnotationStoresFilter": { "members": { "status": { @@ -6245,6 +7050,44 @@ ], "type": "structure" }, + "ListSharesRequest": { + "members": { + "filter": { + "shape": "Filter" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "Integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "String" + }, + "resourceOwner": { + "shape": "ResourceOwner" + } + }, + "required": [ + "resourceOwner" + ], + "type": "structure" + }, + "ListSharesResponse": { + "members": { + "nextToken": { + "shape": "String" + }, + "shares": { + "shape": "ShareDetailsList" + } + }, + "required": [ + "shares" + ], + "type": "structure" + }, "ListTagsForResourceRequest": { "members": { "resourceArn": { @@ -7173,6 +8016,13 @@ ], "type": "structure" }, + "ResourceOwner": { + "enum": [ + "SELF", + "OTHER" + ], + "type": "string" + }, "RoleArn": { "max": 2048, "min": 20, @@ -7599,6 +8449,61 @@ ], "type": "structure" }, + "ShareDetails": { + "members": { + "creationTime": { + "shape": "CreationTime" + }, + "ownerId": { + "shape": "String" + }, + "principalSubscriber": { + "shape": "String" + }, + "resourceArn": { + "shape": "String" + }, + "shareId": { + "shape": "String" + }, + "shareName": { + "shape": "ShareName" + }, + "status": { + "shape": "ShareStatus" + }, + "statusMessage": { + "shape": "StatusMessage" + }, + "updateTime": { + "shape": "UpdateTime" + } + }, + "type": "structure" + }, + "ShareDetailsList": { + "member": { + "shape": "ShareDetails" + }, + "type": "list" + }, + "ShareName": { + "max": 256, + "min": 1, + "pattern": "[a-zA-Z0-9_-]+", + "type": "string" + }, + "ShareStatus": { + "enum": [ + "PENDING", + "ACTIVATING", + "ACTIVE", + "DELETING", + "DELETED", + "FAILED" + ], + "type": "string" + }, "SourceFiles": { "members": { "source1": { @@ -7652,6 +8557,9 @@ }, "runLeftNormalization": { "shape": "RunLeftNormalization" + }, + "versionName": { + "shape": "VersionName" } }, "required": [ @@ -8086,16 +8994,17 @@ ], "type": "structure" }, + "StatusList": { + "member": { + "shape": "ShareStatus" + }, + "type": "list" + }, "StatusMessage": { "max": 1000, "min": 0, "type": "string" }, - "StoreDescription": { - "max": 500, - "min": 0, - "type": "string" - }, "StoreFormat": { "enum": [ "GFF", @@ -8359,6 +9268,28 @@ "min": 1, "type": "list" }, + "TsvVersionOptions": { + "members": { + "annotationType": { + "shape": "AnnotationType" + }, + "formatToHeader": { + "shape": "FormatToHeader" + }, + "schema": { + "shape": "TsvVersionOptionsSchemaList" + } + }, + "type": "structure" + }, + "TsvVersionOptionsSchemaList": { + "max": 5000, + "member": { + "shape": "SchemaItem" + }, + "min": 1, + "type": "list" + }, "UntagResourceRequest": { "members": { "resourceArn": { @@ -8385,7 +9316,7 @@ "UpdateAnnotationStoreRequest": { "members": { "description": { - "shape": "StoreDescription" + "shape": "Description" }, "name": { "location": "uri", @@ -8404,7 +9335,7 @@ "shape": "CreationTime" }, "description": { - "shape": "StoreDescription" + "shape": "Description" }, "id": { "shape": "ResourceId" @@ -8439,6 +9370,67 @@ ], "type": "structure" }, + "UpdateAnnotationStoreVersionRequest": { + "members": { + "description": { + "shape": "Description" + }, + "name": { + "location": "uri", + "locationName": "name", + "shape": "String" + }, + "versionName": { + "location": "uri", + "locationName": "versionName", + "shape": "String" + } + }, + "required": [ + "name", + "versionName" + ], + "type": "structure" + }, + "UpdateAnnotationStoreVersionResponse": { + "members": { + "creationTime": { + "shape": "CreationTime" + }, + "description": { + "shape": "Description" + }, + "id": { + "shape": "ResourceId" + }, + "name": { + "shape": "StoreName" + }, + "status": { + "shape": "VersionStatus" + }, + "storeId": { + "shape": "ResourceId" + }, + "updateTime": { + "shape": "UpdateTime" + }, + "versionName": { + "shape": "VersionName" + } + }, + "required": [ + "storeId", + "id", + "status", + "name", + "versionName", + "description", + "creationTime", + "updateTime" + ], + "type": "structure" + }, "UpdateRunGroupRequest": { "members": { "id": { @@ -8498,7 +9490,7 @@ "UpdateVariantStoreRequest": { "members": { "description": { - "shape": "StoreDescription" + "shape": "Description" }, "name": { "location": "uri", @@ -8517,7 +9509,7 @@ "shape": "CreationTime" }, "description": { - "shape": "StoreDescription" + "shape": "Description" }, "id": { "shape": "ResourceId" @@ -8735,7 +9727,7 @@ "shape": "CreationTime" }, "description": { - "shape": "StoreDescription" + "shape": "Description" }, "id": { "shape": "ResourceId" @@ -8797,6 +9789,60 @@ }, "type": "structure" }, + "VersionDeleteError": { + "members": { + "message": { + "shape": "String" + }, + "versionName": { + "shape": "VersionName" + } + }, + "required": [ + "versionName", + "message" + ], + "type": "structure" + }, + "VersionDeleteErrorList": { + "member": { + "shape": "VersionDeleteError" + }, + "type": "list" + }, + "VersionList": { + "max": 10, + "member": { + "shape": "VersionName" + }, + "min": 1, + "type": "list" + }, + "VersionName": { + "max": 255, + "min": 3, + "pattern": "([a-z]){1}([a-z0-9_]){2,254}", + "type": "string" + }, + "VersionOptions": { + "members": { + "tsvVersionOptions": { + "shape": "TsvVersionOptions" + } + }, + "type": "structure", + "union": true + }, + "VersionStatus": { + "enum": [ + "CREATING", + "UPDATING", + "DELETING", + "ACTIVE", + "FAILED" + ], + "type": "string" + }, "WorkflowArn": { "max": 128, "min": 1, diff --git a/models/apis/omics/2022-11-28/docs-2.json b/models/apis/omics/2022-11-28/docs-2.json index f798aee0083..b1cc72e4f4a 100644 --- a/models/apis/omics/2022-11-28/docs-2.json +++ b/models/apis/omics/2022-11-28/docs-2.json @@ -3,28 +3,34 @@ "service": "

This is the AWS HealthOmics API Reference. For an introduction to the service, see What is AWS HealthOmics? in the AWS HealthOmics User Guide.

", "operations": { "AbortMultipartReadSetUpload": "

Stops a multipart upload.

", + "AcceptShare": "

Accepts a share for an analytics store.

", "BatchDeleteReadSet": "

Deletes one or more read sets.

", "CancelAnnotationImportJob": "

Cancels an annotation import job.

", "CancelRun": "

Cancels a run.

", "CancelVariantImportJob": "

Cancels a variant import job.

", "CompleteMultipartReadSetUpload": "

Concludes a multipart upload once you have uploaded all the components.

", "CreateAnnotationStore": "

Creates an annotation store.

", + "CreateAnnotationStoreVersion": "

Creates a new version of an annotation store.

", "CreateMultipartReadSetUpload": "

Begins a multipart read set upload.

", "CreateReferenceStore": "

Creates a reference store.

", "CreateRunGroup": "

Creates a run group.

", "CreateSequenceStore": "

Creates a sequence store.

", + "CreateShare": "

Creates a share offer that can be accepted outside the account by a subscriber. The share is created by the owner and accepted by the principal subscriber.

", "CreateVariantStore": "

Creates a variant store.

", "CreateWorkflow": "

Creates a workflow.

", "DeleteAnnotationStore": "

Deletes an annotation store.

", + "DeleteAnnotationStoreVersions": "

Deletes one or multiple versions of an annotation store.

", "DeleteReference": "

Deletes a genome reference.

", "DeleteReferenceStore": "

Deletes a genome reference store.

", "DeleteRun": "

Deletes a workflow run.

", "DeleteRunGroup": "

Deletes a workflow run group.

", "DeleteSequenceStore": "

Deletes a sequence store.

", + "DeleteShare": "

Deletes a share of an analytics store.

", "DeleteVariantStore": "

Deletes a variant store.

", "DeleteWorkflow": "

Deletes a workflow.

", "GetAnnotationImportJob": "

Gets information about an annotation import job.

", "GetAnnotationStore": "

Gets information about an annotation store.

", + "GetAnnotationStoreVersion": "

Retrieves the metadata for an annotation store version.

", "GetReadSet": "

Gets a file from a read set.

", "GetReadSetActivationJob": "

Gets information about a read set activation job.

", "GetReadSetExportJob": "

Gets information about a read set export job.

", @@ -38,10 +44,12 @@ "GetRunGroup": "

Gets information about a workflow run group.

", "GetRunTask": "

Gets information about a workflow run task.

", "GetSequenceStore": "

Gets information about a sequence store.

", + "GetShare": "

Retrieves the metadata for a share.

", "GetVariantImportJob": "

Gets information about a variant import job.

", "GetVariantStore": "

Gets information about a variant store.

", "GetWorkflow": "

Gets information about a workflow.

", "ListAnnotationImportJobs": "

Retrieves a list of annotation import jobs.

", + "ListAnnotationStoreVersions": "

Lists the versions of an annotation store.

", "ListAnnotationStores": "

Retrieves a list of annotation stores.

", "ListMultipartReadSetUploads": "

Lists all multipart read set uploads and their statuses.

", "ListReadSetActivationJobs": "

Retrieves a list of read set activation jobs.

", @@ -56,6 +64,7 @@ "ListRunTasks": "

Retrieves a list of tasks for a run.

", "ListRuns": "

Retrieves a list of runs.

", "ListSequenceStores": "

Retrieves a list of sequence stores.

", + "ListShares": "

Lists all shares associated with an account.

", "ListTagsForResource": "

Retrieves a list of tags for a resource.

", "ListVariantImportJobs": "

Retrieves a list of variant import jobs.

", "ListVariantStores": "

Retrieves a list of variant stores.

", @@ -70,6 +79,7 @@ "TagResource": "

Tags a resource.

", "UntagResource": "

Removes tags from a resource.

", "UpdateAnnotationStore": "

Updates an annotation store.

", + "UpdateAnnotationStoreVersion": "

Updates the description of an annotation store version.

", "UpdateRunGroup": "

Updates a run group.

", "UpdateVariantStore": "

Updates a variant store.

", "UpdateWorkflow": "

Updates a workflow.

", @@ -94,6 +104,16 @@ "GetWorkflowResponse$accelerators": "

The computational accelerator specified to run the workflow.

" } }, + "AcceptShareRequest": { + "base": null, + "refs": { + } + }, + "AcceptShareResponse": { + "base": null, + "refs": { + } + }, "AccessDeniedException": { "base": "

You do not have sufficient access to perform this action.

", "refs": { @@ -209,10 +229,23 @@ "ListAnnotationStoresResponse$annotationStores": "

A list of stores.

" } }, + "AnnotationStoreVersionItem": { + "base": "

Annotation store versions.

", + "refs": { + "AnnotationStoreVersionItems$member": null + } + }, + "AnnotationStoreVersionItems": { + "base": null, + "refs": { + "ListAnnotationStoreVersionsResponse$annotationStoreVersions": "

Lists all versions of an annotation store.

" + } + }, "AnnotationType": { "base": null, "refs": { - "TsvStoreOptions$annotationType": "

The store's annotation type.

" + "TsvStoreOptions$annotationType": "

The store's annotation type.

", + "TsvVersionOptions$annotationType": "

The store version's annotation type.

" } }, "Arn": { @@ -220,8 +253,10 @@ "refs": { "AnnotationImportJobItem$roleArn": "

The job's service role ARN.

", "AnnotationStoreItem$storeArn": "

The store's ARN.

", + "AnnotationStoreVersionItem$versionArn": "

The Arn for an annotation store version.

", "GetAnnotationImportResponse$roleArn": "

The job's service role ARN.

", "GetAnnotationStoreResponse$storeArn": "

The store's ARN.

", + "GetAnnotationStoreVersionResponse$versionArn": "

The Arn for the annotation store.

", "GetVariantImportResponse$roleArn": "

The job's service role ARN.

", "GetVariantStoreResponse$storeArn": "

The store's ARN.

", "StartAnnotationImportRequest$roleArn": "

A service role for the job.

", @@ -230,6 +265,12 @@ "VariantStoreItem$storeArn": "

The store's ARN.

" } }, + "ArnList": { + "base": null, + "refs": { + "Filter$resourceArns": "

The Amazon Resource Number (Arn) for an analytics store.

" + } + }, "BatchDeleteReadSetRequest": { "base": null, "refs": { @@ -344,13 +385,17 @@ "refs": { } }, - "CreateAnnotationStoreRequestNameString": { + "CreateAnnotationStoreResponse": { "base": null, "refs": { - "CreateAnnotationStoreRequest$name": "

A name for the store.

" } }, - "CreateAnnotationStoreResponse": { + "CreateAnnotationStoreVersionRequest": { + "base": null, + "refs": { + } + }, + "CreateAnnotationStoreVersionResponse": { "base": null, "refs": { } @@ -419,15 +464,19 @@ "refs": { } }, - "CreateVariantStoreRequest": { + "CreateShareRequest": { + "base": null, + "refs": { + } + }, + "CreateShareResponse": { "base": null, "refs": { } }, - "CreateVariantStoreRequestNameString": { + "CreateVariantStoreRequest": { "base": null, "refs": { - "CreateVariantStoreRequest$name": "

A name for the store.

" } }, "CreateVariantStoreResponse": { @@ -456,13 +505,18 @@ "refs": { "AnnotationImportJobItem$creationTime": "

When the job was created.

", "AnnotationStoreItem$creationTime": "

The store's creation time.

", + "AnnotationStoreVersionItem$creationTime": "

The time stamp for when an annotation store version was created.

", "CreateAnnotationStoreResponse$creationTime": "

When the store was created.

", + "CreateAnnotationStoreVersionResponse$creationTime": "

The time stamp for the creation of an annotation store version.

", "CreateVariantStoreResponse$creationTime": "

When the store was created.

", "GetAnnotationImportResponse$creationTime": "

When the job was created.

", "GetAnnotationStoreResponse$creationTime": "

When the store was created.

", + "GetAnnotationStoreVersionResponse$creationTime": "

The time stamp for when an annotation store version was created.

", "GetVariantImportResponse$creationTime": "

When the job was created.

", "GetVariantStoreResponse$creationTime": "

When the store was created.

", + "ShareDetails$creationTime": "

The timestamp for when the share was created.

", "UpdateAnnotationStoreResponse$creationTime": "

When the store was created.

", + "UpdateAnnotationStoreVersionResponse$creationTime": "

The time stamp for when an annotation store version was created.

", "UpdateVariantStoreResponse$creationTime": "

When the store was created.

", "VariantImportJobItem$creationTime": "

When the job was created.

", "VariantStoreItem$creationTime": "

When the store was created.

" @@ -486,6 +540,16 @@ "refs": { } }, + "DeleteAnnotationStoreVersionsRequest": { + "base": null, + "refs": { + } + }, + "DeleteAnnotationStoreVersionsResponse": { + "base": null, + "refs": { + } + }, "DeleteReferenceRequest": { "base": null, "refs": { @@ -526,6 +590,16 @@ "refs": { } }, + "DeleteShareRequest": { + "base": null, + "refs": { + } + }, + "DeleteShareResponse": { + "base": null, + "refs": { + } + }, "DeleteVariantStoreRequest": { "base": null, "refs": { @@ -541,6 +615,26 @@ "refs": { } }, + "Description": { + "base": null, + "refs": { + "AnnotationStoreItem$description": "

The store's description.

", + "AnnotationStoreVersionItem$description": "

The description of an annotation store version.

", + "CreateAnnotationStoreRequest$description": "

A description for the store.

", + "CreateAnnotationStoreVersionRequest$description": "

The description of an annotation store version.

", + "CreateVariantStoreRequest$description": "

A description for the store.

", + "GetAnnotationStoreResponse$description": "

The store's description.

", + "GetAnnotationStoreVersionResponse$description": "

The description for an annotation store version.

", + "GetVariantStoreResponse$description": "

The store's description.

", + "UpdateAnnotationStoreRequest$description": "

A description for the store.

", + "UpdateAnnotationStoreResponse$description": "

The store's description.

", + "UpdateAnnotationStoreVersionRequest$description": "

The description of an annotation store.

", + "UpdateAnnotationStoreVersionResponse$description": "

The description of an annotation store version.

", + "UpdateVariantStoreRequest$description": "

A description for the store.

", + "UpdateVariantStoreResponse$description": "

The store's description.

", + "VariantStoreItem$description": "

The store's description.

" + } + }, "Encoding": { "base": null, "refs": { @@ -650,6 +744,12 @@ "StartReadSetImportJobSourceItem$sourceFileType": "

The source's file type.

" } }, + "Filter": { + "base": "

Use filters to focus the returned annotation store versions on a specific parameter, such as the status of the annotation store.

", + "refs": { + "ListSharesRequest$filter": "

Attributes used to filter for a specific subset of shares.

" + } + }, "FormatOptions": { "base": "

Formatting options for a file.

", "refs": { @@ -660,7 +760,8 @@ "FormatToHeader": { "base": null, "refs": { - "TsvStoreOptions$formatToHeader": "

The store's header key to column name mapping.

" + "TsvStoreOptions$formatToHeader": "

The store's header key to column name mapping.

", + "TsvVersionOptions$formatToHeader": "

The annotation store version's header key to column name mapping.

" } }, "FormatToHeaderKey": { @@ -707,6 +808,16 @@ "refs": { } }, + "GetAnnotationStoreVersionRequest": { + "base": null, + "refs": { + } + }, + "GetAnnotationStoreVersionResponse": { + "base": null, + "refs": { + } + }, "GetReadSetActivationJobRequest": { "base": null, "refs": { @@ -903,6 +1014,16 @@ "refs": { } }, + "GetShareRequest": { + "base": null, + "refs": { + } + }, + "GetShareResponse": { + "base": null, + "refs": { + } + }, "GetVariantImportRequest": { "base": null, "refs": { @@ -1018,6 +1139,13 @@ "GetReferenceImportJobResponse$sources": "

The job's source files.

" } }, + "Integer": { + "base": null, + "refs": { + "GetAnnotationStoreResponse$numVersions": "

An integer indicating how many versions of an annotation store exist.

", + "ListSharesRequest$maxResults": "

The maximum number of shares to return in one page of results.

" + } + }, "InternalServerException": { "base": "

An unexpected error occurred. Try the request again.

", "refs": { @@ -1097,6 +1225,34 @@ "refs": { } }, + "ListAnnotationStoreVersionsFilter": { + "base": "

Use filters to focus the returned annotation store versions on a specific parameter, such as the status of the annotation store.

", + "refs": { + "ListAnnotationStoreVersionsRequest$filter": "

A filter to apply to the list of annotation store versions.

" + } + }, + "ListAnnotationStoreVersionsRequest": { + "base": null, + "refs": { + } + }, + "ListAnnotationStoreVersionsRequestMaxResultsInteger": { + "base": null, + "refs": { + "ListAnnotationStoreVersionsRequest$maxResults": "

The maximum number of annotation store versions to return in one page of results.

" + } + }, + "ListAnnotationStoreVersionsRequestNextTokenString": { + "base": null, + "refs": { + "ListAnnotationStoreVersionsRequest$nextToken": "

Specifies the pagination token from a previous request to retrieve the next page of results.

" + } + }, + "ListAnnotationStoreVersionsResponse": { + "base": null, + "refs": { + } + }, "ListAnnotationStoresFilter": { "base": "

A filter for annotation stores.

", "refs": { @@ -1339,6 +1495,16 @@ "refs": { } }, + "ListSharesRequest": { + "base": null, + "refs": { + } + }, + "ListSharesResponse": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -1437,7 +1603,9 @@ "base": null, "refs": { "AnnotationStoreItem$storeSizeBytes": "

The store's size in bytes.

", + "AnnotationStoreVersionItem$versionSizeBytes": "

The size of an annotation store version in Bytes.

", "GetAnnotationStoreResponse$storeSizeBytes": "

The store's size in bytes.

", + "GetAnnotationStoreVersionResponse$versionSizeBytes": "

The size of the annotation store version in Bytes.

", "GetVariantStoreResponse$storeSizeBytes": "

The store's size in bytes.

", "SequenceInformation$totalReadCount": "

The sequence's total read count.

", "SequenceInformation$totalBaseCount": "

The sequence's total base count.

", @@ -1498,6 +1666,7 @@ "base": null, "refs": { "DeleteAnnotationStoreRequest$force": "

Whether to force deletion.

", + "DeleteAnnotationStoreVersionsRequest$force": "

Forces the deletion of an annotation store version when imports are in-progress..

", "DeleteVariantStoreRequest$force": "

Whether to force deletion.

" } }, @@ -1931,19 +2100,27 @@ "base": null, "refs": { "AnnotationStoreItem$id": "

The store's ID.

", + "AnnotationStoreVersionItem$storeId": "

The store ID for an annotation store version.

", + "AnnotationStoreVersionItem$id": "

The annotation store version ID.

", "CancelAnnotationImportRequest$jobId": "

The job's ID.

", "CancelVariantImportRequest$jobId": "

The job's ID.

", "CreateAnnotationStoreResponse$id": "

The store's ID.

", + "CreateAnnotationStoreVersionResponse$id": "

A generated ID for the annotation store

", + "CreateAnnotationStoreVersionResponse$storeId": "

The ID for the annotation store from which new versions are being created.

", "CreateVariantStoreResponse$id": "

The store's ID.

", "GetAnnotationImportRequest$jobId": "

The job's ID.

", "GetAnnotationImportResponse$id": "

The job's ID.

", "GetAnnotationStoreResponse$id": "

The store's ID.

", + "GetAnnotationStoreVersionResponse$storeId": "

The store ID for annotation store version.

", + "GetAnnotationStoreVersionResponse$id": "

The annotation store version ID.

", "GetVariantImportRequest$jobId": "

The job's ID.

", "GetVariantImportResponse$id": "

The job's ID.

", "GetVariantStoreResponse$id": "

The store's ID.

", "StartAnnotationImportResponse$jobId": "

The job's ID.

", "StartVariantImportResponse$jobId": "

The job's ID.

", "UpdateAnnotationStoreResponse$id": "

The store's ID.

", + "UpdateAnnotationStoreVersionResponse$storeId": "

The annotation store ID.

", + "UpdateAnnotationStoreVersionResponse$id": "

The annotation store version ID.

", "UpdateVariantStoreResponse$id": "

The store's ID.

", "VariantStoreItem$id": "

The store's ID.

" } @@ -1962,6 +2139,12 @@ "refs": { } }, + "ResourceOwner": { + "base": null, + "refs": { + "ListSharesRequest$resourceOwner": "

The account that owns the analytics store shared.

" + } + }, "RoleArn": { "base": null, "refs": { @@ -2276,7 +2459,8 @@ "SchemaItem": { "base": null, "refs": { - "TsvStoreOptionsSchemaList$member": null + "TsvStoreOptionsSchemaList$member": null, + "TsvVersionOptionsSchemaList$member": null } }, "SchemaItemKeyString": { @@ -2396,6 +2580,37 @@ "refs": { } }, + "ShareDetails": { + "base": "

The details of a share.

", + "refs": { + "GetShareResponse$share": "

An analytic store share details object. contains status, resourceArn, ownerId, etc.

", + "ShareDetailsList$member": null + } + }, + "ShareDetailsList": { + "base": null, + "refs": { + "ListSharesResponse$shares": "

The shares available and their meta details.

" + } + }, + "ShareName": { + "base": null, + "refs": { + "CreateShareRequest$shareName": "

A name given to the share.

", + "CreateShareResponse$shareName": "

A name given to the share.

", + "ShareDetails$shareName": "

The name of the share.

" + } + }, + "ShareStatus": { + "base": null, + "refs": { + "AcceptShareResponse$status": "

The status of an analytics store share.

", + "CreateShareResponse$status": "

The status of a share.

", + "DeleteShareResponse$status": "

The status of the share being deleted.

", + "ShareDetails$status": "

The status of a share.

", + "StatusList$member": null + } + }, "SourceFiles": { "base": "

Source files for a sequence.

", "refs": { @@ -2552,30 +2767,24 @@ "refs": { } }, + "StatusList": { + "base": null, + "refs": { + "Filter$status": "

The status of an annotation store version.

" + } + }, "StatusMessage": { "base": null, "refs": { "AnnotationStoreItem$statusMessage": "

The store's status message.

", + "AnnotationStoreVersionItem$statusMessage": "

The status of an annotation store version.

", "GetAnnotationStoreResponse$statusMessage": "

A status message.

", + "GetAnnotationStoreVersionResponse$statusMessage": "

The status of an annotation store version.

", "GetVariantStoreResponse$statusMessage": "

The store's status message.

", + "ShareDetails$statusMessage": "

The status message for a share. It provides more details on the status of the share.

", "VariantStoreItem$statusMessage": "

The store's status message.

" } }, - "StoreDescription": { - "base": null, - "refs": { - "AnnotationStoreItem$description": "

The store's description.

", - "CreateAnnotationStoreRequest$description": "

A description for the store.

", - "CreateVariantStoreRequest$description": "

A description for the store.

", - "GetAnnotationStoreResponse$description": "

The store's description.

", - "GetVariantStoreResponse$description": "

The store's description.

", - "UpdateAnnotationStoreRequest$description": "

A description for the store.

", - "UpdateAnnotationStoreResponse$description": "

The store's description.

", - "UpdateVariantStoreRequest$description": "

A description for the store.

", - "UpdateVariantStoreResponse$description": "

The store's description.

", - "VariantStoreItem$description": "

The store's description.

" - } - }, "StoreFormat": { "base": null, "refs": { @@ -2589,10 +2798,17 @@ "StoreName": { "base": null, "refs": { + "AnnotationStoreVersionItem$name": "

A name given to an annotation store version to distinguish it from others.

", + "CreateAnnotationStoreRequest$name": "

A name for the store.

", + "CreateAnnotationStoreVersionRequest$name": "

The name of an annotation store version from which versions are being created.

", + "CreateAnnotationStoreVersionResponse$name": "

The name given to an annotation store version to distinguish it from other versions.

", + "CreateVariantStoreRequest$name": "

A name for the store.

", "GetAnnotationImportResponse$destinationName": "

The job's destination annotation store.

", + "GetAnnotationStoreVersionResponse$name": "

The name of the annotation store.

", "GetVariantImportResponse$destinationName": "

The job's destination variant store.

", "StartAnnotationImportRequest$destinationName": "

A destination annotation store for the job.

", - "StartVariantImportRequest$destinationName": "

The destination variant store for the job.

" + "StartVariantImportRequest$destinationName": "

The destination variant store for the job.

", + "UpdateAnnotationStoreVersionResponse$name": "

The name of an annotation store.

" } }, "StoreOptions": { @@ -2624,24 +2840,38 @@ "String": { "base": null, "refs": { + "AcceptShareRequest$shareId": "

The ID for a share offer for analytics store data.

", "AccessDeniedException$message": null, "AnnotationImportJobItem$id": "

The job's ID.

", "AnnotationImportJobItem$destinationName": "

The job's destination annotation store.

", "AnnotationStoreItem$name": "

The store's name.

", + "ArnList$member": null, "CompleteReadSetUploadPartListItem$checksum": "

A unique identifier used to confirm that parts are being added to the correct upload.

", "ConflictException$message": null, "CreateAnnotationStoreResponse$name": "

The store's name.

", + "CreateShareRequest$resourceArn": "

The resource ARN for the analytics store to be shared.

", + "CreateShareRequest$principalSubscriber": "

The principal subscriber is the account being given access to the analytics store data through the share offer.

", + "CreateShareResponse$shareId": "

An ID generated for the share.

", "CreateVariantStoreResponse$name": "

The store's name.

", "DeleteAnnotationStoreRequest$name": "

The store's name.

", + "DeleteAnnotationStoreVersionsRequest$name": "

The name of the annotation store from which versions are being deleted.

", + "DeleteShareRequest$shareId": "

The ID for the share request to be deleted.

", "DeleteVariantStoreRequest$name": "

The store's name.

", "GetAnnotationStoreRequest$name": "

The store's name.

", "GetAnnotationStoreResponse$name": "

The store's name.

", + "GetAnnotationStoreVersionRequest$name": "

The name given to an annotation store version to distinguish it from others.

", + "GetAnnotationStoreVersionRequest$versionName": "

The name given to an annotation store version to distinguish it from others.

", + "GetShareRequest$shareId": "

The generated ID for a share.

", "GetVariantStoreRequest$name": "

The store's name.

", "GetVariantStoreResponse$name": "

The store's name.

", "InternalServerException$message": null, "ListAnnotationImportJobsFilter$storeName": "

A store name to filter on.

", "ListAnnotationImportJobsResponse$nextToken": "

Specifies the pagination token from a previous request to retrieve the next page of results.

", + "ListAnnotationStoreVersionsRequest$name": "

The name of an annotation store.

", + "ListAnnotationStoreVersionsResponse$nextToken": "

Specifies the pagination token from a previous request to retrieve the next page of results.

", "ListAnnotationStoresResponse$nextToken": "

A pagination token that's included if more results are available.

", + "ListSharesRequest$nextToken": "

Next token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.

", + "ListSharesResponse$nextToken": "

Next token returned in the response of a previous ListSharesResponse call. Used to get the next page of results.

", "ListVariantImportJobsFilter$storeName": "

A store name to filter on.

", "ListVariantImportJobsResponse$nextToken": "

A pagination token that's included if more results are available.

", "ListVariantStoresResponse$nextToken": "

A pagination token that's included if more results are available.

", @@ -2654,16 +2884,23 @@ "ResourceNotFoundException$message": null, "SequenceInformation$alignment": "

The sequence's alignment setting.

", "ServiceQuotaExceededException$message": null, + "ShareDetails$shareId": "

The ID for a share offer for an analytics store .

", + "ShareDetails$resourceArn": "

The resource Arn of the analytics store being shared.

", + "ShareDetails$principalSubscriber": "

The principal subscriber is the account the analytics store data is being shared with.

", + "ShareDetails$ownerId": "

The account ID for the data owner. The owner creates the share offer.

", "ThrottlingException$message": null, "UpdateAnnotationStoreRequest$name": "

A name for the store.

", "UpdateAnnotationStoreResponse$name": "

The store's name.

", + "UpdateAnnotationStoreVersionRequest$name": "

The name of an annotation store.

", + "UpdateAnnotationStoreVersionRequest$versionName": "

The name of an annotation store version.

", "UpdateVariantStoreRequest$name": "

A name for the store.

", "UpdateVariantStoreResponse$name": "

The store's name.

", "UploadReadSetPartResponse$checksum": "

An identifier used to confirm that parts are being added to the intended upload.

", "ValidationException$message": null, "VariantImportJobItem$id": "

The job's ID.

", "VariantImportJobItem$destinationName": "

The job's destination variant store.

", - "VariantStoreItem$name": "

The store's name.

" + "VariantStoreItem$name": "

The store's name.

", + "VersionDeleteError$message": "

The message explaining the error in annotation store deletion.

" } }, "SubjectId": { @@ -2764,6 +3001,7 @@ "base": null, "refs": { "CreateAnnotationStoreRequest$tags": "

Tags for the store.

", + "CreateAnnotationStoreVersionRequest$tags": "

Any tags added to annotation store version.

", "CreateMultipartReadSetUploadRequest$tags": "

Any tags to add to the read set.

", "CreateMultipartReadSetUploadResponse$tags": "

The tags to add to the read set.

", "CreateReferenceStoreRequest$tags": "

Tags for the store.

", @@ -2774,6 +3012,7 @@ "CreateWorkflowRequest$tags": "

Tags for the workflow.

", "CreateWorkflowResponse$tags": "

The workflow's tags.

", "GetAnnotationStoreResponse$tags": "

The store's tags.

", + "GetAnnotationStoreVersionResponse$tags": "

Any tags associated with an annotation store version.

", "GetRunGroupResponse$tags": "

The group's tags.

", "GetRunResponse$tags": "

The run's tags.

", "GetVariantStoreResponse$tags": "

The store's tags.

", @@ -2924,6 +3163,18 @@ "TsvStoreOptions$schema": "

The store's schema.

" } }, + "TsvVersionOptions": { + "base": "

The options for a TSV file.

", + "refs": { + "VersionOptions$tsvVersionOptions": "

File settings for a version of a TSV store.

" + } + }, + "TsvVersionOptionsSchemaList": { + "base": null, + "refs": { + "TsvVersionOptions$schema": "

The TSV schema for an annotation store version.

" + } + }, "UntagResourceRequest": { "base": null, "refs": { @@ -2944,6 +3195,16 @@ "refs": { } }, + "UpdateAnnotationStoreVersionRequest": { + "base": null, + "refs": { + } + }, + "UpdateAnnotationStoreVersionResponse": { + "base": null, + "refs": { + } + }, "UpdateRunGroupRequest": { "base": null, "refs": { @@ -2978,11 +3239,15 @@ "refs": { "AnnotationImportJobItem$updateTime": "

When the job was updated.

", "AnnotationStoreItem$updateTime": "

When the store was updated.

", + "AnnotationStoreVersionItem$updateTime": "

The time stamp for when an annotation store version was updated.

", "GetAnnotationImportResponse$updateTime": "

When the job was updated.

", "GetAnnotationStoreResponse$updateTime": "

When the store was updated.

", + "GetAnnotationStoreVersionResponse$updateTime": "

The time stamp for when an annotation store version was updated.

", "GetVariantImportResponse$updateTime": "

When the job was updated.

", "GetVariantStoreResponse$updateTime": "

When the store was updated.

", + "ShareDetails$updateTime": "

The timestamp of the share update.

", "UpdateAnnotationStoreResponse$updateTime": "

When the store was updated.

", + "UpdateAnnotationStoreVersionResponse$updateTime": "

The time stamp for when an annotation store version was updated.

", "UpdateVariantStoreResponse$updateTime": "

When the store was updated.

", "VariantImportJobItem$updateTime": "

When the job was updated.

", "VariantStoreItem$updateTime": "

When the store was updated.

" @@ -3089,6 +3354,59 @@ "FormatOptions$vcfOptions": "

Options for a VCF file.

" } }, + "VersionDeleteError": { + "base": "

The error preventing deletion of the annotation store version.

", + "refs": { + "VersionDeleteErrorList$member": null + } + }, + "VersionDeleteErrorList": { + "base": null, + "refs": { + "DeleteAnnotationStoreVersionsResponse$errors": "

Any errors that occur when attempting to delete an annotation store version.

" + } + }, + "VersionList": { + "base": null, + "refs": { + "DeleteAnnotationStoreVersionsRequest$versions": "

The versions of an annotation store to be deleted.

" + } + }, + "VersionName": { + "base": null, + "refs": { + "AnnotationImportJobItem$versionName": "

The name of the annotation store version.

", + "AnnotationStoreVersionItem$versionName": "

The name of an annotation store version.

", + "CreateAnnotationStoreRequest$versionName": "

The name given to an annotation store version to distinguish it from other versions.

", + "CreateAnnotationStoreResponse$versionName": "

The name given to an annotation store version to distinguish it from other versions.

", + "CreateAnnotationStoreVersionRequest$versionName": "

The name given to an annotation store version to distinguish it from other versions.

", + "CreateAnnotationStoreVersionResponse$versionName": "

The name given to an annotation store version to distinguish it from other versions.

", + "GetAnnotationImportResponse$versionName": "

The name of the annotation store version.

", + "GetAnnotationStoreVersionResponse$versionName": "

The name given to an annotation store version to distinguish it from others.

", + "StartAnnotationImportRequest$versionName": "

The name of the annotation store version.

", + "UpdateAnnotationStoreVersionResponse$versionName": "

The name of an annotation store version.

", + "VersionDeleteError$versionName": "

The name given to an annotation store version.

", + "VersionList$member": null + } + }, + "VersionOptions": { + "base": "

The options for an annotation store version.

", + "refs": { + "CreateAnnotationStoreVersionRequest$versionOptions": "

The options for an annotation store version.

", + "CreateAnnotationStoreVersionResponse$versionOptions": "

The options for an annotation store version.

", + "GetAnnotationStoreVersionResponse$versionOptions": "

The options for an annotation store version.

" + } + }, + "VersionStatus": { + "base": null, + "refs": { + "AnnotationStoreVersionItem$status": "

The status of an annotation store version.

", + "CreateAnnotationStoreVersionResponse$status": "

The status of a annotation store version.

", + "GetAnnotationStoreVersionResponse$status": "

The status of an annotation store version.

", + "ListAnnotationStoreVersionsFilter$status": "

The status of an annotation store version.

", + "UpdateAnnotationStoreVersionResponse$status": "

The status of an annotation store version.

" + } + }, "WorkflowArn": { "base": null, "refs": { diff --git a/models/apis/omics/2022-11-28/paginators-1.json b/models/apis/omics/2022-11-28/paginators-1.json index 596e4bd7c24..0254c8f78fa 100644 --- a/models/apis/omics/2022-11-28/paginators-1.json +++ b/models/apis/omics/2022-11-28/paginators-1.json @@ -6,6 +6,12 @@ "limit_key": "maxResults", "result_key": "annotationImportJobs" }, + "ListAnnotationStoreVersions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "annotationStoreVersions" + }, "ListAnnotationStores": { "input_token": "nextToken", "output_token": "nextToken", @@ -90,6 +96,12 @@ "limit_key": "maxResults", "result_key": "sequenceStores" }, + "ListShares": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "shares" + }, "ListVariantImportJobs": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/omics/2022-11-28/waiters-2.json b/models/apis/omics/2022-11-28/waiters-2.json index db1de32eedd..9e82e101dcb 100644 --- a/models/apis/omics/2022-11-28/waiters-2.json +++ b/models/apis/omics/2022-11-28/waiters-2.json @@ -81,6 +81,54 @@ "expected" : "DELETING" } ] }, + "AnnotationStoreVersionCreated" : { + "description" : "Wait until an annotation store version is created", + "delay" : 30, + "maxAttempts" : 20, + "operation" : "GetAnnotationStoreVersion", + "acceptors" : [ { + "matcher" : "path", + "argument" : "status", + "state" : "success", + "expected" : "ACTIVE" + }, { + "matcher" : "path", + "argument" : "status", + "state" : "retry", + "expected" : "CREATING" + }, { + "matcher" : "path", + "argument" : "status", + "state" : "retry", + "expected" : "UPDATING" + }, { + "matcher" : "path", + "argument" : "status", + "state" : "failure", + "expected" : "FAILED" + } ] + }, + "AnnotationStoreVersionDeleted" : { + "description" : "Wait until an annotation store version is deleted.", + "delay" : 30, + "maxAttempts" : 20, + "operation" : "GetAnnotationStoreVersion", + "acceptors" : [ { + "matcher" : "path", + "argument" : "status", + "state" : "success", + "expected" : "DELETED" + }, { + "matcher" : "error", + "state" : "success", + "expected" : "ResourceNotFoundException" + }, { + "matcher" : "path", + "argument" : "status", + "state" : "retry", + "expected" : "DELETING" + } ] + }, "ReadSetActivationJobCompleted" : { "description" : "Wait until a job is completed.", "delay" : 30, diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index ef2cd8366c6..5af79c7f452 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -784,7 +784,7 @@ "FilePaths": { "base": null, "refs": { - "StartFileTransferRequest$SendFilePaths": "

One or more source paths for the Transfer Family server. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .

Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.

", + "StartFileTransferRequest$SendFilePaths": "

One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .

Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.

", "StartFileTransferRequest$RetrieveFilePaths": "

One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.

" } }, @@ -1573,7 +1573,7 @@ "SecretId": { "base": null, "refs": { - "SftpConnectorConfig$UserSecretId": "

The identifiers for the secrets (in Amazon Web Services Secrets Manager) that contain the SFTP user's private keys or passwords.

" + "SftpConnectorConfig$UserSecretId": "

The identifier for the secret (in Amazon Web Services Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret.

" } }, "SecurityGroupId": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index a686c926e99..89a1afeb6b1 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -375,6 +375,7 @@ "deprecated" : true, "hostname" : "acm-pca-fips.us-west-2.amazonaws.com" }, + "il-central-1" : { }, "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, @@ -11349,7 +11350,18 @@ "credentialScope" : { "region" : "us-west-2" }, - "hostname" : "networkmanager.us-west-2.amazonaws.com" + "hostname" : "networkmanager.us-west-2.amazonaws.com", + "variants" : [ { + "hostname" : "networkmanager-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "fips-aws-global" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "networkmanager-fips.us-west-2.amazonaws.com" } }, "isRegionalized" : false, @@ -14135,18 +14147,26 @@ }, "schemas" : { "endpoints" : { + "af-south-1" : { }, "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, + "eu-central-2" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, + "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, @@ -16890,7 +16910,10 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, "eu-west-1" : { }, + "eu-west-2" : { }, "us-east-1" : { }, "us-east-2" : { }, "us-west-2" : { } @@ -19142,6 +19165,12 @@ }, "isRegionalized" : true }, + "schemas" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "secretsmanager" : { "endpoints" : { "cn-north-1" : { }, @@ -22281,6 +22310,17 @@ "credentialScope" : { "region" : "us-gov-west-1" }, + "hostname" : "networkmanager.us-gov-west-1.amazonaws.com", + "variants" : [ { + "hostname" : "networkmanager.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "fips-aws-us-gov-global" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, "hostname" : "networkmanager.us-gov-west-1.amazonaws.com" } }, diff --git a/service/mediapackage/api.go b/service/mediapackage/api.go index 8cf74c12815..79b83db12dc 100644 --- a/service/mediapackage/api.go +++ b/service/mediapackage/api.go @@ -4816,14 +4816,18 @@ type IngestEndpoint struct { // The system generated unique identifier for the IngestEndpoint Id *string `locationName:"id" type:"string"` - // The system generated password for ingest authentication. - Password *string `locationName:"password" type:"string"` + // Password is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by IngestEndpoint's + // String and GoString methods. + Password *string `locationName:"password" type:"string" sensitive:"true"` // The ingest URL to which the source stream should be sent. Url *string `locationName:"url" type:"string"` - // The system generated username for ingest authentication. - Username *string `locationName:"username" type:"string"` + // Username is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by IngestEndpoint's + // String and GoString methods. + Username *string `locationName:"username" type:"string" sensitive:"true"` } // String returns the string representation. diff --git a/service/omics/api.go b/service/omics/api.go index 623603b0f9f..6e024d2394e 100644 --- a/service/omics/api.go +++ b/service/omics/api.go @@ -119,6 +119,106 @@ func (c *Omics) AbortMultipartReadSetUploadWithContext(ctx aws.Context, input *A return out, req.Send() } +const opAcceptShare = "AcceptShare" + +// AcceptShareRequest generates a "aws/request.Request" representing the +// client's request for the AcceptShare 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 AcceptShare for more information on using the AcceptShare +// 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 AcceptShareRequest method. +// req, resp := client.AcceptShareRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/AcceptShare +func (c *Omics) AcceptShareRequest(input *AcceptShareInput) (req *request.Request, output *AcceptShareOutput) { + op := &request.Operation{ + Name: opAcceptShare, + HTTPMethod: "POST", + HTTPPath: "/share/{shareId}", + } + + if input == nil { + input = &AcceptShareInput{} + } + + output = &AcceptShareOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// AcceptShare API operation for Amazon Omics. +// +// Accepts a share for an analytics store. +// +// 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 Amazon Omics's +// API operation AcceptShare for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/AcceptShare +func (c *Omics) AcceptShare(input *AcceptShareInput) (*AcceptShareOutput, error) { + req, out := c.AcceptShareRequest(input) + return out, req.Send() +} + +// AcceptShareWithContext is the same as AcceptShare with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptShare 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 *Omics) AcceptShareWithContext(ctx aws.Context, input *AcceptShareInput, opts ...request.Option) (*AcceptShareOutput, error) { + req, out := c.AcceptShareRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opBatchDeleteReadSet = "BatchDeleteReadSet" // BatchDeleteReadSetRequest generates a "aws/request.Request" representing the @@ -713,6 +813,106 @@ func (c *Omics) CreateAnnotationStoreWithContext(ctx aws.Context, input *CreateA return out, req.Send() } +const opCreateAnnotationStoreVersion = "CreateAnnotationStoreVersion" + +// CreateAnnotationStoreVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreateAnnotationStoreVersion 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 CreateAnnotationStoreVersion for more information on using the CreateAnnotationStoreVersion +// 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 CreateAnnotationStoreVersionRequest method. +// req, resp := client.CreateAnnotationStoreVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateAnnotationStoreVersion +func (c *Omics) CreateAnnotationStoreVersionRequest(input *CreateAnnotationStoreVersionInput) (req *request.Request, output *CreateAnnotationStoreVersionOutput) { + op := &request.Operation{ + Name: opCreateAnnotationStoreVersion, + HTTPMethod: "POST", + HTTPPath: "/annotationStore/{name}/version", + } + + if input == nil { + input = &CreateAnnotationStoreVersionInput{} + } + + output = &CreateAnnotationStoreVersionOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateAnnotationStoreVersion API operation for Amazon Omics. +// +// Creates a new version of an annotation store. +// +// 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 Amazon Omics's +// API operation CreateAnnotationStoreVersion for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateAnnotationStoreVersion +func (c *Omics) CreateAnnotationStoreVersion(input *CreateAnnotationStoreVersionInput) (*CreateAnnotationStoreVersionOutput, error) { + req, out := c.CreateAnnotationStoreVersionRequest(input) + return out, req.Send() +} + +// CreateAnnotationStoreVersionWithContext is the same as CreateAnnotationStoreVersion with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAnnotationStoreVersion 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 *Omics) CreateAnnotationStoreVersionWithContext(ctx aws.Context, input *CreateAnnotationStoreVersionInput, opts ...request.Option) (*CreateAnnotationStoreVersionOutput, error) { + req, out := c.CreateAnnotationStoreVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateMultipartReadSetUpload = "CreateMultipartReadSetUpload" // CreateMultipartReadSetUploadRequest generates a "aws/request.Request" representing the @@ -1113,6 +1313,107 @@ func (c *Omics) CreateSequenceStoreWithContext(ctx aws.Context, input *CreateSeq return out, req.Send() } +const opCreateShare = "CreateShare" + +// CreateShareRequest generates a "aws/request.Request" representing the +// client's request for the CreateShare 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 CreateShare for more information on using the CreateShare +// 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 CreateShareRequest method. +// req, resp := client.CreateShareRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateShare +func (c *Omics) CreateShareRequest(input *CreateShareInput) (req *request.Request, output *CreateShareOutput) { + op := &request.Operation{ + Name: opCreateShare, + HTTPMethod: "POST", + HTTPPath: "/share", + } + + if input == nil { + input = &CreateShareInput{} + } + + output = &CreateShareOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreateShare API operation for Amazon Omics. +// +// Creates a share offer that can be accepted outside the account by a subscriber. +// The share is created by the owner and accepted by the principal subscriber. +// +// 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 Amazon Omics's +// API operation CreateShare for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateShare +func (c *Omics) CreateShare(input *CreateShareInput) (*CreateShareOutput, error) { + req, out := c.CreateShareRequest(input) + return out, req.Send() +} + +// CreateShareWithContext is the same as CreateShare with the addition of +// the ability to pass a context and additional request options. +// +// See CreateShare 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 *Omics) CreateShareWithContext(ctx aws.Context, input *CreateShareInput, opts ...request.Option) (*CreateShareOutput, error) { + req, out := c.CreateShareRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateVariantStore = "CreateVariantStore" // CreateVariantStoreRequest generates a "aws/request.Request" representing the @@ -1413,61 +1714,60 @@ func (c *Omics) DeleteAnnotationStoreWithContext(ctx aws.Context, input *DeleteA return out, req.Send() } -const opDeleteReference = "DeleteReference" +const opDeleteAnnotationStoreVersions = "DeleteAnnotationStoreVersions" -// DeleteReferenceRequest generates a "aws/request.Request" representing the -// client's request for the DeleteReference operation. The "output" return +// DeleteAnnotationStoreVersionsRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAnnotationStoreVersions 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 DeleteReference for more information on using the DeleteReference +// See DeleteAnnotationStoreVersions for more information on using the DeleteAnnotationStoreVersions // 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 DeleteReferenceRequest method. -// req, resp := client.DeleteReferenceRequest(params) +// // Example sending a request using the DeleteAnnotationStoreVersionsRequest method. +// req, resp := client.DeleteAnnotationStoreVersionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReference -func (c *Omics) DeleteReferenceRequest(input *DeleteReferenceInput) (req *request.Request, output *DeleteReferenceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteAnnotationStoreVersions +func (c *Omics) DeleteAnnotationStoreVersionsRequest(input *DeleteAnnotationStoreVersionsInput) (req *request.Request, output *DeleteAnnotationStoreVersionsOutput) { op := &request.Operation{ - Name: opDeleteReference, - HTTPMethod: "DELETE", - HTTPPath: "/referencestore/{referenceStoreId}/reference/{id}", + Name: opDeleteAnnotationStoreVersions, + HTTPMethod: "POST", + HTTPPath: "/annotationStore/{name}/versions/delete", } if input == nil { - input = &DeleteReferenceInput{} + input = &DeleteAnnotationStoreVersionsInput{} } - output = &DeleteReferenceOutput{} + output = &DeleteAnnotationStoreVersionsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) - req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) return } -// DeleteReference API operation for Amazon Omics. +// DeleteAnnotationStoreVersions API operation for Amazon Omics. // -// Deletes a genome reference. +// Deletes one or multiple versions of an annotation store. // // 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 Amazon Omics's -// API operation DeleteReference for usage and error information. +// API operation DeleteAnnotationStoreVersions for usage and error information. // // Returned Error Types: // @@ -1489,8 +1789,106 @@ func (c *Omics) DeleteReferenceRequest(input *DeleteReferenceInput) (req *reques // - AccessDeniedException // You do not have sufficient access to perform this action. // -// - RequestTimeoutException -// The request timed out. +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteAnnotationStoreVersions +func (c *Omics) DeleteAnnotationStoreVersions(input *DeleteAnnotationStoreVersionsInput) (*DeleteAnnotationStoreVersionsOutput, error) { + req, out := c.DeleteAnnotationStoreVersionsRequest(input) + return out, req.Send() +} + +// DeleteAnnotationStoreVersionsWithContext is the same as DeleteAnnotationStoreVersions with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAnnotationStoreVersions 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 *Omics) DeleteAnnotationStoreVersionsWithContext(ctx aws.Context, input *DeleteAnnotationStoreVersionsInput, opts ...request.Option) (*DeleteAnnotationStoreVersionsOutput, error) { + req, out := c.DeleteAnnotationStoreVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteReference = "DeleteReference" + +// DeleteReferenceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteReference 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 DeleteReference for more information on using the DeleteReference +// 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 DeleteReferenceRequest method. +// req, resp := client.DeleteReferenceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReference +func (c *Omics) DeleteReferenceRequest(input *DeleteReferenceInput) (req *request.Request, output *DeleteReferenceOutput) { + op := &request.Operation{ + Name: opDeleteReference, + HTTPMethod: "DELETE", + HTTPPath: "/referencestore/{referenceStoreId}/reference/{id}", + } + + if input == nil { + input = &DeleteReferenceInput{} + } + + output = &DeleteReferenceOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("control-storage-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteReference API operation for Amazon Omics. +// +// Deletes a genome reference. +// +// 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 Amazon Omics's +// API operation DeleteReference for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteReference func (c *Omics) DeleteReference(input *DeleteReferenceInput) (*DeleteReferenceOutput, error) { @@ -1924,6 +2322,106 @@ func (c *Omics) DeleteSequenceStoreWithContext(ctx aws.Context, input *DeleteSeq return out, req.Send() } +const opDeleteShare = "DeleteShare" + +// DeleteShareRequest generates a "aws/request.Request" representing the +// client's request for the DeleteShare 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 DeleteShare for more information on using the DeleteShare +// 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 DeleteShareRequest method. +// req, resp := client.DeleteShareRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteShare +func (c *Omics) DeleteShareRequest(input *DeleteShareInput) (req *request.Request, output *DeleteShareOutput) { + op := &request.Operation{ + Name: opDeleteShare, + HTTPMethod: "DELETE", + HTTPPath: "/share/{shareId}", + } + + if input == nil { + input = &DeleteShareInput{} + } + + output = &DeleteShareOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// DeleteShare API operation for Amazon Omics. +// +// Deletes a share of an analytics store. +// +// 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 Amazon Omics's +// API operation DeleteShare for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteShare +func (c *Omics) DeleteShare(input *DeleteShareInput) (*DeleteShareOutput, error) { + req, out := c.DeleteShareRequest(input) + return out, req.Send() +} + +// DeleteShareWithContext is the same as DeleteShare with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteShare 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 *Omics) DeleteShareWithContext(ctx aws.Context, input *DeleteShareInput, opts ...request.Option) (*DeleteShareOutput, error) { + req, out := c.DeleteShareRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteVariantStore = "DeleteVariantStore" // DeleteVariantStoreRequest generates a "aws/request.Request" representing the @@ -2313,6 +2811,100 @@ func (c *Omics) GetAnnotationStoreWithContext(ctx aws.Context, input *GetAnnotat return out, req.Send() } +const opGetAnnotationStoreVersion = "GetAnnotationStoreVersion" + +// GetAnnotationStoreVersionRequest generates a "aws/request.Request" representing the +// client's request for the GetAnnotationStoreVersion 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 GetAnnotationStoreVersion for more information on using the GetAnnotationStoreVersion +// 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 GetAnnotationStoreVersionRequest method. +// req, resp := client.GetAnnotationStoreVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationStoreVersion +func (c *Omics) GetAnnotationStoreVersionRequest(input *GetAnnotationStoreVersionInput) (req *request.Request, output *GetAnnotationStoreVersionOutput) { + op := &request.Operation{ + Name: opGetAnnotationStoreVersion, + HTTPMethod: "GET", + HTTPPath: "/annotationStore/{name}/version/{versionName}", + } + + if input == nil { + input = &GetAnnotationStoreVersionInput{} + } + + output = &GetAnnotationStoreVersionOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetAnnotationStoreVersion API operation for Amazon Omics. +// +// Retrieves the metadata for an annotation store version. +// +// 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 Amazon Omics's +// API operation GetAnnotationStoreVersion for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationStoreVersion +func (c *Omics) GetAnnotationStoreVersion(input *GetAnnotationStoreVersionInput) (*GetAnnotationStoreVersionOutput, error) { + req, out := c.GetAnnotationStoreVersionRequest(input) + return out, req.Send() +} + +// GetAnnotationStoreVersionWithContext is the same as GetAnnotationStoreVersion with the addition of +// the ability to pass a context and additional request options. +// +// See GetAnnotationStoreVersion 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 *Omics) GetAnnotationStoreVersionWithContext(ctx aws.Context, input *GetAnnotationStoreVersionInput, opts ...request.Option) (*GetAnnotationStoreVersionOutput, error) { + req, out := c.GetAnnotationStoreVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetReadSet = "GetReadSet" // GetReadSetRequest generates a "aws/request.Request" representing the @@ -3601,43 +4193,43 @@ func (c *Omics) GetSequenceStoreWithContext(ctx aws.Context, input *GetSequenceS return out, req.Send() } -const opGetVariantImportJob = "GetVariantImportJob" +const opGetShare = "GetShare" -// GetVariantImportJobRequest generates a "aws/request.Request" representing the -// client's request for the GetVariantImportJob operation. The "output" return +// GetShareRequest generates a "aws/request.Request" representing the +// client's request for the GetShare 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 GetVariantImportJob for more information on using the GetVariantImportJob +// See GetShare for more information on using the GetShare // 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 GetVariantImportJobRequest method. -// req, resp := client.GetVariantImportJobRequest(params) +// // Example sending a request using the GetShareRequest method. +// req, resp := client.GetShareRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetVariantImportJob -func (c *Omics) GetVariantImportJobRequest(input *GetVariantImportJobInput) (req *request.Request, output *GetVariantImportJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetShare +func (c *Omics) GetShareRequest(input *GetShareInput) (req *request.Request, output *GetShareOutput) { op := &request.Operation{ - Name: opGetVariantImportJob, + Name: opGetShare, HTTPMethod: "GET", - HTTPPath: "/import/variant/{jobId}", + HTTPPath: "/share/{shareId}", } if input == nil { - input = &GetVariantImportJobInput{} + input = &GetShareInput{} } - output = &GetVariantImportJobOutput{} + output = &GetShareOutput{} req = c.newRequest(op, input, output) req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) @@ -3645,7 +4237,107 @@ func (c *Omics) GetVariantImportJobRequest(input *GetVariantImportJobInput) (req return } -// GetVariantImportJob API operation for Amazon Omics. +// GetShare API operation for Amazon Omics. +// +// Retrieves the metadata for a share. +// +// 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 Amazon Omics's +// API operation GetShare for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetShare +func (c *Omics) GetShare(input *GetShareInput) (*GetShareOutput, error) { + req, out := c.GetShareRequest(input) + return out, req.Send() +} + +// GetShareWithContext is the same as GetShare with the addition of +// the ability to pass a context and additional request options. +// +// See GetShare 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 *Omics) GetShareWithContext(ctx aws.Context, input *GetShareInput, opts ...request.Option) (*GetShareOutput, error) { + req, out := c.GetShareRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetVariantImportJob = "GetVariantImportJob" + +// GetVariantImportJobRequest generates a "aws/request.Request" representing the +// client's request for the GetVariantImportJob 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 GetVariantImportJob for more information on using the GetVariantImportJob +// 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 GetVariantImportJobRequest method. +// req, resp := client.GetVariantImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetVariantImportJob +func (c *Omics) GetVariantImportJobRequest(input *GetVariantImportJobInput) (req *request.Request, output *GetVariantImportJobOutput) { + op := &request.Operation{ + Name: opGetVariantImportJob, + HTTPMethod: "GET", + HTTPPath: "/import/variant/{jobId}", + } + + if input == nil { + input = &GetVariantImportJobInput{} + } + + output = &GetVariantImportJobOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetVariantImportJob API operation for Amazon Omics. // // Gets information about a variant import job. // @@ -4043,6 +4735,157 @@ func (c *Omics) ListAnnotationImportJobsPagesWithContext(ctx aws.Context, input return p.Err() } +const opListAnnotationStoreVersions = "ListAnnotationStoreVersions" + +// ListAnnotationStoreVersionsRequest generates a "aws/request.Request" representing the +// client's request for the ListAnnotationStoreVersions 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 ListAnnotationStoreVersions for more information on using the ListAnnotationStoreVersions +// 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 ListAnnotationStoreVersionsRequest method. +// req, resp := client.ListAnnotationStoreVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationStoreVersions +func (c *Omics) ListAnnotationStoreVersionsRequest(input *ListAnnotationStoreVersionsInput) (req *request.Request, output *ListAnnotationStoreVersionsOutput) { + op := &request.Operation{ + Name: opListAnnotationStoreVersions, + HTTPMethod: "POST", + HTTPPath: "/annotationStore/{name}/versions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAnnotationStoreVersionsInput{} + } + + output = &ListAnnotationStoreVersionsOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListAnnotationStoreVersions API operation for Amazon Omics. +// +// Lists the versions of an annotation store. +// +// 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 Amazon Omics's +// API operation ListAnnotationStoreVersions for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationStoreVersions +func (c *Omics) ListAnnotationStoreVersions(input *ListAnnotationStoreVersionsInput) (*ListAnnotationStoreVersionsOutput, error) { + req, out := c.ListAnnotationStoreVersionsRequest(input) + return out, req.Send() +} + +// ListAnnotationStoreVersionsWithContext is the same as ListAnnotationStoreVersions with the addition of +// the ability to pass a context and additional request options. +// +// See ListAnnotationStoreVersions 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 *Omics) ListAnnotationStoreVersionsWithContext(ctx aws.Context, input *ListAnnotationStoreVersionsInput, opts ...request.Option) (*ListAnnotationStoreVersionsOutput, error) { + req, out := c.ListAnnotationStoreVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAnnotationStoreVersionsPages iterates over the pages of a ListAnnotationStoreVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAnnotationStoreVersions 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 ListAnnotationStoreVersions operation. +// pageNum := 0 +// err := client.ListAnnotationStoreVersionsPages(params, +// func(page *omics.ListAnnotationStoreVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListAnnotationStoreVersionsPages(input *ListAnnotationStoreVersionsInput, fn func(*ListAnnotationStoreVersionsOutput, bool) bool) error { + return c.ListAnnotationStoreVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAnnotationStoreVersionsPagesWithContext same as ListAnnotationStoreVersionsPages 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 *Omics) ListAnnotationStoreVersionsPagesWithContext(ctx aws.Context, input *ListAnnotationStoreVersionsInput, fn func(*ListAnnotationStoreVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAnnotationStoreVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAnnotationStoreVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAnnotationStoreVersionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAnnotationStores = "ListAnnotationStores" // ListAnnotationStoresRequest generates a "aws/request.Request" representing the @@ -6221,60 +7064,66 @@ func (c *Omics) ListSequenceStoresPagesWithContext(ctx aws.Context, input *ListS return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListShares = "ListShares" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListSharesRequest generates a "aws/request.Request" representing the +// client's request for the ListShares 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 ListShares for more information on using the ListShares // 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 ListSharesRequest method. +// req, resp := client.ListSharesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListTagsForResource -func (c *Omics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListShares +func (c *Omics) ListSharesRequest(input *ListSharesInput) (req *request.Request, output *ListSharesOutput) { op := &request.Operation{ - Name: opListTagsForResource, - HTTPMethod: "GET", - HTTPPath: "/tags/{resourceArn}", + Name: opListShares, + HTTPMethod: "POST", + HTTPPath: "/shares", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListSharesInput{} } - output = &ListTagsForResourceOutput{} + output = &ListSharesOutput{} req = c.newRequest(op, input, output) - req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("tags-", nil)) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) return } -// ListTagsForResource API operation for Amazon Omics. +// ListShares API operation for Amazon Omics. // -// Retrieves a list of tags for a resource. +// Lists all shares associated with 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 Amazon Omics's -// API operation ListTagsForResource for usage and error information. +// API operation ListShares for usage and error information. // // Returned Error Types: // @@ -6299,43 +7148,194 @@ func (c *Omics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // - AccessDeniedException // You do not have sufficient access to perform this action. // -// - RequestTimeoutException -// The request timed out. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListTagsForResource -func (c *Omics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListShares +func (c *Omics) ListShares(input *ListSharesInput) (*ListSharesOutput, error) { + req, out := c.ListSharesRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListSharesWithContext is the same as ListShares 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 ListShares 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 *Omics) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *Omics) ListSharesWithContext(ctx aws.Context, input *ListSharesInput, opts ...request.Option) (*ListSharesOutput, error) { + req, out := c.ListSharesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListVariantImportJobs = "ListVariantImportJobs" - -// ListVariantImportJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListVariantImportJobs operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. +// ListSharesPages iterates over the pages of a ListShares operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. // -// 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 ListShares method for more information on how to use this operation. // -// See ListVariantImportJobs for more information on using the ListVariantImportJobs -// API call, and error handling. +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListShares operation. +// pageNum := 0 +// err := client.ListSharesPages(params, +// func(page *omics.ListSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Omics) ListSharesPages(input *ListSharesInput, fn func(*ListSharesOutput, bool) bool) error { + return c.ListSharesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSharesPagesWithContext same as ListSharesPages 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 *Omics) ListSharesPagesWithContext(ctx aws.Context, input *ListSharesInput, fn func(*ListSharesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSharesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSharesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSharesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +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/omics-2022-11-28/ListTagsForResource +func (c *Omics) 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) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("tags-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ListTagsForResource API operation for Amazon Omics. +// +// Retrieves a list of 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 Amazon Omics's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ServiceQuotaExceededException +// The request exceeds a service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request cannot be applied to the target resource in its current state. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - RequestTimeoutException +// The request timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListTagsForResource +func (c *Omics) 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 *Omics) 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 opListVariantImportJobs = "ListVariantImportJobs" + +// ListVariantImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListVariantImportJobs 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 ListVariantImportJobs for more information on using the ListVariantImportJobs +// 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. @@ -7786,6 +8786,100 @@ func (c *Omics) UpdateAnnotationStoreWithContext(ctx aws.Context, input *UpdateA return out, req.Send() } +const opUpdateAnnotationStoreVersion = "UpdateAnnotationStoreVersion" + +// UpdateAnnotationStoreVersionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAnnotationStoreVersion 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 UpdateAnnotationStoreVersion for more information on using the UpdateAnnotationStoreVersion +// 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 UpdateAnnotationStoreVersionRequest method. +// req, resp := client.UpdateAnnotationStoreVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateAnnotationStoreVersion +func (c *Omics) UpdateAnnotationStoreVersionRequest(input *UpdateAnnotationStoreVersionInput) (req *request.Request, output *UpdateAnnotationStoreVersionOutput) { + op := &request.Operation{ + Name: opUpdateAnnotationStoreVersion, + HTTPMethod: "POST", + HTTPPath: "/annotationStore/{name}/version/{versionName}", + } + + if input == nil { + input = &UpdateAnnotationStoreVersionInput{} + } + + output = &UpdateAnnotationStoreVersionOutput{} + req = c.newRequest(op, input, output) + + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("analytics-", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UpdateAnnotationStoreVersion API operation for Amazon Omics. +// +// Updates the description of an annotation store version. +// +// 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 Amazon Omics's +// API operation UpdateAnnotationStoreVersion for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error occurred. Try the request again. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The target resource was not found in the current Region. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateAnnotationStoreVersion +func (c *Omics) UpdateAnnotationStoreVersion(input *UpdateAnnotationStoreVersionInput) (*UpdateAnnotationStoreVersionOutput, error) { + req, out := c.UpdateAnnotationStoreVersionRequest(input) + return out, req.Send() +} + +// UpdateAnnotationStoreVersionWithContext is the same as UpdateAnnotationStoreVersion with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAnnotationStoreVersion 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 *Omics) UpdateAnnotationStoreVersionWithContext(ctx aws.Context, input *UpdateAnnotationStoreVersionInput, opts ...request.Option) (*UpdateAnnotationStoreVersionOutput, error) { + req, out := c.UpdateAnnotationStoreVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateRunGroup = "UpdateRunGroup" // UpdateRunGroupRequest generates a "aws/request.Request" representing the @@ -8283,12 +9377,13 @@ func (s AbortMultipartReadSetUploadOutput) GoString() string { return s.String() } -// You do not have sufficient access to perform this action. -type AccessDeniedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type AcceptShareInput struct { + _ struct{} `type:"structure" nopayload:"true"` - Message_ *string `locationName:"message" type:"string"` + // The ID for a share offer for analytics store data. + // + // ShareId is a required field + ShareId *string `location:"uri" locationName:"shareId" type:"string" required:"true"` } // String returns the string representation. @@ -8296,7 +9391,7 @@ type AccessDeniedException 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 AccessDeniedException) String() string { +func (s AcceptShareInput) String() string { return awsutil.Prettify(s) } @@ -8305,39 +9400,118 @@ func (s AccessDeniedException) 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 AccessDeniedException) GoString() string { +func (s AcceptShareInput) GoString() string { return s.String() } -func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { - return &AccessDeniedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptShareInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptShareInput"} + if s.ShareId == nil { + invalidParams.Add(request.NewErrParamRequired("ShareId")) } -} - -// Code returns the exception type name. -func (s *AccessDeniedException) Code() string { - return "AccessDeniedException" -} - -// Message returns the exception's message. -func (s *AccessDeniedException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.ShareId != nil && len(*s.ShareId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ShareId", 1)) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *AccessDeniedException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *AccessDeniedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetShareId sets the ShareId field's value. +func (s *AcceptShareInput) SetShareId(v string) *AcceptShareInput { + s.ShareId = &v + return s } -// Status code returns the HTTP status code for the request's response error. +type AcceptShareOutput struct { + _ struct{} `type:"structure"` + + // The status of an analytics store share. + Status *string `locationName:"status" type:"string" enum:"ShareStatus"` +} + +// 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 AcceptShareOutput) 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 AcceptShareOutput) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *AcceptShareOutput) SetStatus(v string) *AcceptShareOutput { + s.Status = &v + return s +} + +// You do not have sufficient access to perform this action. +type AccessDeniedException 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 AccessDeniedException) 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 AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) 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 *AccessDeniedException) StatusCode() int { return s.RespMetadata.StatusCode } @@ -8661,6 +9835,11 @@ type AnnotationImportJobItem struct { // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The name of the annotation store version. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -8735,6 +9914,12 @@ func (s *AnnotationImportJobItem) SetUpdateTime(v time.Time) *AnnotationImportJo return s } +// SetVersionName sets the VersionName field's value. +func (s *AnnotationImportJobItem) SetVersionName(v string) *AnnotationImportJobItem { + s.VersionName = &v + return s +} + // An annotation store. type AnnotationStoreItem struct { _ struct{} `type:"structure"` @@ -8890,6 +10075,150 @@ func (s *AnnotationStoreItem) SetUpdateTime(v time.Time) *AnnotationStoreItem { return s } +// Annotation store versions. +type AnnotationStoreVersionItem struct { + _ struct{} `type:"structure"` + + // The time stamp for when an annotation store version was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The description of an annotation store version. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The annotation store version ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // A name given to an annotation store version to distinguish it from others. + // + // Name is a required field + Name *string `locationName:"name" min:"3" type:"string" required:"true"` + + // The status of an annotation store version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"VersionStatus"` + + // The status of an annotation store version. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The store ID for an annotation store version. + // + // StoreId is a required field + StoreId *string `locationName:"storeId" type:"string" required:"true"` + + // The time stamp for when an annotation store version was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The Arn for an annotation store version. + // + // VersionArn is a required field + VersionArn *string `locationName:"versionArn" min:"20" type:"string" required:"true"` + + // The name of an annotation store version. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` + + // The size of an annotation store version in Bytes. + // + // VersionSizeBytes is a required field + VersionSizeBytes *int64 `locationName:"versionSizeBytes" type:"long" 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 AnnotationStoreVersionItem) 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 AnnotationStoreVersionItem) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *AnnotationStoreVersionItem) SetCreationTime(v time.Time) *AnnotationStoreVersionItem { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *AnnotationStoreVersionItem) SetDescription(v string) *AnnotationStoreVersionItem { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *AnnotationStoreVersionItem) SetId(v string) *AnnotationStoreVersionItem { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *AnnotationStoreVersionItem) SetName(v string) *AnnotationStoreVersionItem { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AnnotationStoreVersionItem) SetStatus(v string) *AnnotationStoreVersionItem { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *AnnotationStoreVersionItem) SetStatusMessage(v string) *AnnotationStoreVersionItem { + s.StatusMessage = &v + return s +} + +// SetStoreId sets the StoreId field's value. +func (s *AnnotationStoreVersionItem) SetStoreId(v string) *AnnotationStoreVersionItem { + s.StoreId = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *AnnotationStoreVersionItem) SetUpdateTime(v time.Time) *AnnotationStoreVersionItem { + s.UpdateTime = &v + return s +} + +// SetVersionArn sets the VersionArn field's value. +func (s *AnnotationStoreVersionItem) SetVersionArn(v string) *AnnotationStoreVersionItem { + s.VersionArn = &v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *AnnotationStoreVersionItem) SetVersionName(v string) *AnnotationStoreVersionItem { + s.VersionName = &v + return s +} + +// SetVersionSizeBytes sets the VersionSizeBytes field's value. +func (s *AnnotationStoreVersionItem) SetVersionSizeBytes(v int64) *AnnotationStoreVersionItem { + s.VersionSizeBytes = &v + return s +} + type BatchDeleteReadSetInput struct { _ struct{} `type:"structure"` @@ -9473,7 +10802,7 @@ type CreateAnnotationStoreInput struct { Description *string `locationName:"description" type:"string"` // A name for the store. - Name *string `locationName:"name" type:"string"` + Name *string `locationName:"name" min:"3" type:"string"` // The genome reference for the store's annotations. Reference *ReferenceItem `locationName:"reference" type:"structure"` @@ -9491,6 +10820,10 @@ type CreateAnnotationStoreInput struct { // Tags for the store. Tags map[string]*string `locationName:"tags" type:"map"` + + // The name given to an annotation store version to distinguish it from other + // versions. + VersionName *string `locationName:"versionName" min:"3" type:"string"` } // String returns the string representation. @@ -9514,9 +10847,15 @@ func (s CreateAnnotationStoreInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateAnnotationStoreInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateAnnotationStoreInput"} + if s.Name != nil && len(*s.Name) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Name", 3)) + } if s.StoreFormat == nil { invalidParams.Add(request.NewErrParamRequired("StoreFormat")) } + if s.VersionName != nil && len(*s.VersionName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VersionName", 3)) + } if s.Reference != nil { if err := s.Reference.Validate(); err != nil { invalidParams.AddNested("Reference", err.(request.ErrInvalidParams)) @@ -9581,6 +10920,12 @@ func (s *CreateAnnotationStoreInput) SetTags(v map[string]*string) *CreateAnnota return s } +// SetVersionName sets the VersionName field's value. +func (s *CreateAnnotationStoreInput) SetVersionName(v string) *CreateAnnotationStoreInput { + s.VersionName = &v + return s +} + type CreateAnnotationStoreOutput struct { _ struct{} `type:"structure"` @@ -9613,6 +10958,12 @@ type CreateAnnotationStoreOutput struct { // The store's file parsing options. StoreOptions *StoreOptions `locationName:"storeOptions" type:"structure"` + + // The name given to an annotation store version to distinguish it from other + // versions. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -9675,52 +11026,34 @@ func (s *CreateAnnotationStoreOutput) SetStoreOptions(v *StoreOptions) *CreateAn return s } -type CreateMultipartReadSetUploadInput struct { - _ struct{} `type:"structure"` - - // An idempotency token that can be used to avoid triggering multiple multipart - // uploads. - ClientToken *string `locationName:"clientToken" min:"1" type:"string"` +// SetVersionName sets the VersionName field's value. +func (s *CreateAnnotationStoreOutput) SetVersionName(v string) *CreateAnnotationStoreOutput { + s.VersionName = &v + return s +} - // The description of the read set. - Description *string `locationName:"description" min:"1" type:"string"` +type CreateAnnotationStoreVersionInput struct { + _ struct{} `type:"structure"` - // Where the source originated. - GeneratedFrom *string `locationName:"generatedFrom" min:"1" type:"string"` + // The description of an annotation store version. + Description *string `locationName:"description" type:"string"` - // The name of the read set. + // The name of an annotation store version from which versions are being created. // // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` - - // The ARN of the reference. - // - // ReferenceArn is a required field - ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string" required:"true"` - - // The source's sample ID. - // - // SampleId is a required field - SampleId *string `locationName:"sampleId" min:"1" type:"string" required:"true"` - - // The sequence store ID for the store that is the destination of the multipart - // uploads. - // - // SequenceStoreId is a required field - SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + Name *string `location:"uri" locationName:"name" min:"3" type:"string" required:"true"` - // The type of file being uploaded. - // - // SourceFileType is a required field - SourceFileType *string `locationName:"sourceFileType" type:"string" required:"true" enum:"FileType"` + // Any tags added to annotation store version. + Tags map[string]*string `locationName:"tags" type:"map"` - // The source's subject ID. + // The name given to an annotation store version to distinguish it from other + // versions. // - // SubjectId is a required field - SubjectId *string `locationName:"subjectId" min:"1" type:"string" required:"true"` + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` - // Any tags to add to the read set. - Tags map[string]*string `locationName:"tags" type:"map"` + // The options for an annotation store version. + VersionOptions *VersionOptions `locationName:"versionOptions" type:"structure"` } // String returns the string representation. @@ -9728,7 +11061,7 @@ type CreateMultipartReadSetUploadInput 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 CreateMultipartReadSetUploadInput) String() string { +func (s CreateAnnotationStoreVersionInput) String() string { return awsutil.Prettify(s) } @@ -9737,27 +11070,249 @@ func (s CreateMultipartReadSetUploadInput) 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 CreateMultipartReadSetUploadInput) GoString() string { +func (s CreateAnnotationStoreVersionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateMultipartReadSetUploadInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateMultipartReadSetUploadInput"} - 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.GeneratedFrom != nil && len(*s.GeneratedFrom) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GeneratedFrom", 1)) - } +func (s *CreateAnnotationStoreVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAnnotationStoreVersionInput"} if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.Name != nil && len(*s.Name) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Name", 3)) + } + if s.VersionName == nil { + invalidParams.Add(request.NewErrParamRequired("VersionName")) + } + if s.VersionName != nil && len(*s.VersionName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VersionName", 3)) + } + if s.VersionOptions != nil { + if err := s.VersionOptions.Validate(); err != nil { + invalidParams.AddNested("VersionOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateAnnotationStoreVersionInput) SetDescription(v string) *CreateAnnotationStoreVersionInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateAnnotationStoreVersionInput) SetName(v string) *CreateAnnotationStoreVersionInput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateAnnotationStoreVersionInput) SetTags(v map[string]*string) *CreateAnnotationStoreVersionInput { + s.Tags = v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *CreateAnnotationStoreVersionInput) SetVersionName(v string) *CreateAnnotationStoreVersionInput { + s.VersionName = &v + return s +} + +// SetVersionOptions sets the VersionOptions field's value. +func (s *CreateAnnotationStoreVersionInput) SetVersionOptions(v *VersionOptions) *CreateAnnotationStoreVersionInput { + s.VersionOptions = v + return s +} + +type CreateAnnotationStoreVersionOutput struct { + _ struct{} `type:"structure"` + + // The time stamp for the creation of an annotation store version. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // A generated ID for the annotation store + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The name given to an annotation store version to distinguish it from other + // versions. + // + // Name is a required field + Name *string `locationName:"name" min:"3" type:"string" required:"true"` + + // The status of a annotation store version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"VersionStatus"` + + // The ID for the annotation store from which new versions are being created. + // + // StoreId is a required field + StoreId *string `locationName:"storeId" type:"string" required:"true"` + + // The name given to an annotation store version to distinguish it from other + // versions. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` + + // The options for an annotation store version. + VersionOptions *VersionOptions `locationName:"versionOptions" 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 CreateAnnotationStoreVersionOutput) 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 CreateAnnotationStoreVersionOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *CreateAnnotationStoreVersionOutput) SetCreationTime(v time.Time) *CreateAnnotationStoreVersionOutput { + s.CreationTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateAnnotationStoreVersionOutput) SetId(v string) *CreateAnnotationStoreVersionOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateAnnotationStoreVersionOutput) SetName(v string) *CreateAnnotationStoreVersionOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateAnnotationStoreVersionOutput) SetStatus(v string) *CreateAnnotationStoreVersionOutput { + s.Status = &v + return s +} + +// SetStoreId sets the StoreId field's value. +func (s *CreateAnnotationStoreVersionOutput) SetStoreId(v string) *CreateAnnotationStoreVersionOutput { + s.StoreId = &v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *CreateAnnotationStoreVersionOutput) SetVersionName(v string) *CreateAnnotationStoreVersionOutput { + s.VersionName = &v + return s +} + +// SetVersionOptions sets the VersionOptions field's value. +func (s *CreateAnnotationStoreVersionOutput) SetVersionOptions(v *VersionOptions) *CreateAnnotationStoreVersionOutput { + s.VersionOptions = v + return s +} + +type CreateMultipartReadSetUploadInput struct { + _ struct{} `type:"structure"` + + // An idempotency token that can be used to avoid triggering multiple multipart + // uploads. + ClientToken *string `locationName:"clientToken" min:"1" type:"string"` + + // The description of the read set. + Description *string `locationName:"description" min:"1" type:"string"` + + // Where the source originated. + GeneratedFrom *string `locationName:"generatedFrom" min:"1" type:"string"` + + // The name of the read set. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The ARN of the reference. + // + // ReferenceArn is a required field + ReferenceArn *string `locationName:"referenceArn" min:"1" type:"string" required:"true"` + + // The source's sample ID. + // + // SampleId is a required field + SampleId *string `locationName:"sampleId" min:"1" type:"string" required:"true"` + + // The sequence store ID for the store that is the destination of the multipart + // uploads. + // + // SequenceStoreId is a required field + SequenceStoreId *string `location:"uri" locationName:"sequenceStoreId" min:"10" type:"string" required:"true"` + + // The type of file being uploaded. + // + // SourceFileType is a required field + SourceFileType *string `locationName:"sourceFileType" type:"string" required:"true" enum:"FileType"` + + // The source's subject ID. + // + // SubjectId is a required field + SubjectId *string `locationName:"subjectId" min:"1" type:"string" required:"true"` + + // Any tags to add to the read set. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// 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 CreateMultipartReadSetUploadInput) 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 CreateMultipartReadSetUploadInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateMultipartReadSetUploadInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMultipartReadSetUploadInput"} + 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.GeneratedFrom != nil && len(*s.GeneratedFrom) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GeneratedFrom", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if s.ReferenceArn == nil { invalidParams.Add(request.NewErrParamRequired("ReferenceArn")) @@ -10527,6 +12082,128 @@ func (s *CreateSequenceStoreOutput) SetSseConfig(v *SseConfig) *CreateSequenceSt return s } +type CreateShareInput struct { + _ struct{} `type:"structure"` + + // The principal subscriber is the account being given access to the analytics + // store data through the share offer. + // + // PrincipalSubscriber is a required field + PrincipalSubscriber *string `locationName:"principalSubscriber" type:"string" required:"true"` + + // The resource ARN for the analytics store to be shared. + // + // ResourceArn is a required field + ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` + + // A name given to the share. + ShareName *string `locationName:"shareName" 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 CreateShareInput) 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 CreateShareInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateShareInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateShareInput"} + if s.PrincipalSubscriber == nil { + invalidParams.Add(request.NewErrParamRequired("PrincipalSubscriber")) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ShareName != nil && len(*s.ShareName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ShareName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPrincipalSubscriber sets the PrincipalSubscriber field's value. +func (s *CreateShareInput) SetPrincipalSubscriber(v string) *CreateShareInput { + s.PrincipalSubscriber = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *CreateShareInput) SetResourceArn(v string) *CreateShareInput { + s.ResourceArn = &v + return s +} + +// SetShareName sets the ShareName field's value. +func (s *CreateShareInput) SetShareName(v string) *CreateShareInput { + s.ShareName = &v + return s +} + +type CreateShareOutput struct { + _ struct{} `type:"structure"` + + // An ID generated for the share. + ShareId *string `locationName:"shareId" type:"string"` + + // A name given to the share. + ShareName *string `locationName:"shareName" min:"1" type:"string"` + + // The status of a share. + Status *string `locationName:"status" type:"string" enum:"ShareStatus"` +} + +// 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 CreateShareOutput) 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 CreateShareOutput) GoString() string { + return s.String() +} + +// SetShareId sets the ShareId field's value. +func (s *CreateShareOutput) SetShareId(v string) *CreateShareOutput { + s.ShareId = &v + return s +} + +// SetShareName sets the ShareName field's value. +func (s *CreateShareOutput) SetShareName(v string) *CreateShareOutput { + s.ShareName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateShareOutput) SetStatus(v string) *CreateShareOutput { + s.Status = &v + return s +} + type CreateVariantStoreInput struct { _ struct{} `type:"structure"` @@ -10534,7 +12211,7 @@ type CreateVariantStoreInput struct { Description *string `locationName:"description" type:"string"` // A name for the store. - Name *string `locationName:"name" type:"string"` + Name *string `locationName:"name" min:"3" type:"string"` // The genome reference for the store's variants. // @@ -10569,6 +12246,9 @@ func (s CreateVariantStoreInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateVariantStoreInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateVariantStoreInput"} + if s.Name != nil && len(*s.Name) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Name", 3)) + } if s.Reference == nil { invalidParams.Add(request.NewErrParamRequired("Reference")) } @@ -11000,6 +12680,112 @@ func (s *DeleteAnnotationStoreOutput) SetStatus(v string) *DeleteAnnotationStore return s } +type DeleteAnnotationStoreVersionsInput struct { + _ struct{} `type:"structure"` + + // Forces the deletion of an annotation store version when imports are in-progress.. + Force *bool `location:"querystring" locationName:"force" type:"boolean"` + + // The name of the annotation store from which versions are being deleted. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The versions of an annotation store to be deleted. + // + // Versions is a required field + Versions []*string `locationName:"versions" min:"1" 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 DeleteAnnotationStoreVersionsInput) 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 DeleteAnnotationStoreVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAnnotationStoreVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAnnotationStoreVersionsInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Versions == nil { + invalidParams.Add(request.NewErrParamRequired("Versions")) + } + if s.Versions != nil && len(s.Versions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Versions", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForce sets the Force field's value. +func (s *DeleteAnnotationStoreVersionsInput) SetForce(v bool) *DeleteAnnotationStoreVersionsInput { + s.Force = &v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteAnnotationStoreVersionsInput) SetName(v string) *DeleteAnnotationStoreVersionsInput { + s.Name = &v + return s +} + +// SetVersions sets the Versions field's value. +func (s *DeleteAnnotationStoreVersionsInput) SetVersions(v []*string) *DeleteAnnotationStoreVersionsInput { + s.Versions = v + return s +} + +type DeleteAnnotationStoreVersionsOutput struct { + _ struct{} `type:"structure"` + + // Any errors that occur when attempting to delete an annotation store version. + Errors []*VersionDeleteError `locationName:"errors" 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 DeleteAnnotationStoreVersionsOutput) 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 DeleteAnnotationStoreVersionsOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *DeleteAnnotationStoreVersionsOutput) SetErrors(v []*VersionDeleteError) *DeleteAnnotationStoreVersionsOutput { + s.Errors = v + return s +} + type DeleteReferenceInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -11324,18 +13110,89 @@ func (s DeleteSequenceStoreInput) 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 DeleteSequenceStoreInput) GoString() string { +func (s DeleteSequenceStoreInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSequenceStoreInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSequenceStoreInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 10 { + invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteSequenceStoreInput) SetId(v string) *DeleteSequenceStoreInput { + s.Id = &v + return s +} + +type DeleteSequenceStoreOutput struct { + _ struct{} `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 DeleteSequenceStoreOutput) 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 DeleteSequenceStoreOutput) GoString() string { + return s.String() +} + +type DeleteShareInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID for the share request to be deleted. + // + // ShareId is a required field + ShareId *string `location:"uri" locationName:"shareId" 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 DeleteShareInput) 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 DeleteShareInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteSequenceStoreInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteSequenceStoreInput"} - if s.Id == nil { - invalidParams.Add(request.NewErrParamRequired("Id")) +func (s *DeleteShareInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteShareInput"} + if s.ShareId == nil { + invalidParams.Add(request.NewErrParamRequired("ShareId")) } - if s.Id != nil && len(*s.Id) < 10 { - invalidParams.Add(request.NewErrParamMinLen("Id", 10)) + if s.ShareId != nil && len(*s.ShareId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ShareId", 1)) } if invalidParams.Len() > 0 { @@ -11344,14 +13201,17 @@ func (s *DeleteSequenceStoreInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteSequenceStoreInput) SetId(v string) *DeleteSequenceStoreInput { - s.Id = &v +// SetShareId sets the ShareId field's value. +func (s *DeleteShareInput) SetShareId(v string) *DeleteShareInput { + s.ShareId = &v return s } -type DeleteSequenceStoreOutput struct { +type DeleteShareOutput struct { _ struct{} `type:"structure"` + + // The status of the share being deleted. + Status *string `locationName:"status" type:"string" enum:"ShareStatus"` } // String returns the string representation. @@ -11359,7 +13219,7 @@ type DeleteSequenceStoreOutput 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 DeleteSequenceStoreOutput) String() string { +func (s DeleteShareOutput) String() string { return awsutil.Prettify(s) } @@ -11368,10 +13228,16 @@ func (s DeleteSequenceStoreOutput) 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 DeleteSequenceStoreOutput) GoString() string { +func (s DeleteShareOutput) GoString() string { return s.String() } +// SetStatus sets the Status field's value. +func (s *DeleteShareOutput) SetStatus(v string) *DeleteShareOutput { + s.Status = &v + return s +} + type DeleteVariantStoreInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -11825,6 +13691,61 @@ func (s *FileInformation) SetTotalParts(v int64) *FileInformation { return s } +// Use filters to focus the returned annotation store versions on a specific +// parameter, such as the status of the annotation store. +type Filter struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Number (Arn) for an analytics store. + ResourceArns []*string `locationName:"resourceArns" min:"1" type:"list"` + + // The status of an annotation store version. + Status []*string `locationName:"status" type:"list" enum:"ShareStatus"` +} + +// 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 Filter) 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 Filter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Filter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Filter"} + if s.ResourceArns != nil && len(s.ResourceArns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArns", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArns sets the ResourceArns field's value. +func (s *Filter) SetResourceArns(v []*string) *Filter { + s.ResourceArns = v + return s +} + +// SetStatus sets the Status field's value. +func (s *Filter) SetStatus(v []*string) *Filter { + s.Status = v + return s +} + // Formatting options for a file. type FormatOptions struct { _ struct{} `type:"structure"` @@ -11990,6 +13911,11 @@ type GetAnnotationImportJobOutput struct { // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The name of the annotation store version. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -12082,6 +14008,12 @@ func (s *GetAnnotationImportJobOutput) SetUpdateTime(v time.Time) *GetAnnotation return s } +// SetVersionName sets the VersionName field's value. +func (s *GetAnnotationImportJobOutput) SetVersionName(v string) *GetAnnotationImportJobOutput { + s.VersionName = &v + return s +} + type GetAnnotationStoreInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -12154,6 +14086,11 @@ type GetAnnotationStoreOutput struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` + // An integer indicating how many versions of an annotation store exist. + // + // NumVersions is a required field + NumVersions *int64 `locationName:"numVersions" type:"integer" required:"true"` + // The store's genome reference. // // Reference is a required field @@ -12185,20 +14122,261 @@ type GetAnnotationStoreOutput struct { // The store's parsing options. StoreOptions *StoreOptions `locationName:"storeOptions" type:"structure"` - // The store's size in bytes. + // The store's size in bytes. + // + // StoreSizeBytes is a required field + StoreSizeBytes *int64 `locationName:"storeSizeBytes" type:"long" required:"true"` + + // The store's tags. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` + + // When the store was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" 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 GetAnnotationStoreOutput) 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 GetAnnotationStoreOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetAnnotationStoreOutput) SetCreationTime(v time.Time) *GetAnnotationStoreOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetAnnotationStoreOutput) SetDescription(v string) *GetAnnotationStoreOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetAnnotationStoreOutput) SetId(v string) *GetAnnotationStoreOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetAnnotationStoreOutput) SetName(v string) *GetAnnotationStoreOutput { + s.Name = &v + return s +} + +// SetNumVersions sets the NumVersions field's value. +func (s *GetAnnotationStoreOutput) SetNumVersions(v int64) *GetAnnotationStoreOutput { + s.NumVersions = &v + return s +} + +// SetReference sets the Reference field's value. +func (s *GetAnnotationStoreOutput) SetReference(v *ReferenceItem) *GetAnnotationStoreOutput { + s.Reference = v + return s +} + +// SetSseConfig sets the SseConfig field's value. +func (s *GetAnnotationStoreOutput) SetSseConfig(v *SseConfig) *GetAnnotationStoreOutput { + s.SseConfig = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetAnnotationStoreOutput) SetStatus(v string) *GetAnnotationStoreOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetAnnotationStoreOutput) SetStatusMessage(v string) *GetAnnotationStoreOutput { + s.StatusMessage = &v + return s +} + +// SetStoreArn sets the StoreArn field's value. +func (s *GetAnnotationStoreOutput) SetStoreArn(v string) *GetAnnotationStoreOutput { + s.StoreArn = &v + return s +} + +// SetStoreFormat sets the StoreFormat field's value. +func (s *GetAnnotationStoreOutput) SetStoreFormat(v string) *GetAnnotationStoreOutput { + s.StoreFormat = &v + return s +} + +// SetStoreOptions sets the StoreOptions field's value. +func (s *GetAnnotationStoreOutput) SetStoreOptions(v *StoreOptions) *GetAnnotationStoreOutput { + s.StoreOptions = v + return s +} + +// SetStoreSizeBytes sets the StoreSizeBytes field's value. +func (s *GetAnnotationStoreOutput) SetStoreSizeBytes(v int64) *GetAnnotationStoreOutput { + s.StoreSizeBytes = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetAnnotationStoreOutput) SetTags(v map[string]*string) *GetAnnotationStoreOutput { + s.Tags = v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetAnnotationStoreOutput) SetUpdateTime(v time.Time) *GetAnnotationStoreOutput { + s.UpdateTime = &v + return s +} + +type GetAnnotationStoreVersionInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name given to an annotation store version to distinguish it from others. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The name given to an annotation store version to distinguish it from others. + // + // VersionName is a required field + VersionName *string `location:"uri" locationName:"versionName" 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 GetAnnotationStoreVersionInput) 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 GetAnnotationStoreVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAnnotationStoreVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAnnotationStoreVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.VersionName == nil { + invalidParams.Add(request.NewErrParamRequired("VersionName")) + } + if s.VersionName != nil && len(*s.VersionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *GetAnnotationStoreVersionInput) SetName(v string) *GetAnnotationStoreVersionInput { + s.Name = &v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *GetAnnotationStoreVersionInput) SetVersionName(v string) *GetAnnotationStoreVersionInput { + s.VersionName = &v + return s +} + +type GetAnnotationStoreVersionOutput struct { + _ struct{} `type:"structure"` + + // The time stamp for when an annotation store version was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The description for an annotation store version. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The annotation store version ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The name of the annotation store. + // + // Name is a required field + Name *string `locationName:"name" min:"3" type:"string" required:"true"` + + // The status of an annotation store version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"VersionStatus"` + + // The status of an annotation store version. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The store ID for annotation store version. // - // StoreSizeBytes is a required field - StoreSizeBytes *int64 `locationName:"storeSizeBytes" type:"long" required:"true"` + // StoreId is a required field + StoreId *string `locationName:"storeId" type:"string" required:"true"` - // The store's tags. + // Any tags associated with an annotation store version. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` - // When the store was updated. + // The time stamp for when an annotation store version was updated. // // UpdateTime is a required field UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The Arn for the annotation store. + // + // VersionArn is a required field + VersionArn *string `locationName:"versionArn" min:"20" type:"string" required:"true"` + + // The name given to an annotation store version to distinguish it from others. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" min:"3" type:"string" required:"true"` + + // The options for an annotation store version. + VersionOptions *VersionOptions `locationName:"versionOptions" type:"structure"` + + // The size of the annotation store version in Bytes. + // + // VersionSizeBytes is a required field + VersionSizeBytes *int64 `locationName:"versionSizeBytes" type:"long" required:"true"` } // String returns the string representation. @@ -12206,7 +14384,7 @@ type GetAnnotationStoreOutput 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 GetAnnotationStoreOutput) String() string { +func (s GetAnnotationStoreVersionOutput) String() string { return awsutil.Prettify(s) } @@ -12215,91 +14393,85 @@ func (s GetAnnotationStoreOutput) 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 GetAnnotationStoreOutput) GoString() string { +func (s GetAnnotationStoreVersionOutput) GoString() string { return s.String() } // SetCreationTime sets the CreationTime field's value. -func (s *GetAnnotationStoreOutput) SetCreationTime(v time.Time) *GetAnnotationStoreOutput { +func (s *GetAnnotationStoreVersionOutput) SetCreationTime(v time.Time) *GetAnnotationStoreVersionOutput { s.CreationTime = &v return s } // SetDescription sets the Description field's value. -func (s *GetAnnotationStoreOutput) SetDescription(v string) *GetAnnotationStoreOutput { +func (s *GetAnnotationStoreVersionOutput) SetDescription(v string) *GetAnnotationStoreVersionOutput { s.Description = &v return s } // SetId sets the Id field's value. -func (s *GetAnnotationStoreOutput) SetId(v string) *GetAnnotationStoreOutput { +func (s *GetAnnotationStoreVersionOutput) SetId(v string) *GetAnnotationStoreVersionOutput { s.Id = &v return s } // SetName sets the Name field's value. -func (s *GetAnnotationStoreOutput) SetName(v string) *GetAnnotationStoreOutput { +func (s *GetAnnotationStoreVersionOutput) SetName(v string) *GetAnnotationStoreVersionOutput { s.Name = &v return s } -// SetReference sets the Reference field's value. -func (s *GetAnnotationStoreOutput) SetReference(v *ReferenceItem) *GetAnnotationStoreOutput { - s.Reference = v - return s -} - -// SetSseConfig sets the SseConfig field's value. -func (s *GetAnnotationStoreOutput) SetSseConfig(v *SseConfig) *GetAnnotationStoreOutput { - s.SseConfig = v - return s -} - // SetStatus sets the Status field's value. -func (s *GetAnnotationStoreOutput) SetStatus(v string) *GetAnnotationStoreOutput { +func (s *GetAnnotationStoreVersionOutput) SetStatus(v string) *GetAnnotationStoreVersionOutput { s.Status = &v return s } // SetStatusMessage sets the StatusMessage field's value. -func (s *GetAnnotationStoreOutput) SetStatusMessage(v string) *GetAnnotationStoreOutput { +func (s *GetAnnotationStoreVersionOutput) SetStatusMessage(v string) *GetAnnotationStoreVersionOutput { s.StatusMessage = &v return s } -// SetStoreArn sets the StoreArn field's value. -func (s *GetAnnotationStoreOutput) SetStoreArn(v string) *GetAnnotationStoreOutput { - s.StoreArn = &v +// SetStoreId sets the StoreId field's value. +func (s *GetAnnotationStoreVersionOutput) SetStoreId(v string) *GetAnnotationStoreVersionOutput { + s.StoreId = &v return s } -// SetStoreFormat sets the StoreFormat field's value. -func (s *GetAnnotationStoreOutput) SetStoreFormat(v string) *GetAnnotationStoreOutput { - s.StoreFormat = &v +// SetTags sets the Tags field's value. +func (s *GetAnnotationStoreVersionOutput) SetTags(v map[string]*string) *GetAnnotationStoreVersionOutput { + s.Tags = v return s } -// SetStoreOptions sets the StoreOptions field's value. -func (s *GetAnnotationStoreOutput) SetStoreOptions(v *StoreOptions) *GetAnnotationStoreOutput { - s.StoreOptions = v +// SetUpdateTime sets the UpdateTime field's value. +func (s *GetAnnotationStoreVersionOutput) SetUpdateTime(v time.Time) *GetAnnotationStoreVersionOutput { + s.UpdateTime = &v return s } -// SetStoreSizeBytes sets the StoreSizeBytes field's value. -func (s *GetAnnotationStoreOutput) SetStoreSizeBytes(v int64) *GetAnnotationStoreOutput { - s.StoreSizeBytes = &v +// SetVersionArn sets the VersionArn field's value. +func (s *GetAnnotationStoreVersionOutput) SetVersionArn(v string) *GetAnnotationStoreVersionOutput { + s.VersionArn = &v return s } -// SetTags sets the Tags field's value. -func (s *GetAnnotationStoreOutput) SetTags(v map[string]*string) *GetAnnotationStoreOutput { - s.Tags = v +// SetVersionName sets the VersionName field's value. +func (s *GetAnnotationStoreVersionOutput) SetVersionName(v string) *GetAnnotationStoreVersionOutput { + s.VersionName = &v return s } -// SetUpdateTime sets the UpdateTime field's value. -func (s *GetAnnotationStoreOutput) SetUpdateTime(v time.Time) *GetAnnotationStoreOutput { - s.UpdateTime = &v +// SetVersionOptions sets the VersionOptions field's value. +func (s *GetAnnotationStoreVersionOutput) SetVersionOptions(v *VersionOptions) *GetAnnotationStoreVersionOutput { + s.VersionOptions = v + return s +} + +// SetVersionSizeBytes sets the VersionSizeBytes field's value. +func (s *GetAnnotationStoreVersionOutput) SetVersionSizeBytes(v int64) *GetAnnotationStoreVersionOutput { + s.VersionSizeBytes = &v return s } @@ -14566,6 +16738,87 @@ func (s *GetSequenceStoreOutput) SetSseConfig(v *SseConfig) *GetSequenceStoreOut return s } +type GetShareInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The generated ID for a share. + // + // ShareId is a required field + ShareId *string `location:"uri" locationName:"shareId" 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 GetShareInput) 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 GetShareInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetShareInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetShareInput"} + if s.ShareId == nil { + invalidParams.Add(request.NewErrParamRequired("ShareId")) + } + if s.ShareId != nil && len(*s.ShareId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ShareId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetShareId sets the ShareId field's value. +func (s *GetShareInput) SetShareId(v string) *GetShareInput { + s.ShareId = &v + return s +} + +type GetShareOutput struct { + _ struct{} `type:"structure"` + + // An analytic store share details object. contains status, resourceArn, ownerId, + // etc. + Share *ShareDetails `locationName:"share" 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 GetShareOutput) 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 GetShareOutput) GoString() string { + return s.String() +} + +// SetShare sets the Share field's value. +func (s *GetShareOutput) SetShare(v *ShareDetails) *GetShareOutput { + s.Share = v + return s +} + type GetVariantImportJobInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -15814,7 +18067,162 @@ type ListAnnotationImportJobsInput 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 ListAnnotationImportJobsInput) String() string { +func (s ListAnnotationImportJobsInput) 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 ListAnnotationImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAnnotationImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAnnotationImportJobsInput"} + if s.Ids != nil && len(s.Ids) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListAnnotationImportJobsInput) SetFilter(v *ListAnnotationImportJobsFilter) *ListAnnotationImportJobsInput { + s.Filter = v + return s +} + +// SetIds sets the Ids field's value. +func (s *ListAnnotationImportJobsInput) SetIds(v []*string) *ListAnnotationImportJobsInput { + s.Ids = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAnnotationImportJobsInput) SetMaxResults(v int64) *ListAnnotationImportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnnotationImportJobsInput) SetNextToken(v string) *ListAnnotationImportJobsInput { + s.NextToken = &v + return s +} + +type ListAnnotationImportJobsOutput struct { + _ struct{} `type:"structure"` + + // A list of jobs. + AnnotationImportJobs []*AnnotationImportJobItem `locationName:"annotationImportJobs" type:"list"` + + // Specifies the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `locationName:"nextToken" 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 ListAnnotationImportJobsOutput) 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 ListAnnotationImportJobsOutput) GoString() string { + return s.String() +} + +// SetAnnotationImportJobs sets the AnnotationImportJobs field's value. +func (s *ListAnnotationImportJobsOutput) SetAnnotationImportJobs(v []*AnnotationImportJobItem) *ListAnnotationImportJobsOutput { + s.AnnotationImportJobs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAnnotationImportJobsOutput) SetNextToken(v string) *ListAnnotationImportJobsOutput { + s.NextToken = &v + return s +} + +// Use filters to focus the returned annotation store versions on a specific +// parameter, such as the status of the annotation store. +type ListAnnotationStoreVersionsFilter struct { + _ struct{} `type:"structure"` + + // The status of an annotation store version. + Status *string `locationName:"status" type:"string" enum:"VersionStatus"` +} + +// 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 ListAnnotationStoreVersionsFilter) 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 ListAnnotationStoreVersionsFilter) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *ListAnnotationStoreVersionsFilter) SetStatus(v string) *ListAnnotationStoreVersionsFilter { + s.Status = &v + return s +} + +type ListAnnotationStoreVersionsInput struct { + _ struct{} `type:"structure"` + + // A filter to apply to the list of annotation store versions. + Filter *ListAnnotationStoreVersionsFilter `locationName:"filter" type:"structure"` + + // The maximum number of annotation store versions to return in one page of + // results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The name of an annotation store. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // Specifies the pagination token from a previous request to retrieve the next + // page of results. + NextToken *string `location:"querystring" locationName:"nextToken" 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 ListAnnotationStoreVersionsInput) String() string { return awsutil.Prettify(s) } @@ -15823,19 +18231,22 @@ func (s ListAnnotationImportJobsInput) 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 ListAnnotationImportJobsInput) GoString() string { +func (s ListAnnotationStoreVersionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAnnotationImportJobsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAnnotationImportJobsInput"} - if s.Ids != nil && len(s.Ids) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Ids", 1)) - } +func (s *ListAnnotationStoreVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAnnotationStoreVersionsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } @@ -15847,34 +18258,34 @@ func (s *ListAnnotationImportJobsInput) Validate() error { } // SetFilter sets the Filter field's value. -func (s *ListAnnotationImportJobsInput) SetFilter(v *ListAnnotationImportJobsFilter) *ListAnnotationImportJobsInput { +func (s *ListAnnotationStoreVersionsInput) SetFilter(v *ListAnnotationStoreVersionsFilter) *ListAnnotationStoreVersionsInput { s.Filter = v return s } -// SetIds sets the Ids field's value. -func (s *ListAnnotationImportJobsInput) SetIds(v []*string) *ListAnnotationImportJobsInput { - s.Ids = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListAnnotationStoreVersionsInput) SetMaxResults(v int64) *ListAnnotationStoreVersionsInput { + s.MaxResults = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListAnnotationImportJobsInput) SetMaxResults(v int64) *ListAnnotationImportJobsInput { - s.MaxResults = &v +// SetName sets the Name field's value. +func (s *ListAnnotationStoreVersionsInput) SetName(v string) *ListAnnotationStoreVersionsInput { + s.Name = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAnnotationImportJobsInput) SetNextToken(v string) *ListAnnotationImportJobsInput { +func (s *ListAnnotationStoreVersionsInput) SetNextToken(v string) *ListAnnotationStoreVersionsInput { s.NextToken = &v return s } -type ListAnnotationImportJobsOutput struct { +type ListAnnotationStoreVersionsOutput struct { _ struct{} `type:"structure"` - // A list of jobs. - AnnotationImportJobs []*AnnotationImportJobItem `locationName:"annotationImportJobs" type:"list"` + // Lists all versions of an annotation store. + AnnotationStoreVersions []*AnnotationStoreVersionItem `locationName:"annotationStoreVersions" type:"list"` // Specifies the pagination token from a previous request to retrieve the next // page of results. @@ -15886,7 +18297,7 @@ type ListAnnotationImportJobsOutput 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 ListAnnotationImportJobsOutput) String() string { +func (s ListAnnotationStoreVersionsOutput) String() string { return awsutil.Prettify(s) } @@ -15895,18 +18306,18 @@ func (s ListAnnotationImportJobsOutput) 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 ListAnnotationImportJobsOutput) GoString() string { +func (s ListAnnotationStoreVersionsOutput) GoString() string { return s.String() } -// SetAnnotationImportJobs sets the AnnotationImportJobs field's value. -func (s *ListAnnotationImportJobsOutput) SetAnnotationImportJobs(v []*AnnotationImportJobItem) *ListAnnotationImportJobsOutput { - s.AnnotationImportJobs = v +// SetAnnotationStoreVersions sets the AnnotationStoreVersions field's value. +func (s *ListAnnotationStoreVersionsOutput) SetAnnotationStoreVersions(v []*AnnotationStoreVersionItem) *ListAnnotationStoreVersionsOutput { + s.AnnotationStoreVersions = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAnnotationImportJobsOutput) SetNextToken(v string) *ListAnnotationImportJobsOutput { +func (s *ListAnnotationStoreVersionsOutput) SetNextToken(v string) *ListAnnotationStoreVersionsOutput { s.NextToken = &v return s } @@ -17677,6 +20088,128 @@ func (s *ListSequenceStoresOutput) SetSequenceStores(v []*SequenceStoreDetail) * return s } +type ListSharesInput struct { + _ struct{} `type:"structure"` + + // Attributes used to filter for a specific subset of shares. + Filter *Filter `locationName:"filter" type:"structure"` + + // The maximum number of shares to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // Next token returned in the response of a previous ListReadSetUploadPartsRequest + // call. Used to get the next page of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The account that owns the analytics store shared. + // + // ResourceOwner is a required field + ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"` +} + +// 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 ListSharesInput) 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 ListSharesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSharesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSharesInput"} + if s.ResourceOwner == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceOwner")) + } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListSharesInput) SetFilter(v *Filter) *ListSharesInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListSharesInput) SetMaxResults(v int64) *ListSharesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSharesInput) SetNextToken(v string) *ListSharesInput { + s.NextToken = &v + return s +} + +// SetResourceOwner sets the ResourceOwner field's value. +func (s *ListSharesInput) SetResourceOwner(v string) *ListSharesInput { + s.ResourceOwner = &v + return s +} + +type ListSharesOutput struct { + _ struct{} `type:"structure"` + + // Next token returned in the response of a previous ListSharesResponse call. + // Used to get the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The shares available and their meta details. + // + // Shares is a required field + Shares []*ShareDetails `locationName:"shares" 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 ListSharesOutput) 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 ListSharesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSharesOutput) SetNextToken(v string) *ListSharesOutput { + s.NextToken = &v + return s +} + +// SetShares sets the Shares field's value. +func (s *ListSharesOutput) SetShares(v []*ShareDetails) *ListSharesOutput { + s.Shares = v + return s +} + type ListTagsForResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -20151,6 +22684,112 @@ func (s *ServiceQuotaExceededException) RequestID() string { return s.RespMetadata.RequestID } +// The details of a share. +type ShareDetails struct { + _ struct{} `type:"structure"` + + // The timestamp for when the share was created. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + + // The account ID for the data owner. The owner creates the share offer. + OwnerId *string `locationName:"ownerId" type:"string"` + + // The principal subscriber is the account the analytics store data is being + // shared with. + PrincipalSubscriber *string `locationName:"principalSubscriber" type:"string"` + + // The resource Arn of the analytics store being shared. + ResourceArn *string `locationName:"resourceArn" type:"string"` + + // The ID for a share offer for an analytics store . + ShareId *string `locationName:"shareId" type:"string"` + + // The name of the share. + ShareName *string `locationName:"shareName" min:"1" type:"string"` + + // The status of a share. + Status *string `locationName:"status" type:"string" enum:"ShareStatus"` + + // The status message for a share. It provides more details on the status of + // the share. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The timestamp of the share update. + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601"` +} + +// 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 ShareDetails) 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 ShareDetails) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ShareDetails) SetCreationTime(v time.Time) *ShareDetails { + s.CreationTime = &v + return s +} + +// SetOwnerId sets the OwnerId field's value. +func (s *ShareDetails) SetOwnerId(v string) *ShareDetails { + s.OwnerId = &v + return s +} + +// SetPrincipalSubscriber sets the PrincipalSubscriber field's value. +func (s *ShareDetails) SetPrincipalSubscriber(v string) *ShareDetails { + s.PrincipalSubscriber = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ShareDetails) SetResourceArn(v string) *ShareDetails { + s.ResourceArn = &v + return s +} + +// SetShareId sets the ShareId field's value. +func (s *ShareDetails) SetShareId(v string) *ShareDetails { + s.ShareId = &v + return s +} + +// SetShareName sets the ShareName field's value. +func (s *ShareDetails) SetShareName(v string) *ShareDetails { + s.ShareName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ShareDetails) SetStatus(v string) *ShareDetails { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ShareDetails) SetStatusMessage(v string) *ShareDetails { + s.StatusMessage = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ShareDetails) SetUpdateTime(v time.Time) *ShareDetails { + s.UpdateTime = &v + return s +} + // Source files for a sequence. type SourceFiles struct { _ struct{} `type:"structure"` @@ -20292,6 +22931,9 @@ type StartAnnotationImportJobInput struct { // The job's left normalization setting. RunLeftNormalization *bool `locationName:"runLeftNormalization" type:"boolean"` + + // The name of the annotation store version. + VersionName *string `locationName:"versionName" min:"3" type:"string"` } // String returns the string representation. @@ -20333,6 +22975,9 @@ func (s *StartAnnotationImportJobInput) Validate() error { if s.RoleArn != nil && len(*s.RoleArn) < 20 { invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) } + if s.VersionName != nil && len(*s.VersionName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("VersionName", 3)) + } if s.FormatOptions != nil { if err := s.FormatOptions.Validate(); err != nil { invalidParams.AddNested("FormatOptions", err.(request.ErrInvalidParams)) @@ -20391,6 +23036,12 @@ func (s *StartAnnotationImportJobInput) SetRunLeftNormalization(v bool) *StartAn return s } +// SetVersionName sets the VersionName field's value. +func (s *StartAnnotationImportJobInput) SetVersionName(v string) *StartAnnotationImportJobInput { + s.VersionName = &v + return s +} + type StartAnnotationImportJobOutput struct { _ struct{} `type:"structure"` @@ -22164,23 +24815,86 @@ func (s *TsvOptions) Validate() error { return nil } -// SetReadOptions sets the ReadOptions field's value. -func (s *TsvOptions) SetReadOptions(v *ReadOptions) *TsvOptions { - s.ReadOptions = v +// SetReadOptions sets the ReadOptions field's value. +func (s *TsvOptions) SetReadOptions(v *ReadOptions) *TsvOptions { + s.ReadOptions = v + return s +} + +// File settings for a TSV store. +type TsvStoreOptions struct { + _ struct{} `type:"structure"` + + // The store's annotation type. + AnnotationType *string `locationName:"annotationType" type:"string" enum:"AnnotationType"` + + // The store's header key to column name mapping. + FormatToHeader map[string]*string `locationName:"formatToHeader" type:"map"` + + // The store's schema. + Schema []map[string]*string `locationName:"schema" min:"1" 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 TsvStoreOptions) 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 TsvStoreOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TsvStoreOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TsvStoreOptions"} + if s.Schema != nil && len(s.Schema) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Schema", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnnotationType sets the AnnotationType field's value. +func (s *TsvStoreOptions) SetAnnotationType(v string) *TsvStoreOptions { + s.AnnotationType = &v + return s +} + +// SetFormatToHeader sets the FormatToHeader field's value. +func (s *TsvStoreOptions) SetFormatToHeader(v map[string]*string) *TsvStoreOptions { + s.FormatToHeader = v + return s +} + +// SetSchema sets the Schema field's value. +func (s *TsvStoreOptions) SetSchema(v []map[string]*string) *TsvStoreOptions { + s.Schema = v return s } -// File settings for a TSV store. -type TsvStoreOptions struct { +// The options for a TSV file. +type TsvVersionOptions struct { _ struct{} `type:"structure"` - // The store's annotation type. + // The store version's annotation type. AnnotationType *string `locationName:"annotationType" type:"string" enum:"AnnotationType"` - // The store's header key to column name mapping. + // The annotation store version's header key to column name mapping. FormatToHeader map[string]*string `locationName:"formatToHeader" type:"map"` - // The store's schema. + // The TSV schema for an annotation store version. Schema []map[string]*string `locationName:"schema" min:"1" type:"list"` } @@ -22189,7 +24903,7 @@ type TsvStoreOptions 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 TsvStoreOptions) String() string { +func (s TsvVersionOptions) String() string { return awsutil.Prettify(s) } @@ -22198,13 +24912,13 @@ func (s TsvStoreOptions) 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 TsvStoreOptions) GoString() string { +func (s TsvVersionOptions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TsvStoreOptions) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TsvStoreOptions"} +func (s *TsvVersionOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TsvVersionOptions"} if s.Schema != nil && len(s.Schema) < 1 { invalidParams.Add(request.NewErrParamMinLen("Schema", 1)) } @@ -22216,19 +24930,19 @@ func (s *TsvStoreOptions) Validate() error { } // SetAnnotationType sets the AnnotationType field's value. -func (s *TsvStoreOptions) SetAnnotationType(v string) *TsvStoreOptions { +func (s *TsvVersionOptions) SetAnnotationType(v string) *TsvVersionOptions { s.AnnotationType = &v return s } // SetFormatToHeader sets the FormatToHeader field's value. -func (s *TsvStoreOptions) SetFormatToHeader(v map[string]*string) *TsvStoreOptions { +func (s *TsvVersionOptions) SetFormatToHeader(v map[string]*string) *TsvVersionOptions { s.FormatToHeader = v return s } // SetSchema sets the Schema field's value. -func (s *TsvStoreOptions) SetSchema(v []map[string]*string) *TsvStoreOptions { +func (s *TsvVersionOptions) SetSchema(v []map[string]*string) *TsvVersionOptions { s.Schema = v return s } @@ -22493,6 +25207,191 @@ func (s *UpdateAnnotationStoreOutput) SetUpdateTime(v time.Time) *UpdateAnnotati return s } +type UpdateAnnotationStoreVersionInput struct { + _ struct{} `type:"structure"` + + // The description of an annotation store. + Description *string `locationName:"description" type:"string"` + + // The name of an annotation store. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The name of an annotation store version. + // + // VersionName is a required field + VersionName *string `location:"uri" locationName:"versionName" 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 UpdateAnnotationStoreVersionInput) 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 UpdateAnnotationStoreVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAnnotationStoreVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAnnotationStoreVersionInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.VersionName == nil { + invalidParams.Add(request.NewErrParamRequired("VersionName")) + } + if s.VersionName != nil && len(*s.VersionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("VersionName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateAnnotationStoreVersionInput) SetDescription(v string) *UpdateAnnotationStoreVersionInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateAnnotationStoreVersionInput) SetName(v string) *UpdateAnnotationStoreVersionInput { + s.Name = &v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *UpdateAnnotationStoreVersionInput) SetVersionName(v string) *UpdateAnnotationStoreVersionInput { + s.VersionName = &v + return s +} + +type UpdateAnnotationStoreVersionOutput struct { + _ struct{} `type:"structure"` + + // The time stamp for when an annotation store version was created. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The description of an annotation store version. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // The annotation store version ID. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The name of an annotation store. + // + // Name is a required field + Name *string `locationName:"name" min:"3" type:"string" required:"true"` + + // The status of an annotation store version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"VersionStatus"` + + // The annotation store ID. + // + // StoreId is a required field + StoreId *string `locationName:"storeId" type:"string" required:"true"` + + // The time stamp for when an annotation store version was updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The name of an annotation store version. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" 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 UpdateAnnotationStoreVersionOutput) 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 UpdateAnnotationStoreVersionOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetCreationTime(v time.Time) *UpdateAnnotationStoreVersionOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetDescription(v string) *UpdateAnnotationStoreVersionOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetId(v string) *UpdateAnnotationStoreVersionOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetName(v string) *UpdateAnnotationStoreVersionOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetStatus(v string) *UpdateAnnotationStoreVersionOutput { + s.Status = &v + return s +} + +// SetStoreId sets the StoreId field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetStoreId(v string) *UpdateAnnotationStoreVersionOutput { + s.StoreId = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetUpdateTime(v time.Time) *UpdateAnnotationStoreVersionOutput { + s.UpdateTime = &v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *UpdateAnnotationStoreVersionOutput) SetVersionName(v string) *UpdateAnnotationStoreVersionOutput { + s.VersionName = &v + return s +} + type UpdateRunGroupInput struct { _ struct{} `type:"structure"` @@ -23492,6 +26391,98 @@ func (s *VcfOptions) SetIgnoreQualField(v bool) *VcfOptions { return s } +// The error preventing deletion of the annotation store version. +type VersionDeleteError struct { + _ struct{} `type:"structure"` + + // The message explaining the error in annotation store deletion. + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` + + // The name given to an annotation store version. + // + // VersionName is a required field + VersionName *string `locationName:"versionName" 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 VersionDeleteError) 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 VersionDeleteError) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *VersionDeleteError) SetMessage(v string) *VersionDeleteError { + s.Message = &v + return s +} + +// SetVersionName sets the VersionName field's value. +func (s *VersionDeleteError) SetVersionName(v string) *VersionDeleteError { + s.VersionName = &v + return s +} + +// The options for an annotation store version. +type VersionOptions struct { + _ struct{} `type:"structure"` + + // File settings for a version of a TSV store. + TsvVersionOptions *TsvVersionOptions `locationName:"tsvVersionOptions" 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 VersionOptions) 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 VersionOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VersionOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VersionOptions"} + if s.TsvVersionOptions != nil { + if err := s.TsvVersionOptions.Validate(); err != nil { + invalidParams.AddNested("TsvVersionOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTsvVersionOptions sets the TsvVersionOptions field's value. +func (s *VersionOptions) SetTsvVersionOptions(v *TsvVersionOptions) *VersionOptions { + s.TsvVersionOptions = v + return s +} + // A workflow. type WorkflowListItem struct { _ struct{} `type:"structure"` @@ -24137,6 +27128,22 @@ func ReferenceStatus_Values() []string { } } +const ( + // ResourceOwnerSelf is a ResourceOwner enum value + ResourceOwnerSelf = "SELF" + + // ResourceOwnerOther is a ResourceOwner enum value + ResourceOwnerOther = "OTHER" +) + +// ResourceOwner_Values returns all elements of the ResourceOwner enum +func ResourceOwner_Values() []string { + return []string{ + ResourceOwnerSelf, + ResourceOwnerOther, + } +} + const ( // RunExportDefinition is a RunExport enum value RunExportDefinition = "DEFINITION" @@ -24245,6 +27252,38 @@ func SchemaValueType_Values() []string { } } +const ( + // ShareStatusPending is a ShareStatus enum value + ShareStatusPending = "PENDING" + + // ShareStatusActivating is a ShareStatus enum value + ShareStatusActivating = "ACTIVATING" + + // ShareStatusActive is a ShareStatus enum value + ShareStatusActive = "ACTIVE" + + // ShareStatusDeleting is a ShareStatus enum value + ShareStatusDeleting = "DELETING" + + // ShareStatusDeleted is a ShareStatus enum value + ShareStatusDeleted = "DELETED" + + // ShareStatusFailed is a ShareStatus enum value + ShareStatusFailed = "FAILED" +) + +// ShareStatus_Values returns all elements of the ShareStatus enum +func ShareStatus_Values() []string { + return []string{ + ShareStatusPending, + ShareStatusActivating, + ShareStatusActive, + ShareStatusDeleting, + ShareStatusDeleted, + ShareStatusFailed, + } +} + const ( // StoreFormatGff is a StoreFormat enum value StoreFormatGff = "GFF" @@ -24329,6 +27368,34 @@ func TaskStatus_Values() []string { } } +const ( + // VersionStatusCreating is a VersionStatus enum value + VersionStatusCreating = "CREATING" + + // VersionStatusUpdating is a VersionStatus enum value + VersionStatusUpdating = "UPDATING" + + // VersionStatusDeleting is a VersionStatus enum value + VersionStatusDeleting = "DELETING" + + // VersionStatusActive is a VersionStatus enum value + VersionStatusActive = "ACTIVE" + + // VersionStatusFailed is a VersionStatus enum value + VersionStatusFailed = "FAILED" +) + +// VersionStatus_Values returns all elements of the VersionStatus enum +func VersionStatus_Values() []string { + return []string{ + VersionStatusCreating, + VersionStatusUpdating, + VersionStatusDeleting, + VersionStatusActive, + VersionStatusFailed, + } +} + const ( // WorkflowEngineWdl is a WorkflowEngine enum value WorkflowEngineWdl = "WDL" diff --git a/service/omics/omicsiface/interface.go b/service/omics/omicsiface/interface.go index 4e9ce974e4f..fc51cbed76d 100644 --- a/service/omics/omicsiface/interface.go +++ b/service/omics/omicsiface/interface.go @@ -64,6 +64,10 @@ type OmicsAPI interface { AbortMultipartReadSetUploadWithContext(aws.Context, *omics.AbortMultipartReadSetUploadInput, ...request.Option) (*omics.AbortMultipartReadSetUploadOutput, error) AbortMultipartReadSetUploadRequest(*omics.AbortMultipartReadSetUploadInput) (*request.Request, *omics.AbortMultipartReadSetUploadOutput) + AcceptShare(*omics.AcceptShareInput) (*omics.AcceptShareOutput, error) + AcceptShareWithContext(aws.Context, *omics.AcceptShareInput, ...request.Option) (*omics.AcceptShareOutput, error) + AcceptShareRequest(*omics.AcceptShareInput) (*request.Request, *omics.AcceptShareOutput) + BatchDeleteReadSet(*omics.BatchDeleteReadSetInput) (*omics.BatchDeleteReadSetOutput, error) BatchDeleteReadSetWithContext(aws.Context, *omics.BatchDeleteReadSetInput, ...request.Option) (*omics.BatchDeleteReadSetOutput, error) BatchDeleteReadSetRequest(*omics.BatchDeleteReadSetInput) (*request.Request, *omics.BatchDeleteReadSetOutput) @@ -88,6 +92,10 @@ type OmicsAPI interface { CreateAnnotationStoreWithContext(aws.Context, *omics.CreateAnnotationStoreInput, ...request.Option) (*omics.CreateAnnotationStoreOutput, error) CreateAnnotationStoreRequest(*omics.CreateAnnotationStoreInput) (*request.Request, *omics.CreateAnnotationStoreOutput) + CreateAnnotationStoreVersion(*omics.CreateAnnotationStoreVersionInput) (*omics.CreateAnnotationStoreVersionOutput, error) + CreateAnnotationStoreVersionWithContext(aws.Context, *omics.CreateAnnotationStoreVersionInput, ...request.Option) (*omics.CreateAnnotationStoreVersionOutput, error) + CreateAnnotationStoreVersionRequest(*omics.CreateAnnotationStoreVersionInput) (*request.Request, *omics.CreateAnnotationStoreVersionOutput) + CreateMultipartReadSetUpload(*omics.CreateMultipartReadSetUploadInput) (*omics.CreateMultipartReadSetUploadOutput, error) CreateMultipartReadSetUploadWithContext(aws.Context, *omics.CreateMultipartReadSetUploadInput, ...request.Option) (*omics.CreateMultipartReadSetUploadOutput, error) CreateMultipartReadSetUploadRequest(*omics.CreateMultipartReadSetUploadInput) (*request.Request, *omics.CreateMultipartReadSetUploadOutput) @@ -104,6 +112,10 @@ type OmicsAPI interface { CreateSequenceStoreWithContext(aws.Context, *omics.CreateSequenceStoreInput, ...request.Option) (*omics.CreateSequenceStoreOutput, error) CreateSequenceStoreRequest(*omics.CreateSequenceStoreInput) (*request.Request, *omics.CreateSequenceStoreOutput) + CreateShare(*omics.CreateShareInput) (*omics.CreateShareOutput, error) + CreateShareWithContext(aws.Context, *omics.CreateShareInput, ...request.Option) (*omics.CreateShareOutput, error) + CreateShareRequest(*omics.CreateShareInput) (*request.Request, *omics.CreateShareOutput) + CreateVariantStore(*omics.CreateVariantStoreInput) (*omics.CreateVariantStoreOutput, error) CreateVariantStoreWithContext(aws.Context, *omics.CreateVariantStoreInput, ...request.Option) (*omics.CreateVariantStoreOutput, error) CreateVariantStoreRequest(*omics.CreateVariantStoreInput) (*request.Request, *omics.CreateVariantStoreOutput) @@ -116,6 +128,10 @@ type OmicsAPI interface { DeleteAnnotationStoreWithContext(aws.Context, *omics.DeleteAnnotationStoreInput, ...request.Option) (*omics.DeleteAnnotationStoreOutput, error) DeleteAnnotationStoreRequest(*omics.DeleteAnnotationStoreInput) (*request.Request, *omics.DeleteAnnotationStoreOutput) + DeleteAnnotationStoreVersions(*omics.DeleteAnnotationStoreVersionsInput) (*omics.DeleteAnnotationStoreVersionsOutput, error) + DeleteAnnotationStoreVersionsWithContext(aws.Context, *omics.DeleteAnnotationStoreVersionsInput, ...request.Option) (*omics.DeleteAnnotationStoreVersionsOutput, error) + DeleteAnnotationStoreVersionsRequest(*omics.DeleteAnnotationStoreVersionsInput) (*request.Request, *omics.DeleteAnnotationStoreVersionsOutput) + DeleteReference(*omics.DeleteReferenceInput) (*omics.DeleteReferenceOutput, error) DeleteReferenceWithContext(aws.Context, *omics.DeleteReferenceInput, ...request.Option) (*omics.DeleteReferenceOutput, error) DeleteReferenceRequest(*omics.DeleteReferenceInput) (*request.Request, *omics.DeleteReferenceOutput) @@ -136,6 +152,10 @@ type OmicsAPI interface { DeleteSequenceStoreWithContext(aws.Context, *omics.DeleteSequenceStoreInput, ...request.Option) (*omics.DeleteSequenceStoreOutput, error) DeleteSequenceStoreRequest(*omics.DeleteSequenceStoreInput) (*request.Request, *omics.DeleteSequenceStoreOutput) + DeleteShare(*omics.DeleteShareInput) (*omics.DeleteShareOutput, error) + DeleteShareWithContext(aws.Context, *omics.DeleteShareInput, ...request.Option) (*omics.DeleteShareOutput, error) + DeleteShareRequest(*omics.DeleteShareInput) (*request.Request, *omics.DeleteShareOutput) + DeleteVariantStore(*omics.DeleteVariantStoreInput) (*omics.DeleteVariantStoreOutput, error) DeleteVariantStoreWithContext(aws.Context, *omics.DeleteVariantStoreInput, ...request.Option) (*omics.DeleteVariantStoreOutput, error) DeleteVariantStoreRequest(*omics.DeleteVariantStoreInput) (*request.Request, *omics.DeleteVariantStoreOutput) @@ -152,6 +172,10 @@ type OmicsAPI interface { GetAnnotationStoreWithContext(aws.Context, *omics.GetAnnotationStoreInput, ...request.Option) (*omics.GetAnnotationStoreOutput, error) GetAnnotationStoreRequest(*omics.GetAnnotationStoreInput) (*request.Request, *omics.GetAnnotationStoreOutput) + GetAnnotationStoreVersion(*omics.GetAnnotationStoreVersionInput) (*omics.GetAnnotationStoreVersionOutput, error) + GetAnnotationStoreVersionWithContext(aws.Context, *omics.GetAnnotationStoreVersionInput, ...request.Option) (*omics.GetAnnotationStoreVersionOutput, error) + GetAnnotationStoreVersionRequest(*omics.GetAnnotationStoreVersionInput) (*request.Request, *omics.GetAnnotationStoreVersionOutput) + GetReadSet(*omics.GetReadSetInput) (*omics.GetReadSetOutput, error) GetReadSetWithContext(aws.Context, *omics.GetReadSetInput, ...request.Option) (*omics.GetReadSetOutput, error) GetReadSetRequest(*omics.GetReadSetInput) (*request.Request, *omics.GetReadSetOutput) @@ -204,6 +228,10 @@ type OmicsAPI interface { GetSequenceStoreWithContext(aws.Context, *omics.GetSequenceStoreInput, ...request.Option) (*omics.GetSequenceStoreOutput, error) GetSequenceStoreRequest(*omics.GetSequenceStoreInput) (*request.Request, *omics.GetSequenceStoreOutput) + GetShare(*omics.GetShareInput) (*omics.GetShareOutput, error) + GetShareWithContext(aws.Context, *omics.GetShareInput, ...request.Option) (*omics.GetShareOutput, error) + GetShareRequest(*omics.GetShareInput) (*request.Request, *omics.GetShareOutput) + GetVariantImportJob(*omics.GetVariantImportJobInput) (*omics.GetVariantImportJobOutput, error) GetVariantImportJobWithContext(aws.Context, *omics.GetVariantImportJobInput, ...request.Option) (*omics.GetVariantImportJobOutput, error) GetVariantImportJobRequest(*omics.GetVariantImportJobInput) (*request.Request, *omics.GetVariantImportJobOutput) @@ -223,6 +251,13 @@ type OmicsAPI interface { ListAnnotationImportJobsPages(*omics.ListAnnotationImportJobsInput, func(*omics.ListAnnotationImportJobsOutput, bool) bool) error ListAnnotationImportJobsPagesWithContext(aws.Context, *omics.ListAnnotationImportJobsInput, func(*omics.ListAnnotationImportJobsOutput, bool) bool, ...request.Option) error + ListAnnotationStoreVersions(*omics.ListAnnotationStoreVersionsInput) (*omics.ListAnnotationStoreVersionsOutput, error) + ListAnnotationStoreVersionsWithContext(aws.Context, *omics.ListAnnotationStoreVersionsInput, ...request.Option) (*omics.ListAnnotationStoreVersionsOutput, error) + ListAnnotationStoreVersionsRequest(*omics.ListAnnotationStoreVersionsInput) (*request.Request, *omics.ListAnnotationStoreVersionsOutput) + + ListAnnotationStoreVersionsPages(*omics.ListAnnotationStoreVersionsInput, func(*omics.ListAnnotationStoreVersionsOutput, bool) bool) error + ListAnnotationStoreVersionsPagesWithContext(aws.Context, *omics.ListAnnotationStoreVersionsInput, func(*omics.ListAnnotationStoreVersionsOutput, bool) bool, ...request.Option) error + ListAnnotationStores(*omics.ListAnnotationStoresInput) (*omics.ListAnnotationStoresOutput, error) ListAnnotationStoresWithContext(aws.Context, *omics.ListAnnotationStoresInput, ...request.Option) (*omics.ListAnnotationStoresOutput, error) ListAnnotationStoresRequest(*omics.ListAnnotationStoresInput) (*request.Request, *omics.ListAnnotationStoresOutput) @@ -321,6 +356,13 @@ type OmicsAPI interface { ListSequenceStoresPages(*omics.ListSequenceStoresInput, func(*omics.ListSequenceStoresOutput, bool) bool) error ListSequenceStoresPagesWithContext(aws.Context, *omics.ListSequenceStoresInput, func(*omics.ListSequenceStoresOutput, bool) bool, ...request.Option) error + ListShares(*omics.ListSharesInput) (*omics.ListSharesOutput, error) + ListSharesWithContext(aws.Context, *omics.ListSharesInput, ...request.Option) (*omics.ListSharesOutput, error) + ListSharesRequest(*omics.ListSharesInput) (*request.Request, *omics.ListSharesOutput) + + ListSharesPages(*omics.ListSharesInput, func(*omics.ListSharesOutput, bool) bool) error + ListSharesPagesWithContext(aws.Context, *omics.ListSharesInput, func(*omics.ListSharesOutput, bool) bool, ...request.Option) error + ListTagsForResource(*omics.ListTagsForResourceInput) (*omics.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *omics.ListTagsForResourceInput, ...request.Option) (*omics.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*omics.ListTagsForResourceInput) (*request.Request, *omics.ListTagsForResourceOutput) @@ -386,6 +428,10 @@ type OmicsAPI interface { UpdateAnnotationStoreWithContext(aws.Context, *omics.UpdateAnnotationStoreInput, ...request.Option) (*omics.UpdateAnnotationStoreOutput, error) UpdateAnnotationStoreRequest(*omics.UpdateAnnotationStoreInput) (*request.Request, *omics.UpdateAnnotationStoreOutput) + UpdateAnnotationStoreVersion(*omics.UpdateAnnotationStoreVersionInput) (*omics.UpdateAnnotationStoreVersionOutput, error) + UpdateAnnotationStoreVersionWithContext(aws.Context, *omics.UpdateAnnotationStoreVersionInput, ...request.Option) (*omics.UpdateAnnotationStoreVersionOutput, error) + UpdateAnnotationStoreVersionRequest(*omics.UpdateAnnotationStoreVersionInput) (*request.Request, *omics.UpdateAnnotationStoreVersionOutput) + UpdateRunGroup(*omics.UpdateRunGroupInput) (*omics.UpdateRunGroupOutput, error) UpdateRunGroupWithContext(aws.Context, *omics.UpdateRunGroupInput, ...request.Option) (*omics.UpdateRunGroupOutput, error) UpdateRunGroupRequest(*omics.UpdateRunGroupInput) (*request.Request, *omics.UpdateRunGroupOutput) @@ -411,6 +457,12 @@ type OmicsAPI interface { WaitUntilAnnotationStoreDeleted(*omics.GetAnnotationStoreInput) error WaitUntilAnnotationStoreDeletedWithContext(aws.Context, *omics.GetAnnotationStoreInput, ...request.WaiterOption) error + WaitUntilAnnotationStoreVersionCreated(*omics.GetAnnotationStoreVersionInput) error + WaitUntilAnnotationStoreVersionCreatedWithContext(aws.Context, *omics.GetAnnotationStoreVersionInput, ...request.WaiterOption) error + + WaitUntilAnnotationStoreVersionDeleted(*omics.GetAnnotationStoreVersionInput) error + WaitUntilAnnotationStoreVersionDeletedWithContext(aws.Context, *omics.GetAnnotationStoreVersionInput, ...request.WaiterOption) error + WaitUntilReadSetActivationJobCompleted(*omics.GetReadSetActivationJobInput) error WaitUntilReadSetActivationJobCompletedWithContext(aws.Context, *omics.GetReadSetActivationJobInput, ...request.WaiterOption) error diff --git a/service/omics/waiters.go b/service/omics/waiters.go index 5f81b455a24..91f673fa2ab 100644 --- a/service/omics/waiters.go +++ b/service/omics/waiters.go @@ -192,6 +192,123 @@ func (c *Omics) WaitUntilAnnotationStoreDeletedWithContext(ctx aws.Context, inpu return w.WaitWithContext(ctx) } +// WaitUntilAnnotationStoreVersionCreated uses the Amazon Omics API operation +// GetAnnotationStoreVersion to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilAnnotationStoreVersionCreated(input *GetAnnotationStoreVersionInput) error { + return c.WaitUntilAnnotationStoreVersionCreatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilAnnotationStoreVersionCreatedWithContext is an extended version of WaitUntilAnnotationStoreVersionCreated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// 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 *Omics) WaitUntilAnnotationStoreVersionCreatedWithContext(ctx aws.Context, input *GetAnnotationStoreVersionInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilAnnotationStoreVersionCreated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "ACTIVE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "CREATING", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "UPDATING", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetAnnotationStoreVersionInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAnnotationStoreVersionRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilAnnotationStoreVersionDeleted uses the Amazon Omics API operation +// GetAnnotationStoreVersion to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *Omics) WaitUntilAnnotationStoreVersionDeleted(input *GetAnnotationStoreVersionInput) error { + return c.WaitUntilAnnotationStoreVersionDeletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilAnnotationStoreVersionDeletedWithContext is an extended version of WaitUntilAnnotationStoreVersionDeleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// 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 *Omics) WaitUntilAnnotationStoreVersionDeletedWithContext(ctx aws.Context, input *GetAnnotationStoreVersionInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilAnnotationStoreVersionDeleted", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(30 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "DELETED", + }, + { + State: request.SuccessWaiterState, + Matcher: request.ErrorWaiterMatch, + Expected: "ResourceNotFoundException", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "status", + Expected: "DELETING", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetAnnotationStoreVersionInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetAnnotationStoreVersionRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + // WaitUntilReadSetActivationJobCompleted uses the Amazon Omics API operation // GetReadSetActivationJob to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will diff --git a/service/transfer/api.go b/service/transfer/api.go index 505019c4bf4..359c895979b 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -16432,8 +16432,9 @@ type SftpConnectorConfig struct { // or ecdsa-sha2-nistp521, depending on the size of the key you generated. TrustedHostKeys []*string `min:"1" type:"list"` - // The identifiers for the secrets (in Amazon Web Services Secrets Manager) - // that contain the SFTP user's private keys or passwords. + // The identifier for the secret (in Amazon Web Services Secrets Manager) that + // contains the SFTP user's private key, password, or both. The identifier can + // be either the Amazon Resource Name (ARN) or the name of the secret. UserSecretId *string `min:"1" type:"string"` } @@ -16569,7 +16570,7 @@ type StartFileTransferInput struct { // a source file path for one inbound file transfer. RetrieveFilePaths []*string `min:"1" type:"list"` - // One or more source paths for the Transfer Family server. Each string represents + // One or more source paths for the Amazon S3 storage. Each string represents // a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt . // // Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.