From 3a575e874c6605e4951dbabc94707e9dcc9373c0 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 14 Aug 2023 18:08:31 +0000 Subject: [PATCH] Update API model --- .../sdk-codegen/aws-models/mediapackage.json | 458 ++-- codegen/sdk-codegen/aws-models/omics.json | 2047 +++++++++++++++-- codegen/sdk-codegen/aws-models/transfer.json | 4 +- 3 files changed, 2055 insertions(+), 454 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/mediapackage.json b/codegen/sdk-codegen/aws-models/mediapackage.json index 14829eaf465..1baa33ab550 100644 --- a/codegen/sdk-codegen/aws-models/mediapackage.json +++ b/codegen/sdk-codegen/aws-models/mediapackage.json @@ -202,7 +202,6 @@ "KeyRotationIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Time (in seconds) between each encryption key rotation.", "smithy.api#jsonName": "keyRotationIntervalSeconds" } @@ -258,7 +257,6 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -300,7 +298,6 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -841,7 +838,6 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -855,7 +851,6 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -958,7 +953,6 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -972,7 +966,6 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -1002,7 +995,6 @@ "KeyRotationIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Time (in seconds) between each encryption key rotation.", "smithy.api#jsonName": "keyRotationIntervalSeconds" } @@ -1043,7 +1035,6 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -1058,7 +1049,6 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each manifest.", "smithy.api#jsonName": "manifestWindowSeconds" } @@ -1066,7 +1056,6 @@ "MinBufferTimeSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Minimum duration (in seconds) that a player will buffer media before starting the presentation.", "smithy.api#jsonName": "minBufferTimeSeconds" } @@ -1074,7 +1063,6 @@ "MinUpdatePeriodSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).", "smithy.api#jsonName": "minUpdatePeriodSeconds" } @@ -1096,7 +1084,6 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -1117,7 +1104,6 @@ "SuggestedPresentationDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) to delay live content before presentation.", "smithy.api#jsonName": "suggestedPresentationDelaySeconds" } @@ -1635,7 +1621,6 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -1649,7 +1634,6 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -1835,7 +1819,6 @@ "KeyRotationIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Interval (in seconds) between each encryption key rotation.", "smithy.api#jsonName": "keyRotationIntervalSeconds" } @@ -1843,7 +1826,6 @@ "RepeatExtXKey": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, the EXT-X-KEY tag will be repeated in output manifests.", "smithy.api#jsonName": "repeatExtXKey" } @@ -1896,7 +1878,6 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -1918,7 +1899,6 @@ "PlaylistWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each parent manifest.", "smithy.api#jsonName": "playlistWindowSeconds" } @@ -1926,7 +1906,6 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -1988,7 +1967,6 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -2010,7 +1988,6 @@ "PlaylistWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each parent manifest.", "smithy.api#jsonName": "playlistWindowSeconds" } @@ -2018,7 +1995,6 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -2059,7 +2035,6 @@ "IncludeDvbSubtitles": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.", "smithy.api#jsonName": "includeDvbSubtitles" } @@ -2067,7 +2042,6 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -2082,7 +2056,6 @@ "PlaylistWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each parent manifest.", "smithy.api#jsonName": "playlistWindowSeconds" } @@ -2090,7 +2063,6 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -2098,7 +2070,6 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each fragment. Actual fragments will be\nrounded to the nearest multiple of the source fragment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -2112,7 +2083,6 @@ "UseAudioRenditionGroup": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "When enabled, audio streams will be placed in rendition groups in the output.", "smithy.api#jsonName": "useAudioRenditionGroup" } @@ -2133,7 +2103,7 @@ } }, "Password": { - "target": "com.amazonaws.mediapackage#__string", + "target": "com.amazonaws.mediapackage#SensitiveString", "traits": { "smithy.api#documentation": "The system generated password for ingest authentication.", "smithy.api#jsonName": "password" @@ -2147,7 +2117,7 @@ } }, "Username": { - "target": "com.amazonaws.mediapackage#__string", + "target": "com.amazonaws.mediapackage#SensitiveString", "traits": { "smithy.api#documentation": "The system generated username for ingest authentication.", "smithy.api#jsonName": "username" @@ -2238,7 +2208,6 @@ "MaxResults": { "target": "com.amazonaws.mediapackage#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -2340,7 +2309,6 @@ "MaxResults": { "target": "com.amazonaws.mediapackage#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The upper bound on the number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -2435,7 +2403,6 @@ "MaxResults": { "target": "com.amazonaws.mediapackage#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The upper bound on the number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -2539,7 +2506,6 @@ "com.amazonaws.mediapackage#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2682,52 +2648,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", @@ -2735,13 +2705,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2751,224 +2730,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", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "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" } ] }, @@ -3325,6 +3255,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": { @@ -3338,6 +3279,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": { @@ -3351,6 +3314,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": { @@ -3414,6 +3388,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -3447,7 +3427,6 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The time window (in seconds) contained in each manifest.", "smithy.api#jsonName": "manifestWindowSeconds" } @@ -3455,7 +3434,6 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The duration (in seconds) of each segment.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -3572,7 +3550,6 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -3586,7 +3563,6 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -4073,6 +4049,12 @@ } } }, + "com.amazonaws.mediapackage#SensitiveString": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, "com.amazonaws.mediapackage#ServiceUnavailableException": { "type": "structure", "members": { @@ -4194,7 +4176,6 @@ "MaxVideoBitsPerSecond": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The maximum video bitrate (bps) to include in output.", "smithy.api#jsonName": "maxVideoBitsPerSecond" } @@ -4202,7 +4183,6 @@ "MinVideoBitsPerSecond": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The minimum video bitrate (bps) to include in output.", "smithy.api#jsonName": "minVideoBitsPerSecond" } @@ -4563,7 +4543,6 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (in seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -4571,7 +4550,6 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (in seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -4674,7 +4652,6 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -4688,7 +4665,6 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -4806,16 +4782,10 @@ } }, "com.amazonaws.mediapackage#__boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.mediapackage#__integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.mediapackage#__listOfChannel": { "type": "list", diff --git a/codegen/sdk-codegen/aws-models/omics.json b/codegen/sdk-codegen/aws-models/omics.json index 2c366933ddd..c946df3bd5b 100644 --- a/codegen/sdk-codegen/aws-models/omics.json +++ b/codegen/sdk-codegen/aws-models/omics.json @@ -92,6 +92,79 @@ } } }, + "com.amazonaws.omics#AcceptShare": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#AcceptShareRequest" + }, + "output": { + "target": "com.amazonaws.omics#AcceptShareResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\nAccepts a share for an analytics store. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/share/{shareId}", + "code": 200 + } + } + }, + "com.amazonaws.omics#AcceptShareRequest": { + "type": "structure", + "members": { + "shareId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe ID for a share offer for analytics store data. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#AcceptShareResponse": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.omics#ShareStatus", + "traits": { + "smithy.api#documentation": "

