diff --git a/CHANGELOG.md b/CHANGELOG.md index fa68a341b90..d912f2f901e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.34.27 (2020-09-18) +=== + +### Service Client Updates +* `service/codestar-connections`: Updates service API +* `service/medialive`: Updates service API and documentation + * AWS Elemental MediaLive now supports batch operations, which allow users to start, stop, and delete multiple MediaLive resources with a single request. +* `service/sso-admin`: Updates service documentation + Release v1.34.26 (2020-09-17) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index a2484a9026c..adc1dbbd6ba 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4706,6 +4706,12 @@ var awsPartition = partition{ "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, + "rekognition-fips.ca-central-1": endpoint{ + Hostname: "rekognition-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + }, "rekognition-fips.us-east-1": endpoint{ Hostname: "rekognition-fips.us-east-1.amazonaws.com", CredentialScope: credentialScope{ @@ -8173,7 +8179,12 @@ var awsusgovPartition = partition{ "health": service{ Endpoints: endpoints{ - "us-gov-west-1": endpoint{}, + "fips-us-gov-west-1": endpoint{ + Hostname: "health-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "iam": service{ diff --git a/aws/version.go b/aws/version.go index e1173b7b50c..af4cc1b00be 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.34.26" +const SDKVersion = "1.34.27" diff --git a/models/apis/codestar-connections/2019-12-01/api-2.json b/models/apis/codestar-connections/2019-12-01/api-2.json index 68a63aa6020..5889418c14d 100644 --- a/models/apis/codestar-connections/2019-12-01/api-2.json +++ b/models/apis/codestar-connections/2019-12-01/api-2.json @@ -380,6 +380,7 @@ "type":"string", "enum":[ "Bitbucket", + "GitHub", "GitHubEnterpriseServer" ] }, diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index a9d963b6971..c19beeb7923 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -12,6 +12,126 @@ "jsonVersion": "1.1" }, "operations": { + "BatchDelete": { + "name": "BatchDelete", + "http": { + "method": "POST", + "requestUri": "/prod/batch/delete", + "responseCode": 200 + }, + "input": { + "shape": "BatchDeleteRequest" + }, + "output": { + "shape": "BatchDeleteResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, + "BatchStart": { + "name": "BatchStart", + "http": { + "method": "POST", + "requestUri": "/prod/batch/start", + "responseCode": 200 + }, + "input": { + "shape": "BatchStartRequest" + }, + "output": { + "shape": "BatchStartResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, + "BatchStop": { + "name": "BatchStop", + "http": { + "method": "POST", + "requestUri": "/prod/batch/stop", + "responseCode": 200 + }, + "input": { + "shape": "BatchStopRequest" + }, + "output": { + "shape": "BatchStopResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, "BatchUpdateSchedule": { "name": "BatchUpdateSchedule", "http": { @@ -2361,6 +2481,95 @@ "httpStatusCode": 400 } }, + "BatchDelete": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "InputIds": { + "shape": "__listOf__string", + "locationName": "inputIds" + }, + "InputSecurityGroupIds": { + "shape": "__listOf__string", + "locationName": "inputSecurityGroupIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchDeleteRequest": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "InputIds": { + "shape": "__listOf__string", + "locationName": "inputIds" + }, + "InputSecurityGroupIds": { + "shape": "__listOf__string", + "locationName": "inputSecurityGroupIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchDeleteResponse": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchDeleteResultModel": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchFailedResultModel": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "Code": { + "shape": "__string", + "locationName": "code" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, "BatchScheduleActionCreateRequest": { "type": "structure", "members": { @@ -2409,6 +2618,127 @@ "ScheduleActions" ] }, + "BatchStart": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStartRequest": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStartResponse": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchStartResultModel": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchStop": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStopRequest": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStopResponse": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchStopResultModel": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchSuccessfulResultModel": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "State": { + "shape": "__string", + "locationName": "state" + } + } + }, "BatchUpdateScheduleRequest": { "type": "structure", "members": { @@ -11280,6 +11610,11 @@ "min": -1000, "max": 1000 }, + "__integerMinNegative5Max5": { + "type": "integer", + "min": -5, + "max": 5 + }, "__integerMinNegative60Max6": { "type": "integer", "min": -60, @@ -11314,6 +11649,18 @@ "shape": "AudioTrack" } }, + "__listOfBatchFailedResultModel": { + "type": "list", + "member": { + "shape": "BatchFailedResultModel" + } + }, + "__listOfBatchSuccessfulResultModel": { + "type": "list", + "member": { + "shape": "BatchSuccessfulResultModel" + } + }, "__listOfCaptionDescription": { "type": "list", "member": { diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index 0bf502275a8..a47117a7936 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -2,6 +2,9 @@ "version": "2.0", "service": "API for AWS Elemental MediaLive", "operations": { + "BatchDelete": "Starts delete of resources.", + "BatchStart": "Starts existing resources", + "BatchStop": "Stops running resources", "BatchUpdateSchedule": "Update a channel schedule", "CreateChannel": "Creates a new channel", "CreateInput": "Create an input", @@ -135,13 +138,10 @@ "AudioCodecSettings$Ac3Settings": null } }, - "AcceptHeader": { - "base": "Accept Header", - "refs": {} - }, "AccessDenied": { "base": null, - "refs": {} + "refs": { + } }, "AfdSignaling": { "base": "Afd Signaling", @@ -332,11 +332,29 @@ }, "BadGatewayException": { "base": null, - "refs": {} + "refs": { + } }, "BadRequestException": { "base": null, - "refs": {} + "refs": { + } + }, + "BatchDelete": { + "base": "Batch delete resource request", + "refs": { + } + }, + "BatchDeleteResultModel": { + "base": "Batch delete resource results", + "refs": { + } + }, + "BatchFailedResultModel": { + "base": "Details from a failed operation", + "refs": { + "__listOfBatchFailedResultModel$member": null + } }, "BatchScheduleActionCreateRequest": { "base": "A list of schedule actions to create (in a request) or that have been created (in a response).", @@ -362,13 +380,41 @@ "BatchUpdateScheduleResult$Deletes": "Schedule actions deleted from the schedule." } }, + "BatchStart": { + "base": "Batch start resource request", + "refs": { + } + }, + "BatchStartResultModel": { + "base": "Batch start resource results", + "refs": { + } + }, + "BatchStop": { + "base": "Batch stop resource request", + "refs": { + } + }, + "BatchStopResultModel": { + "base": "Batch stop resource results", + "refs": { + } + }, + "BatchSuccessfulResultModel": { + "base": "Details from a successful operation", + "refs": { + "__listOfBatchSuccessfulResultModel$member": null + } + }, "BatchUpdateScheduleRequest": { "base": "A request to create actions (add actions to the schedule), delete actions (remove actions from the schedule), or both create and delete actions.", - "refs": {} + "refs": { + } }, "BatchUpdateScheduleResult": { "base": "Results of a batch schedule update.", - "refs": {} + "refs": { + } }, "BlackoutSlate": { "base": "Blackout Slate", @@ -479,7 +525,8 @@ }, "ChannelConfigurationValidationError": { "base": null, - "refs": {} + "refs": { + } }, "ChannelEgressEndpoint": { "base": null, @@ -509,43 +556,53 @@ }, "ConflictException": { "base": null, - "refs": {} + "refs": { + } }, "CreateChannel": { "base": null, - "refs": {} + "refs": { + } }, "CreateChannelResultModel": { "base": null, - "refs": {} + "refs": { + } }, "CreateInput": { "base": null, - "refs": {} + "refs": { + } }, "CreateInputResultModel": { "base": null, - "refs": {} + "refs": { + } }, "CreateInputSecurityGroupResultModel": { "base": null, - "refs": {} + "refs": { + } }, "CreateMultiplex": { "base": null, - "refs": {} + "refs": { + } }, "CreateMultiplexProgram": { "base": null, - "refs": {} + "refs": { + } }, "CreateMultiplexProgramResultModel": { "base": null, - "refs": {} + "refs": { + } }, "CreateMultiplexResultModel": { "base": null, - "refs": {} + "refs": { + } }, "DeviceSettingsSyncState": { "base": "The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.", @@ -766,7 +823,8 @@ }, "Empty": { "base": null, - "refs": {} + "refs": { + } }, "EncoderSettings": { "base": "Encoder Settings", @@ -845,7 +903,8 @@ }, "ForbiddenException": { "base": null, - "refs": {} + "refs": { + } }, "FrameCaptureGroupSettings": { "base": "Frame Capture Group Settings", @@ -873,7 +932,8 @@ }, "GatewayTimeoutException": { "base": null, - "refs": {} + "refs": { + } }, "GlobalConfiguration": { "base": "Global Configuration", @@ -1438,7 +1498,8 @@ }, "InputDevice": { "base": "An input device.", - "refs": {} + "refs": { + } }, "InputDeviceActiveInput": { "base": "The source at the input device that is currently active.", @@ -1454,7 +1515,8 @@ }, "InputDeviceConfigurationValidationError": { "base": null, - "refs": {} + "refs": { + } }, "InputDeviceConfiguredInput": { "base": "The source to activate (use) from the input device.", @@ -1623,7 +1685,8 @@ }, "InputSecurityGroupWhitelistRequest": { "base": "Request of IPv4 CIDR addresses to whitelist in a security group.", - "refs": {} + "refs": { + } }, "InputSettings": { "base": "Live Event input parameters. There can be multiple inputs in a single Live Event.", @@ -1709,15 +1772,18 @@ }, "InternalServerErrorException": { "base": null, - "refs": {} + "refs": { + } }, "InternalServiceError": { "base": null, - "refs": {} + "refs": { + } }, "InvalidRequest": { "base": null, - "refs": {} + "refs": { + } }, "KeyProviderSettings": { "base": "Key Provider Settings", @@ -1733,39 +1799,48 @@ }, "LimitExceeded": { "base": null, - "refs": {} + "refs": { + } }, "ListChannelsResultModel": { "base": null, - "refs": {} + "refs": { + } }, "ListInputDevicesResultModel": { "base": "The list of input devices owned by the AWS account.", - "refs": {} + "refs": { + } }, "ListInputSecurityGroupsResultModel": { "base": "Result of input security group list request", - "refs": {} + "refs": { + } }, "ListInputsResultModel": { "base": null, - "refs": {} + "refs": { + } }, "ListMultiplexProgramsResultModel": { "base": null, - "refs": {} + "refs": { + } }, "ListMultiplexesResultModel": { "base": null, - "refs": {} + "refs": { + } }, "ListOfferingsResultModel": { "base": "ListOfferings response", - "refs": {} + "refs": { + } }, "ListReservationsResultModel": { "base": "ListReservations response", - "refs": {} + "refs": { + } }, "LogLevel": { "base": "The log level the user wants for their channel.", @@ -1815,7 +1890,7 @@ "M2tsBufferModel": { "base": "M2ts Buffer Model", "refs": { - "M2tsSettings$BufferModel": "If set to multiplex, use multiplex buffer model for accurate interleaving. Setting to bufferModel to none can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions." + "M2tsSettings$BufferModel": "Controls the timing accuracy for output network traffic. Leave as MULTIPLEX to ensure accurate network packet timing. Or set to NONE, which might result in lower latency but will result in more variability in output network packet timing. This variability might cause interruptions, jitter, or bursty behavior in your playback or receiving devices." } }, "M2tsCcDescriptor": { @@ -1996,7 +2071,8 @@ }, "MultiplexConfigurationValidationError": { "base": null, - "refs": {} + "refs": { + } }, "MultiplexGroupSettings": { "base": "Multiplex Group Settings", @@ -2126,7 +2202,8 @@ }, "NotFoundException": { "base": null, - "refs": {} + "refs": { + } }, "Offering": { "base": "Reserved resources available for purchase", @@ -2182,7 +2259,7 @@ "base": "Reference to an OutputDestination ID defined in the channel", "refs": { "ArchiveGroupSettings$Destination": "A directory and base filename where archive files should be written.", - "FrameCaptureGroupSettings$Destination": "The destination for the frame capture files. Either the URI for an Amazon S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling_) or the URI for a MediaStore container, plus a file name prefix (for example, mediastoressl://sportsDelivery/20180820/curling_). The final file names consist of the prefix from the destination field (for example, \"curling_\") + name modifier + the counter (5 digits, starting from 00001) + extension (which is always .jpg). For example, curlingLow.00001.jpg", + "FrameCaptureGroupSettings$Destination": "The destination for the frame capture files. Either the URI for an Amazon S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling-) or the URI for a MediaStore container, plus a file name prefix (for example, mediastoressl://sportsDelivery/20180820/curling-). The final file names consist of the prefix from the destination field (for example, \"curling-\") + name modifier + the counter (5 digits, starting from 00001) + extension (which is always .jpg). For example, curling-low.00001.jpg", "HlsGroupSettings$Destination": "A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).", "MediaPackageGroupSettings$Destination": "MediaPackage channel destination.", "MsSmoothGroupSettings$Destination": "Smooth Streaming publish point on an IIS server. Elemental Live acts as a \"Push\" encoder to IIS.", @@ -2235,11 +2312,13 @@ }, "PurchaseOffering": { "base": "PurchaseOffering request", - "refs": {} + "refs": { + } }, "PurchaseOfferingResultModel": { "base": "PurchaseOffering response", - "refs": {} + "refs": { + } }, "Rec601Settings": { "base": "Rec601 Settings", @@ -2326,11 +2405,13 @@ }, "ResourceConflict": { "base": null, - "refs": {} + "refs": { + } }, "ResourceNotFound": { "base": null, - "refs": {} + "refs": { + } }, "RtmpCacheFullBehavior": { "base": "Rtmp Cache Full Behavior", @@ -2388,11 +2469,13 @@ }, "ScheduleDeleteResultModel": { "base": "Result of a schedule deletion.", - "refs": {} + "refs": { + } }, "ScheduleDescribeResultModel": { "base": "Results of a schedule describe.", - "refs": {} + "refs": { + } }, "Scte20Convert608To708": { "base": "Scte20 Convert608 To708", @@ -2648,7 +2731,8 @@ }, "TagsModel": { "base": null, - "refs": {} + "refs": { + } }, "TeletextDestinationSettings": { "base": "Teletext Destination Settings", @@ -2695,7 +2779,8 @@ }, "TooManyRequestsException": { "base": null, - "refs": {} + "refs": { + } }, "TtmlDestinationSettings": { "base": "Ttml Destination Settings", @@ -2735,59 +2820,73 @@ }, "UnprocessableEntityException": { "base": null, - "refs": {} + "refs": { + } }, "UpdateChannel": { "base": null, - "refs": {} + "refs": { + } }, "UpdateChannelClass": { "base": null, - "refs": {} + "refs": { + } }, "UpdateChannelResultModel": { "base": "The updated channel's description.", - "refs": {} + "refs": { + } }, "UpdateInput": { "base": null, - "refs": {} + "refs": { + } }, "UpdateInputDevice": { "base": "Updates an input device.", - "refs": {} + "refs": { + } }, "UpdateInputResultModel": { "base": null, - "refs": {} + "refs": { + } }, "UpdateInputSecurityGroupResultModel": { "base": null, - "refs": {} + "refs": { + } }, "UpdateMultiplex": { "base": null, - "refs": {} + "refs": { + } }, "UpdateMultiplexProgram": { "base": null, - "refs": {} + "refs": { + } }, "UpdateMultiplexProgramResultModel": { "base": null, - "refs": {} + "refs": { + } }, "UpdateMultiplexResultModel": { "base": null, - "refs": {} + "refs": { + } }, "UpdateReservation": { "base": "UpdateReservation request", - "refs": {} + "refs": { + } }, "UpdateReservationResultModel": { "base": "UpdateReservation response", - "refs": {} + "refs": { + } }, "ValidationError": { "base": null, @@ -2810,7 +2909,7 @@ "VideoDescriptionRespondToAfd": { "base": "Video Description Respond To Afd", "refs": { - "VideoDescription$RespondToAfd": "Indicates how to respond to the AFD values in the input stream. RESPOND causes input video to be clipped, depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for FRAME_CAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAME_CAPTURE codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE ignores the AFD values and does not include the values through to the output, so input video is not clipped." + "VideoDescription$RespondToAfd": "Indicates how MediaLive will respond to the AFD values that might be in the input video. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose PASSTHROUGH.\nRESPOND: MediaLive clips the input video using a formula that uses the AFD values (configured in afdSignaling ), the input display aspect ratio, and the output display aspect ratio. MediaLive also includes the AFD values in the output, unless the codec for this encode is FRAME_CAPTURE.\nPASSTHROUGH: MediaLive ignores the AFD values and does not clip the video. But MediaLive does include the values in the output.\nNONE: MediaLive does not clip the input video and does not include the AFD values in the output" } }, "VideoDescriptionScalingBehavior": { @@ -2861,6 +2960,11 @@ "CaptionDestinationSettings$WebvttDestinationSettings": null } }, + "__boolean": { + "base": null, + "refs": { + } + }, "__double": { "base": null, "refs": { @@ -3140,7 +3244,7 @@ "H265Settings$FramerateNumerator": "Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.", "H265Settings$ParDenominator": "Pixel Aspect Ratio denominator.", "H265Settings$ParNumerator": "Pixel Aspect Ratio numerator.", - "HlsGroupSettings$KeepSegments": "Applies only if Mode field is LIVE. Specifies the number of media segments (.ts files) to retain in the destination directory.", + "HlsGroupSettings$KeepSegments": "Applies only if Mode field is LIVE.\n\nSpecifies the number of media segments to retain in the destination directory. This number should be bigger than indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + 1).\n\nIf this \"keep segments\" number is too low, the following might happen: the player is still reading a media manifest file that lists this segment, but that segment has been removed from the destination directory (as directed by indexNSegments). This situation would result in a 404 HTTP error on the player.", "HlsGroupSettings$SegmentLength": "Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer.", "HlsGroupSettings$SegmentsPerSubdirectory": "Number of segments to write to a subdirectory before starting a new one. directoryStructure must be subdirectoryPerStream for this setting to have an effect.", "MsSmoothGroupSettings$FragmentLength": "Length of mp4 fragments to generate (in seconds). Fragment length must be compatible with GOP size and framerate.", @@ -3291,7 +3395,7 @@ "__integerMin3": { "base": null, "refs": { - "HlsGroupSettings$IndexNSegments": "Applies only if Mode field is LIVE. Specifies the maximum number of segments in the media manifest file. After this maximum, older segments are removed from the media manifest. This number must be less than or equal to the Keep Segments field." + "HlsGroupSettings$IndexNSegments": "Applies only if Mode field is LIVE.\n\nSpecifies the maximum number of segments in the media manifest file. After this maximum, older segments are removed from the media manifest. This number must be smaller than the number in the Keep Segments field." } }, "__integerMin30": { @@ -3320,6 +3424,11 @@ "Scte35TimeSignalApos$AdAvailOffset": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages." } }, + "__integerMinNegative5Max5": { + "base": null, + "refs": { + } + }, "__integerMinNegative60Max6": { "base": null, "refs": { @@ -3353,7 +3462,23 @@ "__listOfAudioTrack": { "base": null, "refs": { - "AudioTrackSelection$Tracks": "Selects one or more unique audio tracks from within an mp4 source." + "AudioTrackSelection$Tracks": "Selects one or more unique audio tracks from within a source." + } + }, + "__listOfBatchFailedResultModel": { + "base": null, + "refs": { + "BatchDeleteResultModel$Failed": "List of failed operations", + "BatchStartResultModel$Failed": "List of failed operations", + "BatchStopResultModel$Failed": "List of failed operations" + } + }, + "__listOfBatchSuccessfulResultModel": { + "base": null, + "refs": { + "BatchDeleteResultModel$Successful": "List of successful operations", + "BatchStartResultModel$Successful": "List of successful operations", + "BatchStopResultModel$Successful": "List of successful operations" } }, "__listOfCaptionDescription": { @@ -3607,7 +3732,15 @@ "__listOf__string": { "base": null, "refs": { + "BatchDelete$ChannelIds": "List of channel IDs", + "BatchDelete$InputIds": "List of input IDs", + "BatchDelete$InputSecurityGroupIds": "List of input security group IDs", + "BatchDelete$MultiplexIds": "List of multiplex IDs", "BatchScheduleActionDeleteRequest$ActionNames": "A list of schedule actions to delete.", + "BatchStart$ChannelIds": "List of channel IDs", + "BatchStart$MultiplexIds": "List of multiplex IDs", + "BatchStop$ChannelIds": "List of channel IDs", + "BatchStop$MultiplexIds": "List of multiplex IDs", "CreateInput$InputSecurityGroups": "A list of security groups referenced by IDs to attach to the input.", "CreateMultiplex$AvailabilityZones": "A list of availability zones for the multiplex. You must specify exactly two.", "Input$AttachedChannels": "A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).", @@ -3658,6 +3791,13 @@ "AudioOnlyHlsSettings$AudioGroupId": "Specifies the group to which the audio Rendition belongs.", "AutomaticInputFailoverSettings$SecondaryInputId": "The input ID of the secondary input in the automatic input failover pair.", "BadGatewayException$Message": null, + "BatchFailedResultModel$Arn": "ARN of the resource", + "BatchFailedResultModel$Code": "Error code for the failed operation", + "BatchFailedResultModel$Id": "ID of the resource", + "BatchFailedResultModel$Message": "Error message for the failed operation", + "BatchSuccessfulResultModel$Arn": "ARN of the resource", + "BatchSuccessfulResultModel$Id": "ID of the resource", + "BatchSuccessfulResultModel$State": "Current state of the resource", "BurnInDestinationSettings$FontSize": "When set to 'auto' fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.", "CaptionDescription$CaptionSelectorName": "Specifies which input caption selector to use as a caption source when generating output captions. This field should match a captionSelector name.", "CaptionDescription$LanguageCode": "ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/", @@ -3686,7 +3826,7 @@ "CreateMultiplexProgram$ProgramName": "Name of multiplex program.", "CreateMultiplexProgram$RequestId": "Unique request ID. This prevents retries from creating multiple\nresources.\n", "DvbSubDestinationSettings$FontSize": "When set to auto fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.", - "EbuTtDDestinationSettings$FontFamily": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to \"monospaced\". (If styleControl is set to exclude, the font family is always set to \"monospaced\".)\n\nYou specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.\n\n- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as “Arial”), or a generic font family (such as “serif”), or “default” (to let the downstream player choose the font).\n- Leave blank to set the family to “monospace”.", + "EbuTtDDestinationSettings$FontFamily": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to \"monospaced\". (If styleControl is set to exclude, the font family is always set to \"monospaced\".)\n\nYou specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.\n\n- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as \u201cArial\u201d), or a generic font family (such as \u201cserif\u201d), or \u201cdefault\u201d (to let the downstream player choose the font).\n- Leave blank to set the family to \u201cmonospace\u201d.", "FixedModeScheduleActionStartSettings$Time": "Start time for the action to start in the channel. (Not the time for the action to be added to the schedule: actions are always added to the schedule immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits (for example, mm might be 01) except for the two constants \"T\" for time and \"Z\" for \"UTC format\".", "Fmp4HlsSettings$AudioRenditionSets": "List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.", "FollowModeScheduleActionStartSettings$ReferenceActionName": "The action name of another action that this one refers to.", @@ -3778,7 +3918,6 @@ "M3u8Settings$Scte35Pid": "Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.", "M3u8Settings$TimedMetadataPid": "Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).", "M3u8Settings$VideoPid": "Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value.", - "InputDeviceThumbnail$Body": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive.", "MediaConnectFlow$FlowArn": "The unique ARN of the MediaConnect Flow being used as a source.", "MediaConnectFlowRequest$FlowArn": "The ARN of the MediaConnect Flow that you want to use as a source.", "MsSmoothGroupSettings$AcquisitionPointId": "The ID to include in each message in the sparse track. Ignored if sparseTrackType is NONE.", @@ -3919,4 +4058,4 @@ } } } -} \ No newline at end of file +} diff --git a/models/apis/sso-admin/2020-07-20/docs-2.json b/models/apis/sso-admin/2020-07-20/docs-2.json index a8f0bcc4c97..1493f27abe4 100644 --- a/models/apis/sso-admin/2020-07-20/docs-2.json +++ b/models/apis/sso-admin/2020-07-20/docs-2.json @@ -2,9 +2,9 @@ "version": "2.0", "service": null, "operations": { - "AttachManagedPolicyToPermissionSet": "