\nThe status of an analytics store share. \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#AccessDeniedException": { "type": "structure", "members": { @@ -348,6 +421,13 @@ "smithy.api#required": {} } }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name of the annotation store version. \n

", + "smithy.api#required": {} + } + }, "roleArn": { "target": "com.amazonaws.omics#Arn", "traits": { @@ -475,7 +555,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

The store's description.

", "smithy.api#required": {} @@ -527,6 +607,125 @@ "target": "com.amazonaws.omics#AnnotationStoreItem" } }, + "com.amazonaws.omics#AnnotationStoreVersion": { + "type": "resource", + "identifiers": { + "name": { + "target": "smithy.api#String" + }, + "versionName": { + "target": "smithy.api#String" + } + }, + "create": { + "target": "com.amazonaws.omics#CreateAnnotationStoreVersion" + }, + "read": { + "target": "com.amazonaws.omics#GetAnnotationStoreVersion" + }, + "update": { + "target": "com.amazonaws.omics#UpdateAnnotationStoreVersion" + }, + "list": { + "target": "com.amazonaws.omics#ListAnnotationStoreVersions" + }, + "collectionOperations": [ + { + "target": "com.amazonaws.omics#DeleteAnnotationStoreVersions" + } + ] + }, + "com.amazonaws.omics#AnnotationStoreVersionItem": { + "type": "structure", + "members": { + "storeId": { + "target": "com.amazonaws.omics#ResourceId", + "traits": { + "smithy.api#documentation": "

\nThe store ID for an annotation store version. \n

", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.omics#ResourceId", + "traits": { + "smithy.api#documentation": "

\nThe annotation store version ID. \n

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.omics#VersionStatus", + "traits": { + "smithy.api#documentation": "

\nThe status of an annotation store version. \n

", + "smithy.api#required": {} + } + }, + "versionArn": { + "target": "com.amazonaws.omics#Arn", + "traits": { + "smithy.api#documentation": "

\nThe Arn for an annotation store version. \n

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.omics#StoreName", + "traits": { + "smithy.api#documentation": "

\nA name given to an annotation store version to distinguish it from others. \n

", + "smithy.api#required": {} + } + }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name of an annotation store version.\n

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.omics#Description", + "traits": { + "smithy.api#documentation": "

\nThe description of an annotation store version. \n

", + "smithy.api#required": {} + } + }, + "creationTime": { + "target": "com.amazonaws.omics#CreationTime", + "traits": { + "smithy.api#documentation": "

\nThe time stamp for when an annotation store version was created. \n

", + "smithy.api#required": {} + } + }, + "updateTime": { + "target": "com.amazonaws.omics#UpdateTime", + "traits": { + "smithy.api#documentation": "

\nThe time stamp for when an annotation store version was updated. \n

", + "smithy.api#required": {} + } + }, + "statusMessage": { + "target": "com.amazonaws.omics#StatusMessage", + "traits": { + "smithy.api#documentation": "

\nThe status of an annotation store version.\n

", + "smithy.api#required": {} + } + }, + "versionSizeBytes": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

\nThe size of an annotation store version in Bytes. \n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\nAnnotation store versions.\n

" + } + }, + "com.amazonaws.omics#AnnotationStoreVersionItems": { + "type": "list", + "member": { + "target": "com.amazonaws.omics#AnnotationStoreVersionItem" + } + }, "com.amazonaws.omics#AnnotationType": { "type": "string", "traits": { @@ -579,6 +778,19 @@ "smithy.api#pattern": "^arn:([^:\n]*):([^:\n]*):([^:\n]*):([0-9]{12}):([^:\n]*)$" } }, + "com.amazonaws.omics#ArnList": { + "type": "list", + "member": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#uniqueItems": {} + } + }, "com.amazonaws.omics#BatchDeleteReadSet": { "type": "operation", "input": { @@ -1064,14 +1276,13 @@ } }, "name": { - "target": "smithy.api#String", + "target": "com.amazonaws.omics#StoreName", "traits": { - "smithy.api#documentation": "

A name for the store.

", - "smithy.api#pattern": "^([a-z]){1}([a-z0-9_]){2,254}$" + "smithy.api#documentation": "

A name for the store.

" } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

A description for the store.

" } @@ -1082,6 +1293,12 @@ "smithy.api#documentation": "

Tags for the store.

" } }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from other versions. \n

" + } + }, "sseConfig": { "target": "com.amazonaws.omics#SseConfig", "traits": { @@ -1148,6 +1365,13 @@ "smithy.api#required": {} } }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from other versions. \n

", + "smithy.api#required": {} + } + }, "creationTime": { "target": "com.amazonaws.omics#CreationTime", "traits": { @@ -1160,26 +1384,23 @@ "smithy.api#output": {} } }, - "com.amazonaws.omics#CreateMultipartReadSetUpload": { + "com.amazonaws.omics#CreateAnnotationStoreVersion": { "type": "operation", "input": { - "target": "com.amazonaws.omics#CreateMultipartReadSetUploadRequest" + "target": "com.amazonaws.omics#CreateAnnotationStoreVersionRequest" }, "output": { - "target": "com.amazonaws.omics#CreateMultipartReadSetUploadResponse" + "target": "com.amazonaws.omics#CreateAnnotationStoreVersionResponse" }, "errors": [ { "target": "com.amazonaws.omics#AccessDeniedException" }, { - "target": "com.amazonaws.omics#InternalServerException" - }, - { - "target": "com.amazonaws.omics#NotSupportedOperationException" + "target": "com.amazonaws.omics#ConflictException" }, { - "target": "com.amazonaws.omics#RequestTimeoutException" + "target": "com.amazonaws.omics#InternalServerException" }, { "target": "com.amazonaws.omics#ResourceNotFoundException" @@ -1195,84 +1416,51 @@ } ], "traits": { - "smithy.api#documentation": "

\n Begins a multipart read set upload. \n

", + "smithy.api#documentation": "

\nCreates a new version of an annotation store. \n

", "smithy.api#endpoint": { - "hostPrefix": "control-storage-" + "hostPrefix": "analytics-" }, "smithy.api#http": { "method": "POST", - "uri": "/sequencestore/{sequenceStoreId}/upload" + "uri": "/annotationStore/{name}/version", + "code": 200 } } }, - "com.amazonaws.omics#CreateMultipartReadSetUploadRequest": { + "com.amazonaws.omics#CreateAnnotationStoreVersionRequest": { "type": "structure", "members": { - "sequenceStoreId": { - "target": "com.amazonaws.omics#SequenceStoreId", + "name": { + "target": "com.amazonaws.omics#StoreName", "traits": { - "smithy.api#documentation": "

\n The sequence store ID for the store that is the destination of the multipart uploads.\n

", + "smithy.api#documentation": "

\nThe name of an annotation store version from which versions are being created. \n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "clientToken": { - "target": "com.amazonaws.omics#ClientToken", - "traits": { - "smithy.api#documentation": "

\n An idempotency token that can be used to avoid triggering multiple multipart uploads.\n

" - } - }, - "sourceFileType": { - "target": "com.amazonaws.omics#FileType", - "traits": { - "smithy.api#documentation": "

\n The type of file being uploaded.\n

", - "smithy.api#required": {} - } - }, - "subjectId": { - "target": "com.amazonaws.omics#SubjectId", - "traits": { - "smithy.api#documentation": "

\n The source's subject ID.\n

", - "smithy.api#required": {} - } - }, - "sampleId": { - "target": "com.amazonaws.omics#SampleId", - "traits": { - "smithy.api#documentation": "

\n The source's sample ID.\n

", - "smithy.api#required": {} - } - }, - "generatedFrom": { - "target": "com.amazonaws.omics#GeneratedFrom", - "traits": { - "smithy.api#documentation": "

\n Where the source originated.\n

" - } - }, - "referenceArn": { - "target": "com.amazonaws.omics#ReferenceArn", + "versionName": { + "target": "com.amazonaws.omics#VersionName", "traits": { - "smithy.api#documentation": "

\n The ARN of the reference.\n

", + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from other versions. \n

", "smithy.api#required": {} } }, - "name": { - "target": "com.amazonaws.omics#ReadSetName", + "description": { + "target": "com.amazonaws.omics#Description", "traits": { - "smithy.api#documentation": "

\n The name of the read set.\n

", - "smithy.api#required": {} + "smithy.api#documentation": "

\nThe description of an annotation store version. \n

" } }, - "description": { - "target": "com.amazonaws.omics#ReadSetDescription", + "versionOptions": { + "target": "com.amazonaws.omics#VersionOptions", "traits": { - "smithy.api#documentation": "

\n The description of the read set.\n

" + "smithy.api#documentation": "

\nThe options for an annotation store version. \n

" } }, "tags": { "target": "com.amazonaws.omics#TagMap", "traits": { - "smithy.api#documentation": "

\n Any tags to add to the read set.\n

" + "smithy.api#documentation": "

\nAny tags added to annotation store version. \n

" } } }, @@ -1280,34 +1468,210 @@ "smithy.api#input": {} } }, - "com.amazonaws.omics#CreateMultipartReadSetUploadResponse": { + "com.amazonaws.omics#CreateAnnotationStoreVersionResponse": { "type": "structure", "members": { - "sequenceStoreId": { - "target": "com.amazonaws.omics#SequenceStoreId", + "id": { + "target": "com.amazonaws.omics#ResourceId", "traits": { - "smithy.api#documentation": "

\n The sequence store ID for the store that the read set will be created in.\n

", + "smithy.api#documentation": "

\nA generated ID for the annotation store \n

", "smithy.api#required": {} } }, - "uploadId": { - "target": "com.amazonaws.omics#UploadId", + "versionName": { + "target": "com.amazonaws.omics#VersionName", "traits": { - "smithy.api#documentation": "

\n he ID for the initiated multipart upload.\n

", + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from other versions. \n

", "smithy.api#required": {} } }, - "sourceFileType": { - "target": "com.amazonaws.omics#FileType", + "storeId": { + "target": "com.amazonaws.omics#ResourceId", "traits": { - "smithy.api#documentation": "

\n The file type of the read set source.\n

", + "smithy.api#documentation": "

\nThe ID for the annotation store from which new versions are being created. \n

", "smithy.api#required": {} } }, - "subjectId": { - "target": "com.amazonaws.omics#SubjectId", + "versionOptions": { + "target": "com.amazonaws.omics#VersionOptions", "traits": { - "smithy.api#documentation": "

\n The source's subject ID.\n

", + "smithy.api#documentation": "

\nThe options for an annotation store version. \n

" + } + }, + "name": { + "target": "com.amazonaws.omics#StoreName", + "traits": { + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from other versions. \n

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.omics#VersionStatus", + "traits": { + "smithy.api#documentation": "

\nThe status of a annotation store version. \n

", + "smithy.api#required": {} + } + }, + "creationTime": { + "target": "com.amazonaws.omics#CreationTime", + "traits": { + "smithy.api#documentation": "

\nThe time stamp for the creation of an annotation store version. \n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.omics#CreateMultipartReadSetUpload": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#CreateMultipartReadSetUploadRequest" + }, + "output": { + "target": "com.amazonaws.omics#CreateMultipartReadSetUploadResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#NotSupportedOperationException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Begins a multipart read set upload. \n

", + "smithy.api#endpoint": { + "hostPrefix": "control-storage-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/sequencestore/{sequenceStoreId}/upload" + } + } + }, + "com.amazonaws.omics#CreateMultipartReadSetUploadRequest": { + "type": "structure", + "members": { + "sequenceStoreId": { + "target": "com.amazonaws.omics#SequenceStoreId", + "traits": { + "smithy.api#documentation": "

\n The sequence store ID for the store that is the destination of the multipart uploads.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.omics#ClientToken", + "traits": { + "smithy.api#documentation": "

\n An idempotency token that can be used to avoid triggering multiple multipart uploads.\n

" + } + }, + "sourceFileType": { + "target": "com.amazonaws.omics#FileType", + "traits": { + "smithy.api#documentation": "

\n The type of file being uploaded.\n

", + "smithy.api#required": {} + } + }, + "subjectId": { + "target": "com.amazonaws.omics#SubjectId", + "traits": { + "smithy.api#documentation": "

\n The source's subject ID.\n

", + "smithy.api#required": {} + } + }, + "sampleId": { + "target": "com.amazonaws.omics#SampleId", + "traits": { + "smithy.api#documentation": "

\n The source's sample ID.\n

", + "smithy.api#required": {} + } + }, + "generatedFrom": { + "target": "com.amazonaws.omics#GeneratedFrom", + "traits": { + "smithy.api#documentation": "

\n Where the source originated.\n

" + } + }, + "referenceArn": { + "target": "com.amazonaws.omics#ReferenceArn", + "traits": { + "smithy.api#documentation": "

\n The ARN of the reference.\n

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.omics#ReadSetName", + "traits": { + "smithy.api#documentation": "

\n The name of the read set.\n

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.omics#ReadSetDescription", + "traits": { + "smithy.api#documentation": "

\n The description of the read set.\n

" + } + }, + "tags": { + "target": "com.amazonaws.omics#TagMap", + "traits": { + "smithy.api#documentation": "

\n Any tags to add to the read set.\n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#CreateMultipartReadSetUploadResponse": { + "type": "structure", + "members": { + "sequenceStoreId": { + "target": "com.amazonaws.omics#SequenceStoreId", + "traits": { + "smithy.api#documentation": "

\n The sequence store ID for the store that the read set will be created in.\n

", + "smithy.api#required": {} + } + }, + "uploadId": { + "target": "com.amazonaws.omics#UploadId", + "traits": { + "smithy.api#documentation": "

\n he ID for the initiated multipart upload.\n

", + "smithy.api#required": {} + } + }, + "sourceFileType": { + "target": "com.amazonaws.omics#FileType", + "traits": { + "smithy.api#documentation": "

\n The file type of the read set source.\n

", + "smithy.api#required": {} + } + }, + "subjectId": { + "target": "com.amazonaws.omics#SubjectId", + "traits": { + "smithy.api#documentation": "

\n The source's subject ID.\n

", "smithy.api#required": {} } }, @@ -1774,6 +2138,103 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#CreateShare": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#CreateShareRequest" + }, + "output": { + "target": "com.amazonaws.omics#CreateShareResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n 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. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/share", + "code": 200 + } + } + }, + "com.amazonaws.omics#CreateShareRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n The resource ARN for the analytics store to be shared.\n

", + "smithy.api#required": {} + } + }, + "principalSubscriber": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#required": {} + } + }, + "shareName": { + "target": "com.amazonaws.omics#ShareName", + "traits": { + "smithy.api#documentation": "

\n A name given to the share. \n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#CreateShareResponse": { + "type": "structure", + "members": { + "shareId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n An ID generated for the share. \n

" + } + }, + "status": { + "target": "com.amazonaws.omics#ShareStatus", + "traits": { + "smithy.api#documentation": "

\n The status of a share. \n

" + } + }, + "shareName": { + "target": "com.amazonaws.omics#ShareName", + "traits": { + "smithy.api#documentation": "

\n A name given to the share. \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#CreateVariantStore": { "type": "operation", "input": { @@ -1828,14 +2289,13 @@ } }, "name": { - "target": "smithy.api#String", + "target": "com.amazonaws.omics#StoreName", "traits": { - "smithy.api#documentation": "

A name for the store.

", - "smithy.api#pattern": "^([a-z]){1}([a-z0-9_]){2,254}$" + "smithy.api#documentation": "

A name for the store.

" } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

A description for the store.

" } @@ -2159,13 +2619,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.omics#DeleteReference": { + "com.amazonaws.omics#DeleteAnnotationStoreVersions": { "type": "operation", "input": { - "target": "com.amazonaws.omics#DeleteReferenceRequest" + "target": "com.amazonaws.omics#DeleteAnnotationStoreVersionsRequest" }, "output": { - "target": "com.amazonaws.omics#DeleteReferenceResponse" + "target": "com.amazonaws.omics#DeleteAnnotationStoreVersionsResponse" }, "errors": [ { @@ -2178,7 +2638,93 @@ "target": "com.amazonaws.omics#InternalServerException" }, { - "target": "com.amazonaws.omics#RequestTimeoutException" + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\nDeletes one or multiple versions of an annotation store. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/annotationStore/{name}/versions/delete", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.omics#DeleteAnnotationStoreVersionsRequest": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe name of the annotation store from which versions are being deleted. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "versions": { + "target": "com.amazonaws.omics#VersionList", + "traits": { + "smithy.api#documentation": "

\nThe versions of an annotation store to be deleted. \n

", + "smithy.api#required": {} + } + }, + "force": { + "target": "smithy.api#PrimitiveBoolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

\nForces the deletion of an annotation store version when imports are in-progress.. \n

", + "smithy.api#httpQuery": "force" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#DeleteAnnotationStoreVersionsResponse": { + "type": "structure", + "members": { + "errors": { + "target": "com.amazonaws.omics#VersionDeleteErrorList", + "traits": { + "smithy.api#documentation": "

\nAny errors that occur when attempting to delete an annotation store version. \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.omics#DeleteReference": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#DeleteReferenceRequest" + }, + "output": { + "target": "com.amazonaws.omics#DeleteReferenceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" }, { "target": "com.amazonaws.omics#ResourceNotFoundException" @@ -2494,6 +3040,80 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#DeleteShare": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#DeleteShareRequest" + }, + "output": { + "target": "com.amazonaws.omics#DeleteShareResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Deletes a share of an analytics store. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "DELETE", + "uri": "/share/{shareId}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.omics#DeleteShareRequest": { + "type": "structure", + "members": { + "shareId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n The ID for the share request to be deleted. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#DeleteShareResponse": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.omics#ShareStatus", + "traits": { + "smithy.api#documentation": "

\n The status of the share being deleted. \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#DeleteVariantStore": { "type": "operation", "input": { @@ -2637,6 +3257,15 @@ "smithy.api#input": {} } }, + "com.amazonaws.omics#Description": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + } + } + }, "com.amazonaws.omics#Encoding": { "type": "string", "traits": { @@ -2880,6 +3509,26 @@ ] } }, + "com.amazonaws.omics#Filter": { + "type": "structure", + "members": { + "resourceArns": { + "target": "com.amazonaws.omics#ArnList", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Resource Number (Arn) for an analytics store. \n

" + } + }, + "status": { + "target": "com.amazonaws.omics#StatusList", + "traits": { + "smithy.api#documentation": "

\nThe status of an annotation store version. \n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

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

" + } + }, "com.amazonaws.omics#FormatOptions": { "type": "union", "members": { @@ -3086,6 +3735,13 @@ "smithy.api#required": {} } }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name of the annotation store version. \n

", + "smithy.api#required": {} + } + }, "roleArn": { "target": "com.amazonaws.omics#Arn", "traits": { @@ -3138,21 +3794,268 @@ "runLeftNormalization": { "target": "com.amazonaws.omics#RunLeftNormalization", "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

The job's left normalization setting.

", + "smithy.api#default": false, + "smithy.api#documentation": "

The job's left normalization setting.

", + "smithy.api#required": {} + } + }, + "formatOptions": { + "target": "com.amazonaws.omics#FormatOptions", + "traits": { + "smithy.api#required": {} + } + }, + "annotationFields": { + "target": "com.amazonaws.omics#AnnotationFieldMap", + "traits": { + "smithy.api#documentation": "

\n The annotation schema generated by the parsed annotation data.\n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.omics#GetAnnotationStore": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#GetAnnotationStoreRequest" + }, + "output": { + "target": "com.amazonaws.omics#GetAnnotationStoreResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets information about an annotation store.

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "GET", + "uri": "/annotationStore/{name}", + "code": 200 + }, + "smithy.api#readonly": {}, + "smithy.waiters#waitable": { + "AnnotationStoreCreated": { + "documentation": "Wait until an annotation store is created", + "minDelay": 30, + "maxDelay": 600, + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "status", + "expected": "ACTIVE", + "comparator": "stringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "status", + "expected": "CREATING", + "comparator": "stringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "status", + "expected": "UPDATING", + "comparator": "stringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "status", + "expected": "FAILED", + "comparator": "stringEquals" + } + } + } + ] + }, + "AnnotationStoreDeleted": { + "documentation": "Wait until an annotation store is deleted.", + "minDelay": 30, + "maxDelay": 600, + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "status", + "expected": "DELETED", + "comparator": "stringEquals" + } + } + }, + { + "state": "success", + "matcher": { + "errorType": "ResourceNotFoundException" + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "status", + "expected": "DELETING", + "comparator": "stringEquals" + } + } + } + ] + } + } + } + }, + "com.amazonaws.omics#GetAnnotationStoreRequest": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The store's name.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#GetAnnotationStoreResponse": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.omics#ResourceId", + "traits": { + "smithy.api#documentation": "

The store's ID.

", + "smithy.api#required": {} + } + }, + "reference": { + "target": "com.amazonaws.omics#ReferenceItem", + "traits": { + "smithy.api#documentation": "

The store's genome reference.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.omics#StoreStatus", + "traits": { + "smithy.api#documentation": "

The store's status.

", + "smithy.api#required": {} + } + }, + "storeArn": { + "target": "com.amazonaws.omics#Arn", + "traits": { + "smithy.api#documentation": "

The store's ARN.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The store's name.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.omics#Description", + "traits": { + "smithy.api#documentation": "

The store's description.

", + "smithy.api#required": {} + } + }, + "sseConfig": { + "target": "com.amazonaws.omics#SseConfig", + "traits": { + "smithy.api#documentation": "

The store's server-side encryption (SSE) settings.

", + "smithy.api#required": {} + } + }, + "creationTime": { + "target": "com.amazonaws.omics#CreationTime", + "traits": { + "smithy.api#documentation": "

When the store was created.

", + "smithy.api#required": {} + } + }, + "updateTime": { + "target": "com.amazonaws.omics#UpdateTime", + "traits": { + "smithy.api#documentation": "

When the store was updated.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.omics#TagMap", + "traits": { + "smithy.api#documentation": "

The store's tags.

", + "smithy.api#required": {} + } + }, + "storeOptions": { + "target": "com.amazonaws.omics#StoreOptions", + "traits": { + "smithy.api#documentation": "

The store's parsing options.

" + } + }, + "storeFormat": { + "target": "com.amazonaws.omics#StoreFormat", + "traits": { + "smithy.api#documentation": "

The store's annotation file format.

" + } + }, + "statusMessage": { + "target": "com.amazonaws.omics#StatusMessage", + "traits": { + "smithy.api#documentation": "

A status message.

", "smithy.api#required": {} } }, - "formatOptions": { - "target": "com.amazonaws.omics#FormatOptions", + "storeSizeBytes": { + "target": "smithy.api#Long", "traits": { + "smithy.api#documentation": "

The store's size in bytes.

", "smithy.api#required": {} } }, - "annotationFields": { - "target": "com.amazonaws.omics#AnnotationFieldMap", + "numVersions": { + "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

\n The annotation schema generated by the parsed annotation data.\n

" + "smithy.api#documentation": "

\nAn integer indicating how many versions of an annotation store exist. \n

", + "smithy.api#required": {} } } }, @@ -3160,13 +4063,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.omics#GetAnnotationStore": { + "com.amazonaws.omics#GetAnnotationStoreVersion": { "type": "operation", "input": { - "target": "com.amazonaws.omics#GetAnnotationStoreRequest" + "target": "com.amazonaws.omics#GetAnnotationStoreVersionRequest" }, "output": { - "target": "com.amazonaws.omics#GetAnnotationStoreResponse" + "target": "com.amazonaws.omics#GetAnnotationStoreVersionResponse" }, "errors": [ { @@ -3186,19 +4089,19 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about an annotation store.

", + "smithy.api#documentation": "

\nRetrieves the metadata for an annotation store version. \n

", "smithy.api#endpoint": { "hostPrefix": "analytics-" }, "smithy.api#http": { "method": "GET", - "uri": "/annotationStore/{name}", + "uri": "/annotationStore/{name}/version/{versionName}", "code": 200 }, "smithy.api#readonly": {}, "smithy.waiters#waitable": { - "AnnotationStoreCreated": { - "documentation": "Wait until an annotation store is created", + "AnnotationStoreVersionCreated": { + "documentation": "Wait until an annotation store version is created", "minDelay": 30, "maxDelay": 600, "acceptors": [ @@ -3244,8 +4147,8 @@ } ] }, - "AnnotationStoreDeleted": { - "documentation": "Wait until an annotation store is deleted.", + "AnnotationStoreVersionDeleted": { + "documentation": "Wait until an annotation store version is deleted.", "minDelay": 30, "maxDelay": 600, "acceptors": [ @@ -3280,13 +4183,21 @@ } } }, - "com.amazonaws.omics#GetAnnotationStoreRequest": { + "com.amazonaws.omics#GetAnnotationStoreVersionRequest": { "type": "structure", "members": { "name": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

The store's name.

", + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from others. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "versionName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from others. \n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3296,102 +4207,96 @@ "smithy.api#input": {} } }, - "com.amazonaws.omics#GetAnnotationStoreResponse": { + "com.amazonaws.omics#GetAnnotationStoreVersionResponse": { "type": "structure", "members": { - "id": { + "storeId": { "target": "com.amazonaws.omics#ResourceId", "traits": { - "smithy.api#documentation": "

The store's ID.

", + "smithy.api#documentation": "

\nThe store ID for annotation store version.\n

", "smithy.api#required": {} } }, - "reference": { - "target": "com.amazonaws.omics#ReferenceItem", + "id": { + "target": "com.amazonaws.omics#ResourceId", "traits": { - "smithy.api#documentation": "

The store's genome reference.

", + "smithy.api#documentation": "

\nThe annotation store version ID.\n

", "smithy.api#required": {} } }, "status": { - "target": "com.amazonaws.omics#StoreStatus", + "target": "com.amazonaws.omics#VersionStatus", "traits": { - "smithy.api#documentation": "

The store's status.

", + "smithy.api#documentation": "

\nThe status of an annotation store version. \n

", "smithy.api#required": {} } }, - "storeArn": { + "versionArn": { "target": "com.amazonaws.omics#Arn", "traits": { - "smithy.api#documentation": "

The store's ARN.

", + "smithy.api#documentation": "

\nThe Arn for the annotation store. \n

", "smithy.api#required": {} } }, "name": { - "target": "smithy.api#String", + "target": "com.amazonaws.omics#StoreName", "traits": { - "smithy.api#documentation": "

The store's name.

", + "smithy.api#documentation": "

\nThe name of the annotation store. \n

", "smithy.api#required": {} } }, - "description": { - "target": "com.amazonaws.omics#StoreDescription", + "versionName": { + "target": "com.amazonaws.omics#VersionName", "traits": { - "smithy.api#documentation": "

The store's description.

", + "smithy.api#documentation": "

\nThe name given to an annotation store version to distinguish it from others. \n

", "smithy.api#required": {} } }, - "sseConfig": { - "target": "com.amazonaws.omics#SseConfig", + "description": { + "target": "com.amazonaws.omics#Description", "traits": { - "smithy.api#documentation": "

The store's server-side encryption (SSE) settings.

", + "smithy.api#documentation": "

\nThe description for an annotation store version. \n

", "smithy.api#required": {} } }, "creationTime": { "target": "com.amazonaws.omics#CreationTime", "traits": { - "smithy.api#documentation": "

When the store was created.

", + "smithy.api#documentation": "

\nThe time stamp for when an annotation store version was created. \n

", "smithy.api#required": {} } }, "updateTime": { "target": "com.amazonaws.omics#UpdateTime", "traits": { - "smithy.api#documentation": "

When the store was updated.

", + "smithy.api#documentation": "

\nThe time stamp for when an annotation store version was updated. \n

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.omics#TagMap", "traits": { - "smithy.api#documentation": "

The store's tags.

", + "smithy.api#documentation": "

\nAny tags associated with an annotation store version. \n

", "smithy.api#required": {} } }, - "storeOptions": { - "target": "com.amazonaws.omics#StoreOptions", - "traits": { - "smithy.api#documentation": "

The store's parsing options.

" - } - }, - "storeFormat": { - "target": "com.amazonaws.omics#StoreFormat", + "versionOptions": { + "target": "com.amazonaws.omics#VersionOptions", "traits": { - "smithy.api#documentation": "

The store's annotation file format.

" + "smithy.api#documentation": "

\nThe options for an annotation store version. \n

" } }, "statusMessage": { "target": "com.amazonaws.omics#StatusMessage", "traits": { - "smithy.api#documentation": "

A status message.

", + "smithy.api#documentation": "

\nThe status of an annotation store version.\n

", "smithy.api#required": {} } }, - "storeSizeBytes": { + "versionSizeBytes": { "target": "smithy.api#Long", "traits": { - "smithy.api#documentation": "

The store's size in bytes.

", + "smithy.api#documentation": "

\nThe size of the annotation store version in Bytes. \n

", "smithy.api#required": {} } } @@ -5745,6 +6650,80 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#GetShare": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#GetShareRequest" + }, + "output": { + "target": "com.amazonaws.omics#GetShareResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Retrieves the metadata for a share. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "GET", + "uri": "/share/{shareId}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.omics#GetShareRequest": { + "type": "structure", + "members": { + "shareId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n The generated ID for a share. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#GetShareResponse": { + "type": "structure", + "members": { + "share": { + "target": "com.amazonaws.omics#ShareDetails", + "traits": { + "smithy.api#documentation": "

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

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#GetVariantImportJob": { "type": "operation", "input": { @@ -6117,7 +7096,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

The store's description.

", "smithy.api#required": {} @@ -6792,38 +7771,168 @@ "name": "COMPLETED_WITH_FAILURES", "documentation": "The Job completed with failed runs" } - ] - } - }, - "com.amazonaws.omics#JobStatusMessage": { - "type": "string", + ] + } + }, + "com.amazonaws.omics#JobStatusMessage": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 127 + }, + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, + "com.amazonaws.omics#JobStatusMsg": { + "type": "string" + }, + "com.amazonaws.omics#LineSep": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.omics#ListAnnotationImportJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#ListAnnotationImportJobsRequest" + }, + "output": { + "target": "com.amazonaws.omics#ListAnnotationImportJobsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves a list of annotation import jobs.

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/import/annotations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "annotationImportJobs" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.omics#ListAnnotationImportJobsFilter": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.omics#JobStatus", + "traits": { + "smithy.api#documentation": "

A status to filter on.

" + } + }, + "storeName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A store name to filter on.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A filter for annotation import jobs.

" + } + }, + "com.amazonaws.omics#ListAnnotationImportJobsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "ids": { + "target": "com.amazonaws.omics#IdList", + "traits": { + "smithy.api#documentation": "

IDs of annotation import jobs to retrieve.

", + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "nextToken", + "smithy.api#length": { + "min": 1, + "max": 10000 + } + } + }, + "filter": { + "target": "com.amazonaws.omics#ListAnnotationImportJobsFilter", + "traits": { + "smithy.api#documentation": "

A filter to apply to the list.

" + } + } + }, "traits": { - "smithy.api#length": { - "min": 1, - "max": 127 - }, - "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + "smithy.api#input": {} } }, - "com.amazonaws.omics#JobStatusMsg": { - "type": "string" - }, - "com.amazonaws.omics#LineSep": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 + "com.amazonaws.omics#ListAnnotationImportJobsResponse": { + "type": "structure", + "members": { + "annotationImportJobs": { + "target": "com.amazonaws.omics#AnnotationImportJobItems", + "traits": { + "smithy.api#documentation": "

A list of jobs.

" + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

" + } } + }, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.omics#ListAnnotationImportJobs": { + "com.amazonaws.omics#ListAnnotationStoreVersions": { "type": "operation", "input": { - "target": "com.amazonaws.omics#ListAnnotationImportJobsRequest" + "target": "com.amazonaws.omics#ListAnnotationStoreVersionsRequest" }, "output": { - "target": "com.amazonaws.omics#ListAnnotationImportJobsResponse" + "target": "com.amazonaws.omics#ListAnnotationStoreVersionsResponse" }, "errors": [ { @@ -6843,51 +7952,53 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of annotation import jobs.

", + "smithy.api#documentation": "

\nLists the versions of an annotation store. \n

", "smithy.api#endpoint": { "hostPrefix": "analytics-" }, "smithy.api#http": { "method": "POST", - "uri": "/import/annotations", + "uri": "/annotationStore/{name}/versions", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults", - "items": "annotationImportJobs" + "items": "annotationStoreVersions" }, "smithy.api#readonly": {} } }, - "com.amazonaws.omics#ListAnnotationImportJobsFilter": { + "com.amazonaws.omics#ListAnnotationStoreVersionsFilter": { "type": "structure", "members": { "status": { - "target": "com.amazonaws.omics#JobStatus", - "traits": { - "smithy.api#documentation": "

A status to filter on.

" - } - }, - "storeName": { - "target": "smithy.api#String", + "target": "com.amazonaws.omics#VersionStatus", "traits": { - "smithy.api#documentation": "

A store name to filter on.

" + "smithy.api#documentation": "

\nThe status of an annotation store version. \n

" } } }, "traits": { - "smithy.api#documentation": "

A filter for annotation import jobs.

" + "smithy.api#documentation": "

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

" } }, - "com.amazonaws.omics#ListAnnotationImportJobsRequest": { + "com.amazonaws.omics#ListAnnotationStoreVersionsRequest": { "type": "structure", "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe name of an annotation store. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

\nThe maximum number of annotation store versions to return in one page of results.\n

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { "min": 1, @@ -6895,20 +8006,10 @@ } } }, - "ids": { - "target": "com.amazonaws.omics#IdList", - "traits": { - "smithy.api#documentation": "

IDs of annotation import jobs to retrieve.

", - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

\nSpecifies the pagination token from a previous request to retrieve the next page of results.\n

", "smithy.api#httpQuery": "nextToken", "smithy.api#length": { "min": 1, @@ -6917,9 +8018,9 @@ } }, "filter": { - "target": "com.amazonaws.omics#ListAnnotationImportJobsFilter", + "target": "com.amazonaws.omics#ListAnnotationStoreVersionsFilter", "traits": { - "smithy.api#documentation": "

A filter to apply to the list.

" + "smithy.api#documentation": "

\nA filter to apply to the list of annotation store versions.\n

" } } }, @@ -6927,19 +8028,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.omics#ListAnnotationImportJobsResponse": { + "com.amazonaws.omics#ListAnnotationStoreVersionsResponse": { "type": "structure", "members": { - "annotationImportJobs": { - "target": "com.amazonaws.omics#AnnotationImportJobItems", + "annotationStoreVersions": { + "target": "com.amazonaws.omics#AnnotationStoreVersionItems", "traits": { - "smithy.api#documentation": "

A list of jobs.

" + "smithy.api#documentation": "

\nLists all versions of an annotation store.\n

" } }, "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

\nSpecifies the pagination token from a previous request to retrieve the next page of results.\n

" } } }, @@ -8474,6 +9575,112 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#ListShares": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#ListSharesRequest" + }, + "output": { + "target": "com.amazonaws.omics#ListSharesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Lists all shares associated with an account. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/shares", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "shares" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.omics#ListSharesRequest": { + "type": "structure", + "members": { + "resourceOwner": { + "target": "com.amazonaws.omics#ResourceOwner", + "traits": { + "smithy.api#documentation": "

\n The account that owns the analytics store shared. \n

", + "smithy.api#required": {} + } + }, + "filter": { + "target": "com.amazonaws.omics#Filter", + "traits": { + "smithy.api#documentation": "

\n Attributes used to filter for a specific subset of shares. \n

" + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "maxResults" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#ListSharesResponse": { + "type": "structure", + "members": { + "shares": { + "target": "com.amazonaws.omics#ShareDetailsList", + "traits": { + "smithy.api#documentation": "

\n The shares available and their meta details. \n

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#ListTagsForResource": { "type": "operation", "input": { @@ -9054,6 +10261,9 @@ { "target": "com.amazonaws.omics#AnnotationStore" }, + { + "target": "com.amazonaws.omics#AnnotationStoreVersion" + }, { "target": "com.amazonaws.omics#ReferenceStoreResource" }, @@ -9066,6 +10276,9 @@ { "target": "com.amazonaws.omics#SequenceStoreResource" }, + { + "target": "com.amazonaws.omics#Share" + }, { "target": "com.amazonaws.omics#TaggingResource" }, @@ -11102,6 +12315,23 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.omics#ResourceOwner": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SELF", + "name": "SELF", + "documentation": "The resource owner is the calling account" + }, + { + "value": "OTHER", + "name": "OTHER", + "documentation": "The resource owner is an account other than the caller" + } + ] + } + }, "com.amazonaws.omics#RoleArn": { "type": "string", "traits": { @@ -11984,9 +13214,147 @@ } }, "traits": { - "smithy.api#documentation": "

The request exceeds a service quota.

", - "smithy.api#error": "client", - "smithy.api#httpError": 402 + "smithy.api#documentation": "

The request exceeds a service quota.

", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.omics#Share": { + "type": "resource", + "identifiers": { + "shareId": { + "target": "smithy.api#String" + } + }, + "create": { + "target": "com.amazonaws.omics#CreateShare" + }, + "read": { + "target": "com.amazonaws.omics#GetShare" + }, + "update": { + "target": "com.amazonaws.omics#AcceptShare" + }, + "delete": { + "target": "com.amazonaws.omics#DeleteShare" + }, + "list": { + "target": "com.amazonaws.omics#ListShares" + } + }, + "com.amazonaws.omics#ShareDetails": { + "type": "structure", + "members": { + "shareId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n The ID for a share offer for an analytics store .\n

" + } + }, + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n The resource Arn of the analytics store being shared. \n

" + } + }, + "principalSubscriber": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

" + } + }, + "ownerId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

" + } + }, + "status": { + "target": "com.amazonaws.omics#ShareStatus", + "traits": { + "smithy.api#documentation": "

\n The status of a share. \n

" + } + }, + "statusMessage": { + "target": "com.amazonaws.omics#StatusMessage", + "traits": { + "smithy.api#documentation": "

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

" + } + }, + "shareName": { + "target": "com.amazonaws.omics#ShareName", + "traits": { + "smithy.api#documentation": "

\n The name of the share. \n

" + } + }, + "creationTime": { + "target": "com.amazonaws.omics#CreationTime", + "traits": { + "smithy.api#documentation": "

\n The timestamp for when the share was created. \n

" + } + }, + "updateTime": { + "target": "com.amazonaws.omics#UpdateTime", + "traits": { + "smithy.api#documentation": "

\n The timestamp of the share update. \n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The details of a share. \n

" + } + }, + "com.amazonaws.omics#ShareDetailsList": { + "type": "list", + "member": { + "target": "com.amazonaws.omics#ShareDetails" + } + }, + "com.amazonaws.omics#ShareName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + } + }, + "com.amazonaws.omics#ShareStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING", + "name": "PENDING", + "documentation": "The share has been created but is not yet active" + }, + { + "value": "ACTIVATING", + "name": "ACTIVATING", + "documentation": "The share is activated" + }, + { + "value": "ACTIVE", + "name": "ACTIVE", + "documentation": "The share is active and can be used" + }, + { + "value": "DELETING", + "name": "DELETING", + "documentation": "The share is being deleted" + }, + { + "value": "DELETED", + "name": "DELETED", + "documentation": "The share has been deleted" + }, + { + "value": "FAILED", + "name": "FAILED", + "documentation": "The share has failed to activate or delete" + } + ] } }, "com.amazonaws.omics#SourceFiles": { @@ -12100,6 +13468,12 @@ "smithy.api#required": {} } }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name of the annotation store version. \n

" + } + }, "formatOptions": { "target": "com.amazonaws.omics#FormatOptions", "traits": { @@ -13042,21 +14416,21 @@ "smithy.api#output": {} } }, - "com.amazonaws.omics#StatusMessage": { - "type": "string", + "com.amazonaws.omics#StatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.omics#ShareStatus" + }, "traits": { - "smithy.api#length": { - "min": 0, - "max": 1000 - } + "smithy.api#uniqueItems": {} } }, - "com.amazonaws.omics#StoreDescription": { + "com.amazonaws.omics#StatusMessage": { "type": "string", "traits": { "smithy.api#length": { "min": 0, - "max": 500 + "max": 1000 } } }, @@ -13560,6 +14934,36 @@ "smithy.api#documentation": "

File settings for a TSV store.

" } }, + "com.amazonaws.omics#TsvVersionOptions": { + "type": "structure", + "members": { + "annotationType": { + "target": "com.amazonaws.omics#AnnotationType", + "traits": { + "smithy.api#documentation": "

\nThe store version's annotation type.\n

" + } + }, + "formatToHeader": { + "target": "com.amazonaws.omics#FormatToHeader", + "traits": { + "smithy.api#documentation": "

\nThe annotation store version's header key to column name mapping.\n

" + } + }, + "schema": { + "target": "com.amazonaws.omics#Schema", + "traits": { + "smithy.api#documentation": "

\nThe TSV schema for an annotation store version. \n

", + "smithy.api#length": { + "min": 1, + "max": 5000 + } + } + } + }, + "traits": { + "smithy.api#documentation": "

\nThe options for a TSV file.\n

" + } + }, "com.amazonaws.omics#UntagResource": { "type": "operation", "input": { @@ -13687,7 +15091,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

A description for the store.

" } @@ -13729,7 +15133,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

The store's description.

", "smithy.api#required": {} @@ -13766,6 +15170,137 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#UpdateAnnotationStoreVersion": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#UpdateAnnotationStoreVersionRequest" + }, + "output": { + "target": "com.amazonaws.omics#UpdateAnnotationStoreVersionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\nUpdates the description of an annotation store version. \n

", + "smithy.api#endpoint": { + "hostPrefix": "analytics-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/annotationStore/{name}/version/{versionName}", + "code": 200 + } + } + }, + "com.amazonaws.omics#UpdateAnnotationStoreVersionRequest": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe name of an annotation store. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "versionName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe name of an annotation store version. \n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.omics#Description", + "traits": { + "smithy.api#documentation": "

\nThe description of an annotation store. \n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#UpdateAnnotationStoreVersionResponse": { + "type": "structure", + "members": { + "storeId": { + "target": "com.amazonaws.omics#ResourceId", + "traits": { + "smithy.api#documentation": "

\nThe annotation store ID. \n

", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.omics#ResourceId", + "traits": { + "smithy.api#documentation": "

\nThe annotation store version ID.\n

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.omics#VersionStatus", + "traits": { + "smithy.api#documentation": "

\nThe status of an annotation store version. \n

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.omics#StoreName", + "traits": { + "smithy.api#documentation": "

\nThe name of an annotation store. \n

", + "smithy.api#required": {} + } + }, + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name of an annotation store version.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.omics#Description", + "traits": { + "smithy.api#documentation": "

\nThe description of an annotation store version.\n

", + "smithy.api#required": {} + } + }, + "creationTime": { + "target": "com.amazonaws.omics#CreationTime", + "traits": { + "smithy.api#documentation": "

\nThe time stamp for when an annotation store version was created. \n

", + "smithy.api#required": {} + } + }, + "updateTime": { + "target": "com.amazonaws.omics#UpdateTime", + "traits": { + "smithy.api#documentation": "

\nThe time stamp for when an annotation store version was updated. \n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#UpdateRunGroup": { "type": "operation", "input": { @@ -13929,7 +15464,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

A description for the store.

" } @@ -13971,7 +15506,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

The store's description.

", "smithy.api#required": {} @@ -14431,7 +15966,7 @@ } }, "description": { - "target": "com.amazonaws.omics#StoreDescription", + "target": "com.amazonaws.omics#Description", "traits": { "smithy.api#documentation": "

The store's description.

", "smithy.api#required": {} @@ -14503,6 +16038,102 @@ "smithy.api#documentation": "

Formatting options for a VCF file.

" } }, + "com.amazonaws.omics#VersionDeleteError": { + "type": "structure", + "members": { + "versionName": { + "target": "com.amazonaws.omics#VersionName", + "traits": { + "smithy.api#documentation": "

\nThe name given to an annotation store version.\n

", + "smithy.api#required": {} + } + }, + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\nThe message explaining the error in annotation store deletion.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\nThe error preventing deletion of the annotation store version. \n

" + } + }, + "com.amazonaws.omics#VersionDeleteErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.omics#VersionDeleteError" + } + }, + "com.amazonaws.omics#VersionList": { + "type": "list", + "member": { + "target": "com.amazonaws.omics#VersionName" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.omics#VersionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 255 + }, + "smithy.api#pattern": "^([a-z]){1}([a-z0-9_]){2,254}$" + } + }, + "com.amazonaws.omics#VersionOptions": { + "type": "union", + "members": { + "tsvVersionOptions": { + "target": "com.amazonaws.omics#TsvVersionOptions", + "traits": { + "smithy.api#documentation": "

\nFile settings for a version of a TSV store.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\nThe options for an annotation store version. \n

" + } + }, + "com.amazonaws.omics#VersionStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATING", + "name": "CREATING", + "documentation": "The Version is being created" + }, + { + "value": "UPDATING", + "name": "UPDATING", + "documentation": "The Version is updating" + }, + { + "value": "DELETING", + "name": "DELETING", + "documentation": "The Version is deleting" + }, + { + "value": "ACTIVE", + "name": "ACTIVE", + "documentation": "The Version is active" + }, + { + "value": "FAILED", + "name": "FAILED", + "documentation": "The Version creation failed" + } + ] + } + }, "com.amazonaws.omics#WorkflowArn": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/transfer.json b/codegen/sdk-codegen/aws-models/transfer.json index 781f1838938..c44c4658a47 100644 --- a/codegen/sdk-codegen/aws-models/transfer.json +++ b/codegen/sdk-codegen/aws-models/transfer.json @@ -6379,7 +6379,7 @@ "UserSecretId": { "target": "com.amazonaws.transfer#SecretId", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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.

" } }, "TrustedHostKeys": { @@ -6574,7 +6574,7 @@ "SendFilePaths": { "target": "com.amazonaws.transfer#FilePaths", "traits": { - "smithy.api#documentation": "

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

\n \n

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

\n
" + "smithy.api#documentation": "

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

\n \n

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

\n
" } }, "RetrieveFilePaths": {