Attaches an IAM managed policy ARN to a permission set.

", - "CreateAccountAssignment": "

Assigns access to a principal for a specified AWS account using a specified permission set.

The term principal here refers to a user or group that is defined in AWS SSO.

", - "CreatePermissionSet": "

Creates a permission set within a specified SSO instance.

", + "AttachManagedPolicyToPermissionSet": "

Attaches an IAM managed policy ARN to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet after this action to apply the corresponding IAM policy updates to all assigned accounts.

", + "CreateAccountAssignment": "

Assigns access to a principal for a specified AWS account using a specified permission set.

The term principal here refers to a user or group that is defined in AWS SSO.

As part of a successful CreateAccountAssignment call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy attached to the SSO-created IAM role. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you will need to call ProvisionPermissionSet to make these updates.

", + "CreatePermissionSet": "

Creates a permission set within a specified SSO instance.

To grant users and groups access to AWS account resources, use CreateAccountAssignment .

", "DeleteAccountAssignment": "

Deletes a principal's access from a specified AWS account using a specified permission set.

", "DeleteInlinePolicyFromPermissionSet": "

Deletes the inline policy from a specified permission set.

", "DeletePermissionSet": "

Deletes the specified permission set.

", @@ -25,7 +25,7 @@ "ListPermissionSetsProvisionedToAccount": "

Lists all the permission sets that are provisioned to a specified AWS account.

", "ListTagsForResource": "

Lists the tags that are attached to a specified resource.

", "ProvisionPermissionSet": "

The process by which a specified permission set is provisioned to the specified target.

", - "PutInlinePolicyToPermissionSet": "

Attaches an IAM inline policy to a permission set.

", + "PutInlinePolicyToPermissionSet": "

Attaches an IAM inline policy to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet after this action to apply the corresponding IAM policy updates to all assigned accounts.

", "TagResource": "

Associates a set of tags with a specified resource.

", "UntagResource": "

Disassociates a set of tags from a specified resource.

", "UpdatePermissionSet": "

Updates an existing permission set.

" @@ -539,10 +539,10 @@ "PrincipalId": { "base": null, "refs": { - "AccountAssignment$PrincipalId": "

The identifier of the principal.

", - "AccountAssignmentOperationStatus$PrincipalId": "

The identifier of the principal.

", - "CreateAccountAssignmentRequest$PrincipalId": "

The identifier of the principal.

", - "DeleteAccountAssignmentRequest$PrincipalId": "

The identifier of the principal.

" + "AccountAssignment$PrincipalId": "

An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.

", + "AccountAssignmentOperationStatus$PrincipalId": "

An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.

", + "CreateAccountAssignmentRequest$PrincipalId": "

An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.

", + "DeleteAccountAssignmentRequest$PrincipalId": "

An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.

" } }, "PrincipalType": { @@ -680,11 +680,11 @@ "TargetId": { "base": null, "refs": { - "AccountAssignmentOperationStatus$TargetId": "

The identifier for the chosen target.

", - "CreateAccountAssignmentRequest$TargetId": "

The identifier for the chosen target.

", - "DeleteAccountAssignmentRequest$TargetId": "

The identifier for the chosen target.

", + "AccountAssignmentOperationStatus$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

", + "CreateAccountAssignmentRequest$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

", + "DeleteAccountAssignmentRequest$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

", "ListAccountAssignmentsRequest$AccountId": "

The identifier of the AWS account from which to list the assignments.

", - "ProvisionPermissionSetRequest$TargetId": "

The identifier for the chosen target.

" + "ProvisionPermissionSetRequest$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

" } }, "TargetType": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 23918d71bad..73f710b9f02 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -4512,6 +4512,12 @@ "eu-central-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, + "rekognition-fips.ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "hostname" : "rekognition-fips.ca-central-1.amazonaws.com" + }, "rekognition-fips.us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -7807,7 +7813,12 @@ }, "health" : { "endpoints" : { - "us-gov-west-1" : { } + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "health-fips.us-gov-west-1.amazonaws.com" + } } }, "iam" : { diff --git a/service/codestarconnections/api.go b/service/codestarconnections/api.go index be1ae9187fb..0e2fd987708 100644 --- a/service/codestarconnections/api.go +++ b/service/codestarconnections/api.go @@ -2424,6 +2424,9 @@ const ( // ProviderTypeBitbucket is a ProviderType enum value ProviderTypeBitbucket = "Bitbucket" + // ProviderTypeGitHub is a ProviderType enum value + ProviderTypeGitHub = "GitHub" + // ProviderTypeGitHubEnterpriseServer is a ProviderType enum value ProviderTypeGitHubEnterpriseServer = "GitHubEnterpriseServer" ) @@ -2432,6 +2435,7 @@ const ( func ProviderType_Values() []string { return []string{ ProviderTypeBitbucket, + ProviderTypeGitHub, ProviderTypeGitHubEnterpriseServer, } } diff --git a/service/medialive/api.go b/service/medialive/api.go index b10b8e3e78c..b533bd74278 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -14,6 +14,282 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) +const opBatchDelete = "BatchDelete" + +// BatchDeleteRequest generates a "aws/request.Request" representing the +// client's request for the BatchDelete operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See BatchDelete for more information on using the BatchDelete +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the BatchDeleteRequest method. +// req, resp := client.BatchDeleteRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete +func (c *MediaLive) BatchDeleteRequest(input *BatchDeleteInput) (req *request.Request, output *BatchDeleteOutput) { + op := &request.Operation{ + Name: opBatchDelete, + HTTPMethod: "POST", + HTTPPath: "/prod/batch/delete", + } + + if input == nil { + input = &BatchDeleteInput{} + } + + output = &BatchDeleteOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchDelete API operation for AWS Elemental MediaLive. +// +// Starts delete of resources. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation BatchDelete for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete +func (c *MediaLive) BatchDelete(input *BatchDeleteInput) (*BatchDeleteOutput, error) { + req, out := c.BatchDeleteRequest(input) + return out, req.Send() +} + +// BatchDeleteWithContext is the same as BatchDelete with the addition of +// the ability to pass a context and additional request options. +// +// See BatchDelete for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) BatchDeleteWithContext(ctx aws.Context, input *BatchDeleteInput, opts ...request.Option) (*BatchDeleteOutput, error) { + req, out := c.BatchDeleteRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opBatchStart = "BatchStart" + +// BatchStartRequest generates a "aws/request.Request" representing the +// client's request for the BatchStart operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See BatchStart for more information on using the BatchStart +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the BatchStartRequest method. +// req, resp := client.BatchStartRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart +func (c *MediaLive) BatchStartRequest(input *BatchStartInput) (req *request.Request, output *BatchStartOutput) { + op := &request.Operation{ + Name: opBatchStart, + HTTPMethod: "POST", + HTTPPath: "/prod/batch/start", + } + + if input == nil { + input = &BatchStartInput{} + } + + output = &BatchStartOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchStart API operation for AWS Elemental MediaLive. +// +// Starts existing resources +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation BatchStart for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart +func (c *MediaLive) BatchStart(input *BatchStartInput) (*BatchStartOutput, error) { + req, out := c.BatchStartRequest(input) + return out, req.Send() +} + +// BatchStartWithContext is the same as BatchStart with the addition of +// the ability to pass a context and additional request options. +// +// See BatchStart for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) BatchStartWithContext(ctx aws.Context, input *BatchStartInput, opts ...request.Option) (*BatchStartOutput, error) { + req, out := c.BatchStartRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opBatchStop = "BatchStop" + +// BatchStopRequest generates a "aws/request.Request" representing the +// client's request for the BatchStop operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See BatchStop for more information on using the BatchStop +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the BatchStopRequest method. +// req, resp := client.BatchStopRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop +func (c *MediaLive) BatchStopRequest(input *BatchStopInput) (req *request.Request, output *BatchStopOutput) { + op := &request.Operation{ + Name: opBatchStop, + HTTPMethod: "POST", + HTTPPath: "/prod/batch/stop", + } + + if input == nil { + input = &BatchStopInput{} + } + + output = &BatchStopOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchStop API operation for AWS Elemental MediaLive. +// +// Stops running resources +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation BatchStop for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop +func (c *MediaLive) BatchStop(input *BatchStopInput) (*BatchStopOutput, error) { + req, out := c.BatchStopRequest(input) + return out, req.Send() +} + +// BatchStopWithContext is the same as BatchStop with the addition of +// the ability to pass a context and additional request options. +// +// See BatchStop for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) BatchStopWithContext(ctx aws.Context, input *BatchStopInput, opts ...request.Option) (*BatchStopOutput, error) { + req, out := c.BatchStopRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opBatchUpdateSchedule = "BatchUpdateSchedule" // BatchUpdateScheduleRequest generates a "aws/request.Request" representing the @@ -5853,7 +6129,7 @@ func (s *AudioTrack) SetTrack(v int64) *AudioTrack { type AudioTrackSelection struct { _ struct{} `type:"structure"` - // Selects one or more unique audio tracks from within an mp4 source. + // Selects one or more unique audio tracks from within a source. // // Tracks is a required field Tracks []*AudioTrack `locationName:"tracks" type:"list" required:"true"` @@ -6199,6 +6475,133 @@ func (s *BadRequestException) RequestID() string { return s.RespMetadata.RequestID } +type BatchDeleteInput struct { + _ struct{} `type:"structure"` + + ChannelIds []*string `locationName:"channelIds" type:"list"` + + InputIds []*string `locationName:"inputIds" type:"list"` + + InputSecurityGroupIds []*string `locationName:"inputSecurityGroupIds" type:"list"` + + MultiplexIds []*string `locationName:"multiplexIds" type:"list"` +} + +// String returns the string representation +func (s BatchDeleteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchDeleteInput) GoString() string { + return s.String() +} + +// SetChannelIds sets the ChannelIds field's value. +func (s *BatchDeleteInput) SetChannelIds(v []*string) *BatchDeleteInput { + s.ChannelIds = v + return s +} + +// SetInputIds sets the InputIds field's value. +func (s *BatchDeleteInput) SetInputIds(v []*string) *BatchDeleteInput { + s.InputIds = v + return s +} + +// SetInputSecurityGroupIds sets the InputSecurityGroupIds field's value. +func (s *BatchDeleteInput) SetInputSecurityGroupIds(v []*string) *BatchDeleteInput { + s.InputSecurityGroupIds = v + return s +} + +// SetMultiplexIds sets the MultiplexIds field's value. +func (s *BatchDeleteInput) SetMultiplexIds(v []*string) *BatchDeleteInput { + s.MultiplexIds = v + return s +} + +type BatchDeleteOutput struct { + _ struct{} `type:"structure"` + + Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` + + Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +} + +// String returns the string representation +func (s BatchDeleteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchDeleteOutput) GoString() string { + return s.String() +} + +// SetFailed sets the Failed field's value. +func (s *BatchDeleteOutput) SetFailed(v []*BatchFailedResultModel) *BatchDeleteOutput { + s.Failed = v + return s +} + +// SetSuccessful sets the Successful field's value. +func (s *BatchDeleteOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchDeleteOutput { + s.Successful = v + return s +} + +// Details from a failed operation +type BatchFailedResultModel struct { + _ struct{} `type:"structure"` + + // ARN of the resource + Arn *string `locationName:"arn" type:"string"` + + // Error code for the failed operation + Code *string `locationName:"code" type:"string"` + + // ID of the resource + Id *string `locationName:"id" type:"string"` + + // Error message for the failed operation + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s BatchFailedResultModel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchFailedResultModel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *BatchFailedResultModel) SetArn(v string) *BatchFailedResultModel { + s.Arn = &v + return s +} + +// SetCode sets the Code field's value. +func (s *BatchFailedResultModel) SetCode(v string) *BatchFailedResultModel { + s.Code = &v + return s +} + +// SetId sets the Id field's value. +func (s *BatchFailedResultModel) SetId(v string) *BatchFailedResultModel { + s.Id = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *BatchFailedResultModel) SetMessage(v string) *BatchFailedResultModel { + s.Message = &v + return s +} + // A list of schedule actions to create (in a request) or that have been created // (in a response). type BatchScheduleActionCreateRequest struct { @@ -6340,6 +6743,168 @@ func (s *BatchScheduleActionDeleteResult) SetScheduleActions(v []*ScheduleAction return s } +type BatchStartInput struct { + _ struct{} `type:"structure"` + + ChannelIds []*string `locationName:"channelIds" type:"list"` + + MultiplexIds []*string `locationName:"multiplexIds" type:"list"` +} + +// String returns the string representation +func (s BatchStartInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchStartInput) GoString() string { + return s.String() +} + +// SetChannelIds sets the ChannelIds field's value. +func (s *BatchStartInput) SetChannelIds(v []*string) *BatchStartInput { + s.ChannelIds = v + return s +} + +// SetMultiplexIds sets the MultiplexIds field's value. +func (s *BatchStartInput) SetMultiplexIds(v []*string) *BatchStartInput { + s.MultiplexIds = v + return s +} + +type BatchStartOutput struct { + _ struct{} `type:"structure"` + + Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` + + Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +} + +// String returns the string representation +func (s BatchStartOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchStartOutput) GoString() string { + return s.String() +} + +// SetFailed sets the Failed field's value. +func (s *BatchStartOutput) SetFailed(v []*BatchFailedResultModel) *BatchStartOutput { + s.Failed = v + return s +} + +// SetSuccessful sets the Successful field's value. +func (s *BatchStartOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStartOutput { + s.Successful = v + return s +} + +type BatchStopInput struct { + _ struct{} `type:"structure"` + + ChannelIds []*string `locationName:"channelIds" type:"list"` + + MultiplexIds []*string `locationName:"multiplexIds" type:"list"` +} + +// String returns the string representation +func (s BatchStopInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchStopInput) GoString() string { + return s.String() +} + +// SetChannelIds sets the ChannelIds field's value. +func (s *BatchStopInput) SetChannelIds(v []*string) *BatchStopInput { + s.ChannelIds = v + return s +} + +// SetMultiplexIds sets the MultiplexIds field's value. +func (s *BatchStopInput) SetMultiplexIds(v []*string) *BatchStopInput { + s.MultiplexIds = v + return s +} + +type BatchStopOutput struct { + _ struct{} `type:"structure"` + + Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` + + Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +} + +// String returns the string representation +func (s BatchStopOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchStopOutput) GoString() string { + return s.String() +} + +// SetFailed sets the Failed field's value. +func (s *BatchStopOutput) SetFailed(v []*BatchFailedResultModel) *BatchStopOutput { + s.Failed = v + return s +} + +// SetSuccessful sets the Successful field's value. +func (s *BatchStopOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStopOutput { + s.Successful = v + return s +} + +// Details from a successful operation +type BatchSuccessfulResultModel struct { + _ struct{} `type:"structure"` + + // ARN of the resource + Arn *string `locationName:"arn" type:"string"` + + // ID of the resource + Id *string `locationName:"id" type:"string"` + + // Current state of the resource + State *string `locationName:"state" type:"string"` +} + +// String returns the string representation +func (s BatchSuccessfulResultModel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BatchSuccessfulResultModel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *BatchSuccessfulResultModel) SetArn(v string) *BatchSuccessfulResultModel { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *BatchSuccessfulResultModel) SetId(v string) *BatchSuccessfulResultModel { + s.Id = &v + return s +} + +// SetState sets the State field's value. +func (s *BatchSuccessfulResultModel) SetState(v string) *BatchSuccessfulResultModel { + s.State = &v + return s +} + // A request to create actions (add actions to the schedule), delete actions // (remove actions from the schedule), or both create and delete actions. type BatchUpdateScheduleInput struct { @@ -9412,8 +9977,6 @@ func (s *DescribeInputDeviceOutput) SetType(v string) *DescribeInputDeviceOutput type DescribeInputDeviceThumbnailInput struct { _ struct{} `type:"structure"` - // Accept Header - // // Accept is a required field Accept *string `location:"header" locationName:"accept" type:"string" required:"true" enum:"AcceptHeader"` @@ -11803,12 +12366,12 @@ type FrameCaptureGroupSettings struct { _ struct{} `type:"structure"` // The destination for the frame capture files. Either the URI for an Amazon - // S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling_) + // S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling-) // or the URI for a MediaStore container, plus a file name prefix (for example, - // mediastoressl://sportsDelivery/20180820/curling_). The final file names consist - // of the prefix from the destination field (for example, "curling_") + name + // mediastoressl://sportsDelivery/20180820/curling-). The final file names consist + // of the prefix from the destination field (for example, "curling-") + name // modifier + the counter (5 digits, starting from 00001) + extension (which - // is always .jpg). For example, curlingLow.00001.jpg + // is always .jpg). For example, curling-low.00001.jpg // // Destination is a required field Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` @@ -13382,10 +13945,10 @@ type HlsGroupSettings struct { // For example, #EXT-X-BYTERANGE:160364@1461888" IFrameOnlyPlaylists *string `locationName:"iFrameOnlyPlaylists" type:"string" enum:"IFrameOnlyPlaylistType"` - // Applies only if Mode field is LIVE. Specifies the maximum number of segments + // Applies only if Mode field is LIVE.Specifies the maximum number of segments // in the media manifest file. After this maximum, older segments are removed - // from the media manifest. This number must be less than or equal to the Keep - // Segments field. + // from the media manifest. This number must be smaller than the number in the + // Keep Segments field. IndexNSegments *int64 `locationName:"indexNSegments" min:"3" type:"integer"` // Parameter that control output group behavior on input loss. @@ -13403,8 +13966,14 @@ type HlsGroupSettings struct { // constantIv value. IvSource *string `locationName:"ivSource" type:"string" enum:"HlsIvSource"` - // Applies only if Mode field is LIVE. Specifies the number of media segments - // (.ts files) to retain in the destination directory. + // Applies only if Mode field is LIVE.Specifies the number of media segments + // to retain in the destination directory. This number should be bigger than + // indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + // + 1).If this "keep segments" number is too low, the following might happen: + // the player is still reading a media manifest file that lists this segment, + // but that segment has been removed from the destination directory (as directed + // by indexNSegments). This situation would result in a 404 HTTP error on the + // player. KeepSegments *int64 `locationName:"keepSegments" min:"1" type:"integer"` // The value specifies how the key is represented in the resource identified @@ -16679,9 +17248,11 @@ type M2tsSettings struct { // 0 lets the muxer automatically determine the appropriate bitrate. Bitrate *int64 `locationName:"bitrate" type:"integer"` - // If set to multiplex, use multiplex buffer model for accurate interleaving. - // Setting to bufferModel to none can lead to lower latency, but low-memory - // devices may not be able to play back the stream without interruptions. + // Controls the timing accuracy for output network traffic. Leave as MULTIPLEX + // to ensure accurate network packet timing. Or set to NONE, which might result + // in lower latency but will result in more variability in output network packet + // timing. This variability might cause interruptions, jitter, or bursty behavior + // in your playback or receiving devices. BufferModel *string `locationName:"bufferModel" type:"string" enum:"M2tsBufferModel"` // When set to enabled, generates captionServiceDescriptor in PMT. @@ -23723,13 +24294,16 @@ type VideoDescription struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` - // Indicates how to respond to the AFD values in the input stream. RESPOND causes - // input video to be clipped, depending on the AFD value, input display aspect - // ratio, and output display aspect ratio, and (except for FRAME_CAPTURE codec) - // includes the values in the output. PASSTHROUGH (does not apply to FRAME_CAPTURE - // codec) ignores the AFD values and includes the values in the output, so input - // video is not clipped. NONE ignores the AFD values and does not include the - // values through to the output, so input video is not clipped. + // Indicates how MediaLive will respond to the AFD values that might be in the + // input video. If you do not know what AFD signaling is, or if your downstream + // system has not given you guidance, choose PASSTHROUGH.RESPOND: MediaLive + // clips the input video using a formula that uses the AFD values (configured + // in afdSignaling ), the input display aspect ratio, and the output display + // aspect ratio. MediaLive also includes the AFD values in the output, unless + // the codec for this encode is FRAME_CAPTURE.PASSTHROUGH: MediaLive ignores + // the AFD values and does not clip the video. But MediaLive does include the + // values in the output.NONE: MediaLive does not clip the input video and does + // not include the AFD values in the output RespondToAfd *string `locationName:"respondToAfd" type:"string" enum:"VideoDescriptionRespondToAfd"` // STRETCH_TO_OUTPUT configures the output position to stretch the video to @@ -24230,7 +24804,6 @@ func Ac3MetadataControl_Values() []string { } } -// Accept Header const ( // AcceptHeaderImageJpeg is a AcceptHeader enum value AcceptHeaderImageJpeg = "image/jpeg" diff --git a/service/medialive/medialiveiface/interface.go b/service/medialive/medialiveiface/interface.go index c770a4c42f9..9453b08aa79 100644 --- a/service/medialive/medialiveiface/interface.go +++ b/service/medialive/medialiveiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // AWS Elemental MediaLive. // func myFunc(svc medialiveiface.MediaLiveAPI) bool { -// // Make svc.BatchUpdateSchedule request +// // Make svc.BatchDelete request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockMediaLiveClient struct { // medialiveiface.MediaLiveAPI // } -// func (m *mockMediaLiveClient) BatchUpdateSchedule(input *medialive.BatchUpdateScheduleInput) (*medialive.BatchUpdateScheduleOutput, error) { +// func (m *mockMediaLiveClient) BatchDelete(input *medialive.BatchDeleteInput) (*medialive.BatchDeleteOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,18 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type MediaLiveAPI interface { + BatchDelete(*medialive.BatchDeleteInput) (*medialive.BatchDeleteOutput, error) + BatchDeleteWithContext(aws.Context, *medialive.BatchDeleteInput, ...request.Option) (*medialive.BatchDeleteOutput, error) + BatchDeleteRequest(*medialive.BatchDeleteInput) (*request.Request, *medialive.BatchDeleteOutput) + + BatchStart(*medialive.BatchStartInput) (*medialive.BatchStartOutput, error) + BatchStartWithContext(aws.Context, *medialive.BatchStartInput, ...request.Option) (*medialive.BatchStartOutput, error) + BatchStartRequest(*medialive.BatchStartInput) (*request.Request, *medialive.BatchStartOutput) + + BatchStop(*medialive.BatchStopInput) (*medialive.BatchStopOutput, error) + BatchStopWithContext(aws.Context, *medialive.BatchStopInput, ...request.Option) (*medialive.BatchStopOutput, error) + BatchStopRequest(*medialive.BatchStopInput) (*request.Request, *medialive.BatchStopOutput) + BatchUpdateSchedule(*medialive.BatchUpdateScheduleInput) (*medialive.BatchUpdateScheduleOutput, error) BatchUpdateScheduleWithContext(aws.Context, *medialive.BatchUpdateScheduleInput, ...request.Option) (*medialive.BatchUpdateScheduleOutput, error) BatchUpdateScheduleRequest(*medialive.BatchUpdateScheduleInput) (*request.Request, *medialive.BatchUpdateScheduleOutput) diff --git a/service/ssoadmin/api.go b/service/ssoadmin/api.go index c7908a98b9f..b4dadeb1f67 100644 --- a/service/ssoadmin/api.go +++ b/service/ssoadmin/api.go @@ -60,6 +60,10 @@ func (c *SSOAdmin) AttachManagedPolicyToPermissionSetRequest(input *AttachManage // // Attaches an IAM managed policy ARN to a permission set. // +// If the permission set is already referenced by one or more account assignments, +// you will need to call ProvisionPermissionSet after this action to apply the +// corresponding IAM policy updates to all assigned accounts. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -167,6 +171,13 @@ func (c *SSOAdmin) CreateAccountAssignmentRequest(input *CreateAccountAssignment // The term principal here refers to a user or group that is defined in AWS // SSO. // +// As part of a successful CreateAccountAssignment call, the specified permission +// set will automatically be provisioned to the account in the form of an IAM +// policy attached to the SSO-created IAM role. If the permission set is subsequently +// updated, the corresponding IAM policies attached to roles in your accounts +// will not be updated automatically. In this case, you will need to call ProvisionPermissionSet +// to make these updates. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -270,6 +281,8 @@ func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) ( // // Creates a permission set within a specified SSO instance. // +// To grant users and groups access to AWS account resources, use CreateAccountAssignment . +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2851,6 +2864,10 @@ func (c *SSOAdmin) PutInlinePolicyToPermissionSetRequest(input *PutInlinePolicyT // // Attaches an IAM inline policy to a permission set. // +// If the permission set is already referenced by one or more account assignments, +// you will need to call ProvisionPermissionSet after this action to apply the +// corresponding IAM policy updates to all assigned accounts. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3284,7 +3301,10 @@ type AccountAssignment struct { // in the AWS General Reference. PermissionSetArn *string `min:"10" type:"string"` - // The identifier of the principal. + // An identifier for an object in AWS SSO, such as a user or group. PrincipalIds + // are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information + // about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference + // (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). PrincipalId *string `min:"1" type:"string"` // The entity type for which the assignment will be created. @@ -3341,7 +3361,10 @@ type AccountAssignmentOperationStatus struct { // in the AWS General Reference. PermissionSetArn *string `min:"10" type:"string"` - // The identifier of the principal. + // An identifier for an object in AWS SSO, such as a user or group. PrincipalIds + // are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information + // about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference + // (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). PrincipalId *string `min:"1" type:"string"` // The entity type for which the assignment will be created. @@ -3354,7 +3377,8 @@ type AccountAssignmentOperationStatus struct { // The status of the permission set provisioning process. Status *string `type:"string" enum:"StatusValues"` - // The identifier for the chosen target. + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). TargetId *string `type:"string"` // The entity type for which the assignment will be created. @@ -3671,7 +3695,10 @@ type CreateAccountAssignmentInput struct { // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // The identifier of the principal. + // An identifier for an object in AWS SSO, such as a user or group. PrincipalIds + // are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information + // about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference + // (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). // // PrincipalId is a required field PrincipalId *string `min:"1" type:"string" required:"true"` @@ -3681,7 +3708,8 @@ type CreateAccountAssignmentInput struct { // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"` - // The identifier for the chosen target. + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). // // TargetId is a required field TargetId *string `type:"string" required:"true"` @@ -3955,7 +3983,10 @@ type DeleteAccountAssignmentInput struct { // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // The identifier of the principal. + // An identifier for an object in AWS SSO, such as a user or group. PrincipalIds + // are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information + // about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference + // (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). // // PrincipalId is a required field PrincipalId *string `min:"1" type:"string" required:"true"` @@ -3965,7 +3996,8 @@ type DeleteAccountAssignmentInput struct { // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"` - // The identifier for the chosen target. + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). // // TargetId is a required field TargetId *string `type:"string" required:"true"` @@ -6158,7 +6190,8 @@ type ProvisionPermissionSetInput struct { // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // The identifier for the chosen target. + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). TargetId *string `type:"string"` // The entity type for which the assignment will be created.