github.com/aavshr/aws-sdk-go@v1.41.3/service/medialive/api.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package medialive 4 5 import ( 6 "fmt" 7 "io" 8 "time" 9 10 "github.com/aavshr/aws-sdk-go/aws" 11 "github.com/aavshr/aws-sdk-go/aws/awsutil" 12 "github.com/aavshr/aws-sdk-go/aws/request" 13 "github.com/aavshr/aws-sdk-go/private/protocol" 14 "github.com/aavshr/aws-sdk-go/private/protocol/restjson" 15 ) 16 17 const opAcceptInputDeviceTransfer = "AcceptInputDeviceTransfer" 18 19 // AcceptInputDeviceTransferRequest generates a "aws/request.Request" representing the 20 // client's request for the AcceptInputDeviceTransfer operation. The "output" return 21 // value will be populated with the request's response once the request completes 22 // successfully. 23 // 24 // Use "Send" method on the returned Request to send the API call to the service. 25 // the "output" return value is not valid until after Send returns without error. 26 // 27 // See AcceptInputDeviceTransfer for more information on using the AcceptInputDeviceTransfer 28 // API call, and error handling. 29 // 30 // This method is useful when you want to inject custom logic or configuration 31 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 32 // 33 // 34 // // Example sending a request using the AcceptInputDeviceTransferRequest method. 35 // req, resp := client.AcceptInputDeviceTransferRequest(params) 36 // 37 // err := req.Send() 38 // if err == nil { // resp is now filled 39 // fmt.Println(resp) 40 // } 41 // 42 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransfer 43 func (c *MediaLive) AcceptInputDeviceTransferRequest(input *AcceptInputDeviceTransferInput) (req *request.Request, output *AcceptInputDeviceTransferOutput) { 44 op := &request.Operation{ 45 Name: opAcceptInputDeviceTransfer, 46 HTTPMethod: "POST", 47 HTTPPath: "/prod/inputDevices/{inputDeviceId}/accept", 48 } 49 50 if input == nil { 51 input = &AcceptInputDeviceTransferInput{} 52 } 53 54 output = &AcceptInputDeviceTransferOutput{} 55 req = c.newRequest(op, input, output) 56 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 57 return 58 } 59 60 // AcceptInputDeviceTransfer API operation for AWS Elemental MediaLive. 61 // 62 // Accept an incoming input device transfer. The ownership of the device will 63 // transfer to your AWS account. 64 // 65 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 66 // with awserr.Error's Code and Message methods to get detailed information about 67 // the error. 68 // 69 // See the AWS API reference guide for AWS Elemental MediaLive's 70 // API operation AcceptInputDeviceTransfer for usage and error information. 71 // 72 // Returned Error Types: 73 // * BadRequestException 74 // 75 // * UnprocessableEntityException 76 // 77 // * InternalServerErrorException 78 // 79 // * ForbiddenException 80 // 81 // * BadGatewayException 82 // 83 // * NotFoundException 84 // 85 // * GatewayTimeoutException 86 // 87 // * TooManyRequestsException 88 // 89 // * ConflictException 90 // 91 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransfer 92 func (c *MediaLive) AcceptInputDeviceTransfer(input *AcceptInputDeviceTransferInput) (*AcceptInputDeviceTransferOutput, error) { 93 req, out := c.AcceptInputDeviceTransferRequest(input) 94 return out, req.Send() 95 } 96 97 // AcceptInputDeviceTransferWithContext is the same as AcceptInputDeviceTransfer with the addition of 98 // the ability to pass a context and additional request options. 99 // 100 // See AcceptInputDeviceTransfer for details on how to use this API operation. 101 // 102 // The context must be non-nil and will be used for request cancellation. If 103 // the context is nil a panic will occur. In the future the SDK may create 104 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 105 // for more information on using Contexts. 106 func (c *MediaLive) AcceptInputDeviceTransferWithContext(ctx aws.Context, input *AcceptInputDeviceTransferInput, opts ...request.Option) (*AcceptInputDeviceTransferOutput, error) { 107 req, out := c.AcceptInputDeviceTransferRequest(input) 108 req.SetContext(ctx) 109 req.ApplyOptions(opts...) 110 return out, req.Send() 111 } 112 113 const opBatchDelete = "BatchDelete" 114 115 // BatchDeleteRequest generates a "aws/request.Request" representing the 116 // client's request for the BatchDelete operation. The "output" return 117 // value will be populated with the request's response once the request completes 118 // successfully. 119 // 120 // Use "Send" method on the returned Request to send the API call to the service. 121 // the "output" return value is not valid until after Send returns without error. 122 // 123 // See BatchDelete for more information on using the BatchDelete 124 // API call, and error handling. 125 // 126 // This method is useful when you want to inject custom logic or configuration 127 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 128 // 129 // 130 // // Example sending a request using the BatchDeleteRequest method. 131 // req, resp := client.BatchDeleteRequest(params) 132 // 133 // err := req.Send() 134 // if err == nil { // resp is now filled 135 // fmt.Println(resp) 136 // } 137 // 138 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete 139 func (c *MediaLive) BatchDeleteRequest(input *BatchDeleteInput) (req *request.Request, output *BatchDeleteOutput) { 140 op := &request.Operation{ 141 Name: opBatchDelete, 142 HTTPMethod: "POST", 143 HTTPPath: "/prod/batch/delete", 144 } 145 146 if input == nil { 147 input = &BatchDeleteInput{} 148 } 149 150 output = &BatchDeleteOutput{} 151 req = c.newRequest(op, input, output) 152 return 153 } 154 155 // BatchDelete API operation for AWS Elemental MediaLive. 156 // 157 // Starts delete of resources. 158 // 159 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 160 // with awserr.Error's Code and Message methods to get detailed information about 161 // the error. 162 // 163 // See the AWS API reference guide for AWS Elemental MediaLive's 164 // API operation BatchDelete for usage and error information. 165 // 166 // Returned Error Types: 167 // * BadRequestException 168 // 169 // * InternalServerErrorException 170 // 171 // * ForbiddenException 172 // 173 // * BadGatewayException 174 // 175 // * NotFoundException 176 // 177 // * GatewayTimeoutException 178 // 179 // * TooManyRequestsException 180 // 181 // * ConflictException 182 // 183 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete 184 func (c *MediaLive) BatchDelete(input *BatchDeleteInput) (*BatchDeleteOutput, error) { 185 req, out := c.BatchDeleteRequest(input) 186 return out, req.Send() 187 } 188 189 // BatchDeleteWithContext is the same as BatchDelete with the addition of 190 // the ability to pass a context and additional request options. 191 // 192 // See BatchDelete for details on how to use this API operation. 193 // 194 // The context must be non-nil and will be used for request cancellation. If 195 // the context is nil a panic will occur. In the future the SDK may create 196 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 197 // for more information on using Contexts. 198 func (c *MediaLive) BatchDeleteWithContext(ctx aws.Context, input *BatchDeleteInput, opts ...request.Option) (*BatchDeleteOutput, error) { 199 req, out := c.BatchDeleteRequest(input) 200 req.SetContext(ctx) 201 req.ApplyOptions(opts...) 202 return out, req.Send() 203 } 204 205 const opBatchStart = "BatchStart" 206 207 // BatchStartRequest generates a "aws/request.Request" representing the 208 // client's request for the BatchStart operation. The "output" return 209 // value will be populated with the request's response once the request completes 210 // successfully. 211 // 212 // Use "Send" method on the returned Request to send the API call to the service. 213 // the "output" return value is not valid until after Send returns without error. 214 // 215 // See BatchStart for more information on using the BatchStart 216 // API call, and error handling. 217 // 218 // This method is useful when you want to inject custom logic or configuration 219 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 220 // 221 // 222 // // Example sending a request using the BatchStartRequest method. 223 // req, resp := client.BatchStartRequest(params) 224 // 225 // err := req.Send() 226 // if err == nil { // resp is now filled 227 // fmt.Println(resp) 228 // } 229 // 230 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart 231 func (c *MediaLive) BatchStartRequest(input *BatchStartInput) (req *request.Request, output *BatchStartOutput) { 232 op := &request.Operation{ 233 Name: opBatchStart, 234 HTTPMethod: "POST", 235 HTTPPath: "/prod/batch/start", 236 } 237 238 if input == nil { 239 input = &BatchStartInput{} 240 } 241 242 output = &BatchStartOutput{} 243 req = c.newRequest(op, input, output) 244 return 245 } 246 247 // BatchStart API operation for AWS Elemental MediaLive. 248 // 249 // Starts existing resources 250 // 251 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 252 // with awserr.Error's Code and Message methods to get detailed information about 253 // the error. 254 // 255 // See the AWS API reference guide for AWS Elemental MediaLive's 256 // API operation BatchStart for usage and error information. 257 // 258 // Returned Error Types: 259 // * BadRequestException 260 // 261 // * InternalServerErrorException 262 // 263 // * ForbiddenException 264 // 265 // * BadGatewayException 266 // 267 // * NotFoundException 268 // 269 // * GatewayTimeoutException 270 // 271 // * TooManyRequestsException 272 // 273 // * ConflictException 274 // 275 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart 276 func (c *MediaLive) BatchStart(input *BatchStartInput) (*BatchStartOutput, error) { 277 req, out := c.BatchStartRequest(input) 278 return out, req.Send() 279 } 280 281 // BatchStartWithContext is the same as BatchStart with the addition of 282 // the ability to pass a context and additional request options. 283 // 284 // See BatchStart for details on how to use this API operation. 285 // 286 // The context must be non-nil and will be used for request cancellation. If 287 // the context is nil a panic will occur. In the future the SDK may create 288 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 289 // for more information on using Contexts. 290 func (c *MediaLive) BatchStartWithContext(ctx aws.Context, input *BatchStartInput, opts ...request.Option) (*BatchStartOutput, error) { 291 req, out := c.BatchStartRequest(input) 292 req.SetContext(ctx) 293 req.ApplyOptions(opts...) 294 return out, req.Send() 295 } 296 297 const opBatchStop = "BatchStop" 298 299 // BatchStopRequest generates a "aws/request.Request" representing the 300 // client's request for the BatchStop operation. The "output" return 301 // value will be populated with the request's response once the request completes 302 // successfully. 303 // 304 // Use "Send" method on the returned Request to send the API call to the service. 305 // the "output" return value is not valid until after Send returns without error. 306 // 307 // See BatchStop for more information on using the BatchStop 308 // API call, and error handling. 309 // 310 // This method is useful when you want to inject custom logic or configuration 311 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 312 // 313 // 314 // // Example sending a request using the BatchStopRequest method. 315 // req, resp := client.BatchStopRequest(params) 316 // 317 // err := req.Send() 318 // if err == nil { // resp is now filled 319 // fmt.Println(resp) 320 // } 321 // 322 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop 323 func (c *MediaLive) BatchStopRequest(input *BatchStopInput) (req *request.Request, output *BatchStopOutput) { 324 op := &request.Operation{ 325 Name: opBatchStop, 326 HTTPMethod: "POST", 327 HTTPPath: "/prod/batch/stop", 328 } 329 330 if input == nil { 331 input = &BatchStopInput{} 332 } 333 334 output = &BatchStopOutput{} 335 req = c.newRequest(op, input, output) 336 return 337 } 338 339 // BatchStop API operation for AWS Elemental MediaLive. 340 // 341 // Stops running resources 342 // 343 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 344 // with awserr.Error's Code and Message methods to get detailed information about 345 // the error. 346 // 347 // See the AWS API reference guide for AWS Elemental MediaLive's 348 // API operation BatchStop for usage and error information. 349 // 350 // Returned Error Types: 351 // * BadRequestException 352 // 353 // * InternalServerErrorException 354 // 355 // * ForbiddenException 356 // 357 // * BadGatewayException 358 // 359 // * NotFoundException 360 // 361 // * GatewayTimeoutException 362 // 363 // * TooManyRequestsException 364 // 365 // * ConflictException 366 // 367 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop 368 func (c *MediaLive) BatchStop(input *BatchStopInput) (*BatchStopOutput, error) { 369 req, out := c.BatchStopRequest(input) 370 return out, req.Send() 371 } 372 373 // BatchStopWithContext is the same as BatchStop with the addition of 374 // the ability to pass a context and additional request options. 375 // 376 // See BatchStop for details on how to use this API operation. 377 // 378 // The context must be non-nil and will be used for request cancellation. If 379 // the context is nil a panic will occur. In the future the SDK may create 380 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 381 // for more information on using Contexts. 382 func (c *MediaLive) BatchStopWithContext(ctx aws.Context, input *BatchStopInput, opts ...request.Option) (*BatchStopOutput, error) { 383 req, out := c.BatchStopRequest(input) 384 req.SetContext(ctx) 385 req.ApplyOptions(opts...) 386 return out, req.Send() 387 } 388 389 const opBatchUpdateSchedule = "BatchUpdateSchedule" 390 391 // BatchUpdateScheduleRequest generates a "aws/request.Request" representing the 392 // client's request for the BatchUpdateSchedule operation. The "output" return 393 // value will be populated with the request's response once the request completes 394 // successfully. 395 // 396 // Use "Send" method on the returned Request to send the API call to the service. 397 // the "output" return value is not valid until after Send returns without error. 398 // 399 // See BatchUpdateSchedule for more information on using the BatchUpdateSchedule 400 // API call, and error handling. 401 // 402 // This method is useful when you want to inject custom logic or configuration 403 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 404 // 405 // 406 // // Example sending a request using the BatchUpdateScheduleRequest method. 407 // req, resp := client.BatchUpdateScheduleRequest(params) 408 // 409 // err := req.Send() 410 // if err == nil { // resp is now filled 411 // fmt.Println(resp) 412 // } 413 // 414 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchUpdateSchedule 415 func (c *MediaLive) BatchUpdateScheduleRequest(input *BatchUpdateScheduleInput) (req *request.Request, output *BatchUpdateScheduleOutput) { 416 op := &request.Operation{ 417 Name: opBatchUpdateSchedule, 418 HTTPMethod: "PUT", 419 HTTPPath: "/prod/channels/{channelId}/schedule", 420 } 421 422 if input == nil { 423 input = &BatchUpdateScheduleInput{} 424 } 425 426 output = &BatchUpdateScheduleOutput{} 427 req = c.newRequest(op, input, output) 428 return 429 } 430 431 // BatchUpdateSchedule API operation for AWS Elemental MediaLive. 432 // 433 // Update a channel schedule 434 // 435 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 436 // with awserr.Error's Code and Message methods to get detailed information about 437 // the error. 438 // 439 // See the AWS API reference guide for AWS Elemental MediaLive's 440 // API operation BatchUpdateSchedule for usage and error information. 441 // 442 // Returned Error Types: 443 // * BadRequestException 444 // 445 // * UnprocessableEntityException 446 // 447 // * InternalServerErrorException 448 // 449 // * ForbiddenException 450 // 451 // * BadGatewayException 452 // 453 // * NotFoundException 454 // 455 // * GatewayTimeoutException 456 // 457 // * TooManyRequestsException 458 // 459 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchUpdateSchedule 460 func (c *MediaLive) BatchUpdateSchedule(input *BatchUpdateScheduleInput) (*BatchUpdateScheduleOutput, error) { 461 req, out := c.BatchUpdateScheduleRequest(input) 462 return out, req.Send() 463 } 464 465 // BatchUpdateScheduleWithContext is the same as BatchUpdateSchedule with the addition of 466 // the ability to pass a context and additional request options. 467 // 468 // See BatchUpdateSchedule for details on how to use this API operation. 469 // 470 // The context must be non-nil and will be used for request cancellation. If 471 // the context is nil a panic will occur. In the future the SDK may create 472 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 473 // for more information on using Contexts. 474 func (c *MediaLive) BatchUpdateScheduleWithContext(ctx aws.Context, input *BatchUpdateScheduleInput, opts ...request.Option) (*BatchUpdateScheduleOutput, error) { 475 req, out := c.BatchUpdateScheduleRequest(input) 476 req.SetContext(ctx) 477 req.ApplyOptions(opts...) 478 return out, req.Send() 479 } 480 481 const opCancelInputDeviceTransfer = "CancelInputDeviceTransfer" 482 483 // CancelInputDeviceTransferRequest generates a "aws/request.Request" representing the 484 // client's request for the CancelInputDeviceTransfer operation. The "output" return 485 // value will be populated with the request's response once the request completes 486 // successfully. 487 // 488 // Use "Send" method on the returned Request to send the API call to the service. 489 // the "output" return value is not valid until after Send returns without error. 490 // 491 // See CancelInputDeviceTransfer for more information on using the CancelInputDeviceTransfer 492 // API call, and error handling. 493 // 494 // This method is useful when you want to inject custom logic or configuration 495 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 496 // 497 // 498 // // Example sending a request using the CancelInputDeviceTransferRequest method. 499 // req, resp := client.CancelInputDeviceTransferRequest(params) 500 // 501 // err := req.Send() 502 // if err == nil { // resp is now filled 503 // fmt.Println(resp) 504 // } 505 // 506 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CancelInputDeviceTransfer 507 func (c *MediaLive) CancelInputDeviceTransferRequest(input *CancelInputDeviceTransferInput) (req *request.Request, output *CancelInputDeviceTransferOutput) { 508 op := &request.Operation{ 509 Name: opCancelInputDeviceTransfer, 510 HTTPMethod: "POST", 511 HTTPPath: "/prod/inputDevices/{inputDeviceId}/cancel", 512 } 513 514 if input == nil { 515 input = &CancelInputDeviceTransferInput{} 516 } 517 518 output = &CancelInputDeviceTransferOutput{} 519 req = c.newRequest(op, input, output) 520 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 521 return 522 } 523 524 // CancelInputDeviceTransfer API operation for AWS Elemental MediaLive. 525 // 526 // Cancel an input device transfer that you have requested. 527 // 528 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 529 // with awserr.Error's Code and Message methods to get detailed information about 530 // the error. 531 // 532 // See the AWS API reference guide for AWS Elemental MediaLive's 533 // API operation CancelInputDeviceTransfer for usage and error information. 534 // 535 // Returned Error Types: 536 // * BadRequestException 537 // 538 // * UnprocessableEntityException 539 // 540 // * InternalServerErrorException 541 // 542 // * ForbiddenException 543 // 544 // * BadGatewayException 545 // 546 // * NotFoundException 547 // 548 // * GatewayTimeoutException 549 // 550 // * TooManyRequestsException 551 // 552 // * ConflictException 553 // 554 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CancelInputDeviceTransfer 555 func (c *MediaLive) CancelInputDeviceTransfer(input *CancelInputDeviceTransferInput) (*CancelInputDeviceTransferOutput, error) { 556 req, out := c.CancelInputDeviceTransferRequest(input) 557 return out, req.Send() 558 } 559 560 // CancelInputDeviceTransferWithContext is the same as CancelInputDeviceTransfer with the addition of 561 // the ability to pass a context and additional request options. 562 // 563 // See CancelInputDeviceTransfer for details on how to use this API operation. 564 // 565 // The context must be non-nil and will be used for request cancellation. If 566 // the context is nil a panic will occur. In the future the SDK may create 567 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 568 // for more information on using Contexts. 569 func (c *MediaLive) CancelInputDeviceTransferWithContext(ctx aws.Context, input *CancelInputDeviceTransferInput, opts ...request.Option) (*CancelInputDeviceTransferOutput, error) { 570 req, out := c.CancelInputDeviceTransferRequest(input) 571 req.SetContext(ctx) 572 req.ApplyOptions(opts...) 573 return out, req.Send() 574 } 575 576 const opClaimDevice = "ClaimDevice" 577 578 // ClaimDeviceRequest generates a "aws/request.Request" representing the 579 // client's request for the ClaimDevice operation. The "output" return 580 // value will be populated with the request's response once the request completes 581 // successfully. 582 // 583 // Use "Send" method on the returned Request to send the API call to the service. 584 // the "output" return value is not valid until after Send returns without error. 585 // 586 // See ClaimDevice for more information on using the ClaimDevice 587 // API call, and error handling. 588 // 589 // This method is useful when you want to inject custom logic or configuration 590 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 591 // 592 // 593 // // Example sending a request using the ClaimDeviceRequest method. 594 // req, resp := client.ClaimDeviceRequest(params) 595 // 596 // err := req.Send() 597 // if err == nil { // resp is now filled 598 // fmt.Println(resp) 599 // } 600 // 601 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClaimDevice 602 func (c *MediaLive) ClaimDeviceRequest(input *ClaimDeviceInput) (req *request.Request, output *ClaimDeviceOutput) { 603 op := &request.Operation{ 604 Name: opClaimDevice, 605 HTTPMethod: "POST", 606 HTTPPath: "/prod/claimDevice", 607 } 608 609 if input == nil { 610 input = &ClaimDeviceInput{} 611 } 612 613 output = &ClaimDeviceOutput{} 614 req = c.newRequest(op, input, output) 615 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 616 return 617 } 618 619 // ClaimDevice API operation for AWS Elemental MediaLive. 620 // 621 // Send a request to claim an AWS Elemental device that you have purchased from 622 // a third-party vendor. After the request succeeds, you will own the device. 623 // 624 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 625 // with awserr.Error's Code and Message methods to get detailed information about 626 // the error. 627 // 628 // See the AWS API reference guide for AWS Elemental MediaLive's 629 // API operation ClaimDevice for usage and error information. 630 // 631 // Returned Error Types: 632 // * BadRequestException 633 // 634 // * UnprocessableEntityException 635 // 636 // * InternalServerErrorException 637 // 638 // * ForbiddenException 639 // 640 // * BadGatewayException 641 // 642 // * NotFoundException 643 // 644 // * GatewayTimeoutException 645 // 646 // * TooManyRequestsException 647 // 648 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClaimDevice 649 func (c *MediaLive) ClaimDevice(input *ClaimDeviceInput) (*ClaimDeviceOutput, error) { 650 req, out := c.ClaimDeviceRequest(input) 651 return out, req.Send() 652 } 653 654 // ClaimDeviceWithContext is the same as ClaimDevice with the addition of 655 // the ability to pass a context and additional request options. 656 // 657 // See ClaimDevice for details on how to use this API operation. 658 // 659 // The context must be non-nil and will be used for request cancellation. If 660 // the context is nil a panic will occur. In the future the SDK may create 661 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 662 // for more information on using Contexts. 663 func (c *MediaLive) ClaimDeviceWithContext(ctx aws.Context, input *ClaimDeviceInput, opts ...request.Option) (*ClaimDeviceOutput, error) { 664 req, out := c.ClaimDeviceRequest(input) 665 req.SetContext(ctx) 666 req.ApplyOptions(opts...) 667 return out, req.Send() 668 } 669 670 const opCreateChannel = "CreateChannel" 671 672 // CreateChannelRequest generates a "aws/request.Request" representing the 673 // client's request for the CreateChannel operation. The "output" return 674 // value will be populated with the request's response once the request completes 675 // successfully. 676 // 677 // Use "Send" method on the returned Request to send the API call to the service. 678 // the "output" return value is not valid until after Send returns without error. 679 // 680 // See CreateChannel for more information on using the CreateChannel 681 // API call, and error handling. 682 // 683 // This method is useful when you want to inject custom logic or configuration 684 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 685 // 686 // 687 // // Example sending a request using the CreateChannelRequest method. 688 // req, resp := client.CreateChannelRequest(params) 689 // 690 // err := req.Send() 691 // if err == nil { // resp is now filled 692 // fmt.Println(resp) 693 // } 694 // 695 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel 696 func (c *MediaLive) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { 697 op := &request.Operation{ 698 Name: opCreateChannel, 699 HTTPMethod: "POST", 700 HTTPPath: "/prod/channels", 701 } 702 703 if input == nil { 704 input = &CreateChannelInput{} 705 } 706 707 output = &CreateChannelOutput{} 708 req = c.newRequest(op, input, output) 709 return 710 } 711 712 // CreateChannel API operation for AWS Elemental MediaLive. 713 // 714 // Creates a new channel 715 // 716 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 717 // with awserr.Error's Code and Message methods to get detailed information about 718 // the error. 719 // 720 // See the AWS API reference guide for AWS Elemental MediaLive's 721 // API operation CreateChannel for usage and error information. 722 // 723 // Returned Error Types: 724 // * BadRequestException 725 // 726 // * UnprocessableEntityException 727 // 728 // * InternalServerErrorException 729 // 730 // * ForbiddenException 731 // 732 // * BadGatewayException 733 // 734 // * GatewayTimeoutException 735 // 736 // * TooManyRequestsException 737 // 738 // * ConflictException 739 // 740 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel 741 func (c *MediaLive) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { 742 req, out := c.CreateChannelRequest(input) 743 return out, req.Send() 744 } 745 746 // CreateChannelWithContext is the same as CreateChannel with the addition of 747 // the ability to pass a context and additional request options. 748 // 749 // See CreateChannel for details on how to use this API operation. 750 // 751 // The context must be non-nil and will be used for request cancellation. If 752 // the context is nil a panic will occur. In the future the SDK may create 753 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 754 // for more information on using Contexts. 755 func (c *MediaLive) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error) { 756 req, out := c.CreateChannelRequest(input) 757 req.SetContext(ctx) 758 req.ApplyOptions(opts...) 759 return out, req.Send() 760 } 761 762 const opCreateInput = "CreateInput" 763 764 // CreateInputRequest generates a "aws/request.Request" representing the 765 // client's request for the CreateInput operation. The "output" return 766 // value will be populated with the request's response once the request completes 767 // successfully. 768 // 769 // Use "Send" method on the returned Request to send the API call to the service. 770 // the "output" return value is not valid until after Send returns without error. 771 // 772 // See CreateInput for more information on using the CreateInput 773 // API call, and error handling. 774 // 775 // This method is useful when you want to inject custom logic or configuration 776 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 777 // 778 // 779 // // Example sending a request using the CreateInputRequest method. 780 // req, resp := client.CreateInputRequest(params) 781 // 782 // err := req.Send() 783 // if err == nil { // resp is now filled 784 // fmt.Println(resp) 785 // } 786 // 787 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput 788 func (c *MediaLive) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput) { 789 op := &request.Operation{ 790 Name: opCreateInput, 791 HTTPMethod: "POST", 792 HTTPPath: "/prod/inputs", 793 } 794 795 if input == nil { 796 input = &CreateInputInput{} 797 } 798 799 output = &CreateInputOutput{} 800 req = c.newRequest(op, input, output) 801 return 802 } 803 804 // CreateInput API operation for AWS Elemental MediaLive. 805 // 806 // Create an input 807 // 808 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 809 // with awserr.Error's Code and Message methods to get detailed information about 810 // the error. 811 // 812 // See the AWS API reference guide for AWS Elemental MediaLive's 813 // API operation CreateInput for usage and error information. 814 // 815 // Returned Error Types: 816 // * BadRequestException 817 // 818 // * InternalServerErrorException 819 // 820 // * ForbiddenException 821 // 822 // * BadGatewayException 823 // 824 // * GatewayTimeoutException 825 // 826 // * TooManyRequestsException 827 // 828 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput 829 func (c *MediaLive) CreateInput(input *CreateInputInput) (*CreateInputOutput, error) { 830 req, out := c.CreateInputRequest(input) 831 return out, req.Send() 832 } 833 834 // CreateInputWithContext is the same as CreateInput with the addition of 835 // the ability to pass a context and additional request options. 836 // 837 // See CreateInput for details on how to use this API operation. 838 // 839 // The context must be non-nil and will be used for request cancellation. If 840 // the context is nil a panic will occur. In the future the SDK may create 841 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 842 // for more information on using Contexts. 843 func (c *MediaLive) CreateInputWithContext(ctx aws.Context, input *CreateInputInput, opts ...request.Option) (*CreateInputOutput, error) { 844 req, out := c.CreateInputRequest(input) 845 req.SetContext(ctx) 846 req.ApplyOptions(opts...) 847 return out, req.Send() 848 } 849 850 const opCreateInputSecurityGroup = "CreateInputSecurityGroup" 851 852 // CreateInputSecurityGroupRequest generates a "aws/request.Request" representing the 853 // client's request for the CreateInputSecurityGroup operation. The "output" return 854 // value will be populated with the request's response once the request completes 855 // successfully. 856 // 857 // Use "Send" method on the returned Request to send the API call to the service. 858 // the "output" return value is not valid until after Send returns without error. 859 // 860 // See CreateInputSecurityGroup for more information on using the CreateInputSecurityGroup 861 // API call, and error handling. 862 // 863 // This method is useful when you want to inject custom logic or configuration 864 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 865 // 866 // 867 // // Example sending a request using the CreateInputSecurityGroupRequest method. 868 // req, resp := client.CreateInputSecurityGroupRequest(params) 869 // 870 // err := req.Send() 871 // if err == nil { // resp is now filled 872 // fmt.Println(resp) 873 // } 874 // 875 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroup 876 func (c *MediaLive) CreateInputSecurityGroupRequest(input *CreateInputSecurityGroupInput) (req *request.Request, output *CreateInputSecurityGroupOutput) { 877 op := &request.Operation{ 878 Name: opCreateInputSecurityGroup, 879 HTTPMethod: "POST", 880 HTTPPath: "/prod/inputSecurityGroups", 881 } 882 883 if input == nil { 884 input = &CreateInputSecurityGroupInput{} 885 } 886 887 output = &CreateInputSecurityGroupOutput{} 888 req = c.newRequest(op, input, output) 889 return 890 } 891 892 // CreateInputSecurityGroup API operation for AWS Elemental MediaLive. 893 // 894 // Creates a Input Security Group 895 // 896 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 897 // with awserr.Error's Code and Message methods to get detailed information about 898 // the error. 899 // 900 // See the AWS API reference guide for AWS Elemental MediaLive's 901 // API operation CreateInputSecurityGroup for usage and error information. 902 // 903 // Returned Error Types: 904 // * BadRequestException 905 // 906 // * InternalServerErrorException 907 // 908 // * ForbiddenException 909 // 910 // * BadGatewayException 911 // 912 // * GatewayTimeoutException 913 // 914 // * TooManyRequestsException 915 // 916 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroup 917 func (c *MediaLive) CreateInputSecurityGroup(input *CreateInputSecurityGroupInput) (*CreateInputSecurityGroupOutput, error) { 918 req, out := c.CreateInputSecurityGroupRequest(input) 919 return out, req.Send() 920 } 921 922 // CreateInputSecurityGroupWithContext is the same as CreateInputSecurityGroup with the addition of 923 // the ability to pass a context and additional request options. 924 // 925 // See CreateInputSecurityGroup for details on how to use this API operation. 926 // 927 // The context must be non-nil and will be used for request cancellation. If 928 // the context is nil a panic will occur. In the future the SDK may create 929 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 930 // for more information on using Contexts. 931 func (c *MediaLive) CreateInputSecurityGroupWithContext(ctx aws.Context, input *CreateInputSecurityGroupInput, opts ...request.Option) (*CreateInputSecurityGroupOutput, error) { 932 req, out := c.CreateInputSecurityGroupRequest(input) 933 req.SetContext(ctx) 934 req.ApplyOptions(opts...) 935 return out, req.Send() 936 } 937 938 const opCreateMultiplex = "CreateMultiplex" 939 940 // CreateMultiplexRequest generates a "aws/request.Request" representing the 941 // client's request for the CreateMultiplex operation. The "output" return 942 // value will be populated with the request's response once the request completes 943 // successfully. 944 // 945 // Use "Send" method on the returned Request to send the API call to the service. 946 // the "output" return value is not valid until after Send returns without error. 947 // 948 // See CreateMultiplex for more information on using the CreateMultiplex 949 // API call, and error handling. 950 // 951 // This method is useful when you want to inject custom logic or configuration 952 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 953 // 954 // 955 // // Example sending a request using the CreateMultiplexRequest method. 956 // req, resp := client.CreateMultiplexRequest(params) 957 // 958 // err := req.Send() 959 // if err == nil { // resp is now filled 960 // fmt.Println(resp) 961 // } 962 // 963 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplex 964 func (c *MediaLive) CreateMultiplexRequest(input *CreateMultiplexInput) (req *request.Request, output *CreateMultiplexOutput) { 965 op := &request.Operation{ 966 Name: opCreateMultiplex, 967 HTTPMethod: "POST", 968 HTTPPath: "/prod/multiplexes", 969 } 970 971 if input == nil { 972 input = &CreateMultiplexInput{} 973 } 974 975 output = &CreateMultiplexOutput{} 976 req = c.newRequest(op, input, output) 977 return 978 } 979 980 // CreateMultiplex API operation for AWS Elemental MediaLive. 981 // 982 // Create a new multiplex. 983 // 984 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 985 // with awserr.Error's Code and Message methods to get detailed information about 986 // the error. 987 // 988 // See the AWS API reference guide for AWS Elemental MediaLive's 989 // API operation CreateMultiplex for usage and error information. 990 // 991 // Returned Error Types: 992 // * BadRequestException 993 // 994 // * UnprocessableEntityException 995 // 996 // * InternalServerErrorException 997 // 998 // * ForbiddenException 999 // 1000 // * BadGatewayException 1001 // 1002 // * GatewayTimeoutException 1003 // 1004 // * TooManyRequestsException 1005 // 1006 // * ConflictException 1007 // 1008 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplex 1009 func (c *MediaLive) CreateMultiplex(input *CreateMultiplexInput) (*CreateMultiplexOutput, error) { 1010 req, out := c.CreateMultiplexRequest(input) 1011 return out, req.Send() 1012 } 1013 1014 // CreateMultiplexWithContext is the same as CreateMultiplex with the addition of 1015 // the ability to pass a context and additional request options. 1016 // 1017 // See CreateMultiplex for details on how to use this API operation. 1018 // 1019 // The context must be non-nil and will be used for request cancellation. If 1020 // the context is nil a panic will occur. In the future the SDK may create 1021 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1022 // for more information on using Contexts. 1023 func (c *MediaLive) CreateMultiplexWithContext(ctx aws.Context, input *CreateMultiplexInput, opts ...request.Option) (*CreateMultiplexOutput, error) { 1024 req, out := c.CreateMultiplexRequest(input) 1025 req.SetContext(ctx) 1026 req.ApplyOptions(opts...) 1027 return out, req.Send() 1028 } 1029 1030 const opCreateMultiplexProgram = "CreateMultiplexProgram" 1031 1032 // CreateMultiplexProgramRequest generates a "aws/request.Request" representing the 1033 // client's request for the CreateMultiplexProgram operation. The "output" return 1034 // value will be populated with the request's response once the request completes 1035 // successfully. 1036 // 1037 // Use "Send" method on the returned Request to send the API call to the service. 1038 // the "output" return value is not valid until after Send returns without error. 1039 // 1040 // See CreateMultiplexProgram for more information on using the CreateMultiplexProgram 1041 // API call, and error handling. 1042 // 1043 // This method is useful when you want to inject custom logic or configuration 1044 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1045 // 1046 // 1047 // // Example sending a request using the CreateMultiplexProgramRequest method. 1048 // req, resp := client.CreateMultiplexProgramRequest(params) 1049 // 1050 // err := req.Send() 1051 // if err == nil { // resp is now filled 1052 // fmt.Println(resp) 1053 // } 1054 // 1055 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplexProgram 1056 func (c *MediaLive) CreateMultiplexProgramRequest(input *CreateMultiplexProgramInput) (req *request.Request, output *CreateMultiplexProgramOutput) { 1057 op := &request.Operation{ 1058 Name: opCreateMultiplexProgram, 1059 HTTPMethod: "POST", 1060 HTTPPath: "/prod/multiplexes/{multiplexId}/programs", 1061 } 1062 1063 if input == nil { 1064 input = &CreateMultiplexProgramInput{} 1065 } 1066 1067 output = &CreateMultiplexProgramOutput{} 1068 req = c.newRequest(op, input, output) 1069 return 1070 } 1071 1072 // CreateMultiplexProgram API operation for AWS Elemental MediaLive. 1073 // 1074 // Create a new program in the multiplex. 1075 // 1076 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1077 // with awserr.Error's Code and Message methods to get detailed information about 1078 // the error. 1079 // 1080 // See the AWS API reference guide for AWS Elemental MediaLive's 1081 // API operation CreateMultiplexProgram for usage and error information. 1082 // 1083 // Returned Error Types: 1084 // * BadRequestException 1085 // 1086 // * UnprocessableEntityException 1087 // 1088 // * InternalServerErrorException 1089 // 1090 // * ForbiddenException 1091 // 1092 // * BadGatewayException 1093 // 1094 // * GatewayTimeoutException 1095 // 1096 // * TooManyRequestsException 1097 // 1098 // * ConflictException 1099 // 1100 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplexProgram 1101 func (c *MediaLive) CreateMultiplexProgram(input *CreateMultiplexProgramInput) (*CreateMultiplexProgramOutput, error) { 1102 req, out := c.CreateMultiplexProgramRequest(input) 1103 return out, req.Send() 1104 } 1105 1106 // CreateMultiplexProgramWithContext is the same as CreateMultiplexProgram with the addition of 1107 // the ability to pass a context and additional request options. 1108 // 1109 // See CreateMultiplexProgram for details on how to use this API operation. 1110 // 1111 // The context must be non-nil and will be used for request cancellation. If 1112 // the context is nil a panic will occur. In the future the SDK may create 1113 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1114 // for more information on using Contexts. 1115 func (c *MediaLive) CreateMultiplexProgramWithContext(ctx aws.Context, input *CreateMultiplexProgramInput, opts ...request.Option) (*CreateMultiplexProgramOutput, error) { 1116 req, out := c.CreateMultiplexProgramRequest(input) 1117 req.SetContext(ctx) 1118 req.ApplyOptions(opts...) 1119 return out, req.Send() 1120 } 1121 1122 const opCreatePartnerInput = "CreatePartnerInput" 1123 1124 // CreatePartnerInputRequest generates a "aws/request.Request" representing the 1125 // client's request for the CreatePartnerInput operation. The "output" return 1126 // value will be populated with the request's response once the request completes 1127 // successfully. 1128 // 1129 // Use "Send" method on the returned Request to send the API call to the service. 1130 // the "output" return value is not valid until after Send returns without error. 1131 // 1132 // See CreatePartnerInput for more information on using the CreatePartnerInput 1133 // API call, and error handling. 1134 // 1135 // This method is useful when you want to inject custom logic or configuration 1136 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1137 // 1138 // 1139 // // Example sending a request using the CreatePartnerInputRequest method. 1140 // req, resp := client.CreatePartnerInputRequest(params) 1141 // 1142 // err := req.Send() 1143 // if err == nil { // resp is now filled 1144 // fmt.Println(resp) 1145 // } 1146 // 1147 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput 1148 func (c *MediaLive) CreatePartnerInputRequest(input *CreatePartnerInputInput) (req *request.Request, output *CreatePartnerInputOutput) { 1149 op := &request.Operation{ 1150 Name: opCreatePartnerInput, 1151 HTTPMethod: "POST", 1152 HTTPPath: "/prod/inputs/{inputId}/partners", 1153 } 1154 1155 if input == nil { 1156 input = &CreatePartnerInputInput{} 1157 } 1158 1159 output = &CreatePartnerInputOutput{} 1160 req = c.newRequest(op, input, output) 1161 return 1162 } 1163 1164 // CreatePartnerInput API operation for AWS Elemental MediaLive. 1165 // 1166 // Create a partner input 1167 // 1168 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1169 // with awserr.Error's Code and Message methods to get detailed information about 1170 // the error. 1171 // 1172 // See the AWS API reference guide for AWS Elemental MediaLive's 1173 // API operation CreatePartnerInput for usage and error information. 1174 // 1175 // Returned Error Types: 1176 // * BadRequestException 1177 // 1178 // * InternalServerErrorException 1179 // 1180 // * ForbiddenException 1181 // 1182 // * BadGatewayException 1183 // 1184 // * GatewayTimeoutException 1185 // 1186 // * TooManyRequestsException 1187 // 1188 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput 1189 func (c *MediaLive) CreatePartnerInput(input *CreatePartnerInputInput) (*CreatePartnerInputOutput, error) { 1190 req, out := c.CreatePartnerInputRequest(input) 1191 return out, req.Send() 1192 } 1193 1194 // CreatePartnerInputWithContext is the same as CreatePartnerInput with the addition of 1195 // the ability to pass a context and additional request options. 1196 // 1197 // See CreatePartnerInput for details on how to use this API operation. 1198 // 1199 // The context must be non-nil and will be used for request cancellation. If 1200 // the context is nil a panic will occur. In the future the SDK may create 1201 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1202 // for more information on using Contexts. 1203 func (c *MediaLive) CreatePartnerInputWithContext(ctx aws.Context, input *CreatePartnerInputInput, opts ...request.Option) (*CreatePartnerInputOutput, error) { 1204 req, out := c.CreatePartnerInputRequest(input) 1205 req.SetContext(ctx) 1206 req.ApplyOptions(opts...) 1207 return out, req.Send() 1208 } 1209 1210 const opCreateTags = "CreateTags" 1211 1212 // CreateTagsRequest generates a "aws/request.Request" representing the 1213 // client's request for the CreateTags operation. The "output" return 1214 // value will be populated with the request's response once the request completes 1215 // successfully. 1216 // 1217 // Use "Send" method on the returned Request to send the API call to the service. 1218 // the "output" return value is not valid until after Send returns without error. 1219 // 1220 // See CreateTags for more information on using the CreateTags 1221 // API call, and error handling. 1222 // 1223 // This method is useful when you want to inject custom logic or configuration 1224 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1225 // 1226 // 1227 // // Example sending a request using the CreateTagsRequest method. 1228 // req, resp := client.CreateTagsRequest(params) 1229 // 1230 // err := req.Send() 1231 // if err == nil { // resp is now filled 1232 // fmt.Println(resp) 1233 // } 1234 // 1235 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateTags 1236 func (c *MediaLive) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { 1237 op := &request.Operation{ 1238 Name: opCreateTags, 1239 HTTPMethod: "POST", 1240 HTTPPath: "/prod/tags/{resource-arn}", 1241 } 1242 1243 if input == nil { 1244 input = &CreateTagsInput{} 1245 } 1246 1247 output = &CreateTagsOutput{} 1248 req = c.newRequest(op, input, output) 1249 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1250 return 1251 } 1252 1253 // CreateTags API operation for AWS Elemental MediaLive. 1254 // 1255 // Create tags for a resource 1256 // 1257 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1258 // with awserr.Error's Code and Message methods to get detailed information about 1259 // the error. 1260 // 1261 // See the AWS API reference guide for AWS Elemental MediaLive's 1262 // API operation CreateTags for usage and error information. 1263 // 1264 // Returned Error Types: 1265 // * NotFoundException 1266 // 1267 // * BadRequestException 1268 // 1269 // * InternalServerErrorException 1270 // 1271 // * ForbiddenException 1272 // 1273 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateTags 1274 func (c *MediaLive) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { 1275 req, out := c.CreateTagsRequest(input) 1276 return out, req.Send() 1277 } 1278 1279 // CreateTagsWithContext is the same as CreateTags with the addition of 1280 // the ability to pass a context and additional request options. 1281 // 1282 // See CreateTags for details on how to use this API operation. 1283 // 1284 // The context must be non-nil and will be used for request cancellation. If 1285 // the context is nil a panic will occur. In the future the SDK may create 1286 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1287 // for more information on using Contexts. 1288 func (c *MediaLive) CreateTagsWithContext(ctx aws.Context, input *CreateTagsInput, opts ...request.Option) (*CreateTagsOutput, error) { 1289 req, out := c.CreateTagsRequest(input) 1290 req.SetContext(ctx) 1291 req.ApplyOptions(opts...) 1292 return out, req.Send() 1293 } 1294 1295 const opDeleteChannel = "DeleteChannel" 1296 1297 // DeleteChannelRequest generates a "aws/request.Request" representing the 1298 // client's request for the DeleteChannel operation. The "output" return 1299 // value will be populated with the request's response once the request completes 1300 // successfully. 1301 // 1302 // Use "Send" method on the returned Request to send the API call to the service. 1303 // the "output" return value is not valid until after Send returns without error. 1304 // 1305 // See DeleteChannel for more information on using the DeleteChannel 1306 // API call, and error handling. 1307 // 1308 // This method is useful when you want to inject custom logic or configuration 1309 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1310 // 1311 // 1312 // // Example sending a request using the DeleteChannelRequest method. 1313 // req, resp := client.DeleteChannelRequest(params) 1314 // 1315 // err := req.Send() 1316 // if err == nil { // resp is now filled 1317 // fmt.Println(resp) 1318 // } 1319 // 1320 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel 1321 func (c *MediaLive) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { 1322 op := &request.Operation{ 1323 Name: opDeleteChannel, 1324 HTTPMethod: "DELETE", 1325 HTTPPath: "/prod/channels/{channelId}", 1326 } 1327 1328 if input == nil { 1329 input = &DeleteChannelInput{} 1330 } 1331 1332 output = &DeleteChannelOutput{} 1333 req = c.newRequest(op, input, output) 1334 return 1335 } 1336 1337 // DeleteChannel API operation for AWS Elemental MediaLive. 1338 // 1339 // Starts deletion of channel. The associated outputs are also deleted. 1340 // 1341 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1342 // with awserr.Error's Code and Message methods to get detailed information about 1343 // the error. 1344 // 1345 // See the AWS API reference guide for AWS Elemental MediaLive's 1346 // API operation DeleteChannel for usage and error information. 1347 // 1348 // Returned Error Types: 1349 // * BadRequestException 1350 // 1351 // * InternalServerErrorException 1352 // 1353 // * ForbiddenException 1354 // 1355 // * BadGatewayException 1356 // 1357 // * NotFoundException 1358 // 1359 // * GatewayTimeoutException 1360 // 1361 // * TooManyRequestsException 1362 // 1363 // * ConflictException 1364 // 1365 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel 1366 func (c *MediaLive) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { 1367 req, out := c.DeleteChannelRequest(input) 1368 return out, req.Send() 1369 } 1370 1371 // DeleteChannelWithContext is the same as DeleteChannel with the addition of 1372 // the ability to pass a context and additional request options. 1373 // 1374 // See DeleteChannel for details on how to use this API operation. 1375 // 1376 // The context must be non-nil and will be used for request cancellation. If 1377 // the context is nil a panic will occur. In the future the SDK may create 1378 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1379 // for more information on using Contexts. 1380 func (c *MediaLive) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error) { 1381 req, out := c.DeleteChannelRequest(input) 1382 req.SetContext(ctx) 1383 req.ApplyOptions(opts...) 1384 return out, req.Send() 1385 } 1386 1387 const opDeleteInput = "DeleteInput" 1388 1389 // DeleteInputRequest generates a "aws/request.Request" representing the 1390 // client's request for the DeleteInput operation. The "output" return 1391 // value will be populated with the request's response once the request completes 1392 // successfully. 1393 // 1394 // Use "Send" method on the returned Request to send the API call to the service. 1395 // the "output" return value is not valid until after Send returns without error. 1396 // 1397 // See DeleteInput for more information on using the DeleteInput 1398 // API call, and error handling. 1399 // 1400 // This method is useful when you want to inject custom logic or configuration 1401 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1402 // 1403 // 1404 // // Example sending a request using the DeleteInputRequest method. 1405 // req, resp := client.DeleteInputRequest(params) 1406 // 1407 // err := req.Send() 1408 // if err == nil { // resp is now filled 1409 // fmt.Println(resp) 1410 // } 1411 // 1412 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput 1413 func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput) { 1414 op := &request.Operation{ 1415 Name: opDeleteInput, 1416 HTTPMethod: "DELETE", 1417 HTTPPath: "/prod/inputs/{inputId}", 1418 } 1419 1420 if input == nil { 1421 input = &DeleteInputInput{} 1422 } 1423 1424 output = &DeleteInputOutput{} 1425 req = c.newRequest(op, input, output) 1426 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1427 return 1428 } 1429 1430 // DeleteInput API operation for AWS Elemental MediaLive. 1431 // 1432 // Deletes the input end point 1433 // 1434 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1435 // with awserr.Error's Code and Message methods to get detailed information about 1436 // the error. 1437 // 1438 // See the AWS API reference guide for AWS Elemental MediaLive's 1439 // API operation DeleteInput for usage and error information. 1440 // 1441 // Returned Error Types: 1442 // * BadRequestException 1443 // 1444 // * InternalServerErrorException 1445 // 1446 // * ForbiddenException 1447 // 1448 // * BadGatewayException 1449 // 1450 // * NotFoundException 1451 // 1452 // * GatewayTimeoutException 1453 // 1454 // * TooManyRequestsException 1455 // 1456 // * ConflictException 1457 // 1458 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput 1459 func (c *MediaLive) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error) { 1460 req, out := c.DeleteInputRequest(input) 1461 return out, req.Send() 1462 } 1463 1464 // DeleteInputWithContext is the same as DeleteInput with the addition of 1465 // the ability to pass a context and additional request options. 1466 // 1467 // See DeleteInput for details on how to use this API operation. 1468 // 1469 // The context must be non-nil and will be used for request cancellation. If 1470 // the context is nil a panic will occur. In the future the SDK may create 1471 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1472 // for more information on using Contexts. 1473 func (c *MediaLive) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error) { 1474 req, out := c.DeleteInputRequest(input) 1475 req.SetContext(ctx) 1476 req.ApplyOptions(opts...) 1477 return out, req.Send() 1478 } 1479 1480 const opDeleteInputSecurityGroup = "DeleteInputSecurityGroup" 1481 1482 // DeleteInputSecurityGroupRequest generates a "aws/request.Request" representing the 1483 // client's request for the DeleteInputSecurityGroup operation. The "output" return 1484 // value will be populated with the request's response once the request completes 1485 // successfully. 1486 // 1487 // Use "Send" method on the returned Request to send the API call to the service. 1488 // the "output" return value is not valid until after Send returns without error. 1489 // 1490 // See DeleteInputSecurityGroup for more information on using the DeleteInputSecurityGroup 1491 // API call, and error handling. 1492 // 1493 // This method is useful when you want to inject custom logic or configuration 1494 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1495 // 1496 // 1497 // // Example sending a request using the DeleteInputSecurityGroupRequest method. 1498 // req, resp := client.DeleteInputSecurityGroupRequest(params) 1499 // 1500 // err := req.Send() 1501 // if err == nil { // resp is now filled 1502 // fmt.Println(resp) 1503 // } 1504 // 1505 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup 1506 func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGroupInput) (req *request.Request, output *DeleteInputSecurityGroupOutput) { 1507 op := &request.Operation{ 1508 Name: opDeleteInputSecurityGroup, 1509 HTTPMethod: "DELETE", 1510 HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", 1511 } 1512 1513 if input == nil { 1514 input = &DeleteInputSecurityGroupInput{} 1515 } 1516 1517 output = &DeleteInputSecurityGroupOutput{} 1518 req = c.newRequest(op, input, output) 1519 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1520 return 1521 } 1522 1523 // DeleteInputSecurityGroup API operation for AWS Elemental MediaLive. 1524 // 1525 // Deletes an Input Security Group 1526 // 1527 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1528 // with awserr.Error's Code and Message methods to get detailed information about 1529 // the error. 1530 // 1531 // See the AWS API reference guide for AWS Elemental MediaLive's 1532 // API operation DeleteInputSecurityGroup for usage and error information. 1533 // 1534 // Returned Error Types: 1535 // * BadRequestException 1536 // 1537 // * InternalServerErrorException 1538 // 1539 // * ForbiddenException 1540 // 1541 // * BadGatewayException 1542 // 1543 // * NotFoundException 1544 // 1545 // * GatewayTimeoutException 1546 // 1547 // * TooManyRequestsException 1548 // 1549 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup 1550 func (c *MediaLive) DeleteInputSecurityGroup(input *DeleteInputSecurityGroupInput) (*DeleteInputSecurityGroupOutput, error) { 1551 req, out := c.DeleteInputSecurityGroupRequest(input) 1552 return out, req.Send() 1553 } 1554 1555 // DeleteInputSecurityGroupWithContext is the same as DeleteInputSecurityGroup with the addition of 1556 // the ability to pass a context and additional request options. 1557 // 1558 // See DeleteInputSecurityGroup for details on how to use this API operation. 1559 // 1560 // The context must be non-nil and will be used for request cancellation. If 1561 // the context is nil a panic will occur. In the future the SDK may create 1562 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1563 // for more information on using Contexts. 1564 func (c *MediaLive) DeleteInputSecurityGroupWithContext(ctx aws.Context, input *DeleteInputSecurityGroupInput, opts ...request.Option) (*DeleteInputSecurityGroupOutput, error) { 1565 req, out := c.DeleteInputSecurityGroupRequest(input) 1566 req.SetContext(ctx) 1567 req.ApplyOptions(opts...) 1568 return out, req.Send() 1569 } 1570 1571 const opDeleteMultiplex = "DeleteMultiplex" 1572 1573 // DeleteMultiplexRequest generates a "aws/request.Request" representing the 1574 // client's request for the DeleteMultiplex operation. The "output" return 1575 // value will be populated with the request's response once the request completes 1576 // successfully. 1577 // 1578 // Use "Send" method on the returned Request to send the API call to the service. 1579 // the "output" return value is not valid until after Send returns without error. 1580 // 1581 // See DeleteMultiplex for more information on using the DeleteMultiplex 1582 // API call, and error handling. 1583 // 1584 // This method is useful when you want to inject custom logic or configuration 1585 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1586 // 1587 // 1588 // // Example sending a request using the DeleteMultiplexRequest method. 1589 // req, resp := client.DeleteMultiplexRequest(params) 1590 // 1591 // err := req.Send() 1592 // if err == nil { // resp is now filled 1593 // fmt.Println(resp) 1594 // } 1595 // 1596 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex 1597 func (c *MediaLive) DeleteMultiplexRequest(input *DeleteMultiplexInput) (req *request.Request, output *DeleteMultiplexOutput) { 1598 op := &request.Operation{ 1599 Name: opDeleteMultiplex, 1600 HTTPMethod: "DELETE", 1601 HTTPPath: "/prod/multiplexes/{multiplexId}", 1602 } 1603 1604 if input == nil { 1605 input = &DeleteMultiplexInput{} 1606 } 1607 1608 output = &DeleteMultiplexOutput{} 1609 req = c.newRequest(op, input, output) 1610 return 1611 } 1612 1613 // DeleteMultiplex API operation for AWS Elemental MediaLive. 1614 // 1615 // Delete a multiplex. The multiplex must be idle. 1616 // 1617 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1618 // with awserr.Error's Code and Message methods to get detailed information about 1619 // the error. 1620 // 1621 // See the AWS API reference guide for AWS Elemental MediaLive's 1622 // API operation DeleteMultiplex for usage and error information. 1623 // 1624 // Returned Error Types: 1625 // * BadRequestException 1626 // 1627 // * InternalServerErrorException 1628 // 1629 // * ForbiddenException 1630 // 1631 // * BadGatewayException 1632 // 1633 // * NotFoundException 1634 // 1635 // * GatewayTimeoutException 1636 // 1637 // * TooManyRequestsException 1638 // 1639 // * ConflictException 1640 // 1641 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex 1642 func (c *MediaLive) DeleteMultiplex(input *DeleteMultiplexInput) (*DeleteMultiplexOutput, error) { 1643 req, out := c.DeleteMultiplexRequest(input) 1644 return out, req.Send() 1645 } 1646 1647 // DeleteMultiplexWithContext is the same as DeleteMultiplex with the addition of 1648 // the ability to pass a context and additional request options. 1649 // 1650 // See DeleteMultiplex for details on how to use this API operation. 1651 // 1652 // The context must be non-nil and will be used for request cancellation. If 1653 // the context is nil a panic will occur. In the future the SDK may create 1654 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1655 // for more information on using Contexts. 1656 func (c *MediaLive) DeleteMultiplexWithContext(ctx aws.Context, input *DeleteMultiplexInput, opts ...request.Option) (*DeleteMultiplexOutput, error) { 1657 req, out := c.DeleteMultiplexRequest(input) 1658 req.SetContext(ctx) 1659 req.ApplyOptions(opts...) 1660 return out, req.Send() 1661 } 1662 1663 const opDeleteMultiplexProgram = "DeleteMultiplexProgram" 1664 1665 // DeleteMultiplexProgramRequest generates a "aws/request.Request" representing the 1666 // client's request for the DeleteMultiplexProgram operation. The "output" return 1667 // value will be populated with the request's response once the request completes 1668 // successfully. 1669 // 1670 // Use "Send" method on the returned Request to send the API call to the service. 1671 // the "output" return value is not valid until after Send returns without error. 1672 // 1673 // See DeleteMultiplexProgram for more information on using the DeleteMultiplexProgram 1674 // API call, and error handling. 1675 // 1676 // This method is useful when you want to inject custom logic or configuration 1677 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1678 // 1679 // 1680 // // Example sending a request using the DeleteMultiplexProgramRequest method. 1681 // req, resp := client.DeleteMultiplexProgramRequest(params) 1682 // 1683 // err := req.Send() 1684 // if err == nil { // resp is now filled 1685 // fmt.Println(resp) 1686 // } 1687 // 1688 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram 1689 func (c *MediaLive) DeleteMultiplexProgramRequest(input *DeleteMultiplexProgramInput) (req *request.Request, output *DeleteMultiplexProgramOutput) { 1690 op := &request.Operation{ 1691 Name: opDeleteMultiplexProgram, 1692 HTTPMethod: "DELETE", 1693 HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", 1694 } 1695 1696 if input == nil { 1697 input = &DeleteMultiplexProgramInput{} 1698 } 1699 1700 output = &DeleteMultiplexProgramOutput{} 1701 req = c.newRequest(op, input, output) 1702 return 1703 } 1704 1705 // DeleteMultiplexProgram API operation for AWS Elemental MediaLive. 1706 // 1707 // Delete a program from a multiplex. 1708 // 1709 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1710 // with awserr.Error's Code and Message methods to get detailed information about 1711 // the error. 1712 // 1713 // See the AWS API reference guide for AWS Elemental MediaLive's 1714 // API operation DeleteMultiplexProgram for usage and error information. 1715 // 1716 // Returned Error Types: 1717 // * BadRequestException 1718 // 1719 // * InternalServerErrorException 1720 // 1721 // * ForbiddenException 1722 // 1723 // * BadGatewayException 1724 // 1725 // * NotFoundException 1726 // 1727 // * GatewayTimeoutException 1728 // 1729 // * TooManyRequestsException 1730 // 1731 // * ConflictException 1732 // 1733 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram 1734 func (c *MediaLive) DeleteMultiplexProgram(input *DeleteMultiplexProgramInput) (*DeleteMultiplexProgramOutput, error) { 1735 req, out := c.DeleteMultiplexProgramRequest(input) 1736 return out, req.Send() 1737 } 1738 1739 // DeleteMultiplexProgramWithContext is the same as DeleteMultiplexProgram with the addition of 1740 // the ability to pass a context and additional request options. 1741 // 1742 // See DeleteMultiplexProgram for details on how to use this API operation. 1743 // 1744 // The context must be non-nil and will be used for request cancellation. If 1745 // the context is nil a panic will occur. In the future the SDK may create 1746 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1747 // for more information on using Contexts. 1748 func (c *MediaLive) DeleteMultiplexProgramWithContext(ctx aws.Context, input *DeleteMultiplexProgramInput, opts ...request.Option) (*DeleteMultiplexProgramOutput, error) { 1749 req, out := c.DeleteMultiplexProgramRequest(input) 1750 req.SetContext(ctx) 1751 req.ApplyOptions(opts...) 1752 return out, req.Send() 1753 } 1754 1755 const opDeleteReservation = "DeleteReservation" 1756 1757 // DeleteReservationRequest generates a "aws/request.Request" representing the 1758 // client's request for the DeleteReservation operation. The "output" return 1759 // value will be populated with the request's response once the request completes 1760 // successfully. 1761 // 1762 // Use "Send" method on the returned Request to send the API call to the service. 1763 // the "output" return value is not valid until after Send returns without error. 1764 // 1765 // See DeleteReservation for more information on using the DeleteReservation 1766 // API call, and error handling. 1767 // 1768 // This method is useful when you want to inject custom logic or configuration 1769 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1770 // 1771 // 1772 // // Example sending a request using the DeleteReservationRequest method. 1773 // req, resp := client.DeleteReservationRequest(params) 1774 // 1775 // err := req.Send() 1776 // if err == nil { // resp is now filled 1777 // fmt.Println(resp) 1778 // } 1779 // 1780 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation 1781 func (c *MediaLive) DeleteReservationRequest(input *DeleteReservationInput) (req *request.Request, output *DeleteReservationOutput) { 1782 op := &request.Operation{ 1783 Name: opDeleteReservation, 1784 HTTPMethod: "DELETE", 1785 HTTPPath: "/prod/reservations/{reservationId}", 1786 } 1787 1788 if input == nil { 1789 input = &DeleteReservationInput{} 1790 } 1791 1792 output = &DeleteReservationOutput{} 1793 req = c.newRequest(op, input, output) 1794 return 1795 } 1796 1797 // DeleteReservation API operation for AWS Elemental MediaLive. 1798 // 1799 // Delete an expired reservation. 1800 // 1801 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1802 // with awserr.Error's Code and Message methods to get detailed information about 1803 // the error. 1804 // 1805 // See the AWS API reference guide for AWS Elemental MediaLive's 1806 // API operation DeleteReservation for usage and error information. 1807 // 1808 // Returned Error Types: 1809 // * BadRequestException 1810 // 1811 // * InternalServerErrorException 1812 // 1813 // * ForbiddenException 1814 // 1815 // * BadGatewayException 1816 // 1817 // * NotFoundException 1818 // 1819 // * GatewayTimeoutException 1820 // 1821 // * TooManyRequestsException 1822 // 1823 // * ConflictException 1824 // 1825 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation 1826 func (c *MediaLive) DeleteReservation(input *DeleteReservationInput) (*DeleteReservationOutput, error) { 1827 req, out := c.DeleteReservationRequest(input) 1828 return out, req.Send() 1829 } 1830 1831 // DeleteReservationWithContext is the same as DeleteReservation with the addition of 1832 // the ability to pass a context and additional request options. 1833 // 1834 // See DeleteReservation for details on how to use this API operation. 1835 // 1836 // The context must be non-nil and will be used for request cancellation. If 1837 // the context is nil a panic will occur. In the future the SDK may create 1838 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1839 // for more information on using Contexts. 1840 func (c *MediaLive) DeleteReservationWithContext(ctx aws.Context, input *DeleteReservationInput, opts ...request.Option) (*DeleteReservationOutput, error) { 1841 req, out := c.DeleteReservationRequest(input) 1842 req.SetContext(ctx) 1843 req.ApplyOptions(opts...) 1844 return out, req.Send() 1845 } 1846 1847 const opDeleteSchedule = "DeleteSchedule" 1848 1849 // DeleteScheduleRequest generates a "aws/request.Request" representing the 1850 // client's request for the DeleteSchedule operation. The "output" return 1851 // value will be populated with the request's response once the request completes 1852 // successfully. 1853 // 1854 // Use "Send" method on the returned Request to send the API call to the service. 1855 // the "output" return value is not valid until after Send returns without error. 1856 // 1857 // See DeleteSchedule for more information on using the DeleteSchedule 1858 // API call, and error handling. 1859 // 1860 // This method is useful when you want to inject custom logic or configuration 1861 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1862 // 1863 // 1864 // // Example sending a request using the DeleteScheduleRequest method. 1865 // req, resp := client.DeleteScheduleRequest(params) 1866 // 1867 // err := req.Send() 1868 // if err == nil { // resp is now filled 1869 // fmt.Println(resp) 1870 // } 1871 // 1872 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule 1873 func (c *MediaLive) DeleteScheduleRequest(input *DeleteScheduleInput) (req *request.Request, output *DeleteScheduleOutput) { 1874 op := &request.Operation{ 1875 Name: opDeleteSchedule, 1876 HTTPMethod: "DELETE", 1877 HTTPPath: "/prod/channels/{channelId}/schedule", 1878 } 1879 1880 if input == nil { 1881 input = &DeleteScheduleInput{} 1882 } 1883 1884 output = &DeleteScheduleOutput{} 1885 req = c.newRequest(op, input, output) 1886 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1887 return 1888 } 1889 1890 // DeleteSchedule API operation for AWS Elemental MediaLive. 1891 // 1892 // Delete all schedule actions on a channel. 1893 // 1894 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1895 // with awserr.Error's Code and Message methods to get detailed information about 1896 // the error. 1897 // 1898 // See the AWS API reference guide for AWS Elemental MediaLive's 1899 // API operation DeleteSchedule for usage and error information. 1900 // 1901 // Returned Error Types: 1902 // * BadRequestException 1903 // 1904 // * InternalServerErrorException 1905 // 1906 // * ForbiddenException 1907 // 1908 // * BadGatewayException 1909 // 1910 // * NotFoundException 1911 // 1912 // * GatewayTimeoutException 1913 // 1914 // * TooManyRequestsException 1915 // 1916 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule 1917 func (c *MediaLive) DeleteSchedule(input *DeleteScheduleInput) (*DeleteScheduleOutput, error) { 1918 req, out := c.DeleteScheduleRequest(input) 1919 return out, req.Send() 1920 } 1921 1922 // DeleteScheduleWithContext is the same as DeleteSchedule with the addition of 1923 // the ability to pass a context and additional request options. 1924 // 1925 // See DeleteSchedule for details on how to use this API operation. 1926 // 1927 // The context must be non-nil and will be used for request cancellation. If 1928 // the context is nil a panic will occur. In the future the SDK may create 1929 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1930 // for more information on using Contexts. 1931 func (c *MediaLive) DeleteScheduleWithContext(ctx aws.Context, input *DeleteScheduleInput, opts ...request.Option) (*DeleteScheduleOutput, error) { 1932 req, out := c.DeleteScheduleRequest(input) 1933 req.SetContext(ctx) 1934 req.ApplyOptions(opts...) 1935 return out, req.Send() 1936 } 1937 1938 const opDeleteTags = "DeleteTags" 1939 1940 // DeleteTagsRequest generates a "aws/request.Request" representing the 1941 // client's request for the DeleteTags operation. The "output" return 1942 // value will be populated with the request's response once the request completes 1943 // successfully. 1944 // 1945 // Use "Send" method on the returned Request to send the API call to the service. 1946 // the "output" return value is not valid until after Send returns without error. 1947 // 1948 // See DeleteTags for more information on using the DeleteTags 1949 // API call, and error handling. 1950 // 1951 // This method is useful when you want to inject custom logic or configuration 1952 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1953 // 1954 // 1955 // // Example sending a request using the DeleteTagsRequest method. 1956 // req, resp := client.DeleteTagsRequest(params) 1957 // 1958 // err := req.Send() 1959 // if err == nil { // resp is now filled 1960 // fmt.Println(resp) 1961 // } 1962 // 1963 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteTags 1964 func (c *MediaLive) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { 1965 op := &request.Operation{ 1966 Name: opDeleteTags, 1967 HTTPMethod: "DELETE", 1968 HTTPPath: "/prod/tags/{resource-arn}", 1969 } 1970 1971 if input == nil { 1972 input = &DeleteTagsInput{} 1973 } 1974 1975 output = &DeleteTagsOutput{} 1976 req = c.newRequest(op, input, output) 1977 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1978 return 1979 } 1980 1981 // DeleteTags API operation for AWS Elemental MediaLive. 1982 // 1983 // Removes tags for a resource 1984 // 1985 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1986 // with awserr.Error's Code and Message methods to get detailed information about 1987 // the error. 1988 // 1989 // See the AWS API reference guide for AWS Elemental MediaLive's 1990 // API operation DeleteTags for usage and error information. 1991 // 1992 // Returned Error Types: 1993 // * NotFoundException 1994 // 1995 // * BadRequestException 1996 // 1997 // * InternalServerErrorException 1998 // 1999 // * ForbiddenException 2000 // 2001 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteTags 2002 func (c *MediaLive) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { 2003 req, out := c.DeleteTagsRequest(input) 2004 return out, req.Send() 2005 } 2006 2007 // DeleteTagsWithContext is the same as DeleteTags with the addition of 2008 // the ability to pass a context and additional request options. 2009 // 2010 // See DeleteTags for details on how to use this API operation. 2011 // 2012 // The context must be non-nil and will be used for request cancellation. If 2013 // the context is nil a panic will occur. In the future the SDK may create 2014 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2015 // for more information on using Contexts. 2016 func (c *MediaLive) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) { 2017 req, out := c.DeleteTagsRequest(input) 2018 req.SetContext(ctx) 2019 req.ApplyOptions(opts...) 2020 return out, req.Send() 2021 } 2022 2023 const opDescribeChannel = "DescribeChannel" 2024 2025 // DescribeChannelRequest generates a "aws/request.Request" representing the 2026 // client's request for the DescribeChannel operation. The "output" return 2027 // value will be populated with the request's response once the request completes 2028 // successfully. 2029 // 2030 // Use "Send" method on the returned Request to send the API call to the service. 2031 // the "output" return value is not valid until after Send returns without error. 2032 // 2033 // See DescribeChannel for more information on using the DescribeChannel 2034 // API call, and error handling. 2035 // 2036 // This method is useful when you want to inject custom logic or configuration 2037 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2038 // 2039 // 2040 // // Example sending a request using the DescribeChannelRequest method. 2041 // req, resp := client.DescribeChannelRequest(params) 2042 // 2043 // err := req.Send() 2044 // if err == nil { // resp is now filled 2045 // fmt.Println(resp) 2046 // } 2047 // 2048 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel 2049 func (c *MediaLive) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { 2050 op := &request.Operation{ 2051 Name: opDescribeChannel, 2052 HTTPMethod: "GET", 2053 HTTPPath: "/prod/channels/{channelId}", 2054 } 2055 2056 if input == nil { 2057 input = &DescribeChannelInput{} 2058 } 2059 2060 output = &DescribeChannelOutput{} 2061 req = c.newRequest(op, input, output) 2062 return 2063 } 2064 2065 // DescribeChannel API operation for AWS Elemental MediaLive. 2066 // 2067 // Gets details about a channel 2068 // 2069 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2070 // with awserr.Error's Code and Message methods to get detailed information about 2071 // the error. 2072 // 2073 // See the AWS API reference guide for AWS Elemental MediaLive's 2074 // API operation DescribeChannel for usage and error information. 2075 // 2076 // Returned Error Types: 2077 // * BadRequestException 2078 // 2079 // * InternalServerErrorException 2080 // 2081 // * ForbiddenException 2082 // 2083 // * BadGatewayException 2084 // 2085 // * NotFoundException 2086 // 2087 // * GatewayTimeoutException 2088 // 2089 // * TooManyRequestsException 2090 // 2091 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel 2092 func (c *MediaLive) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { 2093 req, out := c.DescribeChannelRequest(input) 2094 return out, req.Send() 2095 } 2096 2097 // DescribeChannelWithContext is the same as DescribeChannel with the addition of 2098 // the ability to pass a context and additional request options. 2099 // 2100 // See DescribeChannel for details on how to use this API operation. 2101 // 2102 // The context must be non-nil and will be used for request cancellation. If 2103 // the context is nil a panic will occur. In the future the SDK may create 2104 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2105 // for more information on using Contexts. 2106 func (c *MediaLive) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error) { 2107 req, out := c.DescribeChannelRequest(input) 2108 req.SetContext(ctx) 2109 req.ApplyOptions(opts...) 2110 return out, req.Send() 2111 } 2112 2113 const opDescribeInput = "DescribeInput" 2114 2115 // DescribeInputRequest generates a "aws/request.Request" representing the 2116 // client's request for the DescribeInput operation. The "output" return 2117 // value will be populated with the request's response once the request completes 2118 // successfully. 2119 // 2120 // Use "Send" method on the returned Request to send the API call to the service. 2121 // the "output" return value is not valid until after Send returns without error. 2122 // 2123 // See DescribeInput for more information on using the DescribeInput 2124 // API call, and error handling. 2125 // 2126 // This method is useful when you want to inject custom logic or configuration 2127 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2128 // 2129 // 2130 // // Example sending a request using the DescribeInputRequest method. 2131 // req, resp := client.DescribeInputRequest(params) 2132 // 2133 // err := req.Send() 2134 // if err == nil { // resp is now filled 2135 // fmt.Println(resp) 2136 // } 2137 // 2138 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput 2139 func (c *MediaLive) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput) { 2140 op := &request.Operation{ 2141 Name: opDescribeInput, 2142 HTTPMethod: "GET", 2143 HTTPPath: "/prod/inputs/{inputId}", 2144 } 2145 2146 if input == nil { 2147 input = &DescribeInputInput{} 2148 } 2149 2150 output = &DescribeInputOutput{} 2151 req = c.newRequest(op, input, output) 2152 return 2153 } 2154 2155 // DescribeInput API operation for AWS Elemental MediaLive. 2156 // 2157 // Produces details about an input 2158 // 2159 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2160 // with awserr.Error's Code and Message methods to get detailed information about 2161 // the error. 2162 // 2163 // See the AWS API reference guide for AWS Elemental MediaLive's 2164 // API operation DescribeInput for usage and error information. 2165 // 2166 // Returned Error Types: 2167 // * BadRequestException 2168 // 2169 // * InternalServerErrorException 2170 // 2171 // * ForbiddenException 2172 // 2173 // * BadGatewayException 2174 // 2175 // * NotFoundException 2176 // 2177 // * GatewayTimeoutException 2178 // 2179 // * TooManyRequestsException 2180 // 2181 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput 2182 func (c *MediaLive) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error) { 2183 req, out := c.DescribeInputRequest(input) 2184 return out, req.Send() 2185 } 2186 2187 // DescribeInputWithContext is the same as DescribeInput with the addition of 2188 // the ability to pass a context and additional request options. 2189 // 2190 // See DescribeInput for details on how to use this API operation. 2191 // 2192 // The context must be non-nil and will be used for request cancellation. If 2193 // the context is nil a panic will occur. In the future the SDK may create 2194 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2195 // for more information on using Contexts. 2196 func (c *MediaLive) DescribeInputWithContext(ctx aws.Context, input *DescribeInputInput, opts ...request.Option) (*DescribeInputOutput, error) { 2197 req, out := c.DescribeInputRequest(input) 2198 req.SetContext(ctx) 2199 req.ApplyOptions(opts...) 2200 return out, req.Send() 2201 } 2202 2203 const opDescribeInputDevice = "DescribeInputDevice" 2204 2205 // DescribeInputDeviceRequest generates a "aws/request.Request" representing the 2206 // client's request for the DescribeInputDevice operation. The "output" return 2207 // value will be populated with the request's response once the request completes 2208 // successfully. 2209 // 2210 // Use "Send" method on the returned Request to send the API call to the service. 2211 // the "output" return value is not valid until after Send returns without error. 2212 // 2213 // See DescribeInputDevice for more information on using the DescribeInputDevice 2214 // API call, and error handling. 2215 // 2216 // This method is useful when you want to inject custom logic or configuration 2217 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2218 // 2219 // 2220 // // Example sending a request using the DescribeInputDeviceRequest method. 2221 // req, resp := client.DescribeInputDeviceRequest(params) 2222 // 2223 // err := req.Send() 2224 // if err == nil { // resp is now filled 2225 // fmt.Println(resp) 2226 // } 2227 // 2228 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDevice 2229 func (c *MediaLive) DescribeInputDeviceRequest(input *DescribeInputDeviceInput) (req *request.Request, output *DescribeInputDeviceOutput) { 2230 op := &request.Operation{ 2231 Name: opDescribeInputDevice, 2232 HTTPMethod: "GET", 2233 HTTPPath: "/prod/inputDevices/{inputDeviceId}", 2234 } 2235 2236 if input == nil { 2237 input = &DescribeInputDeviceInput{} 2238 } 2239 2240 output = &DescribeInputDeviceOutput{} 2241 req = c.newRequest(op, input, output) 2242 return 2243 } 2244 2245 // DescribeInputDevice API operation for AWS Elemental MediaLive. 2246 // 2247 // Gets the details for the input device 2248 // 2249 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2250 // with awserr.Error's Code and Message methods to get detailed information about 2251 // the error. 2252 // 2253 // See the AWS API reference guide for AWS Elemental MediaLive's 2254 // API operation DescribeInputDevice for usage and error information. 2255 // 2256 // Returned Error Types: 2257 // * BadRequestException 2258 // 2259 // * InternalServerErrorException 2260 // 2261 // * ForbiddenException 2262 // 2263 // * BadGatewayException 2264 // 2265 // * NotFoundException 2266 // 2267 // * GatewayTimeoutException 2268 // 2269 // * TooManyRequestsException 2270 // 2271 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDevice 2272 func (c *MediaLive) DescribeInputDevice(input *DescribeInputDeviceInput) (*DescribeInputDeviceOutput, error) { 2273 req, out := c.DescribeInputDeviceRequest(input) 2274 return out, req.Send() 2275 } 2276 2277 // DescribeInputDeviceWithContext is the same as DescribeInputDevice with the addition of 2278 // the ability to pass a context and additional request options. 2279 // 2280 // See DescribeInputDevice for details on how to use this API operation. 2281 // 2282 // The context must be non-nil and will be used for request cancellation. If 2283 // the context is nil a panic will occur. In the future the SDK may create 2284 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2285 // for more information on using Contexts. 2286 func (c *MediaLive) DescribeInputDeviceWithContext(ctx aws.Context, input *DescribeInputDeviceInput, opts ...request.Option) (*DescribeInputDeviceOutput, error) { 2287 req, out := c.DescribeInputDeviceRequest(input) 2288 req.SetContext(ctx) 2289 req.ApplyOptions(opts...) 2290 return out, req.Send() 2291 } 2292 2293 const opDescribeInputDeviceThumbnail = "DescribeInputDeviceThumbnail" 2294 2295 // DescribeInputDeviceThumbnailRequest generates a "aws/request.Request" representing the 2296 // client's request for the DescribeInputDeviceThumbnail operation. The "output" return 2297 // value will be populated with the request's response once the request completes 2298 // successfully. 2299 // 2300 // Use "Send" method on the returned Request to send the API call to the service. 2301 // the "output" return value is not valid until after Send returns without error. 2302 // 2303 // See DescribeInputDeviceThumbnail for more information on using the DescribeInputDeviceThumbnail 2304 // API call, and error handling. 2305 // 2306 // This method is useful when you want to inject custom logic or configuration 2307 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2308 // 2309 // 2310 // // Example sending a request using the DescribeInputDeviceThumbnailRequest method. 2311 // req, resp := client.DescribeInputDeviceThumbnailRequest(params) 2312 // 2313 // err := req.Send() 2314 // if err == nil { // resp is now filled 2315 // fmt.Println(resp) 2316 // } 2317 // 2318 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail 2319 func (c *MediaLive) DescribeInputDeviceThumbnailRequest(input *DescribeInputDeviceThumbnailInput) (req *request.Request, output *DescribeInputDeviceThumbnailOutput) { 2320 op := &request.Operation{ 2321 Name: opDescribeInputDeviceThumbnail, 2322 HTTPMethod: "GET", 2323 HTTPPath: "/prod/inputDevices/{inputDeviceId}/thumbnailData", 2324 } 2325 2326 if input == nil { 2327 input = &DescribeInputDeviceThumbnailInput{} 2328 } 2329 2330 output = &DescribeInputDeviceThumbnailOutput{} 2331 req = c.newRequest(op, input, output) 2332 return 2333 } 2334 2335 // DescribeInputDeviceThumbnail API operation for AWS Elemental MediaLive. 2336 // 2337 // Get the latest thumbnail data for the input device. 2338 // 2339 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2340 // with awserr.Error's Code and Message methods to get detailed information about 2341 // the error. 2342 // 2343 // See the AWS API reference guide for AWS Elemental MediaLive's 2344 // API operation DescribeInputDeviceThumbnail for usage and error information. 2345 // 2346 // Returned Error Types: 2347 // * BadRequestException 2348 // 2349 // * InternalServerErrorException 2350 // 2351 // * ForbiddenException 2352 // 2353 // * BadGatewayException 2354 // 2355 // * NotFoundException 2356 // 2357 // * GatewayTimeoutException 2358 // 2359 // * TooManyRequestsException 2360 // 2361 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail 2362 func (c *MediaLive) DescribeInputDeviceThumbnail(input *DescribeInputDeviceThumbnailInput) (*DescribeInputDeviceThumbnailOutput, error) { 2363 req, out := c.DescribeInputDeviceThumbnailRequest(input) 2364 return out, req.Send() 2365 } 2366 2367 // DescribeInputDeviceThumbnailWithContext is the same as DescribeInputDeviceThumbnail with the addition of 2368 // the ability to pass a context and additional request options. 2369 // 2370 // See DescribeInputDeviceThumbnail for details on how to use this API operation. 2371 // 2372 // The context must be non-nil and will be used for request cancellation. If 2373 // the context is nil a panic will occur. In the future the SDK may create 2374 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2375 // for more information on using Contexts. 2376 func (c *MediaLive) DescribeInputDeviceThumbnailWithContext(ctx aws.Context, input *DescribeInputDeviceThumbnailInput, opts ...request.Option) (*DescribeInputDeviceThumbnailOutput, error) { 2377 req, out := c.DescribeInputDeviceThumbnailRequest(input) 2378 req.SetContext(ctx) 2379 req.ApplyOptions(opts...) 2380 return out, req.Send() 2381 } 2382 2383 const opDescribeInputSecurityGroup = "DescribeInputSecurityGroup" 2384 2385 // DescribeInputSecurityGroupRequest generates a "aws/request.Request" representing the 2386 // client's request for the DescribeInputSecurityGroup operation. The "output" return 2387 // value will be populated with the request's response once the request completes 2388 // successfully. 2389 // 2390 // Use "Send" method on the returned Request to send the API call to the service. 2391 // the "output" return value is not valid until after Send returns without error. 2392 // 2393 // See DescribeInputSecurityGroup for more information on using the DescribeInputSecurityGroup 2394 // API call, and error handling. 2395 // 2396 // This method is useful when you want to inject custom logic or configuration 2397 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2398 // 2399 // 2400 // // Example sending a request using the DescribeInputSecurityGroupRequest method. 2401 // req, resp := client.DescribeInputSecurityGroupRequest(params) 2402 // 2403 // err := req.Send() 2404 // if err == nil { // resp is now filled 2405 // fmt.Println(resp) 2406 // } 2407 // 2408 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroup 2409 func (c *MediaLive) DescribeInputSecurityGroupRequest(input *DescribeInputSecurityGroupInput) (req *request.Request, output *DescribeInputSecurityGroupOutput) { 2410 op := &request.Operation{ 2411 Name: opDescribeInputSecurityGroup, 2412 HTTPMethod: "GET", 2413 HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", 2414 } 2415 2416 if input == nil { 2417 input = &DescribeInputSecurityGroupInput{} 2418 } 2419 2420 output = &DescribeInputSecurityGroupOutput{} 2421 req = c.newRequest(op, input, output) 2422 return 2423 } 2424 2425 // DescribeInputSecurityGroup API operation for AWS Elemental MediaLive. 2426 // 2427 // Produces a summary of an Input Security Group 2428 // 2429 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2430 // with awserr.Error's Code and Message methods to get detailed information about 2431 // the error. 2432 // 2433 // See the AWS API reference guide for AWS Elemental MediaLive's 2434 // API operation DescribeInputSecurityGroup for usage and error information. 2435 // 2436 // Returned Error Types: 2437 // * BadRequestException 2438 // 2439 // * InternalServerErrorException 2440 // 2441 // * ForbiddenException 2442 // 2443 // * BadGatewayException 2444 // 2445 // * NotFoundException 2446 // 2447 // * GatewayTimeoutException 2448 // 2449 // * TooManyRequestsException 2450 // 2451 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroup 2452 func (c *MediaLive) DescribeInputSecurityGroup(input *DescribeInputSecurityGroupInput) (*DescribeInputSecurityGroupOutput, error) { 2453 req, out := c.DescribeInputSecurityGroupRequest(input) 2454 return out, req.Send() 2455 } 2456 2457 // DescribeInputSecurityGroupWithContext is the same as DescribeInputSecurityGroup with the addition of 2458 // the ability to pass a context and additional request options. 2459 // 2460 // See DescribeInputSecurityGroup for details on how to use this API operation. 2461 // 2462 // The context must be non-nil and will be used for request cancellation. If 2463 // the context is nil a panic will occur. In the future the SDK may create 2464 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2465 // for more information on using Contexts. 2466 func (c *MediaLive) DescribeInputSecurityGroupWithContext(ctx aws.Context, input *DescribeInputSecurityGroupInput, opts ...request.Option) (*DescribeInputSecurityGroupOutput, error) { 2467 req, out := c.DescribeInputSecurityGroupRequest(input) 2468 req.SetContext(ctx) 2469 req.ApplyOptions(opts...) 2470 return out, req.Send() 2471 } 2472 2473 const opDescribeMultiplex = "DescribeMultiplex" 2474 2475 // DescribeMultiplexRequest generates a "aws/request.Request" representing the 2476 // client's request for the DescribeMultiplex operation. The "output" return 2477 // value will be populated with the request's response once the request completes 2478 // successfully. 2479 // 2480 // Use "Send" method on the returned Request to send the API call to the service. 2481 // the "output" return value is not valid until after Send returns without error. 2482 // 2483 // See DescribeMultiplex for more information on using the DescribeMultiplex 2484 // API call, and error handling. 2485 // 2486 // This method is useful when you want to inject custom logic or configuration 2487 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2488 // 2489 // 2490 // // Example sending a request using the DescribeMultiplexRequest method. 2491 // req, resp := client.DescribeMultiplexRequest(params) 2492 // 2493 // err := req.Send() 2494 // if err == nil { // resp is now filled 2495 // fmt.Println(resp) 2496 // } 2497 // 2498 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplex 2499 func (c *MediaLive) DescribeMultiplexRequest(input *DescribeMultiplexInput) (req *request.Request, output *DescribeMultiplexOutput) { 2500 op := &request.Operation{ 2501 Name: opDescribeMultiplex, 2502 HTTPMethod: "GET", 2503 HTTPPath: "/prod/multiplexes/{multiplexId}", 2504 } 2505 2506 if input == nil { 2507 input = &DescribeMultiplexInput{} 2508 } 2509 2510 output = &DescribeMultiplexOutput{} 2511 req = c.newRequest(op, input, output) 2512 return 2513 } 2514 2515 // DescribeMultiplex API operation for AWS Elemental MediaLive. 2516 // 2517 // Gets details about a multiplex. 2518 // 2519 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2520 // with awserr.Error's Code and Message methods to get detailed information about 2521 // the error. 2522 // 2523 // See the AWS API reference guide for AWS Elemental MediaLive's 2524 // API operation DescribeMultiplex for usage and error information. 2525 // 2526 // Returned Error Types: 2527 // * BadRequestException 2528 // 2529 // * InternalServerErrorException 2530 // 2531 // * ForbiddenException 2532 // 2533 // * BadGatewayException 2534 // 2535 // * NotFoundException 2536 // 2537 // * GatewayTimeoutException 2538 // 2539 // * TooManyRequestsException 2540 // 2541 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplex 2542 func (c *MediaLive) DescribeMultiplex(input *DescribeMultiplexInput) (*DescribeMultiplexOutput, error) { 2543 req, out := c.DescribeMultiplexRequest(input) 2544 return out, req.Send() 2545 } 2546 2547 // DescribeMultiplexWithContext is the same as DescribeMultiplex with the addition of 2548 // the ability to pass a context and additional request options. 2549 // 2550 // See DescribeMultiplex for details on how to use this API operation. 2551 // 2552 // The context must be non-nil and will be used for request cancellation. If 2553 // the context is nil a panic will occur. In the future the SDK may create 2554 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2555 // for more information on using Contexts. 2556 func (c *MediaLive) DescribeMultiplexWithContext(ctx aws.Context, input *DescribeMultiplexInput, opts ...request.Option) (*DescribeMultiplexOutput, error) { 2557 req, out := c.DescribeMultiplexRequest(input) 2558 req.SetContext(ctx) 2559 req.ApplyOptions(opts...) 2560 return out, req.Send() 2561 } 2562 2563 const opDescribeMultiplexProgram = "DescribeMultiplexProgram" 2564 2565 // DescribeMultiplexProgramRequest generates a "aws/request.Request" representing the 2566 // client's request for the DescribeMultiplexProgram operation. The "output" return 2567 // value will be populated with the request's response once the request completes 2568 // successfully. 2569 // 2570 // Use "Send" method on the returned Request to send the API call to the service. 2571 // the "output" return value is not valid until after Send returns without error. 2572 // 2573 // See DescribeMultiplexProgram for more information on using the DescribeMultiplexProgram 2574 // API call, and error handling. 2575 // 2576 // This method is useful when you want to inject custom logic or configuration 2577 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2578 // 2579 // 2580 // // Example sending a request using the DescribeMultiplexProgramRequest method. 2581 // req, resp := client.DescribeMultiplexProgramRequest(params) 2582 // 2583 // err := req.Send() 2584 // if err == nil { // resp is now filled 2585 // fmt.Println(resp) 2586 // } 2587 // 2588 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplexProgram 2589 func (c *MediaLive) DescribeMultiplexProgramRequest(input *DescribeMultiplexProgramInput) (req *request.Request, output *DescribeMultiplexProgramOutput) { 2590 op := &request.Operation{ 2591 Name: opDescribeMultiplexProgram, 2592 HTTPMethod: "GET", 2593 HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", 2594 } 2595 2596 if input == nil { 2597 input = &DescribeMultiplexProgramInput{} 2598 } 2599 2600 output = &DescribeMultiplexProgramOutput{} 2601 req = c.newRequest(op, input, output) 2602 return 2603 } 2604 2605 // DescribeMultiplexProgram API operation for AWS Elemental MediaLive. 2606 // 2607 // Get the details for a program in a multiplex. 2608 // 2609 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2610 // with awserr.Error's Code and Message methods to get detailed information about 2611 // the error. 2612 // 2613 // See the AWS API reference guide for AWS Elemental MediaLive's 2614 // API operation DescribeMultiplexProgram for usage and error information. 2615 // 2616 // Returned Error Types: 2617 // * BadRequestException 2618 // 2619 // * InternalServerErrorException 2620 // 2621 // * ForbiddenException 2622 // 2623 // * BadGatewayException 2624 // 2625 // * NotFoundException 2626 // 2627 // * GatewayTimeoutException 2628 // 2629 // * TooManyRequestsException 2630 // 2631 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplexProgram 2632 func (c *MediaLive) DescribeMultiplexProgram(input *DescribeMultiplexProgramInput) (*DescribeMultiplexProgramOutput, error) { 2633 req, out := c.DescribeMultiplexProgramRequest(input) 2634 return out, req.Send() 2635 } 2636 2637 // DescribeMultiplexProgramWithContext is the same as DescribeMultiplexProgram with the addition of 2638 // the ability to pass a context and additional request options. 2639 // 2640 // See DescribeMultiplexProgram for details on how to use this API operation. 2641 // 2642 // The context must be non-nil and will be used for request cancellation. If 2643 // the context is nil a panic will occur. In the future the SDK may create 2644 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2645 // for more information on using Contexts. 2646 func (c *MediaLive) DescribeMultiplexProgramWithContext(ctx aws.Context, input *DescribeMultiplexProgramInput, opts ...request.Option) (*DescribeMultiplexProgramOutput, error) { 2647 req, out := c.DescribeMultiplexProgramRequest(input) 2648 req.SetContext(ctx) 2649 req.ApplyOptions(opts...) 2650 return out, req.Send() 2651 } 2652 2653 const opDescribeOffering = "DescribeOffering" 2654 2655 // DescribeOfferingRequest generates a "aws/request.Request" representing the 2656 // client's request for the DescribeOffering operation. The "output" return 2657 // value will be populated with the request's response once the request completes 2658 // successfully. 2659 // 2660 // Use "Send" method on the returned Request to send the API call to the service. 2661 // the "output" return value is not valid until after Send returns without error. 2662 // 2663 // See DescribeOffering for more information on using the DescribeOffering 2664 // API call, and error handling. 2665 // 2666 // This method is useful when you want to inject custom logic or configuration 2667 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2668 // 2669 // 2670 // // Example sending a request using the DescribeOfferingRequest method. 2671 // req, resp := client.DescribeOfferingRequest(params) 2672 // 2673 // err := req.Send() 2674 // if err == nil { // resp is now filled 2675 // fmt.Println(resp) 2676 // } 2677 // 2678 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeOffering 2679 func (c *MediaLive) DescribeOfferingRequest(input *DescribeOfferingInput) (req *request.Request, output *DescribeOfferingOutput) { 2680 op := &request.Operation{ 2681 Name: opDescribeOffering, 2682 HTTPMethod: "GET", 2683 HTTPPath: "/prod/offerings/{offeringId}", 2684 } 2685 2686 if input == nil { 2687 input = &DescribeOfferingInput{} 2688 } 2689 2690 output = &DescribeOfferingOutput{} 2691 req = c.newRequest(op, input, output) 2692 return 2693 } 2694 2695 // DescribeOffering API operation for AWS Elemental MediaLive. 2696 // 2697 // Get details for an offering. 2698 // 2699 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2700 // with awserr.Error's Code and Message methods to get detailed information about 2701 // the error. 2702 // 2703 // See the AWS API reference guide for AWS Elemental MediaLive's 2704 // API operation DescribeOffering for usage and error information. 2705 // 2706 // Returned Error Types: 2707 // * BadRequestException 2708 // 2709 // * InternalServerErrorException 2710 // 2711 // * ForbiddenException 2712 // 2713 // * BadGatewayException 2714 // 2715 // * NotFoundException 2716 // 2717 // * GatewayTimeoutException 2718 // 2719 // * TooManyRequestsException 2720 // 2721 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeOffering 2722 func (c *MediaLive) DescribeOffering(input *DescribeOfferingInput) (*DescribeOfferingOutput, error) { 2723 req, out := c.DescribeOfferingRequest(input) 2724 return out, req.Send() 2725 } 2726 2727 // DescribeOfferingWithContext is the same as DescribeOffering with the addition of 2728 // the ability to pass a context and additional request options. 2729 // 2730 // See DescribeOffering for details on how to use this API operation. 2731 // 2732 // The context must be non-nil and will be used for request cancellation. If 2733 // the context is nil a panic will occur. In the future the SDK may create 2734 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2735 // for more information on using Contexts. 2736 func (c *MediaLive) DescribeOfferingWithContext(ctx aws.Context, input *DescribeOfferingInput, opts ...request.Option) (*DescribeOfferingOutput, error) { 2737 req, out := c.DescribeOfferingRequest(input) 2738 req.SetContext(ctx) 2739 req.ApplyOptions(opts...) 2740 return out, req.Send() 2741 } 2742 2743 const opDescribeReservation = "DescribeReservation" 2744 2745 // DescribeReservationRequest generates a "aws/request.Request" representing the 2746 // client's request for the DescribeReservation operation. The "output" return 2747 // value will be populated with the request's response once the request completes 2748 // successfully. 2749 // 2750 // Use "Send" method on the returned Request to send the API call to the service. 2751 // the "output" return value is not valid until after Send returns without error. 2752 // 2753 // See DescribeReservation for more information on using the DescribeReservation 2754 // API call, and error handling. 2755 // 2756 // This method is useful when you want to inject custom logic or configuration 2757 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2758 // 2759 // 2760 // // Example sending a request using the DescribeReservationRequest method. 2761 // req, resp := client.DescribeReservationRequest(params) 2762 // 2763 // err := req.Send() 2764 // if err == nil { // resp is now filled 2765 // fmt.Println(resp) 2766 // } 2767 // 2768 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservation 2769 func (c *MediaLive) DescribeReservationRequest(input *DescribeReservationInput) (req *request.Request, output *DescribeReservationOutput) { 2770 op := &request.Operation{ 2771 Name: opDescribeReservation, 2772 HTTPMethod: "GET", 2773 HTTPPath: "/prod/reservations/{reservationId}", 2774 } 2775 2776 if input == nil { 2777 input = &DescribeReservationInput{} 2778 } 2779 2780 output = &DescribeReservationOutput{} 2781 req = c.newRequest(op, input, output) 2782 return 2783 } 2784 2785 // DescribeReservation API operation for AWS Elemental MediaLive. 2786 // 2787 // Get details for a reservation. 2788 // 2789 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2790 // with awserr.Error's Code and Message methods to get detailed information about 2791 // the error. 2792 // 2793 // See the AWS API reference guide for AWS Elemental MediaLive's 2794 // API operation DescribeReservation for usage and error information. 2795 // 2796 // Returned Error Types: 2797 // * BadRequestException 2798 // 2799 // * InternalServerErrorException 2800 // 2801 // * ForbiddenException 2802 // 2803 // * BadGatewayException 2804 // 2805 // * NotFoundException 2806 // 2807 // * GatewayTimeoutException 2808 // 2809 // * TooManyRequestsException 2810 // 2811 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservation 2812 func (c *MediaLive) DescribeReservation(input *DescribeReservationInput) (*DescribeReservationOutput, error) { 2813 req, out := c.DescribeReservationRequest(input) 2814 return out, req.Send() 2815 } 2816 2817 // DescribeReservationWithContext is the same as DescribeReservation with the addition of 2818 // the ability to pass a context and additional request options. 2819 // 2820 // See DescribeReservation for details on how to use this API operation. 2821 // 2822 // The context must be non-nil and will be used for request cancellation. If 2823 // the context is nil a panic will occur. In the future the SDK may create 2824 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2825 // for more information on using Contexts. 2826 func (c *MediaLive) DescribeReservationWithContext(ctx aws.Context, input *DescribeReservationInput, opts ...request.Option) (*DescribeReservationOutput, error) { 2827 req, out := c.DescribeReservationRequest(input) 2828 req.SetContext(ctx) 2829 req.ApplyOptions(opts...) 2830 return out, req.Send() 2831 } 2832 2833 const opDescribeSchedule = "DescribeSchedule" 2834 2835 // DescribeScheduleRequest generates a "aws/request.Request" representing the 2836 // client's request for the DescribeSchedule operation. The "output" return 2837 // value will be populated with the request's response once the request completes 2838 // successfully. 2839 // 2840 // Use "Send" method on the returned Request to send the API call to the service. 2841 // the "output" return value is not valid until after Send returns without error. 2842 // 2843 // See DescribeSchedule for more information on using the DescribeSchedule 2844 // API call, and error handling. 2845 // 2846 // This method is useful when you want to inject custom logic or configuration 2847 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2848 // 2849 // 2850 // // Example sending a request using the DescribeScheduleRequest method. 2851 // req, resp := client.DescribeScheduleRequest(params) 2852 // 2853 // err := req.Send() 2854 // if err == nil { // resp is now filled 2855 // fmt.Println(resp) 2856 // } 2857 // 2858 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeSchedule 2859 func (c *MediaLive) DescribeScheduleRequest(input *DescribeScheduleInput) (req *request.Request, output *DescribeScheduleOutput) { 2860 op := &request.Operation{ 2861 Name: opDescribeSchedule, 2862 HTTPMethod: "GET", 2863 HTTPPath: "/prod/channels/{channelId}/schedule", 2864 Paginator: &request.Paginator{ 2865 InputTokens: []string{"NextToken"}, 2866 OutputTokens: []string{"NextToken"}, 2867 LimitToken: "MaxResults", 2868 TruncationToken: "", 2869 }, 2870 } 2871 2872 if input == nil { 2873 input = &DescribeScheduleInput{} 2874 } 2875 2876 output = &DescribeScheduleOutput{} 2877 req = c.newRequest(op, input, output) 2878 return 2879 } 2880 2881 // DescribeSchedule API operation for AWS Elemental MediaLive. 2882 // 2883 // Get a channel schedule 2884 // 2885 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2886 // with awserr.Error's Code and Message methods to get detailed information about 2887 // the error. 2888 // 2889 // See the AWS API reference guide for AWS Elemental MediaLive's 2890 // API operation DescribeSchedule for usage and error information. 2891 // 2892 // Returned Error Types: 2893 // * BadRequestException 2894 // 2895 // * InternalServerErrorException 2896 // 2897 // * ForbiddenException 2898 // 2899 // * BadGatewayException 2900 // 2901 // * NotFoundException 2902 // 2903 // * GatewayTimeoutException 2904 // 2905 // * TooManyRequestsException 2906 // 2907 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeSchedule 2908 func (c *MediaLive) DescribeSchedule(input *DescribeScheduleInput) (*DescribeScheduleOutput, error) { 2909 req, out := c.DescribeScheduleRequest(input) 2910 return out, req.Send() 2911 } 2912 2913 // DescribeScheduleWithContext is the same as DescribeSchedule with the addition of 2914 // the ability to pass a context and additional request options. 2915 // 2916 // See DescribeSchedule for details on how to use this API operation. 2917 // 2918 // The context must be non-nil and will be used for request cancellation. If 2919 // the context is nil a panic will occur. In the future the SDK may create 2920 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2921 // for more information on using Contexts. 2922 func (c *MediaLive) DescribeScheduleWithContext(ctx aws.Context, input *DescribeScheduleInput, opts ...request.Option) (*DescribeScheduleOutput, error) { 2923 req, out := c.DescribeScheduleRequest(input) 2924 req.SetContext(ctx) 2925 req.ApplyOptions(opts...) 2926 return out, req.Send() 2927 } 2928 2929 // DescribeSchedulePages iterates over the pages of a DescribeSchedule operation, 2930 // calling the "fn" function with the response data for each page. To stop 2931 // iterating, return false from the fn function. 2932 // 2933 // See DescribeSchedule method for more information on how to use this operation. 2934 // 2935 // Note: This operation can generate multiple requests to a service. 2936 // 2937 // // Example iterating over at most 3 pages of a DescribeSchedule operation. 2938 // pageNum := 0 2939 // err := client.DescribeSchedulePages(params, 2940 // func(page *medialive.DescribeScheduleOutput, lastPage bool) bool { 2941 // pageNum++ 2942 // fmt.Println(page) 2943 // return pageNum <= 3 2944 // }) 2945 // 2946 func (c *MediaLive) DescribeSchedulePages(input *DescribeScheduleInput, fn func(*DescribeScheduleOutput, bool) bool) error { 2947 return c.DescribeSchedulePagesWithContext(aws.BackgroundContext(), input, fn) 2948 } 2949 2950 // DescribeSchedulePagesWithContext same as DescribeSchedulePages except 2951 // it takes a Context and allows setting request options on the pages. 2952 // 2953 // The context must be non-nil and will be used for request cancellation. If 2954 // the context is nil a panic will occur. In the future the SDK may create 2955 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2956 // for more information on using Contexts. 2957 func (c *MediaLive) DescribeSchedulePagesWithContext(ctx aws.Context, input *DescribeScheduleInput, fn func(*DescribeScheduleOutput, bool) bool, opts ...request.Option) error { 2958 p := request.Pagination{ 2959 NewRequest: func() (*request.Request, error) { 2960 var inCpy *DescribeScheduleInput 2961 if input != nil { 2962 tmp := *input 2963 inCpy = &tmp 2964 } 2965 req, _ := c.DescribeScheduleRequest(inCpy) 2966 req.SetContext(ctx) 2967 req.ApplyOptions(opts...) 2968 return req, nil 2969 }, 2970 } 2971 2972 for p.Next() { 2973 if !fn(p.Page().(*DescribeScheduleOutput), !p.HasNextPage()) { 2974 break 2975 } 2976 } 2977 2978 return p.Err() 2979 } 2980 2981 const opListChannels = "ListChannels" 2982 2983 // ListChannelsRequest generates a "aws/request.Request" representing the 2984 // client's request for the ListChannels operation. The "output" return 2985 // value will be populated with the request's response once the request completes 2986 // successfully. 2987 // 2988 // Use "Send" method on the returned Request to send the API call to the service. 2989 // the "output" return value is not valid until after Send returns without error. 2990 // 2991 // See ListChannels for more information on using the ListChannels 2992 // API call, and error handling. 2993 // 2994 // This method is useful when you want to inject custom logic or configuration 2995 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2996 // 2997 // 2998 // // Example sending a request using the ListChannelsRequest method. 2999 // req, resp := client.ListChannelsRequest(params) 3000 // 3001 // err := req.Send() 3002 // if err == nil { // resp is now filled 3003 // fmt.Println(resp) 3004 // } 3005 // 3006 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels 3007 func (c *MediaLive) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { 3008 op := &request.Operation{ 3009 Name: opListChannels, 3010 HTTPMethod: "GET", 3011 HTTPPath: "/prod/channels", 3012 Paginator: &request.Paginator{ 3013 InputTokens: []string{"NextToken"}, 3014 OutputTokens: []string{"NextToken"}, 3015 LimitToken: "MaxResults", 3016 TruncationToken: "", 3017 }, 3018 } 3019 3020 if input == nil { 3021 input = &ListChannelsInput{} 3022 } 3023 3024 output = &ListChannelsOutput{} 3025 req = c.newRequest(op, input, output) 3026 return 3027 } 3028 3029 // ListChannels API operation for AWS Elemental MediaLive. 3030 // 3031 // Produces list of channels that have been created 3032 // 3033 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3034 // with awserr.Error's Code and Message methods to get detailed information about 3035 // the error. 3036 // 3037 // See the AWS API reference guide for AWS Elemental MediaLive's 3038 // API operation ListChannels for usage and error information. 3039 // 3040 // Returned Error Types: 3041 // * BadRequestException 3042 // 3043 // * InternalServerErrorException 3044 // 3045 // * ForbiddenException 3046 // 3047 // * BadGatewayException 3048 // 3049 // * GatewayTimeoutException 3050 // 3051 // * TooManyRequestsException 3052 // 3053 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels 3054 func (c *MediaLive) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { 3055 req, out := c.ListChannelsRequest(input) 3056 return out, req.Send() 3057 } 3058 3059 // ListChannelsWithContext is the same as ListChannels with the addition of 3060 // the ability to pass a context and additional request options. 3061 // 3062 // See ListChannels for details on how to use this API operation. 3063 // 3064 // The context must be non-nil and will be used for request cancellation. If 3065 // the context is nil a panic will occur. In the future the SDK may create 3066 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3067 // for more information on using Contexts. 3068 func (c *MediaLive) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error) { 3069 req, out := c.ListChannelsRequest(input) 3070 req.SetContext(ctx) 3071 req.ApplyOptions(opts...) 3072 return out, req.Send() 3073 } 3074 3075 // ListChannelsPages iterates over the pages of a ListChannels operation, 3076 // calling the "fn" function with the response data for each page. To stop 3077 // iterating, return false from the fn function. 3078 // 3079 // See ListChannels method for more information on how to use this operation. 3080 // 3081 // Note: This operation can generate multiple requests to a service. 3082 // 3083 // // Example iterating over at most 3 pages of a ListChannels operation. 3084 // pageNum := 0 3085 // err := client.ListChannelsPages(params, 3086 // func(page *medialive.ListChannelsOutput, lastPage bool) bool { 3087 // pageNum++ 3088 // fmt.Println(page) 3089 // return pageNum <= 3 3090 // }) 3091 // 3092 func (c *MediaLive) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { 3093 return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) 3094 } 3095 3096 // ListChannelsPagesWithContext same as ListChannelsPages except 3097 // it takes a Context and allows setting request options on the pages. 3098 // 3099 // The context must be non-nil and will be used for request cancellation. If 3100 // the context is nil a panic will occur. In the future the SDK may create 3101 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3102 // for more information on using Contexts. 3103 func (c *MediaLive) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error { 3104 p := request.Pagination{ 3105 NewRequest: func() (*request.Request, error) { 3106 var inCpy *ListChannelsInput 3107 if input != nil { 3108 tmp := *input 3109 inCpy = &tmp 3110 } 3111 req, _ := c.ListChannelsRequest(inCpy) 3112 req.SetContext(ctx) 3113 req.ApplyOptions(opts...) 3114 return req, nil 3115 }, 3116 } 3117 3118 for p.Next() { 3119 if !fn(p.Page().(*ListChannelsOutput), !p.HasNextPage()) { 3120 break 3121 } 3122 } 3123 3124 return p.Err() 3125 } 3126 3127 const opListInputDeviceTransfers = "ListInputDeviceTransfers" 3128 3129 // ListInputDeviceTransfersRequest generates a "aws/request.Request" representing the 3130 // client's request for the ListInputDeviceTransfers operation. The "output" return 3131 // value will be populated with the request's response once the request completes 3132 // successfully. 3133 // 3134 // Use "Send" method on the returned Request to send the API call to the service. 3135 // the "output" return value is not valid until after Send returns without error. 3136 // 3137 // See ListInputDeviceTransfers for more information on using the ListInputDeviceTransfers 3138 // API call, and error handling. 3139 // 3140 // This method is useful when you want to inject custom logic or configuration 3141 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3142 // 3143 // 3144 // // Example sending a request using the ListInputDeviceTransfersRequest method. 3145 // req, resp := client.ListInputDeviceTransfersRequest(params) 3146 // 3147 // err := req.Send() 3148 // if err == nil { // resp is now filled 3149 // fmt.Println(resp) 3150 // } 3151 // 3152 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers 3153 func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransfersInput) (req *request.Request, output *ListInputDeviceTransfersOutput) { 3154 op := &request.Operation{ 3155 Name: opListInputDeviceTransfers, 3156 HTTPMethod: "GET", 3157 HTTPPath: "/prod/inputDeviceTransfers", 3158 Paginator: &request.Paginator{ 3159 InputTokens: []string{"NextToken"}, 3160 OutputTokens: []string{"NextToken"}, 3161 LimitToken: "MaxResults", 3162 TruncationToken: "", 3163 }, 3164 } 3165 3166 if input == nil { 3167 input = &ListInputDeviceTransfersInput{} 3168 } 3169 3170 output = &ListInputDeviceTransfersOutput{} 3171 req = c.newRequest(op, input, output) 3172 return 3173 } 3174 3175 // ListInputDeviceTransfers API operation for AWS Elemental MediaLive. 3176 // 3177 // List input devices that are currently being transferred. List input devices 3178 // that you are transferring from your AWS account or input devices that another 3179 // AWS account is transferring to you. 3180 // 3181 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3182 // with awserr.Error's Code and Message methods to get detailed information about 3183 // the error. 3184 // 3185 // See the AWS API reference guide for AWS Elemental MediaLive's 3186 // API operation ListInputDeviceTransfers for usage and error information. 3187 // 3188 // Returned Error Types: 3189 // * BadRequestException 3190 // 3191 // * UnprocessableEntityException 3192 // 3193 // * InternalServerErrorException 3194 // 3195 // * ForbiddenException 3196 // 3197 // * BadGatewayException 3198 // 3199 // * GatewayTimeoutException 3200 // 3201 // * TooManyRequestsException 3202 // 3203 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers 3204 func (c *MediaLive) ListInputDeviceTransfers(input *ListInputDeviceTransfersInput) (*ListInputDeviceTransfersOutput, error) { 3205 req, out := c.ListInputDeviceTransfersRequest(input) 3206 return out, req.Send() 3207 } 3208 3209 // ListInputDeviceTransfersWithContext is the same as ListInputDeviceTransfers with the addition of 3210 // the ability to pass a context and additional request options. 3211 // 3212 // See ListInputDeviceTransfers for details on how to use this API operation. 3213 // 3214 // The context must be non-nil and will be used for request cancellation. If 3215 // the context is nil a panic will occur. In the future the SDK may create 3216 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3217 // for more information on using Contexts. 3218 func (c *MediaLive) ListInputDeviceTransfersWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, opts ...request.Option) (*ListInputDeviceTransfersOutput, error) { 3219 req, out := c.ListInputDeviceTransfersRequest(input) 3220 req.SetContext(ctx) 3221 req.ApplyOptions(opts...) 3222 return out, req.Send() 3223 } 3224 3225 // ListInputDeviceTransfersPages iterates over the pages of a ListInputDeviceTransfers operation, 3226 // calling the "fn" function with the response data for each page. To stop 3227 // iterating, return false from the fn function. 3228 // 3229 // See ListInputDeviceTransfers method for more information on how to use this operation. 3230 // 3231 // Note: This operation can generate multiple requests to a service. 3232 // 3233 // // Example iterating over at most 3 pages of a ListInputDeviceTransfers operation. 3234 // pageNum := 0 3235 // err := client.ListInputDeviceTransfersPages(params, 3236 // func(page *medialive.ListInputDeviceTransfersOutput, lastPage bool) bool { 3237 // pageNum++ 3238 // fmt.Println(page) 3239 // return pageNum <= 3 3240 // }) 3241 // 3242 func (c *MediaLive) ListInputDeviceTransfersPages(input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool) error { 3243 return c.ListInputDeviceTransfersPagesWithContext(aws.BackgroundContext(), input, fn) 3244 } 3245 3246 // ListInputDeviceTransfersPagesWithContext same as ListInputDeviceTransfersPages except 3247 // it takes a Context and allows setting request options on the pages. 3248 // 3249 // The context must be non-nil and will be used for request cancellation. If 3250 // the context is nil a panic will occur. In the future the SDK may create 3251 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3252 // for more information on using Contexts. 3253 func (c *MediaLive) ListInputDeviceTransfersPagesWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool, opts ...request.Option) error { 3254 p := request.Pagination{ 3255 NewRequest: func() (*request.Request, error) { 3256 var inCpy *ListInputDeviceTransfersInput 3257 if input != nil { 3258 tmp := *input 3259 inCpy = &tmp 3260 } 3261 req, _ := c.ListInputDeviceTransfersRequest(inCpy) 3262 req.SetContext(ctx) 3263 req.ApplyOptions(opts...) 3264 return req, nil 3265 }, 3266 } 3267 3268 for p.Next() { 3269 if !fn(p.Page().(*ListInputDeviceTransfersOutput), !p.HasNextPage()) { 3270 break 3271 } 3272 } 3273 3274 return p.Err() 3275 } 3276 3277 const opListInputDevices = "ListInputDevices" 3278 3279 // ListInputDevicesRequest generates a "aws/request.Request" representing the 3280 // client's request for the ListInputDevices operation. The "output" return 3281 // value will be populated with the request's response once the request completes 3282 // successfully. 3283 // 3284 // Use "Send" method on the returned Request to send the API call to the service. 3285 // the "output" return value is not valid until after Send returns without error. 3286 // 3287 // See ListInputDevices for more information on using the ListInputDevices 3288 // API call, and error handling. 3289 // 3290 // This method is useful when you want to inject custom logic or configuration 3291 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3292 // 3293 // 3294 // // Example sending a request using the ListInputDevicesRequest method. 3295 // req, resp := client.ListInputDevicesRequest(params) 3296 // 3297 // err := req.Send() 3298 // if err == nil { // resp is now filled 3299 // fmt.Println(resp) 3300 // } 3301 // 3302 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices 3303 func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req *request.Request, output *ListInputDevicesOutput) { 3304 op := &request.Operation{ 3305 Name: opListInputDevices, 3306 HTTPMethod: "GET", 3307 HTTPPath: "/prod/inputDevices", 3308 Paginator: &request.Paginator{ 3309 InputTokens: []string{"NextToken"}, 3310 OutputTokens: []string{"NextToken"}, 3311 LimitToken: "MaxResults", 3312 TruncationToken: "", 3313 }, 3314 } 3315 3316 if input == nil { 3317 input = &ListInputDevicesInput{} 3318 } 3319 3320 output = &ListInputDevicesOutput{} 3321 req = c.newRequest(op, input, output) 3322 return 3323 } 3324 3325 // ListInputDevices API operation for AWS Elemental MediaLive. 3326 // 3327 // List input devices 3328 // 3329 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3330 // with awserr.Error's Code and Message methods to get detailed information about 3331 // the error. 3332 // 3333 // See the AWS API reference guide for AWS Elemental MediaLive's 3334 // API operation ListInputDevices for usage and error information. 3335 // 3336 // Returned Error Types: 3337 // * BadRequestException 3338 // 3339 // * InternalServerErrorException 3340 // 3341 // * ForbiddenException 3342 // 3343 // * BadGatewayException 3344 // 3345 // * GatewayTimeoutException 3346 // 3347 // * TooManyRequestsException 3348 // 3349 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices 3350 func (c *MediaLive) ListInputDevices(input *ListInputDevicesInput) (*ListInputDevicesOutput, error) { 3351 req, out := c.ListInputDevicesRequest(input) 3352 return out, req.Send() 3353 } 3354 3355 // ListInputDevicesWithContext is the same as ListInputDevices with the addition of 3356 // the ability to pass a context and additional request options. 3357 // 3358 // See ListInputDevices for details on how to use this API operation. 3359 // 3360 // The context must be non-nil and will be used for request cancellation. If 3361 // the context is nil a panic will occur. In the future the SDK may create 3362 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3363 // for more information on using Contexts. 3364 func (c *MediaLive) ListInputDevicesWithContext(ctx aws.Context, input *ListInputDevicesInput, opts ...request.Option) (*ListInputDevicesOutput, error) { 3365 req, out := c.ListInputDevicesRequest(input) 3366 req.SetContext(ctx) 3367 req.ApplyOptions(opts...) 3368 return out, req.Send() 3369 } 3370 3371 // ListInputDevicesPages iterates over the pages of a ListInputDevices operation, 3372 // calling the "fn" function with the response data for each page. To stop 3373 // iterating, return false from the fn function. 3374 // 3375 // See ListInputDevices method for more information on how to use this operation. 3376 // 3377 // Note: This operation can generate multiple requests to a service. 3378 // 3379 // // Example iterating over at most 3 pages of a ListInputDevices operation. 3380 // pageNum := 0 3381 // err := client.ListInputDevicesPages(params, 3382 // func(page *medialive.ListInputDevicesOutput, lastPage bool) bool { 3383 // pageNum++ 3384 // fmt.Println(page) 3385 // return pageNum <= 3 3386 // }) 3387 // 3388 func (c *MediaLive) ListInputDevicesPages(input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool) error { 3389 return c.ListInputDevicesPagesWithContext(aws.BackgroundContext(), input, fn) 3390 } 3391 3392 // ListInputDevicesPagesWithContext same as ListInputDevicesPages except 3393 // it takes a Context and allows setting request options on the pages. 3394 // 3395 // The context must be non-nil and will be used for request cancellation. If 3396 // the context is nil a panic will occur. In the future the SDK may create 3397 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3398 // for more information on using Contexts. 3399 func (c *MediaLive) ListInputDevicesPagesWithContext(ctx aws.Context, input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool, opts ...request.Option) error { 3400 p := request.Pagination{ 3401 NewRequest: func() (*request.Request, error) { 3402 var inCpy *ListInputDevicesInput 3403 if input != nil { 3404 tmp := *input 3405 inCpy = &tmp 3406 } 3407 req, _ := c.ListInputDevicesRequest(inCpy) 3408 req.SetContext(ctx) 3409 req.ApplyOptions(opts...) 3410 return req, nil 3411 }, 3412 } 3413 3414 for p.Next() { 3415 if !fn(p.Page().(*ListInputDevicesOutput), !p.HasNextPage()) { 3416 break 3417 } 3418 } 3419 3420 return p.Err() 3421 } 3422 3423 const opListInputSecurityGroups = "ListInputSecurityGroups" 3424 3425 // ListInputSecurityGroupsRequest generates a "aws/request.Request" representing the 3426 // client's request for the ListInputSecurityGroups operation. The "output" return 3427 // value will be populated with the request's response once the request completes 3428 // successfully. 3429 // 3430 // Use "Send" method on the returned Request to send the API call to the service. 3431 // the "output" return value is not valid until after Send returns without error. 3432 // 3433 // See ListInputSecurityGroups for more information on using the ListInputSecurityGroups 3434 // API call, and error handling. 3435 // 3436 // This method is useful when you want to inject custom logic or configuration 3437 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3438 // 3439 // 3440 // // Example sending a request using the ListInputSecurityGroupsRequest method. 3441 // req, resp := client.ListInputSecurityGroupsRequest(params) 3442 // 3443 // err := req.Send() 3444 // if err == nil { // resp is now filled 3445 // fmt.Println(resp) 3446 // } 3447 // 3448 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups 3449 func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroupsInput) (req *request.Request, output *ListInputSecurityGroupsOutput) { 3450 op := &request.Operation{ 3451 Name: opListInputSecurityGroups, 3452 HTTPMethod: "GET", 3453 HTTPPath: "/prod/inputSecurityGroups", 3454 Paginator: &request.Paginator{ 3455 InputTokens: []string{"NextToken"}, 3456 OutputTokens: []string{"NextToken"}, 3457 LimitToken: "MaxResults", 3458 TruncationToken: "", 3459 }, 3460 } 3461 3462 if input == nil { 3463 input = &ListInputSecurityGroupsInput{} 3464 } 3465 3466 output = &ListInputSecurityGroupsOutput{} 3467 req = c.newRequest(op, input, output) 3468 return 3469 } 3470 3471 // ListInputSecurityGroups API operation for AWS Elemental MediaLive. 3472 // 3473 // Produces a list of Input Security Groups for an account 3474 // 3475 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3476 // with awserr.Error's Code and Message methods to get detailed information about 3477 // the error. 3478 // 3479 // See the AWS API reference guide for AWS Elemental MediaLive's 3480 // API operation ListInputSecurityGroups for usage and error information. 3481 // 3482 // Returned Error Types: 3483 // * BadRequestException 3484 // 3485 // * InternalServerErrorException 3486 // 3487 // * ForbiddenException 3488 // 3489 // * BadGatewayException 3490 // 3491 // * GatewayTimeoutException 3492 // 3493 // * TooManyRequestsException 3494 // 3495 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups 3496 func (c *MediaLive) ListInputSecurityGroups(input *ListInputSecurityGroupsInput) (*ListInputSecurityGroupsOutput, error) { 3497 req, out := c.ListInputSecurityGroupsRequest(input) 3498 return out, req.Send() 3499 } 3500 3501 // ListInputSecurityGroupsWithContext is the same as ListInputSecurityGroups with the addition of 3502 // the ability to pass a context and additional request options. 3503 // 3504 // See ListInputSecurityGroups for details on how to use this API operation. 3505 // 3506 // The context must be non-nil and will be used for request cancellation. If 3507 // the context is nil a panic will occur. In the future the SDK may create 3508 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3509 // for more information on using Contexts. 3510 func (c *MediaLive) ListInputSecurityGroupsWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, opts ...request.Option) (*ListInputSecurityGroupsOutput, error) { 3511 req, out := c.ListInputSecurityGroupsRequest(input) 3512 req.SetContext(ctx) 3513 req.ApplyOptions(opts...) 3514 return out, req.Send() 3515 } 3516 3517 // ListInputSecurityGroupsPages iterates over the pages of a ListInputSecurityGroups operation, 3518 // calling the "fn" function with the response data for each page. To stop 3519 // iterating, return false from the fn function. 3520 // 3521 // See ListInputSecurityGroups method for more information on how to use this operation. 3522 // 3523 // Note: This operation can generate multiple requests to a service. 3524 // 3525 // // Example iterating over at most 3 pages of a ListInputSecurityGroups operation. 3526 // pageNum := 0 3527 // err := client.ListInputSecurityGroupsPages(params, 3528 // func(page *medialive.ListInputSecurityGroupsOutput, lastPage bool) bool { 3529 // pageNum++ 3530 // fmt.Println(page) 3531 // return pageNum <= 3 3532 // }) 3533 // 3534 func (c *MediaLive) ListInputSecurityGroupsPages(input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool) error { 3535 return c.ListInputSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) 3536 } 3537 3538 // ListInputSecurityGroupsPagesWithContext same as ListInputSecurityGroupsPages except 3539 // it takes a Context and allows setting request options on the pages. 3540 // 3541 // The context must be non-nil and will be used for request cancellation. If 3542 // the context is nil a panic will occur. In the future the SDK may create 3543 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3544 // for more information on using Contexts. 3545 func (c *MediaLive) ListInputSecurityGroupsPagesWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool, opts ...request.Option) error { 3546 p := request.Pagination{ 3547 NewRequest: func() (*request.Request, error) { 3548 var inCpy *ListInputSecurityGroupsInput 3549 if input != nil { 3550 tmp := *input 3551 inCpy = &tmp 3552 } 3553 req, _ := c.ListInputSecurityGroupsRequest(inCpy) 3554 req.SetContext(ctx) 3555 req.ApplyOptions(opts...) 3556 return req, nil 3557 }, 3558 } 3559 3560 for p.Next() { 3561 if !fn(p.Page().(*ListInputSecurityGroupsOutput), !p.HasNextPage()) { 3562 break 3563 } 3564 } 3565 3566 return p.Err() 3567 } 3568 3569 const opListInputs = "ListInputs" 3570 3571 // ListInputsRequest generates a "aws/request.Request" representing the 3572 // client's request for the ListInputs operation. The "output" return 3573 // value will be populated with the request's response once the request completes 3574 // successfully. 3575 // 3576 // Use "Send" method on the returned Request to send the API call to the service. 3577 // the "output" return value is not valid until after Send returns without error. 3578 // 3579 // See ListInputs for more information on using the ListInputs 3580 // API call, and error handling. 3581 // 3582 // This method is useful when you want to inject custom logic or configuration 3583 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3584 // 3585 // 3586 // // Example sending a request using the ListInputsRequest method. 3587 // req, resp := client.ListInputsRequest(params) 3588 // 3589 // err := req.Send() 3590 // if err == nil { // resp is now filled 3591 // fmt.Println(resp) 3592 // } 3593 // 3594 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs 3595 func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput) { 3596 op := &request.Operation{ 3597 Name: opListInputs, 3598 HTTPMethod: "GET", 3599 HTTPPath: "/prod/inputs", 3600 Paginator: &request.Paginator{ 3601 InputTokens: []string{"NextToken"}, 3602 OutputTokens: []string{"NextToken"}, 3603 LimitToken: "MaxResults", 3604 TruncationToken: "", 3605 }, 3606 } 3607 3608 if input == nil { 3609 input = &ListInputsInput{} 3610 } 3611 3612 output = &ListInputsOutput{} 3613 req = c.newRequest(op, input, output) 3614 return 3615 } 3616 3617 // ListInputs API operation for AWS Elemental MediaLive. 3618 // 3619 // Produces list of inputs that have been created 3620 // 3621 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3622 // with awserr.Error's Code and Message methods to get detailed information about 3623 // the error. 3624 // 3625 // See the AWS API reference guide for AWS Elemental MediaLive's 3626 // API operation ListInputs for usage and error information. 3627 // 3628 // Returned Error Types: 3629 // * BadRequestException 3630 // 3631 // * InternalServerErrorException 3632 // 3633 // * ForbiddenException 3634 // 3635 // * BadGatewayException 3636 // 3637 // * GatewayTimeoutException 3638 // 3639 // * TooManyRequestsException 3640 // 3641 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs 3642 func (c *MediaLive) ListInputs(input *ListInputsInput) (*ListInputsOutput, error) { 3643 req, out := c.ListInputsRequest(input) 3644 return out, req.Send() 3645 } 3646 3647 // ListInputsWithContext is the same as ListInputs with the addition of 3648 // the ability to pass a context and additional request options. 3649 // 3650 // See ListInputs for details on how to use this API operation. 3651 // 3652 // The context must be non-nil and will be used for request cancellation. If 3653 // the context is nil a panic will occur. In the future the SDK may create 3654 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3655 // for more information on using Contexts. 3656 func (c *MediaLive) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error) { 3657 req, out := c.ListInputsRequest(input) 3658 req.SetContext(ctx) 3659 req.ApplyOptions(opts...) 3660 return out, req.Send() 3661 } 3662 3663 // ListInputsPages iterates over the pages of a ListInputs operation, 3664 // calling the "fn" function with the response data for each page. To stop 3665 // iterating, return false from the fn function. 3666 // 3667 // See ListInputs method for more information on how to use this operation. 3668 // 3669 // Note: This operation can generate multiple requests to a service. 3670 // 3671 // // Example iterating over at most 3 pages of a ListInputs operation. 3672 // pageNum := 0 3673 // err := client.ListInputsPages(params, 3674 // func(page *medialive.ListInputsOutput, lastPage bool) bool { 3675 // pageNum++ 3676 // fmt.Println(page) 3677 // return pageNum <= 3 3678 // }) 3679 // 3680 func (c *MediaLive) ListInputsPages(input *ListInputsInput, fn func(*ListInputsOutput, bool) bool) error { 3681 return c.ListInputsPagesWithContext(aws.BackgroundContext(), input, fn) 3682 } 3683 3684 // ListInputsPagesWithContext same as ListInputsPages except 3685 // it takes a Context and allows setting request options on the pages. 3686 // 3687 // The context must be non-nil and will be used for request cancellation. If 3688 // the context is nil a panic will occur. In the future the SDK may create 3689 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3690 // for more information on using Contexts. 3691 func (c *MediaLive) ListInputsPagesWithContext(ctx aws.Context, input *ListInputsInput, fn func(*ListInputsOutput, bool) bool, opts ...request.Option) error { 3692 p := request.Pagination{ 3693 NewRequest: func() (*request.Request, error) { 3694 var inCpy *ListInputsInput 3695 if input != nil { 3696 tmp := *input 3697 inCpy = &tmp 3698 } 3699 req, _ := c.ListInputsRequest(inCpy) 3700 req.SetContext(ctx) 3701 req.ApplyOptions(opts...) 3702 return req, nil 3703 }, 3704 } 3705 3706 for p.Next() { 3707 if !fn(p.Page().(*ListInputsOutput), !p.HasNextPage()) { 3708 break 3709 } 3710 } 3711 3712 return p.Err() 3713 } 3714 3715 const opListMultiplexPrograms = "ListMultiplexPrograms" 3716 3717 // ListMultiplexProgramsRequest generates a "aws/request.Request" representing the 3718 // client's request for the ListMultiplexPrograms operation. The "output" return 3719 // value will be populated with the request's response once the request completes 3720 // successfully. 3721 // 3722 // Use "Send" method on the returned Request to send the API call to the service. 3723 // the "output" return value is not valid until after Send returns without error. 3724 // 3725 // See ListMultiplexPrograms for more information on using the ListMultiplexPrograms 3726 // API call, and error handling. 3727 // 3728 // This method is useful when you want to inject custom logic or configuration 3729 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3730 // 3731 // 3732 // // Example sending a request using the ListMultiplexProgramsRequest method. 3733 // req, resp := client.ListMultiplexProgramsRequest(params) 3734 // 3735 // err := req.Send() 3736 // if err == nil { // resp is now filled 3737 // fmt.Println(resp) 3738 // } 3739 // 3740 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms 3741 func (c *MediaLive) ListMultiplexProgramsRequest(input *ListMultiplexProgramsInput) (req *request.Request, output *ListMultiplexProgramsOutput) { 3742 op := &request.Operation{ 3743 Name: opListMultiplexPrograms, 3744 HTTPMethod: "GET", 3745 HTTPPath: "/prod/multiplexes/{multiplexId}/programs", 3746 Paginator: &request.Paginator{ 3747 InputTokens: []string{"NextToken"}, 3748 OutputTokens: []string{"NextToken"}, 3749 LimitToken: "MaxResults", 3750 TruncationToken: "", 3751 }, 3752 } 3753 3754 if input == nil { 3755 input = &ListMultiplexProgramsInput{} 3756 } 3757 3758 output = &ListMultiplexProgramsOutput{} 3759 req = c.newRequest(op, input, output) 3760 return 3761 } 3762 3763 // ListMultiplexPrograms API operation for AWS Elemental MediaLive. 3764 // 3765 // List the programs that currently exist for a specific multiplex. 3766 // 3767 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3768 // with awserr.Error's Code and Message methods to get detailed information about 3769 // the error. 3770 // 3771 // See the AWS API reference guide for AWS Elemental MediaLive's 3772 // API operation ListMultiplexPrograms for usage and error information. 3773 // 3774 // Returned Error Types: 3775 // * BadRequestException 3776 // 3777 // * InternalServerErrorException 3778 // 3779 // * ForbiddenException 3780 // 3781 // * BadGatewayException 3782 // 3783 // * NotFoundException 3784 // 3785 // * GatewayTimeoutException 3786 // 3787 // * TooManyRequestsException 3788 // 3789 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms 3790 func (c *MediaLive) ListMultiplexPrograms(input *ListMultiplexProgramsInput) (*ListMultiplexProgramsOutput, error) { 3791 req, out := c.ListMultiplexProgramsRequest(input) 3792 return out, req.Send() 3793 } 3794 3795 // ListMultiplexProgramsWithContext is the same as ListMultiplexPrograms with the addition of 3796 // the ability to pass a context and additional request options. 3797 // 3798 // See ListMultiplexPrograms for details on how to use this API operation. 3799 // 3800 // The context must be non-nil and will be used for request cancellation. If 3801 // the context is nil a panic will occur. In the future the SDK may create 3802 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3803 // for more information on using Contexts. 3804 func (c *MediaLive) ListMultiplexProgramsWithContext(ctx aws.Context, input *ListMultiplexProgramsInput, opts ...request.Option) (*ListMultiplexProgramsOutput, error) { 3805 req, out := c.ListMultiplexProgramsRequest(input) 3806 req.SetContext(ctx) 3807 req.ApplyOptions(opts...) 3808 return out, req.Send() 3809 } 3810 3811 // ListMultiplexProgramsPages iterates over the pages of a ListMultiplexPrograms operation, 3812 // calling the "fn" function with the response data for each page. To stop 3813 // iterating, return false from the fn function. 3814 // 3815 // See ListMultiplexPrograms method for more information on how to use this operation. 3816 // 3817 // Note: This operation can generate multiple requests to a service. 3818 // 3819 // // Example iterating over at most 3 pages of a ListMultiplexPrograms operation. 3820 // pageNum := 0 3821 // err := client.ListMultiplexProgramsPages(params, 3822 // func(page *medialive.ListMultiplexProgramsOutput, lastPage bool) bool { 3823 // pageNum++ 3824 // fmt.Println(page) 3825 // return pageNum <= 3 3826 // }) 3827 // 3828 func (c *MediaLive) ListMultiplexProgramsPages(input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool) error { 3829 return c.ListMultiplexProgramsPagesWithContext(aws.BackgroundContext(), input, fn) 3830 } 3831 3832 // ListMultiplexProgramsPagesWithContext same as ListMultiplexProgramsPages except 3833 // it takes a Context and allows setting request options on the pages. 3834 // 3835 // The context must be non-nil and will be used for request cancellation. If 3836 // the context is nil a panic will occur. In the future the SDK may create 3837 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3838 // for more information on using Contexts. 3839 func (c *MediaLive) ListMultiplexProgramsPagesWithContext(ctx aws.Context, input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool, opts ...request.Option) error { 3840 p := request.Pagination{ 3841 NewRequest: func() (*request.Request, error) { 3842 var inCpy *ListMultiplexProgramsInput 3843 if input != nil { 3844 tmp := *input 3845 inCpy = &tmp 3846 } 3847 req, _ := c.ListMultiplexProgramsRequest(inCpy) 3848 req.SetContext(ctx) 3849 req.ApplyOptions(opts...) 3850 return req, nil 3851 }, 3852 } 3853 3854 for p.Next() { 3855 if !fn(p.Page().(*ListMultiplexProgramsOutput), !p.HasNextPage()) { 3856 break 3857 } 3858 } 3859 3860 return p.Err() 3861 } 3862 3863 const opListMultiplexes = "ListMultiplexes" 3864 3865 // ListMultiplexesRequest generates a "aws/request.Request" representing the 3866 // client's request for the ListMultiplexes operation. The "output" return 3867 // value will be populated with the request's response once the request completes 3868 // successfully. 3869 // 3870 // Use "Send" method on the returned Request to send the API call to the service. 3871 // the "output" return value is not valid until after Send returns without error. 3872 // 3873 // See ListMultiplexes for more information on using the ListMultiplexes 3874 // API call, and error handling. 3875 // 3876 // This method is useful when you want to inject custom logic or configuration 3877 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3878 // 3879 // 3880 // // Example sending a request using the ListMultiplexesRequest method. 3881 // req, resp := client.ListMultiplexesRequest(params) 3882 // 3883 // err := req.Send() 3884 // if err == nil { // resp is now filled 3885 // fmt.Println(resp) 3886 // } 3887 // 3888 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes 3889 func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *request.Request, output *ListMultiplexesOutput) { 3890 op := &request.Operation{ 3891 Name: opListMultiplexes, 3892 HTTPMethod: "GET", 3893 HTTPPath: "/prod/multiplexes", 3894 Paginator: &request.Paginator{ 3895 InputTokens: []string{"NextToken"}, 3896 OutputTokens: []string{"NextToken"}, 3897 LimitToken: "MaxResults", 3898 TruncationToken: "", 3899 }, 3900 } 3901 3902 if input == nil { 3903 input = &ListMultiplexesInput{} 3904 } 3905 3906 output = &ListMultiplexesOutput{} 3907 req = c.newRequest(op, input, output) 3908 return 3909 } 3910 3911 // ListMultiplexes API operation for AWS Elemental MediaLive. 3912 // 3913 // Retrieve a list of the existing multiplexes. 3914 // 3915 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3916 // with awserr.Error's Code and Message methods to get detailed information about 3917 // the error. 3918 // 3919 // See the AWS API reference guide for AWS Elemental MediaLive's 3920 // API operation ListMultiplexes for usage and error information. 3921 // 3922 // Returned Error Types: 3923 // * BadRequestException 3924 // 3925 // * InternalServerErrorException 3926 // 3927 // * ForbiddenException 3928 // 3929 // * BadGatewayException 3930 // 3931 // * GatewayTimeoutException 3932 // 3933 // * TooManyRequestsException 3934 // 3935 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes 3936 func (c *MediaLive) ListMultiplexes(input *ListMultiplexesInput) (*ListMultiplexesOutput, error) { 3937 req, out := c.ListMultiplexesRequest(input) 3938 return out, req.Send() 3939 } 3940 3941 // ListMultiplexesWithContext is the same as ListMultiplexes with the addition of 3942 // the ability to pass a context and additional request options. 3943 // 3944 // See ListMultiplexes for details on how to use this API operation. 3945 // 3946 // The context must be non-nil and will be used for request cancellation. If 3947 // the context is nil a panic will occur. In the future the SDK may create 3948 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3949 // for more information on using Contexts. 3950 func (c *MediaLive) ListMultiplexesWithContext(ctx aws.Context, input *ListMultiplexesInput, opts ...request.Option) (*ListMultiplexesOutput, error) { 3951 req, out := c.ListMultiplexesRequest(input) 3952 req.SetContext(ctx) 3953 req.ApplyOptions(opts...) 3954 return out, req.Send() 3955 } 3956 3957 // ListMultiplexesPages iterates over the pages of a ListMultiplexes operation, 3958 // calling the "fn" function with the response data for each page. To stop 3959 // iterating, return false from the fn function. 3960 // 3961 // See ListMultiplexes method for more information on how to use this operation. 3962 // 3963 // Note: This operation can generate multiple requests to a service. 3964 // 3965 // // Example iterating over at most 3 pages of a ListMultiplexes operation. 3966 // pageNum := 0 3967 // err := client.ListMultiplexesPages(params, 3968 // func(page *medialive.ListMultiplexesOutput, lastPage bool) bool { 3969 // pageNum++ 3970 // fmt.Println(page) 3971 // return pageNum <= 3 3972 // }) 3973 // 3974 func (c *MediaLive) ListMultiplexesPages(input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool) error { 3975 return c.ListMultiplexesPagesWithContext(aws.BackgroundContext(), input, fn) 3976 } 3977 3978 // ListMultiplexesPagesWithContext same as ListMultiplexesPages except 3979 // it takes a Context and allows setting request options on the pages. 3980 // 3981 // The context must be non-nil and will be used for request cancellation. If 3982 // the context is nil a panic will occur. In the future the SDK may create 3983 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3984 // for more information on using Contexts. 3985 func (c *MediaLive) ListMultiplexesPagesWithContext(ctx aws.Context, input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool, opts ...request.Option) error { 3986 p := request.Pagination{ 3987 NewRequest: func() (*request.Request, error) { 3988 var inCpy *ListMultiplexesInput 3989 if input != nil { 3990 tmp := *input 3991 inCpy = &tmp 3992 } 3993 req, _ := c.ListMultiplexesRequest(inCpy) 3994 req.SetContext(ctx) 3995 req.ApplyOptions(opts...) 3996 return req, nil 3997 }, 3998 } 3999 4000 for p.Next() { 4001 if !fn(p.Page().(*ListMultiplexesOutput), !p.HasNextPage()) { 4002 break 4003 } 4004 } 4005 4006 return p.Err() 4007 } 4008 4009 const opListOfferings = "ListOfferings" 4010 4011 // ListOfferingsRequest generates a "aws/request.Request" representing the 4012 // client's request for the ListOfferings operation. The "output" return 4013 // value will be populated with the request's response once the request completes 4014 // successfully. 4015 // 4016 // Use "Send" method on the returned Request to send the API call to the service. 4017 // the "output" return value is not valid until after Send returns without error. 4018 // 4019 // See ListOfferings for more information on using the ListOfferings 4020 // API call, and error handling. 4021 // 4022 // This method is useful when you want to inject custom logic or configuration 4023 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4024 // 4025 // 4026 // // Example sending a request using the ListOfferingsRequest method. 4027 // req, resp := client.ListOfferingsRequest(params) 4028 // 4029 // err := req.Send() 4030 // if err == nil { // resp is now filled 4031 // fmt.Println(resp) 4032 // } 4033 // 4034 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings 4035 func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { 4036 op := &request.Operation{ 4037 Name: opListOfferings, 4038 HTTPMethod: "GET", 4039 HTTPPath: "/prod/offerings", 4040 Paginator: &request.Paginator{ 4041 InputTokens: []string{"NextToken"}, 4042 OutputTokens: []string{"NextToken"}, 4043 LimitToken: "MaxResults", 4044 TruncationToken: "", 4045 }, 4046 } 4047 4048 if input == nil { 4049 input = &ListOfferingsInput{} 4050 } 4051 4052 output = &ListOfferingsOutput{} 4053 req = c.newRequest(op, input, output) 4054 return 4055 } 4056 4057 // ListOfferings API operation for AWS Elemental MediaLive. 4058 // 4059 // List offerings available for purchase. 4060 // 4061 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4062 // with awserr.Error's Code and Message methods to get detailed information about 4063 // the error. 4064 // 4065 // See the AWS API reference guide for AWS Elemental MediaLive's 4066 // API operation ListOfferings for usage and error information. 4067 // 4068 // Returned Error Types: 4069 // * BadRequestException 4070 // 4071 // * InternalServerErrorException 4072 // 4073 // * ForbiddenException 4074 // 4075 // * BadGatewayException 4076 // 4077 // * GatewayTimeoutException 4078 // 4079 // * TooManyRequestsException 4080 // 4081 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings 4082 func (c *MediaLive) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { 4083 req, out := c.ListOfferingsRequest(input) 4084 return out, req.Send() 4085 } 4086 4087 // ListOfferingsWithContext is the same as ListOfferings with the addition of 4088 // the ability to pass a context and additional request options. 4089 // 4090 // See ListOfferings for details on how to use this API operation. 4091 // 4092 // The context must be non-nil and will be used for request cancellation. If 4093 // the context is nil a panic will occur. In the future the SDK may create 4094 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4095 // for more information on using Contexts. 4096 func (c *MediaLive) ListOfferingsWithContext(ctx aws.Context, input *ListOfferingsInput, opts ...request.Option) (*ListOfferingsOutput, error) { 4097 req, out := c.ListOfferingsRequest(input) 4098 req.SetContext(ctx) 4099 req.ApplyOptions(opts...) 4100 return out, req.Send() 4101 } 4102 4103 // ListOfferingsPages iterates over the pages of a ListOfferings operation, 4104 // calling the "fn" function with the response data for each page. To stop 4105 // iterating, return false from the fn function. 4106 // 4107 // See ListOfferings method for more information on how to use this operation. 4108 // 4109 // Note: This operation can generate multiple requests to a service. 4110 // 4111 // // Example iterating over at most 3 pages of a ListOfferings operation. 4112 // pageNum := 0 4113 // err := client.ListOfferingsPages(params, 4114 // func(page *medialive.ListOfferingsOutput, lastPage bool) bool { 4115 // pageNum++ 4116 // fmt.Println(page) 4117 // return pageNum <= 3 4118 // }) 4119 // 4120 func (c *MediaLive) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error { 4121 return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) 4122 } 4123 4124 // ListOfferingsPagesWithContext same as ListOfferingsPages except 4125 // it takes a Context and allows setting request options on the pages. 4126 // 4127 // The context must be non-nil and will be used for request cancellation. If 4128 // the context is nil a panic will occur. In the future the SDK may create 4129 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4130 // for more information on using Contexts. 4131 func (c *MediaLive) ListOfferingsPagesWithContext(ctx aws.Context, input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool, opts ...request.Option) error { 4132 p := request.Pagination{ 4133 NewRequest: func() (*request.Request, error) { 4134 var inCpy *ListOfferingsInput 4135 if input != nil { 4136 tmp := *input 4137 inCpy = &tmp 4138 } 4139 req, _ := c.ListOfferingsRequest(inCpy) 4140 req.SetContext(ctx) 4141 req.ApplyOptions(opts...) 4142 return req, nil 4143 }, 4144 } 4145 4146 for p.Next() { 4147 if !fn(p.Page().(*ListOfferingsOutput), !p.HasNextPage()) { 4148 break 4149 } 4150 } 4151 4152 return p.Err() 4153 } 4154 4155 const opListReservations = "ListReservations" 4156 4157 // ListReservationsRequest generates a "aws/request.Request" representing the 4158 // client's request for the ListReservations operation. The "output" return 4159 // value will be populated with the request's response once the request completes 4160 // successfully. 4161 // 4162 // Use "Send" method on the returned Request to send the API call to the service. 4163 // the "output" return value is not valid until after Send returns without error. 4164 // 4165 // See ListReservations for more information on using the ListReservations 4166 // API call, and error handling. 4167 // 4168 // This method is useful when you want to inject custom logic or configuration 4169 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4170 // 4171 // 4172 // // Example sending a request using the ListReservationsRequest method. 4173 // req, resp := client.ListReservationsRequest(params) 4174 // 4175 // err := req.Send() 4176 // if err == nil { // resp is now filled 4177 // fmt.Println(resp) 4178 // } 4179 // 4180 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations 4181 func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req *request.Request, output *ListReservationsOutput) { 4182 op := &request.Operation{ 4183 Name: opListReservations, 4184 HTTPMethod: "GET", 4185 HTTPPath: "/prod/reservations", 4186 Paginator: &request.Paginator{ 4187 InputTokens: []string{"NextToken"}, 4188 OutputTokens: []string{"NextToken"}, 4189 LimitToken: "MaxResults", 4190 TruncationToken: "", 4191 }, 4192 } 4193 4194 if input == nil { 4195 input = &ListReservationsInput{} 4196 } 4197 4198 output = &ListReservationsOutput{} 4199 req = c.newRequest(op, input, output) 4200 return 4201 } 4202 4203 // ListReservations API operation for AWS Elemental MediaLive. 4204 // 4205 // List purchased reservations. 4206 // 4207 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4208 // with awserr.Error's Code and Message methods to get detailed information about 4209 // the error. 4210 // 4211 // See the AWS API reference guide for AWS Elemental MediaLive's 4212 // API operation ListReservations for usage and error information. 4213 // 4214 // Returned Error Types: 4215 // * BadRequestException 4216 // 4217 // * InternalServerErrorException 4218 // 4219 // * ForbiddenException 4220 // 4221 // * BadGatewayException 4222 // 4223 // * GatewayTimeoutException 4224 // 4225 // * TooManyRequestsException 4226 // 4227 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations 4228 func (c *MediaLive) ListReservations(input *ListReservationsInput) (*ListReservationsOutput, error) { 4229 req, out := c.ListReservationsRequest(input) 4230 return out, req.Send() 4231 } 4232 4233 // ListReservationsWithContext is the same as ListReservations with the addition of 4234 // the ability to pass a context and additional request options. 4235 // 4236 // See ListReservations for details on how to use this API operation. 4237 // 4238 // The context must be non-nil and will be used for request cancellation. If 4239 // the context is nil a panic will occur. In the future the SDK may create 4240 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4241 // for more information on using Contexts. 4242 func (c *MediaLive) ListReservationsWithContext(ctx aws.Context, input *ListReservationsInput, opts ...request.Option) (*ListReservationsOutput, error) { 4243 req, out := c.ListReservationsRequest(input) 4244 req.SetContext(ctx) 4245 req.ApplyOptions(opts...) 4246 return out, req.Send() 4247 } 4248 4249 // ListReservationsPages iterates over the pages of a ListReservations operation, 4250 // calling the "fn" function with the response data for each page. To stop 4251 // iterating, return false from the fn function. 4252 // 4253 // See ListReservations method for more information on how to use this operation. 4254 // 4255 // Note: This operation can generate multiple requests to a service. 4256 // 4257 // // Example iterating over at most 3 pages of a ListReservations operation. 4258 // pageNum := 0 4259 // err := client.ListReservationsPages(params, 4260 // func(page *medialive.ListReservationsOutput, lastPage bool) bool { 4261 // pageNum++ 4262 // fmt.Println(page) 4263 // return pageNum <= 3 4264 // }) 4265 // 4266 func (c *MediaLive) ListReservationsPages(input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool) error { 4267 return c.ListReservationsPagesWithContext(aws.BackgroundContext(), input, fn) 4268 } 4269 4270 // ListReservationsPagesWithContext same as ListReservationsPages except 4271 // it takes a Context and allows setting request options on the pages. 4272 // 4273 // The context must be non-nil and will be used for request cancellation. If 4274 // the context is nil a panic will occur. In the future the SDK may create 4275 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4276 // for more information on using Contexts. 4277 func (c *MediaLive) ListReservationsPagesWithContext(ctx aws.Context, input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool, opts ...request.Option) error { 4278 p := request.Pagination{ 4279 NewRequest: func() (*request.Request, error) { 4280 var inCpy *ListReservationsInput 4281 if input != nil { 4282 tmp := *input 4283 inCpy = &tmp 4284 } 4285 req, _ := c.ListReservationsRequest(inCpy) 4286 req.SetContext(ctx) 4287 req.ApplyOptions(opts...) 4288 return req, nil 4289 }, 4290 } 4291 4292 for p.Next() { 4293 if !fn(p.Page().(*ListReservationsOutput), !p.HasNextPage()) { 4294 break 4295 } 4296 } 4297 4298 return p.Err() 4299 } 4300 4301 const opListTagsForResource = "ListTagsForResource" 4302 4303 // ListTagsForResourceRequest generates a "aws/request.Request" representing the 4304 // client's request for the ListTagsForResource operation. The "output" return 4305 // value will be populated with the request's response once the request completes 4306 // successfully. 4307 // 4308 // Use "Send" method on the returned Request to send the API call to the service. 4309 // the "output" return value is not valid until after Send returns without error. 4310 // 4311 // See ListTagsForResource for more information on using the ListTagsForResource 4312 // API call, and error handling. 4313 // 4314 // This method is useful when you want to inject custom logic or configuration 4315 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4316 // 4317 // 4318 // // Example sending a request using the ListTagsForResourceRequest method. 4319 // req, resp := client.ListTagsForResourceRequest(params) 4320 // 4321 // err := req.Send() 4322 // if err == nil { // resp is now filled 4323 // fmt.Println(resp) 4324 // } 4325 // 4326 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource 4327 func (c *MediaLive) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { 4328 op := &request.Operation{ 4329 Name: opListTagsForResource, 4330 HTTPMethod: "GET", 4331 HTTPPath: "/prod/tags/{resource-arn}", 4332 } 4333 4334 if input == nil { 4335 input = &ListTagsForResourceInput{} 4336 } 4337 4338 output = &ListTagsForResourceOutput{} 4339 req = c.newRequest(op, input, output) 4340 return 4341 } 4342 4343 // ListTagsForResource API operation for AWS Elemental MediaLive. 4344 // 4345 // Produces list of tags that have been created for a resource 4346 // 4347 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4348 // with awserr.Error's Code and Message methods to get detailed information about 4349 // the error. 4350 // 4351 // See the AWS API reference guide for AWS Elemental MediaLive's 4352 // API operation ListTagsForResource for usage and error information. 4353 // 4354 // Returned Error Types: 4355 // * NotFoundException 4356 // 4357 // * BadRequestException 4358 // 4359 // * InternalServerErrorException 4360 // 4361 // * ForbiddenException 4362 // 4363 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource 4364 func (c *MediaLive) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { 4365 req, out := c.ListTagsForResourceRequest(input) 4366 return out, req.Send() 4367 } 4368 4369 // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of 4370 // the ability to pass a context and additional request options. 4371 // 4372 // See ListTagsForResource for details on how to use this API operation. 4373 // 4374 // The context must be non-nil and will be used for request cancellation. If 4375 // the context is nil a panic will occur. In the future the SDK may create 4376 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4377 // for more information on using Contexts. 4378 func (c *MediaLive) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { 4379 req, out := c.ListTagsForResourceRequest(input) 4380 req.SetContext(ctx) 4381 req.ApplyOptions(opts...) 4382 return out, req.Send() 4383 } 4384 4385 const opPurchaseOffering = "PurchaseOffering" 4386 4387 // PurchaseOfferingRequest generates a "aws/request.Request" representing the 4388 // client's request for the PurchaseOffering operation. The "output" return 4389 // value will be populated with the request's response once the request completes 4390 // successfully. 4391 // 4392 // Use "Send" method on the returned Request to send the API call to the service. 4393 // the "output" return value is not valid until after Send returns without error. 4394 // 4395 // See PurchaseOffering for more information on using the PurchaseOffering 4396 // API call, and error handling. 4397 // 4398 // This method is useful when you want to inject custom logic or configuration 4399 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4400 // 4401 // 4402 // // Example sending a request using the PurchaseOfferingRequest method. 4403 // req, resp := client.PurchaseOfferingRequest(params) 4404 // 4405 // err := req.Send() 4406 // if err == nil { // resp is now filled 4407 // fmt.Println(resp) 4408 // } 4409 // 4410 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering 4411 func (c *MediaLive) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { 4412 op := &request.Operation{ 4413 Name: opPurchaseOffering, 4414 HTTPMethod: "POST", 4415 HTTPPath: "/prod/offerings/{offeringId}/purchase", 4416 } 4417 4418 if input == nil { 4419 input = &PurchaseOfferingInput{} 4420 } 4421 4422 output = &PurchaseOfferingOutput{} 4423 req = c.newRequest(op, input, output) 4424 return 4425 } 4426 4427 // PurchaseOffering API operation for AWS Elemental MediaLive. 4428 // 4429 // Purchase an offering and create a reservation. 4430 // 4431 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4432 // with awserr.Error's Code and Message methods to get detailed information about 4433 // the error. 4434 // 4435 // See the AWS API reference guide for AWS Elemental MediaLive's 4436 // API operation PurchaseOffering for usage and error information. 4437 // 4438 // Returned Error Types: 4439 // * BadRequestException 4440 // 4441 // * InternalServerErrorException 4442 // 4443 // * ForbiddenException 4444 // 4445 // * BadGatewayException 4446 // 4447 // * NotFoundException 4448 // 4449 // * GatewayTimeoutException 4450 // 4451 // * TooManyRequestsException 4452 // 4453 // * ConflictException 4454 // 4455 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering 4456 func (c *MediaLive) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { 4457 req, out := c.PurchaseOfferingRequest(input) 4458 return out, req.Send() 4459 } 4460 4461 // PurchaseOfferingWithContext is the same as PurchaseOffering with the addition of 4462 // the ability to pass a context and additional request options. 4463 // 4464 // See PurchaseOffering for details on how to use this API operation. 4465 // 4466 // The context must be non-nil and will be used for request cancellation. If 4467 // the context is nil a panic will occur. In the future the SDK may create 4468 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4469 // for more information on using Contexts. 4470 func (c *MediaLive) PurchaseOfferingWithContext(ctx aws.Context, input *PurchaseOfferingInput, opts ...request.Option) (*PurchaseOfferingOutput, error) { 4471 req, out := c.PurchaseOfferingRequest(input) 4472 req.SetContext(ctx) 4473 req.ApplyOptions(opts...) 4474 return out, req.Send() 4475 } 4476 4477 const opRejectInputDeviceTransfer = "RejectInputDeviceTransfer" 4478 4479 // RejectInputDeviceTransferRequest generates a "aws/request.Request" representing the 4480 // client's request for the RejectInputDeviceTransfer operation. The "output" return 4481 // value will be populated with the request's response once the request completes 4482 // successfully. 4483 // 4484 // Use "Send" method on the returned Request to send the API call to the service. 4485 // the "output" return value is not valid until after Send returns without error. 4486 // 4487 // See RejectInputDeviceTransfer for more information on using the RejectInputDeviceTransfer 4488 // API call, and error handling. 4489 // 4490 // This method is useful when you want to inject custom logic or configuration 4491 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4492 // 4493 // 4494 // // Example sending a request using the RejectInputDeviceTransferRequest method. 4495 // req, resp := client.RejectInputDeviceTransferRequest(params) 4496 // 4497 // err := req.Send() 4498 // if err == nil { // resp is now filled 4499 // fmt.Println(resp) 4500 // } 4501 // 4502 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer 4503 func (c *MediaLive) RejectInputDeviceTransferRequest(input *RejectInputDeviceTransferInput) (req *request.Request, output *RejectInputDeviceTransferOutput) { 4504 op := &request.Operation{ 4505 Name: opRejectInputDeviceTransfer, 4506 HTTPMethod: "POST", 4507 HTTPPath: "/prod/inputDevices/{inputDeviceId}/reject", 4508 } 4509 4510 if input == nil { 4511 input = &RejectInputDeviceTransferInput{} 4512 } 4513 4514 output = &RejectInputDeviceTransferOutput{} 4515 req = c.newRequest(op, input, output) 4516 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4517 return 4518 } 4519 4520 // RejectInputDeviceTransfer API operation for AWS Elemental MediaLive. 4521 // 4522 // Reject the transfer of the specified input device to your AWS account. 4523 // 4524 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4525 // with awserr.Error's Code and Message methods to get detailed information about 4526 // the error. 4527 // 4528 // See the AWS API reference guide for AWS Elemental MediaLive's 4529 // API operation RejectInputDeviceTransfer for usage and error information. 4530 // 4531 // Returned Error Types: 4532 // * BadRequestException 4533 // 4534 // * UnprocessableEntityException 4535 // 4536 // * InternalServerErrorException 4537 // 4538 // * ForbiddenException 4539 // 4540 // * BadGatewayException 4541 // 4542 // * NotFoundException 4543 // 4544 // * GatewayTimeoutException 4545 // 4546 // * TooManyRequestsException 4547 // 4548 // * ConflictException 4549 // 4550 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer 4551 func (c *MediaLive) RejectInputDeviceTransfer(input *RejectInputDeviceTransferInput) (*RejectInputDeviceTransferOutput, error) { 4552 req, out := c.RejectInputDeviceTransferRequest(input) 4553 return out, req.Send() 4554 } 4555 4556 // RejectInputDeviceTransferWithContext is the same as RejectInputDeviceTransfer with the addition of 4557 // the ability to pass a context and additional request options. 4558 // 4559 // See RejectInputDeviceTransfer for details on how to use this API operation. 4560 // 4561 // The context must be non-nil and will be used for request cancellation. If 4562 // the context is nil a panic will occur. In the future the SDK may create 4563 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4564 // for more information on using Contexts. 4565 func (c *MediaLive) RejectInputDeviceTransferWithContext(ctx aws.Context, input *RejectInputDeviceTransferInput, opts ...request.Option) (*RejectInputDeviceTransferOutput, error) { 4566 req, out := c.RejectInputDeviceTransferRequest(input) 4567 req.SetContext(ctx) 4568 req.ApplyOptions(opts...) 4569 return out, req.Send() 4570 } 4571 4572 const opStartChannel = "StartChannel" 4573 4574 // StartChannelRequest generates a "aws/request.Request" representing the 4575 // client's request for the StartChannel operation. The "output" return 4576 // value will be populated with the request's response once the request completes 4577 // successfully. 4578 // 4579 // Use "Send" method on the returned Request to send the API call to the service. 4580 // the "output" return value is not valid until after Send returns without error. 4581 // 4582 // See StartChannel for more information on using the StartChannel 4583 // API call, and error handling. 4584 // 4585 // This method is useful when you want to inject custom logic or configuration 4586 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4587 // 4588 // 4589 // // Example sending a request using the StartChannelRequest method. 4590 // req, resp := client.StartChannelRequest(params) 4591 // 4592 // err := req.Send() 4593 // if err == nil { // resp is now filled 4594 // fmt.Println(resp) 4595 // } 4596 // 4597 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel 4598 func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { 4599 op := &request.Operation{ 4600 Name: opStartChannel, 4601 HTTPMethod: "POST", 4602 HTTPPath: "/prod/channels/{channelId}/start", 4603 } 4604 4605 if input == nil { 4606 input = &StartChannelInput{} 4607 } 4608 4609 output = &StartChannelOutput{} 4610 req = c.newRequest(op, input, output) 4611 return 4612 } 4613 4614 // StartChannel API operation for AWS Elemental MediaLive. 4615 // 4616 // Starts an existing channel 4617 // 4618 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4619 // with awserr.Error's Code and Message methods to get detailed information about 4620 // the error. 4621 // 4622 // See the AWS API reference guide for AWS Elemental MediaLive's 4623 // API operation StartChannel for usage and error information. 4624 // 4625 // Returned Error Types: 4626 // * BadRequestException 4627 // 4628 // * InternalServerErrorException 4629 // 4630 // * ForbiddenException 4631 // 4632 // * BadGatewayException 4633 // 4634 // * NotFoundException 4635 // 4636 // * GatewayTimeoutException 4637 // 4638 // * TooManyRequestsException 4639 // 4640 // * ConflictException 4641 // 4642 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel 4643 func (c *MediaLive) StartChannel(input *StartChannelInput) (*StartChannelOutput, error) { 4644 req, out := c.StartChannelRequest(input) 4645 return out, req.Send() 4646 } 4647 4648 // StartChannelWithContext is the same as StartChannel with the addition of 4649 // the ability to pass a context and additional request options. 4650 // 4651 // See StartChannel for details on how to use this API operation. 4652 // 4653 // The context must be non-nil and will be used for request cancellation. If 4654 // the context is nil a panic will occur. In the future the SDK may create 4655 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4656 // for more information on using Contexts. 4657 func (c *MediaLive) StartChannelWithContext(ctx aws.Context, input *StartChannelInput, opts ...request.Option) (*StartChannelOutput, error) { 4658 req, out := c.StartChannelRequest(input) 4659 req.SetContext(ctx) 4660 req.ApplyOptions(opts...) 4661 return out, req.Send() 4662 } 4663 4664 const opStartMultiplex = "StartMultiplex" 4665 4666 // StartMultiplexRequest generates a "aws/request.Request" representing the 4667 // client's request for the StartMultiplex operation. The "output" return 4668 // value will be populated with the request's response once the request completes 4669 // successfully. 4670 // 4671 // Use "Send" method on the returned Request to send the API call to the service. 4672 // the "output" return value is not valid until after Send returns without error. 4673 // 4674 // See StartMultiplex for more information on using the StartMultiplex 4675 // API call, and error handling. 4676 // 4677 // This method is useful when you want to inject custom logic or configuration 4678 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4679 // 4680 // 4681 // // Example sending a request using the StartMultiplexRequest method. 4682 // req, resp := client.StartMultiplexRequest(params) 4683 // 4684 // err := req.Send() 4685 // if err == nil { // resp is now filled 4686 // fmt.Println(resp) 4687 // } 4688 // 4689 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex 4690 func (c *MediaLive) StartMultiplexRequest(input *StartMultiplexInput) (req *request.Request, output *StartMultiplexOutput) { 4691 op := &request.Operation{ 4692 Name: opStartMultiplex, 4693 HTTPMethod: "POST", 4694 HTTPPath: "/prod/multiplexes/{multiplexId}/start", 4695 } 4696 4697 if input == nil { 4698 input = &StartMultiplexInput{} 4699 } 4700 4701 output = &StartMultiplexOutput{} 4702 req = c.newRequest(op, input, output) 4703 return 4704 } 4705 4706 // StartMultiplex API operation for AWS Elemental MediaLive. 4707 // 4708 // Start (run) the multiplex. Starting the multiplex does not start the channels. 4709 // You must explicitly start each channel. 4710 // 4711 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4712 // with awserr.Error's Code and Message methods to get detailed information about 4713 // the error. 4714 // 4715 // See the AWS API reference guide for AWS Elemental MediaLive's 4716 // API operation StartMultiplex for usage and error information. 4717 // 4718 // Returned Error Types: 4719 // * BadRequestException 4720 // 4721 // * InternalServerErrorException 4722 // 4723 // * ForbiddenException 4724 // 4725 // * BadGatewayException 4726 // 4727 // * NotFoundException 4728 // 4729 // * GatewayTimeoutException 4730 // 4731 // * TooManyRequestsException 4732 // 4733 // * ConflictException 4734 // 4735 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex 4736 func (c *MediaLive) StartMultiplex(input *StartMultiplexInput) (*StartMultiplexOutput, error) { 4737 req, out := c.StartMultiplexRequest(input) 4738 return out, req.Send() 4739 } 4740 4741 // StartMultiplexWithContext is the same as StartMultiplex with the addition of 4742 // the ability to pass a context and additional request options. 4743 // 4744 // See StartMultiplex for details on how to use this API operation. 4745 // 4746 // The context must be non-nil and will be used for request cancellation. If 4747 // the context is nil a panic will occur. In the future the SDK may create 4748 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4749 // for more information on using Contexts. 4750 func (c *MediaLive) StartMultiplexWithContext(ctx aws.Context, input *StartMultiplexInput, opts ...request.Option) (*StartMultiplexOutput, error) { 4751 req, out := c.StartMultiplexRequest(input) 4752 req.SetContext(ctx) 4753 req.ApplyOptions(opts...) 4754 return out, req.Send() 4755 } 4756 4757 const opStopChannel = "StopChannel" 4758 4759 // StopChannelRequest generates a "aws/request.Request" representing the 4760 // client's request for the StopChannel operation. The "output" return 4761 // value will be populated with the request's response once the request completes 4762 // successfully. 4763 // 4764 // Use "Send" method on the returned Request to send the API call to the service. 4765 // the "output" return value is not valid until after Send returns without error. 4766 // 4767 // See StopChannel for more information on using the StopChannel 4768 // API call, and error handling. 4769 // 4770 // This method is useful when you want to inject custom logic or configuration 4771 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4772 // 4773 // 4774 // // Example sending a request using the StopChannelRequest method. 4775 // req, resp := client.StopChannelRequest(params) 4776 // 4777 // err := req.Send() 4778 // if err == nil { // resp is now filled 4779 // fmt.Println(resp) 4780 // } 4781 // 4782 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel 4783 func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { 4784 op := &request.Operation{ 4785 Name: opStopChannel, 4786 HTTPMethod: "POST", 4787 HTTPPath: "/prod/channels/{channelId}/stop", 4788 } 4789 4790 if input == nil { 4791 input = &StopChannelInput{} 4792 } 4793 4794 output = &StopChannelOutput{} 4795 req = c.newRequest(op, input, output) 4796 return 4797 } 4798 4799 // StopChannel API operation for AWS Elemental MediaLive. 4800 // 4801 // Stops a running channel 4802 // 4803 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4804 // with awserr.Error's Code and Message methods to get detailed information about 4805 // the error. 4806 // 4807 // See the AWS API reference guide for AWS Elemental MediaLive's 4808 // API operation StopChannel for usage and error information. 4809 // 4810 // Returned Error Types: 4811 // * BadRequestException 4812 // 4813 // * InternalServerErrorException 4814 // 4815 // * ForbiddenException 4816 // 4817 // * BadGatewayException 4818 // 4819 // * NotFoundException 4820 // 4821 // * GatewayTimeoutException 4822 // 4823 // * TooManyRequestsException 4824 // 4825 // * ConflictException 4826 // 4827 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel 4828 func (c *MediaLive) StopChannel(input *StopChannelInput) (*StopChannelOutput, error) { 4829 req, out := c.StopChannelRequest(input) 4830 return out, req.Send() 4831 } 4832 4833 // StopChannelWithContext is the same as StopChannel with the addition of 4834 // the ability to pass a context and additional request options. 4835 // 4836 // See StopChannel for details on how to use this API operation. 4837 // 4838 // The context must be non-nil and will be used for request cancellation. If 4839 // the context is nil a panic will occur. In the future the SDK may create 4840 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4841 // for more information on using Contexts. 4842 func (c *MediaLive) StopChannelWithContext(ctx aws.Context, input *StopChannelInput, opts ...request.Option) (*StopChannelOutput, error) { 4843 req, out := c.StopChannelRequest(input) 4844 req.SetContext(ctx) 4845 req.ApplyOptions(opts...) 4846 return out, req.Send() 4847 } 4848 4849 const opStopMultiplex = "StopMultiplex" 4850 4851 // StopMultiplexRequest generates a "aws/request.Request" representing the 4852 // client's request for the StopMultiplex operation. The "output" return 4853 // value will be populated with the request's response once the request completes 4854 // successfully. 4855 // 4856 // Use "Send" method on the returned Request to send the API call to the service. 4857 // the "output" return value is not valid until after Send returns without error. 4858 // 4859 // See StopMultiplex for more information on using the StopMultiplex 4860 // API call, and error handling. 4861 // 4862 // This method is useful when you want to inject custom logic or configuration 4863 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4864 // 4865 // 4866 // // Example sending a request using the StopMultiplexRequest method. 4867 // req, resp := client.StopMultiplexRequest(params) 4868 // 4869 // err := req.Send() 4870 // if err == nil { // resp is now filled 4871 // fmt.Println(resp) 4872 // } 4873 // 4874 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex 4875 func (c *MediaLive) StopMultiplexRequest(input *StopMultiplexInput) (req *request.Request, output *StopMultiplexOutput) { 4876 op := &request.Operation{ 4877 Name: opStopMultiplex, 4878 HTTPMethod: "POST", 4879 HTTPPath: "/prod/multiplexes/{multiplexId}/stop", 4880 } 4881 4882 if input == nil { 4883 input = &StopMultiplexInput{} 4884 } 4885 4886 output = &StopMultiplexOutput{} 4887 req = c.newRequest(op, input, output) 4888 return 4889 } 4890 4891 // StopMultiplex API operation for AWS Elemental MediaLive. 4892 // 4893 // Stops a running multiplex. If the multiplex isn't running, this action has 4894 // no effect. 4895 // 4896 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4897 // with awserr.Error's Code and Message methods to get detailed information about 4898 // the error. 4899 // 4900 // See the AWS API reference guide for AWS Elemental MediaLive's 4901 // API operation StopMultiplex for usage and error information. 4902 // 4903 // Returned Error Types: 4904 // * BadRequestException 4905 // 4906 // * InternalServerErrorException 4907 // 4908 // * ForbiddenException 4909 // 4910 // * BadGatewayException 4911 // 4912 // * NotFoundException 4913 // 4914 // * GatewayTimeoutException 4915 // 4916 // * TooManyRequestsException 4917 // 4918 // * ConflictException 4919 // 4920 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex 4921 func (c *MediaLive) StopMultiplex(input *StopMultiplexInput) (*StopMultiplexOutput, error) { 4922 req, out := c.StopMultiplexRequest(input) 4923 return out, req.Send() 4924 } 4925 4926 // StopMultiplexWithContext is the same as StopMultiplex with the addition of 4927 // the ability to pass a context and additional request options. 4928 // 4929 // See StopMultiplex for details on how to use this API operation. 4930 // 4931 // The context must be non-nil and will be used for request cancellation. If 4932 // the context is nil a panic will occur. In the future the SDK may create 4933 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4934 // for more information on using Contexts. 4935 func (c *MediaLive) StopMultiplexWithContext(ctx aws.Context, input *StopMultiplexInput, opts ...request.Option) (*StopMultiplexOutput, error) { 4936 req, out := c.StopMultiplexRequest(input) 4937 req.SetContext(ctx) 4938 req.ApplyOptions(opts...) 4939 return out, req.Send() 4940 } 4941 4942 const opTransferInputDevice = "TransferInputDevice" 4943 4944 // TransferInputDeviceRequest generates a "aws/request.Request" representing the 4945 // client's request for the TransferInputDevice operation. The "output" return 4946 // value will be populated with the request's response once the request completes 4947 // successfully. 4948 // 4949 // Use "Send" method on the returned Request to send the API call to the service. 4950 // the "output" return value is not valid until after Send returns without error. 4951 // 4952 // See TransferInputDevice for more information on using the TransferInputDevice 4953 // API call, and error handling. 4954 // 4955 // This method is useful when you want to inject custom logic or configuration 4956 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4957 // 4958 // 4959 // // Example sending a request using the TransferInputDeviceRequest method. 4960 // req, resp := client.TransferInputDeviceRequest(params) 4961 // 4962 // err := req.Send() 4963 // if err == nil { // resp is now filled 4964 // fmt.Println(resp) 4965 // } 4966 // 4967 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice 4968 func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) (req *request.Request, output *TransferInputDeviceOutput) { 4969 op := &request.Operation{ 4970 Name: opTransferInputDevice, 4971 HTTPMethod: "POST", 4972 HTTPPath: "/prod/inputDevices/{inputDeviceId}/transfer", 4973 } 4974 4975 if input == nil { 4976 input = &TransferInputDeviceInput{} 4977 } 4978 4979 output = &TransferInputDeviceOutput{} 4980 req = c.newRequest(op, input, output) 4981 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4982 return 4983 } 4984 4985 // TransferInputDevice API operation for AWS Elemental MediaLive. 4986 // 4987 // Start an input device transfer to another AWS account. After you make the 4988 // request, the other account must accept or reject the transfer. 4989 // 4990 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4991 // with awserr.Error's Code and Message methods to get detailed information about 4992 // the error. 4993 // 4994 // See the AWS API reference guide for AWS Elemental MediaLive's 4995 // API operation TransferInputDevice for usage and error information. 4996 // 4997 // Returned Error Types: 4998 // * BadRequestException 4999 // 5000 // * UnprocessableEntityException 5001 // 5002 // * InternalServerErrorException 5003 // 5004 // * ForbiddenException 5005 // 5006 // * BadGatewayException 5007 // 5008 // * NotFoundException 5009 // 5010 // * GatewayTimeoutException 5011 // 5012 // * TooManyRequestsException 5013 // 5014 // * ConflictException 5015 // 5016 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice 5017 func (c *MediaLive) TransferInputDevice(input *TransferInputDeviceInput) (*TransferInputDeviceOutput, error) { 5018 req, out := c.TransferInputDeviceRequest(input) 5019 return out, req.Send() 5020 } 5021 5022 // TransferInputDeviceWithContext is the same as TransferInputDevice with the addition of 5023 // the ability to pass a context and additional request options. 5024 // 5025 // See TransferInputDevice for details on how to use this API operation. 5026 // 5027 // The context must be non-nil and will be used for request cancellation. If 5028 // the context is nil a panic will occur. In the future the SDK may create 5029 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5030 // for more information on using Contexts. 5031 func (c *MediaLive) TransferInputDeviceWithContext(ctx aws.Context, input *TransferInputDeviceInput, opts ...request.Option) (*TransferInputDeviceOutput, error) { 5032 req, out := c.TransferInputDeviceRequest(input) 5033 req.SetContext(ctx) 5034 req.ApplyOptions(opts...) 5035 return out, req.Send() 5036 } 5037 5038 const opUpdateChannel = "UpdateChannel" 5039 5040 // UpdateChannelRequest generates a "aws/request.Request" representing the 5041 // client's request for the UpdateChannel operation. The "output" return 5042 // value will be populated with the request's response once the request completes 5043 // successfully. 5044 // 5045 // Use "Send" method on the returned Request to send the API call to the service. 5046 // the "output" return value is not valid until after Send returns without error. 5047 // 5048 // See UpdateChannel for more information on using the UpdateChannel 5049 // API call, and error handling. 5050 // 5051 // This method is useful when you want to inject custom logic or configuration 5052 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5053 // 5054 // 5055 // // Example sending a request using the UpdateChannelRequest method. 5056 // req, resp := client.UpdateChannelRequest(params) 5057 // 5058 // err := req.Send() 5059 // if err == nil { // resp is now filled 5060 // fmt.Println(resp) 5061 // } 5062 // 5063 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel 5064 func (c *MediaLive) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { 5065 op := &request.Operation{ 5066 Name: opUpdateChannel, 5067 HTTPMethod: "PUT", 5068 HTTPPath: "/prod/channels/{channelId}", 5069 } 5070 5071 if input == nil { 5072 input = &UpdateChannelInput{} 5073 } 5074 5075 output = &UpdateChannelOutput{} 5076 req = c.newRequest(op, input, output) 5077 return 5078 } 5079 5080 // UpdateChannel API operation for AWS Elemental MediaLive. 5081 // 5082 // Updates a channel. 5083 // 5084 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5085 // with awserr.Error's Code and Message methods to get detailed information about 5086 // the error. 5087 // 5088 // See the AWS API reference guide for AWS Elemental MediaLive's 5089 // API operation UpdateChannel for usage and error information. 5090 // 5091 // Returned Error Types: 5092 // * BadRequestException 5093 // 5094 // * UnprocessableEntityException 5095 // 5096 // * InternalServerErrorException 5097 // 5098 // * ForbiddenException 5099 // 5100 // * BadGatewayException 5101 // 5102 // * GatewayTimeoutException 5103 // 5104 // * ConflictException 5105 // 5106 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel 5107 func (c *MediaLive) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { 5108 req, out := c.UpdateChannelRequest(input) 5109 return out, req.Send() 5110 } 5111 5112 // UpdateChannelWithContext is the same as UpdateChannel with the addition of 5113 // the ability to pass a context and additional request options. 5114 // 5115 // See UpdateChannel for details on how to use this API operation. 5116 // 5117 // The context must be non-nil and will be used for request cancellation. If 5118 // the context is nil a panic will occur. In the future the SDK may create 5119 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5120 // for more information on using Contexts. 5121 func (c *MediaLive) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) { 5122 req, out := c.UpdateChannelRequest(input) 5123 req.SetContext(ctx) 5124 req.ApplyOptions(opts...) 5125 return out, req.Send() 5126 } 5127 5128 const opUpdateChannelClass = "UpdateChannelClass" 5129 5130 // UpdateChannelClassRequest generates a "aws/request.Request" representing the 5131 // client's request for the UpdateChannelClass operation. The "output" return 5132 // value will be populated with the request's response once the request completes 5133 // successfully. 5134 // 5135 // Use "Send" method on the returned Request to send the API call to the service. 5136 // the "output" return value is not valid until after Send returns without error. 5137 // 5138 // See UpdateChannelClass for more information on using the UpdateChannelClass 5139 // API call, and error handling. 5140 // 5141 // This method is useful when you want to inject custom logic or configuration 5142 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5143 // 5144 // 5145 // // Example sending a request using the UpdateChannelClassRequest method. 5146 // req, resp := client.UpdateChannelClassRequest(params) 5147 // 5148 // err := req.Send() 5149 // if err == nil { // resp is now filled 5150 // fmt.Println(resp) 5151 // } 5152 // 5153 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass 5154 func (c *MediaLive) UpdateChannelClassRequest(input *UpdateChannelClassInput) (req *request.Request, output *UpdateChannelClassOutput) { 5155 op := &request.Operation{ 5156 Name: opUpdateChannelClass, 5157 HTTPMethod: "PUT", 5158 HTTPPath: "/prod/channels/{channelId}/channelClass", 5159 } 5160 5161 if input == nil { 5162 input = &UpdateChannelClassInput{} 5163 } 5164 5165 output = &UpdateChannelClassOutput{} 5166 req = c.newRequest(op, input, output) 5167 return 5168 } 5169 5170 // UpdateChannelClass API operation for AWS Elemental MediaLive. 5171 // 5172 // Changes the class of the channel. 5173 // 5174 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5175 // with awserr.Error's Code and Message methods to get detailed information about 5176 // the error. 5177 // 5178 // See the AWS API reference guide for AWS Elemental MediaLive's 5179 // API operation UpdateChannelClass for usage and error information. 5180 // 5181 // Returned Error Types: 5182 // * BadRequestException 5183 // 5184 // * UnprocessableEntityException 5185 // 5186 // * InternalServerErrorException 5187 // 5188 // * ForbiddenException 5189 // 5190 // * BadGatewayException 5191 // 5192 // * NotFoundException 5193 // 5194 // * GatewayTimeoutException 5195 // 5196 // * TooManyRequestsException 5197 // 5198 // * ConflictException 5199 // 5200 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass 5201 func (c *MediaLive) UpdateChannelClass(input *UpdateChannelClassInput) (*UpdateChannelClassOutput, error) { 5202 req, out := c.UpdateChannelClassRequest(input) 5203 return out, req.Send() 5204 } 5205 5206 // UpdateChannelClassWithContext is the same as UpdateChannelClass with the addition of 5207 // the ability to pass a context and additional request options. 5208 // 5209 // See UpdateChannelClass for details on how to use this API operation. 5210 // 5211 // The context must be non-nil and will be used for request cancellation. If 5212 // the context is nil a panic will occur. In the future the SDK may create 5213 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5214 // for more information on using Contexts. 5215 func (c *MediaLive) UpdateChannelClassWithContext(ctx aws.Context, input *UpdateChannelClassInput, opts ...request.Option) (*UpdateChannelClassOutput, error) { 5216 req, out := c.UpdateChannelClassRequest(input) 5217 req.SetContext(ctx) 5218 req.ApplyOptions(opts...) 5219 return out, req.Send() 5220 } 5221 5222 const opUpdateInput = "UpdateInput" 5223 5224 // UpdateInputRequest generates a "aws/request.Request" representing the 5225 // client's request for the UpdateInput operation. The "output" return 5226 // value will be populated with the request's response once the request completes 5227 // successfully. 5228 // 5229 // Use "Send" method on the returned Request to send the API call to the service. 5230 // the "output" return value is not valid until after Send returns without error. 5231 // 5232 // See UpdateInput for more information on using the UpdateInput 5233 // API call, and error handling. 5234 // 5235 // This method is useful when you want to inject custom logic or configuration 5236 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5237 // 5238 // 5239 // // Example sending a request using the UpdateInputRequest method. 5240 // req, resp := client.UpdateInputRequest(params) 5241 // 5242 // err := req.Send() 5243 // if err == nil { // resp is now filled 5244 // fmt.Println(resp) 5245 // } 5246 // 5247 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput 5248 func (c *MediaLive) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput) { 5249 op := &request.Operation{ 5250 Name: opUpdateInput, 5251 HTTPMethod: "PUT", 5252 HTTPPath: "/prod/inputs/{inputId}", 5253 } 5254 5255 if input == nil { 5256 input = &UpdateInputInput{} 5257 } 5258 5259 output = &UpdateInputOutput{} 5260 req = c.newRequest(op, input, output) 5261 return 5262 } 5263 5264 // UpdateInput API operation for AWS Elemental MediaLive. 5265 // 5266 // Updates an input. 5267 // 5268 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5269 // with awserr.Error's Code and Message methods to get detailed information about 5270 // the error. 5271 // 5272 // See the AWS API reference guide for AWS Elemental MediaLive's 5273 // API operation UpdateInput for usage and error information. 5274 // 5275 // Returned Error Types: 5276 // * BadRequestException 5277 // 5278 // * InternalServerErrorException 5279 // 5280 // * ForbiddenException 5281 // 5282 // * BadGatewayException 5283 // 5284 // * NotFoundException 5285 // 5286 // * GatewayTimeoutException 5287 // 5288 // * ConflictException 5289 // 5290 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput 5291 func (c *MediaLive) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error) { 5292 req, out := c.UpdateInputRequest(input) 5293 return out, req.Send() 5294 } 5295 5296 // UpdateInputWithContext is the same as UpdateInput with the addition of 5297 // the ability to pass a context and additional request options. 5298 // 5299 // See UpdateInput for details on how to use this API operation. 5300 // 5301 // The context must be non-nil and will be used for request cancellation. If 5302 // the context is nil a panic will occur. In the future the SDK may create 5303 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5304 // for more information on using Contexts. 5305 func (c *MediaLive) UpdateInputWithContext(ctx aws.Context, input *UpdateInputInput, opts ...request.Option) (*UpdateInputOutput, error) { 5306 req, out := c.UpdateInputRequest(input) 5307 req.SetContext(ctx) 5308 req.ApplyOptions(opts...) 5309 return out, req.Send() 5310 } 5311 5312 const opUpdateInputDevice = "UpdateInputDevice" 5313 5314 // UpdateInputDeviceRequest generates a "aws/request.Request" representing the 5315 // client's request for the UpdateInputDevice operation. The "output" return 5316 // value will be populated with the request's response once the request completes 5317 // successfully. 5318 // 5319 // Use "Send" method on the returned Request to send the API call to the service. 5320 // the "output" return value is not valid until after Send returns without error. 5321 // 5322 // See UpdateInputDevice for more information on using the UpdateInputDevice 5323 // API call, and error handling. 5324 // 5325 // This method is useful when you want to inject custom logic or configuration 5326 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5327 // 5328 // 5329 // // Example sending a request using the UpdateInputDeviceRequest method. 5330 // req, resp := client.UpdateInputDeviceRequest(params) 5331 // 5332 // err := req.Send() 5333 // if err == nil { // resp is now filled 5334 // fmt.Println(resp) 5335 // } 5336 // 5337 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice 5338 func (c *MediaLive) UpdateInputDeviceRequest(input *UpdateInputDeviceInput) (req *request.Request, output *UpdateInputDeviceOutput) { 5339 op := &request.Operation{ 5340 Name: opUpdateInputDevice, 5341 HTTPMethod: "PUT", 5342 HTTPPath: "/prod/inputDevices/{inputDeviceId}", 5343 } 5344 5345 if input == nil { 5346 input = &UpdateInputDeviceInput{} 5347 } 5348 5349 output = &UpdateInputDeviceOutput{} 5350 req = c.newRequest(op, input, output) 5351 return 5352 } 5353 5354 // UpdateInputDevice API operation for AWS Elemental MediaLive. 5355 // 5356 // Updates the parameters for the input device. 5357 // 5358 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5359 // with awserr.Error's Code and Message methods to get detailed information about 5360 // the error. 5361 // 5362 // See the AWS API reference guide for AWS Elemental MediaLive's 5363 // API operation UpdateInputDevice for usage and error information. 5364 // 5365 // Returned Error Types: 5366 // * BadRequestException 5367 // 5368 // * UnprocessableEntityException 5369 // 5370 // * InternalServerErrorException 5371 // 5372 // * ForbiddenException 5373 // 5374 // * BadGatewayException 5375 // 5376 // * NotFoundException 5377 // 5378 // * GatewayTimeoutException 5379 // 5380 // * TooManyRequestsException 5381 // 5382 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice 5383 func (c *MediaLive) UpdateInputDevice(input *UpdateInputDeviceInput) (*UpdateInputDeviceOutput, error) { 5384 req, out := c.UpdateInputDeviceRequest(input) 5385 return out, req.Send() 5386 } 5387 5388 // UpdateInputDeviceWithContext is the same as UpdateInputDevice with the addition of 5389 // the ability to pass a context and additional request options. 5390 // 5391 // See UpdateInputDevice for details on how to use this API operation. 5392 // 5393 // The context must be non-nil and will be used for request cancellation. If 5394 // the context is nil a panic will occur. In the future the SDK may create 5395 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5396 // for more information on using Contexts. 5397 func (c *MediaLive) UpdateInputDeviceWithContext(ctx aws.Context, input *UpdateInputDeviceInput, opts ...request.Option) (*UpdateInputDeviceOutput, error) { 5398 req, out := c.UpdateInputDeviceRequest(input) 5399 req.SetContext(ctx) 5400 req.ApplyOptions(opts...) 5401 return out, req.Send() 5402 } 5403 5404 const opUpdateInputSecurityGroup = "UpdateInputSecurityGroup" 5405 5406 // UpdateInputSecurityGroupRequest generates a "aws/request.Request" representing the 5407 // client's request for the UpdateInputSecurityGroup operation. The "output" return 5408 // value will be populated with the request's response once the request completes 5409 // successfully. 5410 // 5411 // Use "Send" method on the returned Request to send the API call to the service. 5412 // the "output" return value is not valid until after Send returns without error. 5413 // 5414 // See UpdateInputSecurityGroup for more information on using the UpdateInputSecurityGroup 5415 // API call, and error handling. 5416 // 5417 // This method is useful when you want to inject custom logic or configuration 5418 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5419 // 5420 // 5421 // // Example sending a request using the UpdateInputSecurityGroupRequest method. 5422 // req, resp := client.UpdateInputSecurityGroupRequest(params) 5423 // 5424 // err := req.Send() 5425 // if err == nil { // resp is now filled 5426 // fmt.Println(resp) 5427 // } 5428 // 5429 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup 5430 func (c *MediaLive) UpdateInputSecurityGroupRequest(input *UpdateInputSecurityGroupInput) (req *request.Request, output *UpdateInputSecurityGroupOutput) { 5431 op := &request.Operation{ 5432 Name: opUpdateInputSecurityGroup, 5433 HTTPMethod: "PUT", 5434 HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", 5435 } 5436 5437 if input == nil { 5438 input = &UpdateInputSecurityGroupInput{} 5439 } 5440 5441 output = &UpdateInputSecurityGroupOutput{} 5442 req = c.newRequest(op, input, output) 5443 return 5444 } 5445 5446 // UpdateInputSecurityGroup API operation for AWS Elemental MediaLive. 5447 // 5448 // Update an Input Security Group's Whilelists. 5449 // 5450 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5451 // with awserr.Error's Code and Message methods to get detailed information about 5452 // the error. 5453 // 5454 // See the AWS API reference guide for AWS Elemental MediaLive's 5455 // API operation UpdateInputSecurityGroup for usage and error information. 5456 // 5457 // Returned Error Types: 5458 // * BadRequestException 5459 // 5460 // * InternalServerErrorException 5461 // 5462 // * ForbiddenException 5463 // 5464 // * BadGatewayException 5465 // 5466 // * NotFoundException 5467 // 5468 // * GatewayTimeoutException 5469 // 5470 // * ConflictException 5471 // 5472 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup 5473 func (c *MediaLive) UpdateInputSecurityGroup(input *UpdateInputSecurityGroupInput) (*UpdateInputSecurityGroupOutput, error) { 5474 req, out := c.UpdateInputSecurityGroupRequest(input) 5475 return out, req.Send() 5476 } 5477 5478 // UpdateInputSecurityGroupWithContext is the same as UpdateInputSecurityGroup with the addition of 5479 // the ability to pass a context and additional request options. 5480 // 5481 // See UpdateInputSecurityGroup for details on how to use this API operation. 5482 // 5483 // The context must be non-nil and will be used for request cancellation. If 5484 // the context is nil a panic will occur. In the future the SDK may create 5485 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5486 // for more information on using Contexts. 5487 func (c *MediaLive) UpdateInputSecurityGroupWithContext(ctx aws.Context, input *UpdateInputSecurityGroupInput, opts ...request.Option) (*UpdateInputSecurityGroupOutput, error) { 5488 req, out := c.UpdateInputSecurityGroupRequest(input) 5489 req.SetContext(ctx) 5490 req.ApplyOptions(opts...) 5491 return out, req.Send() 5492 } 5493 5494 const opUpdateMultiplex = "UpdateMultiplex" 5495 5496 // UpdateMultiplexRequest generates a "aws/request.Request" representing the 5497 // client's request for the UpdateMultiplex operation. The "output" return 5498 // value will be populated with the request's response once the request completes 5499 // successfully. 5500 // 5501 // Use "Send" method on the returned Request to send the API call to the service. 5502 // the "output" return value is not valid until after Send returns without error. 5503 // 5504 // See UpdateMultiplex for more information on using the UpdateMultiplex 5505 // API call, and error handling. 5506 // 5507 // This method is useful when you want to inject custom logic or configuration 5508 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5509 // 5510 // 5511 // // Example sending a request using the UpdateMultiplexRequest method. 5512 // req, resp := client.UpdateMultiplexRequest(params) 5513 // 5514 // err := req.Send() 5515 // if err == nil { // resp is now filled 5516 // fmt.Println(resp) 5517 // } 5518 // 5519 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex 5520 func (c *MediaLive) UpdateMultiplexRequest(input *UpdateMultiplexInput) (req *request.Request, output *UpdateMultiplexOutput) { 5521 op := &request.Operation{ 5522 Name: opUpdateMultiplex, 5523 HTTPMethod: "PUT", 5524 HTTPPath: "/prod/multiplexes/{multiplexId}", 5525 } 5526 5527 if input == nil { 5528 input = &UpdateMultiplexInput{} 5529 } 5530 5531 output = &UpdateMultiplexOutput{} 5532 req = c.newRequest(op, input, output) 5533 return 5534 } 5535 5536 // UpdateMultiplex API operation for AWS Elemental MediaLive. 5537 // 5538 // Updates a multiplex. 5539 // 5540 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5541 // with awserr.Error's Code and Message methods to get detailed information about 5542 // the error. 5543 // 5544 // See the AWS API reference guide for AWS Elemental MediaLive's 5545 // API operation UpdateMultiplex for usage and error information. 5546 // 5547 // Returned Error Types: 5548 // * BadRequestException 5549 // 5550 // * UnprocessableEntityException 5551 // 5552 // * InternalServerErrorException 5553 // 5554 // * ForbiddenException 5555 // 5556 // * BadGatewayException 5557 // 5558 // * NotFoundException 5559 // 5560 // * GatewayTimeoutException 5561 // 5562 // * ConflictException 5563 // 5564 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex 5565 func (c *MediaLive) UpdateMultiplex(input *UpdateMultiplexInput) (*UpdateMultiplexOutput, error) { 5566 req, out := c.UpdateMultiplexRequest(input) 5567 return out, req.Send() 5568 } 5569 5570 // UpdateMultiplexWithContext is the same as UpdateMultiplex with the addition of 5571 // the ability to pass a context and additional request options. 5572 // 5573 // See UpdateMultiplex for details on how to use this API operation. 5574 // 5575 // The context must be non-nil and will be used for request cancellation. If 5576 // the context is nil a panic will occur. In the future the SDK may create 5577 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5578 // for more information on using Contexts. 5579 func (c *MediaLive) UpdateMultiplexWithContext(ctx aws.Context, input *UpdateMultiplexInput, opts ...request.Option) (*UpdateMultiplexOutput, error) { 5580 req, out := c.UpdateMultiplexRequest(input) 5581 req.SetContext(ctx) 5582 req.ApplyOptions(opts...) 5583 return out, req.Send() 5584 } 5585 5586 const opUpdateMultiplexProgram = "UpdateMultiplexProgram" 5587 5588 // UpdateMultiplexProgramRequest generates a "aws/request.Request" representing the 5589 // client's request for the UpdateMultiplexProgram operation. The "output" return 5590 // value will be populated with the request's response once the request completes 5591 // successfully. 5592 // 5593 // Use "Send" method on the returned Request to send the API call to the service. 5594 // the "output" return value is not valid until after Send returns without error. 5595 // 5596 // See UpdateMultiplexProgram for more information on using the UpdateMultiplexProgram 5597 // API call, and error handling. 5598 // 5599 // This method is useful when you want to inject custom logic or configuration 5600 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5601 // 5602 // 5603 // // Example sending a request using the UpdateMultiplexProgramRequest method. 5604 // req, resp := client.UpdateMultiplexProgramRequest(params) 5605 // 5606 // err := req.Send() 5607 // if err == nil { // resp is now filled 5608 // fmt.Println(resp) 5609 // } 5610 // 5611 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram 5612 func (c *MediaLive) UpdateMultiplexProgramRequest(input *UpdateMultiplexProgramInput) (req *request.Request, output *UpdateMultiplexProgramOutput) { 5613 op := &request.Operation{ 5614 Name: opUpdateMultiplexProgram, 5615 HTTPMethod: "PUT", 5616 HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", 5617 } 5618 5619 if input == nil { 5620 input = &UpdateMultiplexProgramInput{} 5621 } 5622 5623 output = &UpdateMultiplexProgramOutput{} 5624 req = c.newRequest(op, input, output) 5625 return 5626 } 5627 5628 // UpdateMultiplexProgram API operation for AWS Elemental MediaLive. 5629 // 5630 // Update a program in a multiplex. 5631 // 5632 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5633 // with awserr.Error's Code and Message methods to get detailed information about 5634 // the error. 5635 // 5636 // See the AWS API reference guide for AWS Elemental MediaLive's 5637 // API operation UpdateMultiplexProgram for usage and error information. 5638 // 5639 // Returned Error Types: 5640 // * BadRequestException 5641 // 5642 // * UnprocessableEntityException 5643 // 5644 // * InternalServerErrorException 5645 // 5646 // * ForbiddenException 5647 // 5648 // * BadGatewayException 5649 // 5650 // * NotFoundException 5651 // 5652 // * GatewayTimeoutException 5653 // 5654 // * ConflictException 5655 // 5656 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram 5657 func (c *MediaLive) UpdateMultiplexProgram(input *UpdateMultiplexProgramInput) (*UpdateMultiplexProgramOutput, error) { 5658 req, out := c.UpdateMultiplexProgramRequest(input) 5659 return out, req.Send() 5660 } 5661 5662 // UpdateMultiplexProgramWithContext is the same as UpdateMultiplexProgram with the addition of 5663 // the ability to pass a context and additional request options. 5664 // 5665 // See UpdateMultiplexProgram for details on how to use this API operation. 5666 // 5667 // The context must be non-nil and will be used for request cancellation. If 5668 // the context is nil a panic will occur. In the future the SDK may create 5669 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5670 // for more information on using Contexts. 5671 func (c *MediaLive) UpdateMultiplexProgramWithContext(ctx aws.Context, input *UpdateMultiplexProgramInput, opts ...request.Option) (*UpdateMultiplexProgramOutput, error) { 5672 req, out := c.UpdateMultiplexProgramRequest(input) 5673 req.SetContext(ctx) 5674 req.ApplyOptions(opts...) 5675 return out, req.Send() 5676 } 5677 5678 const opUpdateReservation = "UpdateReservation" 5679 5680 // UpdateReservationRequest generates a "aws/request.Request" representing the 5681 // client's request for the UpdateReservation operation. The "output" return 5682 // value will be populated with the request's response once the request completes 5683 // successfully. 5684 // 5685 // Use "Send" method on the returned Request to send the API call to the service. 5686 // the "output" return value is not valid until after Send returns without error. 5687 // 5688 // See UpdateReservation for more information on using the UpdateReservation 5689 // API call, and error handling. 5690 // 5691 // This method is useful when you want to inject custom logic or configuration 5692 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5693 // 5694 // 5695 // // Example sending a request using the UpdateReservationRequest method. 5696 // req, resp := client.UpdateReservationRequest(params) 5697 // 5698 // err := req.Send() 5699 // if err == nil { // resp is now filled 5700 // fmt.Println(resp) 5701 // } 5702 // 5703 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation 5704 func (c *MediaLive) UpdateReservationRequest(input *UpdateReservationInput) (req *request.Request, output *UpdateReservationOutput) { 5705 op := &request.Operation{ 5706 Name: opUpdateReservation, 5707 HTTPMethod: "PUT", 5708 HTTPPath: "/prod/reservations/{reservationId}", 5709 } 5710 5711 if input == nil { 5712 input = &UpdateReservationInput{} 5713 } 5714 5715 output = &UpdateReservationOutput{} 5716 req = c.newRequest(op, input, output) 5717 return 5718 } 5719 5720 // UpdateReservation API operation for AWS Elemental MediaLive. 5721 // 5722 // Update reservation. 5723 // 5724 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5725 // with awserr.Error's Code and Message methods to get detailed information about 5726 // the error. 5727 // 5728 // See the AWS API reference guide for AWS Elemental MediaLive's 5729 // API operation UpdateReservation for usage and error information. 5730 // 5731 // Returned Error Types: 5732 // * BadRequestException 5733 // 5734 // * InternalServerErrorException 5735 // 5736 // * ForbiddenException 5737 // 5738 // * BadGatewayException 5739 // 5740 // * NotFoundException 5741 // 5742 // * GatewayTimeoutException 5743 // 5744 // * TooManyRequestsException 5745 // 5746 // * ConflictException 5747 // 5748 // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation 5749 func (c *MediaLive) UpdateReservation(input *UpdateReservationInput) (*UpdateReservationOutput, error) { 5750 req, out := c.UpdateReservationRequest(input) 5751 return out, req.Send() 5752 } 5753 5754 // UpdateReservationWithContext is the same as UpdateReservation with the addition of 5755 // the ability to pass a context and additional request options. 5756 // 5757 // See UpdateReservation for details on how to use this API operation. 5758 // 5759 // The context must be non-nil and will be used for request cancellation. If 5760 // the context is nil a panic will occur. In the future the SDK may create 5761 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5762 // for more information on using Contexts. 5763 func (c *MediaLive) UpdateReservationWithContext(ctx aws.Context, input *UpdateReservationInput, opts ...request.Option) (*UpdateReservationOutput, error) { 5764 req, out := c.UpdateReservationRequest(input) 5765 req.SetContext(ctx) 5766 req.ApplyOptions(opts...) 5767 return out, req.Send() 5768 } 5769 5770 // Aac Settings 5771 type AacSettings struct { 5772 _ struct{} `type:"structure"` 5773 5774 // Average bitrate in bits/second. Valid values depend on rate control mode 5775 // and profile. 5776 Bitrate *float64 `locationName:"bitrate" type:"double"` 5777 5778 // Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control 5779 // mode and profile. The adReceiverMix setting receives a stereo description 5780 // plus control track and emits a mono AAC encode of the description track, 5781 // with control data emitted in the PES header as per ETSI TS 101 154 Annex 5782 // E. 5783 CodingMode *string `locationName:"codingMode" type:"string" enum:"AacCodingMode"` 5784 5785 // Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD 5786 // (narration) as a stereo pair. The Audio Type field (audioType) will be set 5787 // to 3, which signals to downstream systems that this stream contains "broadcaster 5788 // mixed AD". Note that the input received by the encoder must contain pre-mixed 5789 // audio; the encoder does not perform the mixing. The values in audioTypeControl 5790 // and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.Leave 5791 // set to "normal" when input does not contain pre-mixed audio + AD. 5792 InputType *string `locationName:"inputType" type:"string" enum:"AacInputType"` 5793 5794 // AAC Profile. 5795 Profile *string `locationName:"profile" type:"string" enum:"AacProfile"` 5796 5797 // Rate Control Mode. 5798 RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"AacRateControlMode"` 5799 5800 // Sets LATM / LOAS AAC output for raw containers. 5801 RawFormat *string `locationName:"rawFormat" type:"string" enum:"AacRawFormat"` 5802 5803 // Sample rate in Hz. Valid values depend on rate control mode and profile. 5804 SampleRate *float64 `locationName:"sampleRate" type:"double"` 5805 5806 // Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport 5807 // Stream containers. 5808 Spec *string `locationName:"spec" type:"string" enum:"AacSpec"` 5809 5810 // VBR Quality Level - Only used if rateControlMode is VBR. 5811 VbrQuality *string `locationName:"vbrQuality" type:"string" enum:"AacVbrQuality"` 5812 } 5813 5814 // String returns the string representation. 5815 // 5816 // API parameter values that are decorated as "sensitive" in the API will not 5817 // be included in the string output. The member name will be present, but the 5818 // value will be replaced with "sensitive". 5819 func (s AacSettings) String() string { 5820 return awsutil.Prettify(s) 5821 } 5822 5823 // GoString returns the string representation. 5824 // 5825 // API parameter values that are decorated as "sensitive" in the API will not 5826 // be included in the string output. The member name will be present, but the 5827 // value will be replaced with "sensitive". 5828 func (s AacSettings) GoString() string { 5829 return s.String() 5830 } 5831 5832 // SetBitrate sets the Bitrate field's value. 5833 func (s *AacSettings) SetBitrate(v float64) *AacSettings { 5834 s.Bitrate = &v 5835 return s 5836 } 5837 5838 // SetCodingMode sets the CodingMode field's value. 5839 func (s *AacSettings) SetCodingMode(v string) *AacSettings { 5840 s.CodingMode = &v 5841 return s 5842 } 5843 5844 // SetInputType sets the InputType field's value. 5845 func (s *AacSettings) SetInputType(v string) *AacSettings { 5846 s.InputType = &v 5847 return s 5848 } 5849 5850 // SetProfile sets the Profile field's value. 5851 func (s *AacSettings) SetProfile(v string) *AacSettings { 5852 s.Profile = &v 5853 return s 5854 } 5855 5856 // SetRateControlMode sets the RateControlMode field's value. 5857 func (s *AacSettings) SetRateControlMode(v string) *AacSettings { 5858 s.RateControlMode = &v 5859 return s 5860 } 5861 5862 // SetRawFormat sets the RawFormat field's value. 5863 func (s *AacSettings) SetRawFormat(v string) *AacSettings { 5864 s.RawFormat = &v 5865 return s 5866 } 5867 5868 // SetSampleRate sets the SampleRate field's value. 5869 func (s *AacSettings) SetSampleRate(v float64) *AacSettings { 5870 s.SampleRate = &v 5871 return s 5872 } 5873 5874 // SetSpec sets the Spec field's value. 5875 func (s *AacSettings) SetSpec(v string) *AacSettings { 5876 s.Spec = &v 5877 return s 5878 } 5879 5880 // SetVbrQuality sets the VbrQuality field's value. 5881 func (s *AacSettings) SetVbrQuality(v string) *AacSettings { 5882 s.VbrQuality = &v 5883 return s 5884 } 5885 5886 // Ac3 Settings 5887 type Ac3Settings struct { 5888 _ struct{} `type:"structure"` 5889 5890 // Average bitrate in bits/second. Valid bitrates depend on the coding mode. 5891 Bitrate *float64 `locationName:"bitrate" type:"double"` 5892 5893 // Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC 5894 // A/52-2012 for background on these values. 5895 BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Ac3BitstreamMode"` 5896 5897 // Dolby Digital coding mode. Determines number of channels. 5898 CodingMode *string `locationName:"codingMode" type:"string" enum:"Ac3CodingMode"` 5899 5900 // Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, 5901 // dialnorm will be passed through. 5902 Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` 5903 5904 // If set to filmStandard, adds dynamic range compression signaling to the output 5905 // bitstream as defined in the Dolby Digital specification. 5906 DrcProfile *string `locationName:"drcProfile" type:"string" enum:"Ac3DrcProfile"` 5907 5908 // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior 5909 // to encoding. Only valid in codingMode32Lfe mode. 5910 LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Ac3LfeFilter"` 5911 5912 // When set to "followInput", encoder metadata will be sourced from the DD, 5913 // DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied 5914 // from one of these streams, then the static metadata settings will be used. 5915 MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Ac3MetadataControl"` 5916 } 5917 5918 // String returns the string representation. 5919 // 5920 // API parameter values that are decorated as "sensitive" in the API will not 5921 // be included in the string output. The member name will be present, but the 5922 // value will be replaced with "sensitive". 5923 func (s Ac3Settings) String() string { 5924 return awsutil.Prettify(s) 5925 } 5926 5927 // GoString returns the string representation. 5928 // 5929 // API parameter values that are decorated as "sensitive" in the API will not 5930 // be included in the string output. The member name will be present, but the 5931 // value will be replaced with "sensitive". 5932 func (s Ac3Settings) GoString() string { 5933 return s.String() 5934 } 5935 5936 // Validate inspects the fields of the type to determine if they are valid. 5937 func (s *Ac3Settings) Validate() error { 5938 invalidParams := request.ErrInvalidParams{Context: "Ac3Settings"} 5939 if s.Dialnorm != nil && *s.Dialnorm < 1 { 5940 invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) 5941 } 5942 5943 if invalidParams.Len() > 0 { 5944 return invalidParams 5945 } 5946 return nil 5947 } 5948 5949 // SetBitrate sets the Bitrate field's value. 5950 func (s *Ac3Settings) SetBitrate(v float64) *Ac3Settings { 5951 s.Bitrate = &v 5952 return s 5953 } 5954 5955 // SetBitstreamMode sets the BitstreamMode field's value. 5956 func (s *Ac3Settings) SetBitstreamMode(v string) *Ac3Settings { 5957 s.BitstreamMode = &v 5958 return s 5959 } 5960 5961 // SetCodingMode sets the CodingMode field's value. 5962 func (s *Ac3Settings) SetCodingMode(v string) *Ac3Settings { 5963 s.CodingMode = &v 5964 return s 5965 } 5966 5967 // SetDialnorm sets the Dialnorm field's value. 5968 func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { 5969 s.Dialnorm = &v 5970 return s 5971 } 5972 5973 // SetDrcProfile sets the DrcProfile field's value. 5974 func (s *Ac3Settings) SetDrcProfile(v string) *Ac3Settings { 5975 s.DrcProfile = &v 5976 return s 5977 } 5978 5979 // SetLfeFilter sets the LfeFilter field's value. 5980 func (s *Ac3Settings) SetLfeFilter(v string) *Ac3Settings { 5981 s.LfeFilter = &v 5982 return s 5983 } 5984 5985 // SetMetadataControl sets the MetadataControl field's value. 5986 func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { 5987 s.MetadataControl = &v 5988 return s 5989 } 5990 5991 type AcceptInputDeviceTransferInput struct { 5992 _ struct{} `type:"structure" nopayload:"true"` 5993 5994 // InputDeviceId is a required field 5995 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 5996 } 5997 5998 // String returns the string representation. 5999 // 6000 // API parameter values that are decorated as "sensitive" in the API will not 6001 // be included in the string output. The member name will be present, but the 6002 // value will be replaced with "sensitive". 6003 func (s AcceptInputDeviceTransferInput) String() string { 6004 return awsutil.Prettify(s) 6005 } 6006 6007 // GoString returns the string representation. 6008 // 6009 // API parameter values that are decorated as "sensitive" in the API will not 6010 // be included in the string output. The member name will be present, but the 6011 // value will be replaced with "sensitive". 6012 func (s AcceptInputDeviceTransferInput) GoString() string { 6013 return s.String() 6014 } 6015 6016 // Validate inspects the fields of the type to determine if they are valid. 6017 func (s *AcceptInputDeviceTransferInput) Validate() error { 6018 invalidParams := request.ErrInvalidParams{Context: "AcceptInputDeviceTransferInput"} 6019 if s.InputDeviceId == nil { 6020 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 6021 } 6022 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 6023 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 6024 } 6025 6026 if invalidParams.Len() > 0 { 6027 return invalidParams 6028 } 6029 return nil 6030 } 6031 6032 // SetInputDeviceId sets the InputDeviceId field's value. 6033 func (s *AcceptInputDeviceTransferInput) SetInputDeviceId(v string) *AcceptInputDeviceTransferInput { 6034 s.InputDeviceId = &v 6035 return s 6036 } 6037 6038 type AcceptInputDeviceTransferOutput struct { 6039 _ struct{} `type:"structure" nopayload:"true"` 6040 } 6041 6042 // String returns the string representation. 6043 // 6044 // API parameter values that are decorated as "sensitive" in the API will not 6045 // be included in the string output. The member name will be present, but the 6046 // value will be replaced with "sensitive". 6047 func (s AcceptInputDeviceTransferOutput) String() string { 6048 return awsutil.Prettify(s) 6049 } 6050 6051 // GoString returns the string representation. 6052 // 6053 // API parameter values that are decorated as "sensitive" in the API will not 6054 // be included in the string output. The member name will be present, but the 6055 // value will be replaced with "sensitive". 6056 func (s AcceptInputDeviceTransferOutput) GoString() string { 6057 return s.String() 6058 } 6059 6060 // Ancillary Source Settings 6061 type AncillarySourceSettings struct { 6062 _ struct{} `type:"structure"` 6063 6064 // Specifies the number (1 to 4) of the captions channel you want to extract 6065 // from the ancillary captions. If you plan to convert the ancillary captions 6066 // to another format, complete this field. If you plan to choose Embedded as 6067 // the captions destination in the output (to pass through all the channels 6068 // in the ancillary captions), leave this field blank because MediaLive ignores 6069 // the field. 6070 SourceAncillaryChannelNumber *int64 `locationName:"sourceAncillaryChannelNumber" min:"1" type:"integer"` 6071 } 6072 6073 // String returns the string representation. 6074 // 6075 // API parameter values that are decorated as "sensitive" in the API will not 6076 // be included in the string output. The member name will be present, but the 6077 // value will be replaced with "sensitive". 6078 func (s AncillarySourceSettings) String() string { 6079 return awsutil.Prettify(s) 6080 } 6081 6082 // GoString returns the string representation. 6083 // 6084 // API parameter values that are decorated as "sensitive" in the API will not 6085 // be included in the string output. The member name will be present, but the 6086 // value will be replaced with "sensitive". 6087 func (s AncillarySourceSettings) GoString() string { 6088 return s.String() 6089 } 6090 6091 // Validate inspects the fields of the type to determine if they are valid. 6092 func (s *AncillarySourceSettings) Validate() error { 6093 invalidParams := request.ErrInvalidParams{Context: "AncillarySourceSettings"} 6094 if s.SourceAncillaryChannelNumber != nil && *s.SourceAncillaryChannelNumber < 1 { 6095 invalidParams.Add(request.NewErrParamMinValue("SourceAncillaryChannelNumber", 1)) 6096 } 6097 6098 if invalidParams.Len() > 0 { 6099 return invalidParams 6100 } 6101 return nil 6102 } 6103 6104 // SetSourceAncillaryChannelNumber sets the SourceAncillaryChannelNumber field's value. 6105 func (s *AncillarySourceSettings) SetSourceAncillaryChannelNumber(v int64) *AncillarySourceSettings { 6106 s.SourceAncillaryChannelNumber = &v 6107 return s 6108 } 6109 6110 // Archive Cdn Settings 6111 type ArchiveCdnSettings struct { 6112 _ struct{} `type:"structure"` 6113 6114 // Archive S3 Settings 6115 ArchiveS3Settings *ArchiveS3Settings `locationName:"archiveS3Settings" type:"structure"` 6116 } 6117 6118 // String returns the string representation. 6119 // 6120 // API parameter values that are decorated as "sensitive" in the API will not 6121 // be included in the string output. The member name will be present, but the 6122 // value will be replaced with "sensitive". 6123 func (s ArchiveCdnSettings) String() string { 6124 return awsutil.Prettify(s) 6125 } 6126 6127 // GoString returns the string representation. 6128 // 6129 // API parameter values that are decorated as "sensitive" in the API will not 6130 // be included in the string output. The member name will be present, but the 6131 // value will be replaced with "sensitive". 6132 func (s ArchiveCdnSettings) GoString() string { 6133 return s.String() 6134 } 6135 6136 // SetArchiveS3Settings sets the ArchiveS3Settings field's value. 6137 func (s *ArchiveCdnSettings) SetArchiveS3Settings(v *ArchiveS3Settings) *ArchiveCdnSettings { 6138 s.ArchiveS3Settings = v 6139 return s 6140 } 6141 6142 // Archive Container Settings 6143 type ArchiveContainerSettings struct { 6144 _ struct{} `type:"structure"` 6145 6146 // M2ts Settings 6147 M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` 6148 6149 // Raw Settings 6150 RawSettings *RawSettings `locationName:"rawSettings" type:"structure"` 6151 } 6152 6153 // String returns the string representation. 6154 // 6155 // API parameter values that are decorated as "sensitive" in the API will not 6156 // be included in the string output. The member name will be present, but the 6157 // value will be replaced with "sensitive". 6158 func (s ArchiveContainerSettings) String() string { 6159 return awsutil.Prettify(s) 6160 } 6161 6162 // GoString returns the string representation. 6163 // 6164 // API parameter values that are decorated as "sensitive" in the API will not 6165 // be included in the string output. The member name will be present, but the 6166 // value will be replaced with "sensitive". 6167 func (s ArchiveContainerSettings) GoString() string { 6168 return s.String() 6169 } 6170 6171 // Validate inspects the fields of the type to determine if they are valid. 6172 func (s *ArchiveContainerSettings) Validate() error { 6173 invalidParams := request.ErrInvalidParams{Context: "ArchiveContainerSettings"} 6174 if s.M2tsSettings != nil { 6175 if err := s.M2tsSettings.Validate(); err != nil { 6176 invalidParams.AddNested("M2tsSettings", err.(request.ErrInvalidParams)) 6177 } 6178 } 6179 6180 if invalidParams.Len() > 0 { 6181 return invalidParams 6182 } 6183 return nil 6184 } 6185 6186 // SetM2tsSettings sets the M2tsSettings field's value. 6187 func (s *ArchiveContainerSettings) SetM2tsSettings(v *M2tsSettings) *ArchiveContainerSettings { 6188 s.M2tsSettings = v 6189 return s 6190 } 6191 6192 // SetRawSettings sets the RawSettings field's value. 6193 func (s *ArchiveContainerSettings) SetRawSettings(v *RawSettings) *ArchiveContainerSettings { 6194 s.RawSettings = v 6195 return s 6196 } 6197 6198 // Archive Group Settings 6199 type ArchiveGroupSettings struct { 6200 _ struct{} `type:"structure"` 6201 6202 // Parameters that control interactions with the CDN. 6203 ArchiveCdnSettings *ArchiveCdnSettings `locationName:"archiveCdnSettings" type:"structure"` 6204 6205 // A directory and base filename where archive files should be written. 6206 // 6207 // Destination is a required field 6208 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 6209 6210 // Number of seconds to write to archive file before closing and starting a 6211 // new one. 6212 RolloverInterval *int64 `locationName:"rolloverInterval" min:"1" type:"integer"` 6213 } 6214 6215 // String returns the string representation. 6216 // 6217 // API parameter values that are decorated as "sensitive" in the API will not 6218 // be included in the string output. The member name will be present, but the 6219 // value will be replaced with "sensitive". 6220 func (s ArchiveGroupSettings) String() string { 6221 return awsutil.Prettify(s) 6222 } 6223 6224 // GoString returns the string representation. 6225 // 6226 // API parameter values that are decorated as "sensitive" in the API will not 6227 // be included in the string output. The member name will be present, but the 6228 // value will be replaced with "sensitive". 6229 func (s ArchiveGroupSettings) GoString() string { 6230 return s.String() 6231 } 6232 6233 // Validate inspects the fields of the type to determine if they are valid. 6234 func (s *ArchiveGroupSettings) Validate() error { 6235 invalidParams := request.ErrInvalidParams{Context: "ArchiveGroupSettings"} 6236 if s.Destination == nil { 6237 invalidParams.Add(request.NewErrParamRequired("Destination")) 6238 } 6239 if s.RolloverInterval != nil && *s.RolloverInterval < 1 { 6240 invalidParams.Add(request.NewErrParamMinValue("RolloverInterval", 1)) 6241 } 6242 6243 if invalidParams.Len() > 0 { 6244 return invalidParams 6245 } 6246 return nil 6247 } 6248 6249 // SetArchiveCdnSettings sets the ArchiveCdnSettings field's value. 6250 func (s *ArchiveGroupSettings) SetArchiveCdnSettings(v *ArchiveCdnSettings) *ArchiveGroupSettings { 6251 s.ArchiveCdnSettings = v 6252 return s 6253 } 6254 6255 // SetDestination sets the Destination field's value. 6256 func (s *ArchiveGroupSettings) SetDestination(v *OutputLocationRef) *ArchiveGroupSettings { 6257 s.Destination = v 6258 return s 6259 } 6260 6261 // SetRolloverInterval sets the RolloverInterval field's value. 6262 func (s *ArchiveGroupSettings) SetRolloverInterval(v int64) *ArchiveGroupSettings { 6263 s.RolloverInterval = &v 6264 return s 6265 } 6266 6267 // Archive Output Settings 6268 type ArchiveOutputSettings struct { 6269 _ struct{} `type:"structure"` 6270 6271 // Settings specific to the container type of the file. 6272 // 6273 // ContainerSettings is a required field 6274 ContainerSettings *ArchiveContainerSettings `locationName:"containerSettings" type:"structure" required:"true"` 6275 6276 // Output file extension. If excluded, this will be auto-selected from the container 6277 // type. 6278 Extension *string `locationName:"extension" type:"string"` 6279 6280 // String concatenated to the end of the destination filename. Required for 6281 // multiple outputs of the same type. 6282 NameModifier *string `locationName:"nameModifier" type:"string"` 6283 } 6284 6285 // String returns the string representation. 6286 // 6287 // API parameter values that are decorated as "sensitive" in the API will not 6288 // be included in the string output. The member name will be present, but the 6289 // value will be replaced with "sensitive". 6290 func (s ArchiveOutputSettings) String() string { 6291 return awsutil.Prettify(s) 6292 } 6293 6294 // GoString returns the string representation. 6295 // 6296 // API parameter values that are decorated as "sensitive" in the API will not 6297 // be included in the string output. The member name will be present, but the 6298 // value will be replaced with "sensitive". 6299 func (s ArchiveOutputSettings) GoString() string { 6300 return s.String() 6301 } 6302 6303 // Validate inspects the fields of the type to determine if they are valid. 6304 func (s *ArchiveOutputSettings) Validate() error { 6305 invalidParams := request.ErrInvalidParams{Context: "ArchiveOutputSettings"} 6306 if s.ContainerSettings == nil { 6307 invalidParams.Add(request.NewErrParamRequired("ContainerSettings")) 6308 } 6309 if s.ContainerSettings != nil { 6310 if err := s.ContainerSettings.Validate(); err != nil { 6311 invalidParams.AddNested("ContainerSettings", err.(request.ErrInvalidParams)) 6312 } 6313 } 6314 6315 if invalidParams.Len() > 0 { 6316 return invalidParams 6317 } 6318 return nil 6319 } 6320 6321 // SetContainerSettings sets the ContainerSettings field's value. 6322 func (s *ArchiveOutputSettings) SetContainerSettings(v *ArchiveContainerSettings) *ArchiveOutputSettings { 6323 s.ContainerSettings = v 6324 return s 6325 } 6326 6327 // SetExtension sets the Extension field's value. 6328 func (s *ArchiveOutputSettings) SetExtension(v string) *ArchiveOutputSettings { 6329 s.Extension = &v 6330 return s 6331 } 6332 6333 // SetNameModifier sets the NameModifier field's value. 6334 func (s *ArchiveOutputSettings) SetNameModifier(v string) *ArchiveOutputSettings { 6335 s.NameModifier = &v 6336 return s 6337 } 6338 6339 // Archive S3 Settings 6340 type ArchiveS3Settings struct { 6341 _ struct{} `type:"structure"` 6342 6343 // Specify the canned ACL to apply to each S3 request. Defaults to none. 6344 CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` 6345 } 6346 6347 // String returns the string representation. 6348 // 6349 // API parameter values that are decorated as "sensitive" in the API will not 6350 // be included in the string output. The member name will be present, but the 6351 // value will be replaced with "sensitive". 6352 func (s ArchiveS3Settings) String() string { 6353 return awsutil.Prettify(s) 6354 } 6355 6356 // GoString returns the string representation. 6357 // 6358 // API parameter values that are decorated as "sensitive" in the API will not 6359 // be included in the string output. The member name will be present, but the 6360 // value will be replaced with "sensitive". 6361 func (s ArchiveS3Settings) GoString() string { 6362 return s.String() 6363 } 6364 6365 // SetCannedAcl sets the CannedAcl field's value. 6366 func (s *ArchiveS3Settings) SetCannedAcl(v string) *ArchiveS3Settings { 6367 s.CannedAcl = &v 6368 return s 6369 } 6370 6371 // Arib Destination Settings 6372 type AribDestinationSettings struct { 6373 _ struct{} `type:"structure" nopayload:"true"` 6374 } 6375 6376 // String returns the string representation. 6377 // 6378 // API parameter values that are decorated as "sensitive" in the API will not 6379 // be included in the string output. The member name will be present, but the 6380 // value will be replaced with "sensitive". 6381 func (s AribDestinationSettings) String() string { 6382 return awsutil.Prettify(s) 6383 } 6384 6385 // GoString returns the string representation. 6386 // 6387 // API parameter values that are decorated as "sensitive" in the API will not 6388 // be included in the string output. The member name will be present, but the 6389 // value will be replaced with "sensitive". 6390 func (s AribDestinationSettings) GoString() string { 6391 return s.String() 6392 } 6393 6394 // Arib Source Settings 6395 type AribSourceSettings struct { 6396 _ struct{} `type:"structure" nopayload:"true"` 6397 } 6398 6399 // String returns the string representation. 6400 // 6401 // API parameter values that are decorated as "sensitive" in the API will not 6402 // be included in the string output. The member name will be present, but the 6403 // value will be replaced with "sensitive". 6404 func (s AribSourceSettings) String() string { 6405 return awsutil.Prettify(s) 6406 } 6407 6408 // GoString returns the string representation. 6409 // 6410 // API parameter values that are decorated as "sensitive" in the API will not 6411 // be included in the string output. The member name will be present, but the 6412 // value will be replaced with "sensitive". 6413 func (s AribSourceSettings) GoString() string { 6414 return s.String() 6415 } 6416 6417 // Audio Channel Mapping 6418 type AudioChannelMapping struct { 6419 _ struct{} `type:"structure"` 6420 6421 // Indices and gain values for each input channel that should be remixed into 6422 // this output channel. 6423 // 6424 // InputChannelLevels is a required field 6425 InputChannelLevels []*InputChannelLevel `locationName:"inputChannelLevels" type:"list" required:"true"` 6426 6427 // The index of the output channel being produced. 6428 // 6429 // OutputChannel is a required field 6430 OutputChannel *int64 `locationName:"outputChannel" type:"integer" required:"true"` 6431 } 6432 6433 // String returns the string representation. 6434 // 6435 // API parameter values that are decorated as "sensitive" in the API will not 6436 // be included in the string output. The member name will be present, but the 6437 // value will be replaced with "sensitive". 6438 func (s AudioChannelMapping) String() string { 6439 return awsutil.Prettify(s) 6440 } 6441 6442 // GoString returns the string representation. 6443 // 6444 // API parameter values that are decorated as "sensitive" in the API will not 6445 // be included in the string output. The member name will be present, but the 6446 // value will be replaced with "sensitive". 6447 func (s AudioChannelMapping) GoString() string { 6448 return s.String() 6449 } 6450 6451 // Validate inspects the fields of the type to determine if they are valid. 6452 func (s *AudioChannelMapping) Validate() error { 6453 invalidParams := request.ErrInvalidParams{Context: "AudioChannelMapping"} 6454 if s.InputChannelLevels == nil { 6455 invalidParams.Add(request.NewErrParamRequired("InputChannelLevels")) 6456 } 6457 if s.OutputChannel == nil { 6458 invalidParams.Add(request.NewErrParamRequired("OutputChannel")) 6459 } 6460 if s.InputChannelLevels != nil { 6461 for i, v := range s.InputChannelLevels { 6462 if v == nil { 6463 continue 6464 } 6465 if err := v.Validate(); err != nil { 6466 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputChannelLevels", i), err.(request.ErrInvalidParams)) 6467 } 6468 } 6469 } 6470 6471 if invalidParams.Len() > 0 { 6472 return invalidParams 6473 } 6474 return nil 6475 } 6476 6477 // SetInputChannelLevels sets the InputChannelLevels field's value. 6478 func (s *AudioChannelMapping) SetInputChannelLevels(v []*InputChannelLevel) *AudioChannelMapping { 6479 s.InputChannelLevels = v 6480 return s 6481 } 6482 6483 // SetOutputChannel sets the OutputChannel field's value. 6484 func (s *AudioChannelMapping) SetOutputChannel(v int64) *AudioChannelMapping { 6485 s.OutputChannel = &v 6486 return s 6487 } 6488 6489 // Audio Codec Settings 6490 type AudioCodecSettings struct { 6491 _ struct{} `type:"structure"` 6492 6493 // Aac Settings 6494 AacSettings *AacSettings `locationName:"aacSettings" type:"structure"` 6495 6496 // Ac3 Settings 6497 Ac3Settings *Ac3Settings `locationName:"ac3Settings" type:"structure"` 6498 6499 // Eac3 Settings 6500 Eac3Settings *Eac3Settings `locationName:"eac3Settings" type:"structure"` 6501 6502 // Mp2 Settings 6503 Mp2Settings *Mp2Settings `locationName:"mp2Settings" type:"structure"` 6504 6505 // Pass Through Settings 6506 PassThroughSettings *PassThroughSettings `locationName:"passThroughSettings" type:"structure"` 6507 6508 // Wav Settings 6509 WavSettings *WavSettings `locationName:"wavSettings" type:"structure"` 6510 } 6511 6512 // String returns the string representation. 6513 // 6514 // API parameter values that are decorated as "sensitive" in the API will not 6515 // be included in the string output. The member name will be present, but the 6516 // value will be replaced with "sensitive". 6517 func (s AudioCodecSettings) String() string { 6518 return awsutil.Prettify(s) 6519 } 6520 6521 // GoString returns the string representation. 6522 // 6523 // API parameter values that are decorated as "sensitive" in the API will not 6524 // be included in the string output. The member name will be present, but the 6525 // value will be replaced with "sensitive". 6526 func (s AudioCodecSettings) GoString() string { 6527 return s.String() 6528 } 6529 6530 // Validate inspects the fields of the type to determine if they are valid. 6531 func (s *AudioCodecSettings) Validate() error { 6532 invalidParams := request.ErrInvalidParams{Context: "AudioCodecSettings"} 6533 if s.Ac3Settings != nil { 6534 if err := s.Ac3Settings.Validate(); err != nil { 6535 invalidParams.AddNested("Ac3Settings", err.(request.ErrInvalidParams)) 6536 } 6537 } 6538 if s.Eac3Settings != nil { 6539 if err := s.Eac3Settings.Validate(); err != nil { 6540 invalidParams.AddNested("Eac3Settings", err.(request.ErrInvalidParams)) 6541 } 6542 } 6543 6544 if invalidParams.Len() > 0 { 6545 return invalidParams 6546 } 6547 return nil 6548 } 6549 6550 // SetAacSettings sets the AacSettings field's value. 6551 func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { 6552 s.AacSettings = v 6553 return s 6554 } 6555 6556 // SetAc3Settings sets the Ac3Settings field's value. 6557 func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { 6558 s.Ac3Settings = v 6559 return s 6560 } 6561 6562 // SetEac3Settings sets the Eac3Settings field's value. 6563 func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { 6564 s.Eac3Settings = v 6565 return s 6566 } 6567 6568 // SetMp2Settings sets the Mp2Settings field's value. 6569 func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { 6570 s.Mp2Settings = v 6571 return s 6572 } 6573 6574 // SetPassThroughSettings sets the PassThroughSettings field's value. 6575 func (s *AudioCodecSettings) SetPassThroughSettings(v *PassThroughSettings) *AudioCodecSettings { 6576 s.PassThroughSettings = v 6577 return s 6578 } 6579 6580 // SetWavSettings sets the WavSettings field's value. 6581 func (s *AudioCodecSettings) SetWavSettings(v *WavSettings) *AudioCodecSettings { 6582 s.WavSettings = v 6583 return s 6584 } 6585 6586 // Audio Description 6587 type AudioDescription struct { 6588 _ struct{} `type:"structure"` 6589 6590 // Advanced audio normalization settings. 6591 AudioNormalizationSettings *AudioNormalizationSettings `locationName:"audioNormalizationSettings" type:"structure"` 6592 6593 // The name of the AudioSelector used as the source for this AudioDescription. 6594 // 6595 // AudioSelectorName is a required field 6596 AudioSelectorName *string `locationName:"audioSelectorName" type:"string" required:"true"` 6597 6598 // Applies only if audioTypeControl is useConfigured. The values for audioType 6599 // are defined in ISO-IEC 13818-1. 6600 AudioType *string `locationName:"audioType" type:"string" enum:"AudioType"` 6601 6602 // Determines how audio type is determined. followInput: If the input contains 6603 // an ISO 639 audioType, then that value is passed through to the output. If 6604 // the input contains no ISO 639 audioType, the value in Audio Type is included 6605 // in the output. useConfigured: The value in Audio Type is included in the 6606 // output.Note that this field and audioType are both ignored if inputType is 6607 // broadcasterMixedAd. 6608 AudioTypeControl *string `locationName:"audioTypeControl" type:"string" enum:"AudioDescriptionAudioTypeControl"` 6609 6610 // Settings to configure one or more solutions that insert audio watermarks 6611 // in the audio encode 6612 AudioWatermarkingSettings *AudioWatermarkSettings `locationName:"audioWatermarkingSettings" type:"structure"` 6613 6614 // Audio codec settings. 6615 CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` 6616 6617 // RFC 5646 language code representing the language of the audio output track. 6618 // Only used if languageControlMode is useConfigured, or there is no ISO 639 6619 // language code specified in the input. 6620 LanguageCode *string `locationName:"languageCode" min:"1" type:"string"` 6621 6622 // Choosing followInput will cause the ISO 639 language code of the output to 6623 // follow the ISO 639 language code of the input. The languageCode will be used 6624 // when useConfigured is set, or when followInput is selected but there is no 6625 // ISO 639 language code specified by the input. 6626 LanguageCodeControl *string `locationName:"languageCodeControl" type:"string" enum:"AudioDescriptionLanguageCodeControl"` 6627 6628 // The name of this AudioDescription. Outputs will use this name to uniquely 6629 // identify this AudioDescription. Description names should be unique within 6630 // this Live Event. 6631 // 6632 // Name is a required field 6633 Name *string `locationName:"name" type:"string" required:"true"` 6634 6635 // Settings that control how input audio channels are remixed into the output 6636 // audio channels. 6637 RemixSettings *RemixSettings `locationName:"remixSettings" type:"structure"` 6638 6639 // Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by 6640 // the player (eg. English, or Director Commentary). 6641 StreamName *string `locationName:"streamName" type:"string"` 6642 } 6643 6644 // String returns the string representation. 6645 // 6646 // API parameter values that are decorated as "sensitive" in the API will not 6647 // be included in the string output. The member name will be present, but the 6648 // value will be replaced with "sensitive". 6649 func (s AudioDescription) String() string { 6650 return awsutil.Prettify(s) 6651 } 6652 6653 // GoString returns the string representation. 6654 // 6655 // API parameter values that are decorated as "sensitive" in the API will not 6656 // be included in the string output. The member name will be present, but the 6657 // value will be replaced with "sensitive". 6658 func (s AudioDescription) GoString() string { 6659 return s.String() 6660 } 6661 6662 // Validate inspects the fields of the type to determine if they are valid. 6663 func (s *AudioDescription) Validate() error { 6664 invalidParams := request.ErrInvalidParams{Context: "AudioDescription"} 6665 if s.AudioSelectorName == nil { 6666 invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) 6667 } 6668 if s.LanguageCode != nil && len(*s.LanguageCode) < 1 { 6669 invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 1)) 6670 } 6671 if s.Name == nil { 6672 invalidParams.Add(request.NewErrParamRequired("Name")) 6673 } 6674 if s.AudioWatermarkingSettings != nil { 6675 if err := s.AudioWatermarkingSettings.Validate(); err != nil { 6676 invalidParams.AddNested("AudioWatermarkingSettings", err.(request.ErrInvalidParams)) 6677 } 6678 } 6679 if s.CodecSettings != nil { 6680 if err := s.CodecSettings.Validate(); err != nil { 6681 invalidParams.AddNested("CodecSettings", err.(request.ErrInvalidParams)) 6682 } 6683 } 6684 if s.RemixSettings != nil { 6685 if err := s.RemixSettings.Validate(); err != nil { 6686 invalidParams.AddNested("RemixSettings", err.(request.ErrInvalidParams)) 6687 } 6688 } 6689 6690 if invalidParams.Len() > 0 { 6691 return invalidParams 6692 } 6693 return nil 6694 } 6695 6696 // SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. 6697 func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { 6698 s.AudioNormalizationSettings = v 6699 return s 6700 } 6701 6702 // SetAudioSelectorName sets the AudioSelectorName field's value. 6703 func (s *AudioDescription) SetAudioSelectorName(v string) *AudioDescription { 6704 s.AudioSelectorName = &v 6705 return s 6706 } 6707 6708 // SetAudioType sets the AudioType field's value. 6709 func (s *AudioDescription) SetAudioType(v string) *AudioDescription { 6710 s.AudioType = &v 6711 return s 6712 } 6713 6714 // SetAudioTypeControl sets the AudioTypeControl field's value. 6715 func (s *AudioDescription) SetAudioTypeControl(v string) *AudioDescription { 6716 s.AudioTypeControl = &v 6717 return s 6718 } 6719 6720 // SetAudioWatermarkingSettings sets the AudioWatermarkingSettings field's value. 6721 func (s *AudioDescription) SetAudioWatermarkingSettings(v *AudioWatermarkSettings) *AudioDescription { 6722 s.AudioWatermarkingSettings = v 6723 return s 6724 } 6725 6726 // SetCodecSettings sets the CodecSettings field's value. 6727 func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { 6728 s.CodecSettings = v 6729 return s 6730 } 6731 6732 // SetLanguageCode sets the LanguageCode field's value. 6733 func (s *AudioDescription) SetLanguageCode(v string) *AudioDescription { 6734 s.LanguageCode = &v 6735 return s 6736 } 6737 6738 // SetLanguageCodeControl sets the LanguageCodeControl field's value. 6739 func (s *AudioDescription) SetLanguageCodeControl(v string) *AudioDescription { 6740 s.LanguageCodeControl = &v 6741 return s 6742 } 6743 6744 // SetName sets the Name field's value. 6745 func (s *AudioDescription) SetName(v string) *AudioDescription { 6746 s.Name = &v 6747 return s 6748 } 6749 6750 // SetRemixSettings sets the RemixSettings field's value. 6751 func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { 6752 s.RemixSettings = v 6753 return s 6754 } 6755 6756 // SetStreamName sets the StreamName field's value. 6757 func (s *AudioDescription) SetStreamName(v string) *AudioDescription { 6758 s.StreamName = &v 6759 return s 6760 } 6761 6762 // Audio Hls Rendition Selection 6763 type AudioHlsRenditionSelection struct { 6764 _ struct{} `type:"structure"` 6765 6766 // Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition. 6767 // 6768 // GroupId is a required field 6769 GroupId *string `locationName:"groupId" min:"1" type:"string" required:"true"` 6770 6771 // Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition. 6772 // 6773 // Name is a required field 6774 Name *string `locationName:"name" min:"1" type:"string" required:"true"` 6775 } 6776 6777 // String returns the string representation. 6778 // 6779 // API parameter values that are decorated as "sensitive" in the API will not 6780 // be included in the string output. The member name will be present, but the 6781 // value will be replaced with "sensitive". 6782 func (s AudioHlsRenditionSelection) String() string { 6783 return awsutil.Prettify(s) 6784 } 6785 6786 // GoString returns the string representation. 6787 // 6788 // API parameter values that are decorated as "sensitive" in the API will not 6789 // be included in the string output. The member name will be present, but the 6790 // value will be replaced with "sensitive". 6791 func (s AudioHlsRenditionSelection) GoString() string { 6792 return s.String() 6793 } 6794 6795 // Validate inspects the fields of the type to determine if they are valid. 6796 func (s *AudioHlsRenditionSelection) Validate() error { 6797 invalidParams := request.ErrInvalidParams{Context: "AudioHlsRenditionSelection"} 6798 if s.GroupId == nil { 6799 invalidParams.Add(request.NewErrParamRequired("GroupId")) 6800 } 6801 if s.GroupId != nil && len(*s.GroupId) < 1 { 6802 invalidParams.Add(request.NewErrParamMinLen("GroupId", 1)) 6803 } 6804 if s.Name == nil { 6805 invalidParams.Add(request.NewErrParamRequired("Name")) 6806 } 6807 if s.Name != nil && len(*s.Name) < 1 { 6808 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 6809 } 6810 6811 if invalidParams.Len() > 0 { 6812 return invalidParams 6813 } 6814 return nil 6815 } 6816 6817 // SetGroupId sets the GroupId field's value. 6818 func (s *AudioHlsRenditionSelection) SetGroupId(v string) *AudioHlsRenditionSelection { 6819 s.GroupId = &v 6820 return s 6821 } 6822 6823 // SetName sets the Name field's value. 6824 func (s *AudioHlsRenditionSelection) SetName(v string) *AudioHlsRenditionSelection { 6825 s.Name = &v 6826 return s 6827 } 6828 6829 // Audio Language Selection 6830 type AudioLanguageSelection struct { 6831 _ struct{} `type:"structure"` 6832 6833 // Selects a specific three-letter language code from within an audio source. 6834 // 6835 // LanguageCode is a required field 6836 LanguageCode *string `locationName:"languageCode" type:"string" required:"true"` 6837 6838 // When set to "strict", the transport stream demux strictly identifies audio 6839 // streams by their language descriptor. If a PMT update occurs such that an 6840 // audio stream matching the initially selected language is no longer present 6841 // then mute will be encoded until the language returns. If "loose", then on 6842 // a PMT update the demux will choose another audio stream in the program with 6843 // the same stream type if it can't find one with the same language. 6844 LanguageSelectionPolicy *string `locationName:"languageSelectionPolicy" type:"string" enum:"AudioLanguageSelectionPolicy"` 6845 } 6846 6847 // String returns the string representation. 6848 // 6849 // API parameter values that are decorated as "sensitive" in the API will not 6850 // be included in the string output. The member name will be present, but the 6851 // value will be replaced with "sensitive". 6852 func (s AudioLanguageSelection) String() string { 6853 return awsutil.Prettify(s) 6854 } 6855 6856 // GoString returns the string representation. 6857 // 6858 // API parameter values that are decorated as "sensitive" in the API will not 6859 // be included in the string output. The member name will be present, but the 6860 // value will be replaced with "sensitive". 6861 func (s AudioLanguageSelection) GoString() string { 6862 return s.String() 6863 } 6864 6865 // Validate inspects the fields of the type to determine if they are valid. 6866 func (s *AudioLanguageSelection) Validate() error { 6867 invalidParams := request.ErrInvalidParams{Context: "AudioLanguageSelection"} 6868 if s.LanguageCode == nil { 6869 invalidParams.Add(request.NewErrParamRequired("LanguageCode")) 6870 } 6871 6872 if invalidParams.Len() > 0 { 6873 return invalidParams 6874 } 6875 return nil 6876 } 6877 6878 // SetLanguageCode sets the LanguageCode field's value. 6879 func (s *AudioLanguageSelection) SetLanguageCode(v string) *AudioLanguageSelection { 6880 s.LanguageCode = &v 6881 return s 6882 } 6883 6884 // SetLanguageSelectionPolicy sets the LanguageSelectionPolicy field's value. 6885 func (s *AudioLanguageSelection) SetLanguageSelectionPolicy(v string) *AudioLanguageSelection { 6886 s.LanguageSelectionPolicy = &v 6887 return s 6888 } 6889 6890 // Audio Normalization Settings 6891 type AudioNormalizationSettings struct { 6892 _ struct{} `type:"structure"` 6893 6894 // Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, 6895 // itu17702 conforms to the EBU R-128 specification. 6896 Algorithm *string `locationName:"algorithm" type:"string" enum:"AudioNormalizationAlgorithm"` 6897 6898 // When set to correctAudio the output audio is corrected using the chosen algorithm. 6899 // If set to measureOnly, the audio will be measured but not adjusted. 6900 AlgorithmControl *string `locationName:"algorithmControl" type:"string" enum:"AudioNormalizationAlgorithmControl"` 6901 6902 // Target LKFS(loudness) to adjust volume to. If no value is entered, a default 6903 // value will be used according to the chosen algorithm. The CALM Act (1770-1) 6904 // recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends 6905 // a target of -23 LKFS. 6906 TargetLkfs *float64 `locationName:"targetLkfs" type:"double"` 6907 } 6908 6909 // String returns the string representation. 6910 // 6911 // API parameter values that are decorated as "sensitive" in the API will not 6912 // be included in the string output. The member name will be present, but the 6913 // value will be replaced with "sensitive". 6914 func (s AudioNormalizationSettings) String() string { 6915 return awsutil.Prettify(s) 6916 } 6917 6918 // GoString returns the string representation. 6919 // 6920 // API parameter values that are decorated as "sensitive" in the API will not 6921 // be included in the string output. The member name will be present, but the 6922 // value will be replaced with "sensitive". 6923 func (s AudioNormalizationSettings) GoString() string { 6924 return s.String() 6925 } 6926 6927 // SetAlgorithm sets the Algorithm field's value. 6928 func (s *AudioNormalizationSettings) SetAlgorithm(v string) *AudioNormalizationSettings { 6929 s.Algorithm = &v 6930 return s 6931 } 6932 6933 // SetAlgorithmControl sets the AlgorithmControl field's value. 6934 func (s *AudioNormalizationSettings) SetAlgorithmControl(v string) *AudioNormalizationSettings { 6935 s.AlgorithmControl = &v 6936 return s 6937 } 6938 6939 // SetTargetLkfs sets the TargetLkfs field's value. 6940 func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { 6941 s.TargetLkfs = &v 6942 return s 6943 } 6944 6945 // Audio Only Hls Settings 6946 type AudioOnlyHlsSettings struct { 6947 _ struct{} `type:"structure"` 6948 6949 // Specifies the group to which the audio Rendition belongs. 6950 AudioGroupId *string `locationName:"audioGroupId" type:"string"` 6951 6952 // Optional. Specifies the .jpg or .png image to use as the cover art for an 6953 // audio-only output. We recommend a low bit-size file because the image increases 6954 // the output audio bandwidth.The image is attached to the audio as an ID3 tag, 6955 // frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native 6956 // Frames" standard. 6957 AudioOnlyImage *InputLocation `locationName:"audioOnlyImage" type:"structure"` 6958 6959 // Four types of audio-only tracks are supported:Audio-Only Variant StreamThe 6960 // client can play back this audio-only stream instead of video in low-bandwidth 6961 // scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.Alternate 6962 // Audio, Auto Select, DefaultAlternate rendition that the client should try 6963 // to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest 6964 // with DEFAULT=YES, AUTOSELECT=YESAlternate Audio, Auto Select, Not DefaultAlternate 6965 // rendition that the client may try to play back by default. Represented as 6966 // an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YESAlternate 6967 // Audio, not Auto SelectAlternate rendition that the client will not try to 6968 // play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with 6969 // DEFAULT=NO, AUTOSELECT=NO 6970 AudioTrackType *string `locationName:"audioTrackType" type:"string" enum:"AudioOnlyHlsTrackType"` 6971 6972 // Specifies the segment type. 6973 SegmentType *string `locationName:"segmentType" type:"string" enum:"AudioOnlyHlsSegmentType"` 6974 } 6975 6976 // String returns the string representation. 6977 // 6978 // API parameter values that are decorated as "sensitive" in the API will not 6979 // be included in the string output. The member name will be present, but the 6980 // value will be replaced with "sensitive". 6981 func (s AudioOnlyHlsSettings) String() string { 6982 return awsutil.Prettify(s) 6983 } 6984 6985 // GoString returns the string representation. 6986 // 6987 // API parameter values that are decorated as "sensitive" in the API will not 6988 // be included in the string output. The member name will be present, but the 6989 // value will be replaced with "sensitive". 6990 func (s AudioOnlyHlsSettings) GoString() string { 6991 return s.String() 6992 } 6993 6994 // Validate inspects the fields of the type to determine if they are valid. 6995 func (s *AudioOnlyHlsSettings) Validate() error { 6996 invalidParams := request.ErrInvalidParams{Context: "AudioOnlyHlsSettings"} 6997 if s.AudioOnlyImage != nil { 6998 if err := s.AudioOnlyImage.Validate(); err != nil { 6999 invalidParams.AddNested("AudioOnlyImage", err.(request.ErrInvalidParams)) 7000 } 7001 } 7002 7003 if invalidParams.Len() > 0 { 7004 return invalidParams 7005 } 7006 return nil 7007 } 7008 7009 // SetAudioGroupId sets the AudioGroupId field's value. 7010 func (s *AudioOnlyHlsSettings) SetAudioGroupId(v string) *AudioOnlyHlsSettings { 7011 s.AudioGroupId = &v 7012 return s 7013 } 7014 7015 // SetAudioOnlyImage sets the AudioOnlyImage field's value. 7016 func (s *AudioOnlyHlsSettings) SetAudioOnlyImage(v *InputLocation) *AudioOnlyHlsSettings { 7017 s.AudioOnlyImage = v 7018 return s 7019 } 7020 7021 // SetAudioTrackType sets the AudioTrackType field's value. 7022 func (s *AudioOnlyHlsSettings) SetAudioTrackType(v string) *AudioOnlyHlsSettings { 7023 s.AudioTrackType = &v 7024 return s 7025 } 7026 7027 // SetSegmentType sets the SegmentType field's value. 7028 func (s *AudioOnlyHlsSettings) SetSegmentType(v string) *AudioOnlyHlsSettings { 7029 s.SegmentType = &v 7030 return s 7031 } 7032 7033 // Audio Pid Selection 7034 type AudioPidSelection struct { 7035 _ struct{} `type:"structure"` 7036 7037 // Selects a specific PID from within a source. 7038 // 7039 // Pid is a required field 7040 Pid *int64 `locationName:"pid" type:"integer" required:"true"` 7041 } 7042 7043 // String returns the string representation. 7044 // 7045 // API parameter values that are decorated as "sensitive" in the API will not 7046 // be included in the string output. The member name will be present, but the 7047 // value will be replaced with "sensitive". 7048 func (s AudioPidSelection) String() string { 7049 return awsutil.Prettify(s) 7050 } 7051 7052 // GoString returns the string representation. 7053 // 7054 // API parameter values that are decorated as "sensitive" in the API will not 7055 // be included in the string output. The member name will be present, but the 7056 // value will be replaced with "sensitive". 7057 func (s AudioPidSelection) GoString() string { 7058 return s.String() 7059 } 7060 7061 // Validate inspects the fields of the type to determine if they are valid. 7062 func (s *AudioPidSelection) Validate() error { 7063 invalidParams := request.ErrInvalidParams{Context: "AudioPidSelection"} 7064 if s.Pid == nil { 7065 invalidParams.Add(request.NewErrParamRequired("Pid")) 7066 } 7067 7068 if invalidParams.Len() > 0 { 7069 return invalidParams 7070 } 7071 return nil 7072 } 7073 7074 // SetPid sets the Pid field's value. 7075 func (s *AudioPidSelection) SetPid(v int64) *AudioPidSelection { 7076 s.Pid = &v 7077 return s 7078 } 7079 7080 // Audio Selector 7081 type AudioSelector struct { 7082 _ struct{} `type:"structure"` 7083 7084 // The name of this AudioSelector. AudioDescriptions will use this name to uniquely 7085 // identify this Selector. Selector names should be unique per input. 7086 // 7087 // Name is a required field 7088 Name *string `locationName:"name" min:"1" type:"string" required:"true"` 7089 7090 // The audio selector settings. 7091 SelectorSettings *AudioSelectorSettings `locationName:"selectorSettings" type:"structure"` 7092 } 7093 7094 // String returns the string representation. 7095 // 7096 // API parameter values that are decorated as "sensitive" in the API will not 7097 // be included in the string output. The member name will be present, but the 7098 // value will be replaced with "sensitive". 7099 func (s AudioSelector) String() string { 7100 return awsutil.Prettify(s) 7101 } 7102 7103 // GoString returns the string representation. 7104 // 7105 // API parameter values that are decorated as "sensitive" in the API will not 7106 // be included in the string output. The member name will be present, but the 7107 // value will be replaced with "sensitive". 7108 func (s AudioSelector) GoString() string { 7109 return s.String() 7110 } 7111 7112 // Validate inspects the fields of the type to determine if they are valid. 7113 func (s *AudioSelector) Validate() error { 7114 invalidParams := request.ErrInvalidParams{Context: "AudioSelector"} 7115 if s.Name == nil { 7116 invalidParams.Add(request.NewErrParamRequired("Name")) 7117 } 7118 if s.Name != nil && len(*s.Name) < 1 { 7119 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 7120 } 7121 if s.SelectorSettings != nil { 7122 if err := s.SelectorSettings.Validate(); err != nil { 7123 invalidParams.AddNested("SelectorSettings", err.(request.ErrInvalidParams)) 7124 } 7125 } 7126 7127 if invalidParams.Len() > 0 { 7128 return invalidParams 7129 } 7130 return nil 7131 } 7132 7133 // SetName sets the Name field's value. 7134 func (s *AudioSelector) SetName(v string) *AudioSelector { 7135 s.Name = &v 7136 return s 7137 } 7138 7139 // SetSelectorSettings sets the SelectorSettings field's value. 7140 func (s *AudioSelector) SetSelectorSettings(v *AudioSelectorSettings) *AudioSelector { 7141 s.SelectorSettings = v 7142 return s 7143 } 7144 7145 // Audio Selector Settings 7146 type AudioSelectorSettings struct { 7147 _ struct{} `type:"structure"` 7148 7149 // Audio Hls Rendition Selection 7150 AudioHlsRenditionSelection *AudioHlsRenditionSelection `locationName:"audioHlsRenditionSelection" type:"structure"` 7151 7152 // Audio Language Selection 7153 AudioLanguageSelection *AudioLanguageSelection `locationName:"audioLanguageSelection" type:"structure"` 7154 7155 // Audio Pid Selection 7156 AudioPidSelection *AudioPidSelection `locationName:"audioPidSelection" type:"structure"` 7157 7158 // Audio Track Selection 7159 AudioTrackSelection *AudioTrackSelection `locationName:"audioTrackSelection" type:"structure"` 7160 } 7161 7162 // String returns the string representation. 7163 // 7164 // API parameter values that are decorated as "sensitive" in the API will not 7165 // be included in the string output. The member name will be present, but the 7166 // value will be replaced with "sensitive". 7167 func (s AudioSelectorSettings) String() string { 7168 return awsutil.Prettify(s) 7169 } 7170 7171 // GoString returns the string representation. 7172 // 7173 // API parameter values that are decorated as "sensitive" in the API will not 7174 // be included in the string output. The member name will be present, but the 7175 // value will be replaced with "sensitive". 7176 func (s AudioSelectorSettings) GoString() string { 7177 return s.String() 7178 } 7179 7180 // Validate inspects the fields of the type to determine if they are valid. 7181 func (s *AudioSelectorSettings) Validate() error { 7182 invalidParams := request.ErrInvalidParams{Context: "AudioSelectorSettings"} 7183 if s.AudioHlsRenditionSelection != nil { 7184 if err := s.AudioHlsRenditionSelection.Validate(); err != nil { 7185 invalidParams.AddNested("AudioHlsRenditionSelection", err.(request.ErrInvalidParams)) 7186 } 7187 } 7188 if s.AudioLanguageSelection != nil { 7189 if err := s.AudioLanguageSelection.Validate(); err != nil { 7190 invalidParams.AddNested("AudioLanguageSelection", err.(request.ErrInvalidParams)) 7191 } 7192 } 7193 if s.AudioPidSelection != nil { 7194 if err := s.AudioPidSelection.Validate(); err != nil { 7195 invalidParams.AddNested("AudioPidSelection", err.(request.ErrInvalidParams)) 7196 } 7197 } 7198 if s.AudioTrackSelection != nil { 7199 if err := s.AudioTrackSelection.Validate(); err != nil { 7200 invalidParams.AddNested("AudioTrackSelection", err.(request.ErrInvalidParams)) 7201 } 7202 } 7203 7204 if invalidParams.Len() > 0 { 7205 return invalidParams 7206 } 7207 return nil 7208 } 7209 7210 // SetAudioHlsRenditionSelection sets the AudioHlsRenditionSelection field's value. 7211 func (s *AudioSelectorSettings) SetAudioHlsRenditionSelection(v *AudioHlsRenditionSelection) *AudioSelectorSettings { 7212 s.AudioHlsRenditionSelection = v 7213 return s 7214 } 7215 7216 // SetAudioLanguageSelection sets the AudioLanguageSelection field's value. 7217 func (s *AudioSelectorSettings) SetAudioLanguageSelection(v *AudioLanguageSelection) *AudioSelectorSettings { 7218 s.AudioLanguageSelection = v 7219 return s 7220 } 7221 7222 // SetAudioPidSelection sets the AudioPidSelection field's value. 7223 func (s *AudioSelectorSettings) SetAudioPidSelection(v *AudioPidSelection) *AudioSelectorSettings { 7224 s.AudioPidSelection = v 7225 return s 7226 } 7227 7228 // SetAudioTrackSelection sets the AudioTrackSelection field's value. 7229 func (s *AudioSelectorSettings) SetAudioTrackSelection(v *AudioTrackSelection) *AudioSelectorSettings { 7230 s.AudioTrackSelection = v 7231 return s 7232 } 7233 7234 type AudioSilenceFailoverSettings struct { 7235 _ struct{} `type:"structure"` 7236 7237 // The name of the audio selector in the input that MediaLive should monitor 7238 // to detect silence. Select your most important rendition. If you didn't create 7239 // an audio selector in this input, leave blank. 7240 // 7241 // AudioSelectorName is a required field 7242 AudioSelectorName *string `locationName:"audioSelectorName" type:"string" required:"true"` 7243 7244 // The amount of time (in milliseconds) that the active input must be silent 7245 // before automatic input failover occurs. Silence is defined as audio loss 7246 // or audio quieter than -50 dBFS. 7247 AudioSilenceThresholdMsec *int64 `locationName:"audioSilenceThresholdMsec" min:"1000" type:"integer"` 7248 } 7249 7250 // String returns the string representation. 7251 // 7252 // API parameter values that are decorated as "sensitive" in the API will not 7253 // be included in the string output. The member name will be present, but the 7254 // value will be replaced with "sensitive". 7255 func (s AudioSilenceFailoverSettings) String() string { 7256 return awsutil.Prettify(s) 7257 } 7258 7259 // GoString returns the string representation. 7260 // 7261 // API parameter values that are decorated as "sensitive" in the API will not 7262 // be included in the string output. The member name will be present, but the 7263 // value will be replaced with "sensitive". 7264 func (s AudioSilenceFailoverSettings) GoString() string { 7265 return s.String() 7266 } 7267 7268 // Validate inspects the fields of the type to determine if they are valid. 7269 func (s *AudioSilenceFailoverSettings) Validate() error { 7270 invalidParams := request.ErrInvalidParams{Context: "AudioSilenceFailoverSettings"} 7271 if s.AudioSelectorName == nil { 7272 invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) 7273 } 7274 if s.AudioSilenceThresholdMsec != nil && *s.AudioSilenceThresholdMsec < 1000 { 7275 invalidParams.Add(request.NewErrParamMinValue("AudioSilenceThresholdMsec", 1000)) 7276 } 7277 7278 if invalidParams.Len() > 0 { 7279 return invalidParams 7280 } 7281 return nil 7282 } 7283 7284 // SetAudioSelectorName sets the AudioSelectorName field's value. 7285 func (s *AudioSilenceFailoverSettings) SetAudioSelectorName(v string) *AudioSilenceFailoverSettings { 7286 s.AudioSelectorName = &v 7287 return s 7288 } 7289 7290 // SetAudioSilenceThresholdMsec sets the AudioSilenceThresholdMsec field's value. 7291 func (s *AudioSilenceFailoverSettings) SetAudioSilenceThresholdMsec(v int64) *AudioSilenceFailoverSettings { 7292 s.AudioSilenceThresholdMsec = &v 7293 return s 7294 } 7295 7296 // Audio Track 7297 type AudioTrack struct { 7298 _ struct{} `type:"structure"` 7299 7300 // 1-based integer value that maps to a specific audio track 7301 // 7302 // Track is a required field 7303 Track *int64 `locationName:"track" min:"1" type:"integer" required:"true"` 7304 } 7305 7306 // String returns the string representation. 7307 // 7308 // API parameter values that are decorated as "sensitive" in the API will not 7309 // be included in the string output. The member name will be present, but the 7310 // value will be replaced with "sensitive". 7311 func (s AudioTrack) String() string { 7312 return awsutil.Prettify(s) 7313 } 7314 7315 // GoString returns the string representation. 7316 // 7317 // API parameter values that are decorated as "sensitive" in the API will not 7318 // be included in the string output. The member name will be present, but the 7319 // value will be replaced with "sensitive". 7320 func (s AudioTrack) GoString() string { 7321 return s.String() 7322 } 7323 7324 // Validate inspects the fields of the type to determine if they are valid. 7325 func (s *AudioTrack) Validate() error { 7326 invalidParams := request.ErrInvalidParams{Context: "AudioTrack"} 7327 if s.Track == nil { 7328 invalidParams.Add(request.NewErrParamRequired("Track")) 7329 } 7330 if s.Track != nil && *s.Track < 1 { 7331 invalidParams.Add(request.NewErrParamMinValue("Track", 1)) 7332 } 7333 7334 if invalidParams.Len() > 0 { 7335 return invalidParams 7336 } 7337 return nil 7338 } 7339 7340 // SetTrack sets the Track field's value. 7341 func (s *AudioTrack) SetTrack(v int64) *AudioTrack { 7342 s.Track = &v 7343 return s 7344 } 7345 7346 // Audio Track Selection 7347 type AudioTrackSelection struct { 7348 _ struct{} `type:"structure"` 7349 7350 // Selects one or more unique audio tracks from within a source. 7351 // 7352 // Tracks is a required field 7353 Tracks []*AudioTrack `locationName:"tracks" type:"list" required:"true"` 7354 } 7355 7356 // String returns the string representation. 7357 // 7358 // API parameter values that are decorated as "sensitive" in the API will not 7359 // be included in the string output. The member name will be present, but the 7360 // value will be replaced with "sensitive". 7361 func (s AudioTrackSelection) String() string { 7362 return awsutil.Prettify(s) 7363 } 7364 7365 // GoString returns the string representation. 7366 // 7367 // API parameter values that are decorated as "sensitive" in the API will not 7368 // be included in the string output. The member name will be present, but the 7369 // value will be replaced with "sensitive". 7370 func (s AudioTrackSelection) GoString() string { 7371 return s.String() 7372 } 7373 7374 // Validate inspects the fields of the type to determine if they are valid. 7375 func (s *AudioTrackSelection) Validate() error { 7376 invalidParams := request.ErrInvalidParams{Context: "AudioTrackSelection"} 7377 if s.Tracks == nil { 7378 invalidParams.Add(request.NewErrParamRequired("Tracks")) 7379 } 7380 if s.Tracks != nil { 7381 for i, v := range s.Tracks { 7382 if v == nil { 7383 continue 7384 } 7385 if err := v.Validate(); err != nil { 7386 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tracks", i), err.(request.ErrInvalidParams)) 7387 } 7388 } 7389 } 7390 7391 if invalidParams.Len() > 0 { 7392 return invalidParams 7393 } 7394 return nil 7395 } 7396 7397 // SetTracks sets the Tracks field's value. 7398 func (s *AudioTrackSelection) SetTracks(v []*AudioTrack) *AudioTrackSelection { 7399 s.Tracks = v 7400 return s 7401 } 7402 7403 // Audio Watermark Settings 7404 type AudioWatermarkSettings struct { 7405 _ struct{} `type:"structure"` 7406 7407 // Settings to configure Nielsen Watermarks in the audio encode 7408 NielsenWatermarksSettings *NielsenWatermarksSettings `locationName:"nielsenWatermarksSettings" type:"structure"` 7409 } 7410 7411 // String returns the string representation. 7412 // 7413 // API parameter values that are decorated as "sensitive" in the API will not 7414 // be included in the string output. The member name will be present, but the 7415 // value will be replaced with "sensitive". 7416 func (s AudioWatermarkSettings) String() string { 7417 return awsutil.Prettify(s) 7418 } 7419 7420 // GoString returns the string representation. 7421 // 7422 // API parameter values that are decorated as "sensitive" in the API will not 7423 // be included in the string output. The member name will be present, but the 7424 // value will be replaced with "sensitive". 7425 func (s AudioWatermarkSettings) GoString() string { 7426 return s.String() 7427 } 7428 7429 // Validate inspects the fields of the type to determine if they are valid. 7430 func (s *AudioWatermarkSettings) Validate() error { 7431 invalidParams := request.ErrInvalidParams{Context: "AudioWatermarkSettings"} 7432 if s.NielsenWatermarksSettings != nil { 7433 if err := s.NielsenWatermarksSettings.Validate(); err != nil { 7434 invalidParams.AddNested("NielsenWatermarksSettings", err.(request.ErrInvalidParams)) 7435 } 7436 } 7437 7438 if invalidParams.Len() > 0 { 7439 return invalidParams 7440 } 7441 return nil 7442 } 7443 7444 // SetNielsenWatermarksSettings sets the NielsenWatermarksSettings field's value. 7445 func (s *AudioWatermarkSettings) SetNielsenWatermarksSettings(v *NielsenWatermarksSettings) *AudioWatermarkSettings { 7446 s.NielsenWatermarksSettings = v 7447 return s 7448 } 7449 7450 // The settings for Automatic Input Failover. 7451 type AutomaticInputFailoverSettings struct { 7452 _ struct{} `type:"structure"` 7453 7454 // This clear time defines the requirement a recovered input must meet to be 7455 // considered healthy. The input must have no failover conditions for this length 7456 // of time. Enter a time in milliseconds. This value is particularly important 7457 // if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, 7458 // because after this time, MediaLive will switch back to the primary input. 7459 ErrorClearTimeMsec *int64 `locationName:"errorClearTimeMsec" min:"1" type:"integer"` 7460 7461 // A list of failover conditions. If any of these conditions occur, MediaLive 7462 // will perform a failover to the other input. 7463 FailoverConditions []*FailoverCondition `locationName:"failoverConditions" type:"list"` 7464 7465 // Input preference when deciding which input to make active when a previously 7466 // failed input has recovered. 7467 InputPreference *string `locationName:"inputPreference" type:"string" enum:"InputPreference"` 7468 7469 // The input ID of the secondary input in the automatic input failover pair. 7470 // 7471 // SecondaryInputId is a required field 7472 SecondaryInputId *string `locationName:"secondaryInputId" type:"string" required:"true"` 7473 } 7474 7475 // String returns the string representation. 7476 // 7477 // API parameter values that are decorated as "sensitive" in the API will not 7478 // be included in the string output. The member name will be present, but the 7479 // value will be replaced with "sensitive". 7480 func (s AutomaticInputFailoverSettings) String() string { 7481 return awsutil.Prettify(s) 7482 } 7483 7484 // GoString returns the string representation. 7485 // 7486 // API parameter values that are decorated as "sensitive" in the API will not 7487 // be included in the string output. The member name will be present, but the 7488 // value will be replaced with "sensitive". 7489 func (s AutomaticInputFailoverSettings) GoString() string { 7490 return s.String() 7491 } 7492 7493 // Validate inspects the fields of the type to determine if they are valid. 7494 func (s *AutomaticInputFailoverSettings) Validate() error { 7495 invalidParams := request.ErrInvalidParams{Context: "AutomaticInputFailoverSettings"} 7496 if s.ErrorClearTimeMsec != nil && *s.ErrorClearTimeMsec < 1 { 7497 invalidParams.Add(request.NewErrParamMinValue("ErrorClearTimeMsec", 1)) 7498 } 7499 if s.SecondaryInputId == nil { 7500 invalidParams.Add(request.NewErrParamRequired("SecondaryInputId")) 7501 } 7502 if s.FailoverConditions != nil { 7503 for i, v := range s.FailoverConditions { 7504 if v == nil { 7505 continue 7506 } 7507 if err := v.Validate(); err != nil { 7508 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FailoverConditions", i), err.(request.ErrInvalidParams)) 7509 } 7510 } 7511 } 7512 7513 if invalidParams.Len() > 0 { 7514 return invalidParams 7515 } 7516 return nil 7517 } 7518 7519 // SetErrorClearTimeMsec sets the ErrorClearTimeMsec field's value. 7520 func (s *AutomaticInputFailoverSettings) SetErrorClearTimeMsec(v int64) *AutomaticInputFailoverSettings { 7521 s.ErrorClearTimeMsec = &v 7522 return s 7523 } 7524 7525 // SetFailoverConditions sets the FailoverConditions field's value. 7526 func (s *AutomaticInputFailoverSettings) SetFailoverConditions(v []*FailoverCondition) *AutomaticInputFailoverSettings { 7527 s.FailoverConditions = v 7528 return s 7529 } 7530 7531 // SetInputPreference sets the InputPreference field's value. 7532 func (s *AutomaticInputFailoverSettings) SetInputPreference(v string) *AutomaticInputFailoverSettings { 7533 s.InputPreference = &v 7534 return s 7535 } 7536 7537 // SetSecondaryInputId sets the SecondaryInputId field's value. 7538 func (s *AutomaticInputFailoverSettings) SetSecondaryInputId(v string) *AutomaticInputFailoverSettings { 7539 s.SecondaryInputId = &v 7540 return s 7541 } 7542 7543 // Avail Blanking 7544 type AvailBlanking struct { 7545 _ struct{} `type:"structure"` 7546 7547 // Blanking image to be used. Leave empty for solid black. Only bmp and png 7548 // images are supported. 7549 AvailBlankingImage *InputLocation `locationName:"availBlankingImage" type:"structure"` 7550 7551 // When set to enabled, causes video, audio and captions to be blanked when 7552 // insertion metadata is added. 7553 State *string `locationName:"state" type:"string" enum:"AvailBlankingState"` 7554 } 7555 7556 // String returns the string representation. 7557 // 7558 // API parameter values that are decorated as "sensitive" in the API will not 7559 // be included in the string output. The member name will be present, but the 7560 // value will be replaced with "sensitive". 7561 func (s AvailBlanking) String() string { 7562 return awsutil.Prettify(s) 7563 } 7564 7565 // GoString returns the string representation. 7566 // 7567 // API parameter values that are decorated as "sensitive" in the API will not 7568 // be included in the string output. The member name will be present, but the 7569 // value will be replaced with "sensitive". 7570 func (s AvailBlanking) GoString() string { 7571 return s.String() 7572 } 7573 7574 // Validate inspects the fields of the type to determine if they are valid. 7575 func (s *AvailBlanking) Validate() error { 7576 invalidParams := request.ErrInvalidParams{Context: "AvailBlanking"} 7577 if s.AvailBlankingImage != nil { 7578 if err := s.AvailBlankingImage.Validate(); err != nil { 7579 invalidParams.AddNested("AvailBlankingImage", err.(request.ErrInvalidParams)) 7580 } 7581 } 7582 7583 if invalidParams.Len() > 0 { 7584 return invalidParams 7585 } 7586 return nil 7587 } 7588 7589 // SetAvailBlankingImage sets the AvailBlankingImage field's value. 7590 func (s *AvailBlanking) SetAvailBlankingImage(v *InputLocation) *AvailBlanking { 7591 s.AvailBlankingImage = v 7592 return s 7593 } 7594 7595 // SetState sets the State field's value. 7596 func (s *AvailBlanking) SetState(v string) *AvailBlanking { 7597 s.State = &v 7598 return s 7599 } 7600 7601 // Avail Configuration 7602 type AvailConfiguration struct { 7603 _ struct{} `type:"structure"` 7604 7605 // Ad avail settings. 7606 AvailSettings *AvailSettings `locationName:"availSettings" type:"structure"` 7607 } 7608 7609 // String returns the string representation. 7610 // 7611 // API parameter values that are decorated as "sensitive" in the API will not 7612 // be included in the string output. The member name will be present, but the 7613 // value will be replaced with "sensitive". 7614 func (s AvailConfiguration) String() string { 7615 return awsutil.Prettify(s) 7616 } 7617 7618 // GoString returns the string representation. 7619 // 7620 // API parameter values that are decorated as "sensitive" in the API will not 7621 // be included in the string output. The member name will be present, but the 7622 // value will be replaced with "sensitive". 7623 func (s AvailConfiguration) GoString() string { 7624 return s.String() 7625 } 7626 7627 // Validate inspects the fields of the type to determine if they are valid. 7628 func (s *AvailConfiguration) Validate() error { 7629 invalidParams := request.ErrInvalidParams{Context: "AvailConfiguration"} 7630 if s.AvailSettings != nil { 7631 if err := s.AvailSettings.Validate(); err != nil { 7632 invalidParams.AddNested("AvailSettings", err.(request.ErrInvalidParams)) 7633 } 7634 } 7635 7636 if invalidParams.Len() > 0 { 7637 return invalidParams 7638 } 7639 return nil 7640 } 7641 7642 // SetAvailSettings sets the AvailSettings field's value. 7643 func (s *AvailConfiguration) SetAvailSettings(v *AvailSettings) *AvailConfiguration { 7644 s.AvailSettings = v 7645 return s 7646 } 7647 7648 // Avail Settings 7649 type AvailSettings struct { 7650 _ struct{} `type:"structure"` 7651 7652 // Scte35 Splice Insert 7653 Scte35SpliceInsert *Scte35SpliceInsert `locationName:"scte35SpliceInsert" type:"structure"` 7654 7655 // Scte35 Time Signal Apos 7656 Scte35TimeSignalApos *Scte35TimeSignalApos `locationName:"scte35TimeSignalApos" type:"structure"` 7657 } 7658 7659 // String returns the string representation. 7660 // 7661 // API parameter values that are decorated as "sensitive" in the API will not 7662 // be included in the string output. The member name will be present, but the 7663 // value will be replaced with "sensitive". 7664 func (s AvailSettings) String() string { 7665 return awsutil.Prettify(s) 7666 } 7667 7668 // GoString returns the string representation. 7669 // 7670 // API parameter values that are decorated as "sensitive" in the API will not 7671 // be included in the string output. The member name will be present, but the 7672 // value will be replaced with "sensitive". 7673 func (s AvailSettings) GoString() string { 7674 return s.String() 7675 } 7676 7677 // Validate inspects the fields of the type to determine if they are valid. 7678 func (s *AvailSettings) Validate() error { 7679 invalidParams := request.ErrInvalidParams{Context: "AvailSettings"} 7680 if s.Scte35SpliceInsert != nil { 7681 if err := s.Scte35SpliceInsert.Validate(); err != nil { 7682 invalidParams.AddNested("Scte35SpliceInsert", err.(request.ErrInvalidParams)) 7683 } 7684 } 7685 if s.Scte35TimeSignalApos != nil { 7686 if err := s.Scte35TimeSignalApos.Validate(); err != nil { 7687 invalidParams.AddNested("Scte35TimeSignalApos", err.(request.ErrInvalidParams)) 7688 } 7689 } 7690 7691 if invalidParams.Len() > 0 { 7692 return invalidParams 7693 } 7694 return nil 7695 } 7696 7697 // SetScte35SpliceInsert sets the Scte35SpliceInsert field's value. 7698 func (s *AvailSettings) SetScte35SpliceInsert(v *Scte35SpliceInsert) *AvailSettings { 7699 s.Scte35SpliceInsert = v 7700 return s 7701 } 7702 7703 // SetScte35TimeSignalApos sets the Scte35TimeSignalApos field's value. 7704 func (s *AvailSettings) SetScte35TimeSignalApos(v *Scte35TimeSignalApos) *AvailSettings { 7705 s.Scte35TimeSignalApos = v 7706 return s 7707 } 7708 7709 type BadGatewayException struct { 7710 _ struct{} `type:"structure"` 7711 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 7712 7713 Message_ *string `locationName:"message" type:"string"` 7714 } 7715 7716 // String returns the string representation. 7717 // 7718 // API parameter values that are decorated as "sensitive" in the API will not 7719 // be included in the string output. The member name will be present, but the 7720 // value will be replaced with "sensitive". 7721 func (s BadGatewayException) String() string { 7722 return awsutil.Prettify(s) 7723 } 7724 7725 // GoString returns the string representation. 7726 // 7727 // API parameter values that are decorated as "sensitive" in the API will not 7728 // be included in the string output. The member name will be present, but the 7729 // value will be replaced with "sensitive". 7730 func (s BadGatewayException) GoString() string { 7731 return s.String() 7732 } 7733 7734 func newErrorBadGatewayException(v protocol.ResponseMetadata) error { 7735 return &BadGatewayException{ 7736 RespMetadata: v, 7737 } 7738 } 7739 7740 // Code returns the exception type name. 7741 func (s *BadGatewayException) Code() string { 7742 return "BadGatewayException" 7743 } 7744 7745 // Message returns the exception's message. 7746 func (s *BadGatewayException) Message() string { 7747 if s.Message_ != nil { 7748 return *s.Message_ 7749 } 7750 return "" 7751 } 7752 7753 // OrigErr always returns nil, satisfies awserr.Error interface. 7754 func (s *BadGatewayException) OrigErr() error { 7755 return nil 7756 } 7757 7758 func (s *BadGatewayException) Error() string { 7759 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 7760 } 7761 7762 // Status code returns the HTTP status code for the request's response error. 7763 func (s *BadGatewayException) StatusCode() int { 7764 return s.RespMetadata.StatusCode 7765 } 7766 7767 // RequestID returns the service's response RequestID for request. 7768 func (s *BadGatewayException) RequestID() string { 7769 return s.RespMetadata.RequestID 7770 } 7771 7772 type BadRequestException struct { 7773 _ struct{} `type:"structure"` 7774 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 7775 7776 Message_ *string `locationName:"message" type:"string"` 7777 } 7778 7779 // String returns the string representation. 7780 // 7781 // API parameter values that are decorated as "sensitive" in the API will not 7782 // be included in the string output. The member name will be present, but the 7783 // value will be replaced with "sensitive". 7784 func (s BadRequestException) String() string { 7785 return awsutil.Prettify(s) 7786 } 7787 7788 // GoString returns the string representation. 7789 // 7790 // API parameter values that are decorated as "sensitive" in the API will not 7791 // be included in the string output. The member name will be present, but the 7792 // value will be replaced with "sensitive". 7793 func (s BadRequestException) GoString() string { 7794 return s.String() 7795 } 7796 7797 func newErrorBadRequestException(v protocol.ResponseMetadata) error { 7798 return &BadRequestException{ 7799 RespMetadata: v, 7800 } 7801 } 7802 7803 // Code returns the exception type name. 7804 func (s *BadRequestException) Code() string { 7805 return "BadRequestException" 7806 } 7807 7808 // Message returns the exception's message. 7809 func (s *BadRequestException) Message() string { 7810 if s.Message_ != nil { 7811 return *s.Message_ 7812 } 7813 return "" 7814 } 7815 7816 // OrigErr always returns nil, satisfies awserr.Error interface. 7817 func (s *BadRequestException) OrigErr() error { 7818 return nil 7819 } 7820 7821 func (s *BadRequestException) Error() string { 7822 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 7823 } 7824 7825 // Status code returns the HTTP status code for the request's response error. 7826 func (s *BadRequestException) StatusCode() int { 7827 return s.RespMetadata.StatusCode 7828 } 7829 7830 // RequestID returns the service's response RequestID for request. 7831 func (s *BadRequestException) RequestID() string { 7832 return s.RespMetadata.RequestID 7833 } 7834 7835 type BatchDeleteInput struct { 7836 _ struct{} `type:"structure"` 7837 7838 ChannelIds []*string `locationName:"channelIds" type:"list"` 7839 7840 InputIds []*string `locationName:"inputIds" type:"list"` 7841 7842 InputSecurityGroupIds []*string `locationName:"inputSecurityGroupIds" type:"list"` 7843 7844 MultiplexIds []*string `locationName:"multiplexIds" type:"list"` 7845 } 7846 7847 // String returns the string representation. 7848 // 7849 // API parameter values that are decorated as "sensitive" in the API will not 7850 // be included in the string output. The member name will be present, but the 7851 // value will be replaced with "sensitive". 7852 func (s BatchDeleteInput) String() string { 7853 return awsutil.Prettify(s) 7854 } 7855 7856 // GoString returns the string representation. 7857 // 7858 // API parameter values that are decorated as "sensitive" in the API will not 7859 // be included in the string output. The member name will be present, but the 7860 // value will be replaced with "sensitive". 7861 func (s BatchDeleteInput) GoString() string { 7862 return s.String() 7863 } 7864 7865 // SetChannelIds sets the ChannelIds field's value. 7866 func (s *BatchDeleteInput) SetChannelIds(v []*string) *BatchDeleteInput { 7867 s.ChannelIds = v 7868 return s 7869 } 7870 7871 // SetInputIds sets the InputIds field's value. 7872 func (s *BatchDeleteInput) SetInputIds(v []*string) *BatchDeleteInput { 7873 s.InputIds = v 7874 return s 7875 } 7876 7877 // SetInputSecurityGroupIds sets the InputSecurityGroupIds field's value. 7878 func (s *BatchDeleteInput) SetInputSecurityGroupIds(v []*string) *BatchDeleteInput { 7879 s.InputSecurityGroupIds = v 7880 return s 7881 } 7882 7883 // SetMultiplexIds sets the MultiplexIds field's value. 7884 func (s *BatchDeleteInput) SetMultiplexIds(v []*string) *BatchDeleteInput { 7885 s.MultiplexIds = v 7886 return s 7887 } 7888 7889 type BatchDeleteOutput struct { 7890 _ struct{} `type:"structure"` 7891 7892 Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` 7893 7894 Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` 7895 } 7896 7897 // String returns the string representation. 7898 // 7899 // API parameter values that are decorated as "sensitive" in the API will not 7900 // be included in the string output. The member name will be present, but the 7901 // value will be replaced with "sensitive". 7902 func (s BatchDeleteOutput) String() string { 7903 return awsutil.Prettify(s) 7904 } 7905 7906 // GoString returns the string representation. 7907 // 7908 // API parameter values that are decorated as "sensitive" in the API will not 7909 // be included in the string output. The member name will be present, but the 7910 // value will be replaced with "sensitive". 7911 func (s BatchDeleteOutput) GoString() string { 7912 return s.String() 7913 } 7914 7915 // SetFailed sets the Failed field's value. 7916 func (s *BatchDeleteOutput) SetFailed(v []*BatchFailedResultModel) *BatchDeleteOutput { 7917 s.Failed = v 7918 return s 7919 } 7920 7921 // SetSuccessful sets the Successful field's value. 7922 func (s *BatchDeleteOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchDeleteOutput { 7923 s.Successful = v 7924 return s 7925 } 7926 7927 // Details from a failed operation 7928 type BatchFailedResultModel struct { 7929 _ struct{} `type:"structure"` 7930 7931 // ARN of the resource 7932 Arn *string `locationName:"arn" type:"string"` 7933 7934 // Error code for the failed operation 7935 Code *string `locationName:"code" type:"string"` 7936 7937 // ID of the resource 7938 Id *string `locationName:"id" type:"string"` 7939 7940 // Error message for the failed operation 7941 Message *string `locationName:"message" type:"string"` 7942 } 7943 7944 // String returns the string representation. 7945 // 7946 // API parameter values that are decorated as "sensitive" in the API will not 7947 // be included in the string output. The member name will be present, but the 7948 // value will be replaced with "sensitive". 7949 func (s BatchFailedResultModel) String() string { 7950 return awsutil.Prettify(s) 7951 } 7952 7953 // GoString returns the string representation. 7954 // 7955 // API parameter values that are decorated as "sensitive" in the API will not 7956 // be included in the string output. The member name will be present, but the 7957 // value will be replaced with "sensitive". 7958 func (s BatchFailedResultModel) GoString() string { 7959 return s.String() 7960 } 7961 7962 // SetArn sets the Arn field's value. 7963 func (s *BatchFailedResultModel) SetArn(v string) *BatchFailedResultModel { 7964 s.Arn = &v 7965 return s 7966 } 7967 7968 // SetCode sets the Code field's value. 7969 func (s *BatchFailedResultModel) SetCode(v string) *BatchFailedResultModel { 7970 s.Code = &v 7971 return s 7972 } 7973 7974 // SetId sets the Id field's value. 7975 func (s *BatchFailedResultModel) SetId(v string) *BatchFailedResultModel { 7976 s.Id = &v 7977 return s 7978 } 7979 7980 // SetMessage sets the Message field's value. 7981 func (s *BatchFailedResultModel) SetMessage(v string) *BatchFailedResultModel { 7982 s.Message = &v 7983 return s 7984 } 7985 7986 // A list of schedule actions to create (in a request) or that have been created 7987 // (in a response). 7988 type BatchScheduleActionCreateRequest struct { 7989 _ struct{} `type:"structure"` 7990 7991 // A list of schedule actions to create. 7992 // 7993 // ScheduleActions is a required field 7994 ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` 7995 } 7996 7997 // String returns the string representation. 7998 // 7999 // API parameter values that are decorated as "sensitive" in the API will not 8000 // be included in the string output. The member name will be present, but the 8001 // value will be replaced with "sensitive". 8002 func (s BatchScheduleActionCreateRequest) String() string { 8003 return awsutil.Prettify(s) 8004 } 8005 8006 // GoString returns the string representation. 8007 // 8008 // API parameter values that are decorated as "sensitive" in the API will not 8009 // be included in the string output. The member name will be present, but the 8010 // value will be replaced with "sensitive". 8011 func (s BatchScheduleActionCreateRequest) GoString() string { 8012 return s.String() 8013 } 8014 8015 // Validate inspects the fields of the type to determine if they are valid. 8016 func (s *BatchScheduleActionCreateRequest) Validate() error { 8017 invalidParams := request.ErrInvalidParams{Context: "BatchScheduleActionCreateRequest"} 8018 if s.ScheduleActions == nil { 8019 invalidParams.Add(request.NewErrParamRequired("ScheduleActions")) 8020 } 8021 if s.ScheduleActions != nil { 8022 for i, v := range s.ScheduleActions { 8023 if v == nil { 8024 continue 8025 } 8026 if err := v.Validate(); err != nil { 8027 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ScheduleActions", i), err.(request.ErrInvalidParams)) 8028 } 8029 } 8030 } 8031 8032 if invalidParams.Len() > 0 { 8033 return invalidParams 8034 } 8035 return nil 8036 } 8037 8038 // SetScheduleActions sets the ScheduleActions field's value. 8039 func (s *BatchScheduleActionCreateRequest) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionCreateRequest { 8040 s.ScheduleActions = v 8041 return s 8042 } 8043 8044 // List of actions that have been created in the schedule. 8045 type BatchScheduleActionCreateResult struct { 8046 _ struct{} `type:"structure"` 8047 8048 // List of actions that have been created in the schedule. 8049 // 8050 // ScheduleActions is a required field 8051 ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` 8052 } 8053 8054 // String returns the string representation. 8055 // 8056 // API parameter values that are decorated as "sensitive" in the API will not 8057 // be included in the string output. The member name will be present, but the 8058 // value will be replaced with "sensitive". 8059 func (s BatchScheduleActionCreateResult) String() string { 8060 return awsutil.Prettify(s) 8061 } 8062 8063 // GoString returns the string representation. 8064 // 8065 // API parameter values that are decorated as "sensitive" in the API will not 8066 // be included in the string output. The member name will be present, but the 8067 // value will be replaced with "sensitive". 8068 func (s BatchScheduleActionCreateResult) GoString() string { 8069 return s.String() 8070 } 8071 8072 // SetScheduleActions sets the ScheduleActions field's value. 8073 func (s *BatchScheduleActionCreateResult) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionCreateResult { 8074 s.ScheduleActions = v 8075 return s 8076 } 8077 8078 // A list of schedule actions to delete. 8079 type BatchScheduleActionDeleteRequest struct { 8080 _ struct{} `type:"structure"` 8081 8082 // A list of schedule actions to delete. 8083 // 8084 // ActionNames is a required field 8085 ActionNames []*string `locationName:"actionNames" type:"list" required:"true"` 8086 } 8087 8088 // String returns the string representation. 8089 // 8090 // API parameter values that are decorated as "sensitive" in the API will not 8091 // be included in the string output. The member name will be present, but the 8092 // value will be replaced with "sensitive". 8093 func (s BatchScheduleActionDeleteRequest) String() string { 8094 return awsutil.Prettify(s) 8095 } 8096 8097 // GoString returns the string representation. 8098 // 8099 // API parameter values that are decorated as "sensitive" in the API will not 8100 // be included in the string output. The member name will be present, but the 8101 // value will be replaced with "sensitive". 8102 func (s BatchScheduleActionDeleteRequest) GoString() string { 8103 return s.String() 8104 } 8105 8106 // Validate inspects the fields of the type to determine if they are valid. 8107 func (s *BatchScheduleActionDeleteRequest) Validate() error { 8108 invalidParams := request.ErrInvalidParams{Context: "BatchScheduleActionDeleteRequest"} 8109 if s.ActionNames == nil { 8110 invalidParams.Add(request.NewErrParamRequired("ActionNames")) 8111 } 8112 8113 if invalidParams.Len() > 0 { 8114 return invalidParams 8115 } 8116 return nil 8117 } 8118 8119 // SetActionNames sets the ActionNames field's value. 8120 func (s *BatchScheduleActionDeleteRequest) SetActionNames(v []*string) *BatchScheduleActionDeleteRequest { 8121 s.ActionNames = v 8122 return s 8123 } 8124 8125 // List of actions that have been deleted from the schedule. 8126 type BatchScheduleActionDeleteResult struct { 8127 _ struct{} `type:"structure"` 8128 8129 // List of actions that have been deleted from the schedule. 8130 // 8131 // ScheduleActions is a required field 8132 ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` 8133 } 8134 8135 // String returns the string representation. 8136 // 8137 // API parameter values that are decorated as "sensitive" in the API will not 8138 // be included in the string output. The member name will be present, but the 8139 // value will be replaced with "sensitive". 8140 func (s BatchScheduleActionDeleteResult) String() string { 8141 return awsutil.Prettify(s) 8142 } 8143 8144 // GoString returns the string representation. 8145 // 8146 // API parameter values that are decorated as "sensitive" in the API will not 8147 // be included in the string output. The member name will be present, but the 8148 // value will be replaced with "sensitive". 8149 func (s BatchScheduleActionDeleteResult) GoString() string { 8150 return s.String() 8151 } 8152 8153 // SetScheduleActions sets the ScheduleActions field's value. 8154 func (s *BatchScheduleActionDeleteResult) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionDeleteResult { 8155 s.ScheduleActions = v 8156 return s 8157 } 8158 8159 type BatchStartInput struct { 8160 _ struct{} `type:"structure"` 8161 8162 ChannelIds []*string `locationName:"channelIds" type:"list"` 8163 8164 MultiplexIds []*string `locationName:"multiplexIds" type:"list"` 8165 } 8166 8167 // String returns the string representation. 8168 // 8169 // API parameter values that are decorated as "sensitive" in the API will not 8170 // be included in the string output. The member name will be present, but the 8171 // value will be replaced with "sensitive". 8172 func (s BatchStartInput) String() string { 8173 return awsutil.Prettify(s) 8174 } 8175 8176 // GoString returns the string representation. 8177 // 8178 // API parameter values that are decorated as "sensitive" in the API will not 8179 // be included in the string output. The member name will be present, but the 8180 // value will be replaced with "sensitive". 8181 func (s BatchStartInput) GoString() string { 8182 return s.String() 8183 } 8184 8185 // SetChannelIds sets the ChannelIds field's value. 8186 func (s *BatchStartInput) SetChannelIds(v []*string) *BatchStartInput { 8187 s.ChannelIds = v 8188 return s 8189 } 8190 8191 // SetMultiplexIds sets the MultiplexIds field's value. 8192 func (s *BatchStartInput) SetMultiplexIds(v []*string) *BatchStartInput { 8193 s.MultiplexIds = v 8194 return s 8195 } 8196 8197 type BatchStartOutput struct { 8198 _ struct{} `type:"structure"` 8199 8200 Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` 8201 8202 Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` 8203 } 8204 8205 // String returns the string representation. 8206 // 8207 // API parameter values that are decorated as "sensitive" in the API will not 8208 // be included in the string output. The member name will be present, but the 8209 // value will be replaced with "sensitive". 8210 func (s BatchStartOutput) String() string { 8211 return awsutil.Prettify(s) 8212 } 8213 8214 // GoString returns the string representation. 8215 // 8216 // API parameter values that are decorated as "sensitive" in the API will not 8217 // be included in the string output. The member name will be present, but the 8218 // value will be replaced with "sensitive". 8219 func (s BatchStartOutput) GoString() string { 8220 return s.String() 8221 } 8222 8223 // SetFailed sets the Failed field's value. 8224 func (s *BatchStartOutput) SetFailed(v []*BatchFailedResultModel) *BatchStartOutput { 8225 s.Failed = v 8226 return s 8227 } 8228 8229 // SetSuccessful sets the Successful field's value. 8230 func (s *BatchStartOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStartOutput { 8231 s.Successful = v 8232 return s 8233 } 8234 8235 type BatchStopInput struct { 8236 _ struct{} `type:"structure"` 8237 8238 ChannelIds []*string `locationName:"channelIds" type:"list"` 8239 8240 MultiplexIds []*string `locationName:"multiplexIds" type:"list"` 8241 } 8242 8243 // String returns the string representation. 8244 // 8245 // API parameter values that are decorated as "sensitive" in the API will not 8246 // be included in the string output. The member name will be present, but the 8247 // value will be replaced with "sensitive". 8248 func (s BatchStopInput) String() string { 8249 return awsutil.Prettify(s) 8250 } 8251 8252 // GoString returns the string representation. 8253 // 8254 // API parameter values that are decorated as "sensitive" in the API will not 8255 // be included in the string output. The member name will be present, but the 8256 // value will be replaced with "sensitive". 8257 func (s BatchStopInput) GoString() string { 8258 return s.String() 8259 } 8260 8261 // SetChannelIds sets the ChannelIds field's value. 8262 func (s *BatchStopInput) SetChannelIds(v []*string) *BatchStopInput { 8263 s.ChannelIds = v 8264 return s 8265 } 8266 8267 // SetMultiplexIds sets the MultiplexIds field's value. 8268 func (s *BatchStopInput) SetMultiplexIds(v []*string) *BatchStopInput { 8269 s.MultiplexIds = v 8270 return s 8271 } 8272 8273 type BatchStopOutput struct { 8274 _ struct{} `type:"structure"` 8275 8276 Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` 8277 8278 Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` 8279 } 8280 8281 // String returns the string representation. 8282 // 8283 // API parameter values that are decorated as "sensitive" in the API will not 8284 // be included in the string output. The member name will be present, but the 8285 // value will be replaced with "sensitive". 8286 func (s BatchStopOutput) String() string { 8287 return awsutil.Prettify(s) 8288 } 8289 8290 // GoString returns the string representation. 8291 // 8292 // API parameter values that are decorated as "sensitive" in the API will not 8293 // be included in the string output. The member name will be present, but the 8294 // value will be replaced with "sensitive". 8295 func (s BatchStopOutput) GoString() string { 8296 return s.String() 8297 } 8298 8299 // SetFailed sets the Failed field's value. 8300 func (s *BatchStopOutput) SetFailed(v []*BatchFailedResultModel) *BatchStopOutput { 8301 s.Failed = v 8302 return s 8303 } 8304 8305 // SetSuccessful sets the Successful field's value. 8306 func (s *BatchStopOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStopOutput { 8307 s.Successful = v 8308 return s 8309 } 8310 8311 // Details from a successful operation 8312 type BatchSuccessfulResultModel struct { 8313 _ struct{} `type:"structure"` 8314 8315 // ARN of the resource 8316 Arn *string `locationName:"arn" type:"string"` 8317 8318 // ID of the resource 8319 Id *string `locationName:"id" type:"string"` 8320 8321 // Current state of the resource 8322 State *string `locationName:"state" type:"string"` 8323 } 8324 8325 // String returns the string representation. 8326 // 8327 // API parameter values that are decorated as "sensitive" in the API will not 8328 // be included in the string output. The member name will be present, but the 8329 // value will be replaced with "sensitive". 8330 func (s BatchSuccessfulResultModel) String() string { 8331 return awsutil.Prettify(s) 8332 } 8333 8334 // GoString returns the string representation. 8335 // 8336 // API parameter values that are decorated as "sensitive" in the API will not 8337 // be included in the string output. The member name will be present, but the 8338 // value will be replaced with "sensitive". 8339 func (s BatchSuccessfulResultModel) GoString() string { 8340 return s.String() 8341 } 8342 8343 // SetArn sets the Arn field's value. 8344 func (s *BatchSuccessfulResultModel) SetArn(v string) *BatchSuccessfulResultModel { 8345 s.Arn = &v 8346 return s 8347 } 8348 8349 // SetId sets the Id field's value. 8350 func (s *BatchSuccessfulResultModel) SetId(v string) *BatchSuccessfulResultModel { 8351 s.Id = &v 8352 return s 8353 } 8354 8355 // SetState sets the State field's value. 8356 func (s *BatchSuccessfulResultModel) SetState(v string) *BatchSuccessfulResultModel { 8357 s.State = &v 8358 return s 8359 } 8360 8361 // A request to create actions (add actions to the schedule), delete actions 8362 // (remove actions from the schedule), or both create and delete actions. 8363 type BatchUpdateScheduleInput struct { 8364 _ struct{} `type:"structure"` 8365 8366 // ChannelId is a required field 8367 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 8368 8369 // Schedule actions to create in the schedule. 8370 Creates *BatchScheduleActionCreateRequest `locationName:"creates" type:"structure"` 8371 8372 // Schedule actions to delete from the schedule. 8373 Deletes *BatchScheduleActionDeleteRequest `locationName:"deletes" type:"structure"` 8374 } 8375 8376 // String returns the string representation. 8377 // 8378 // API parameter values that are decorated as "sensitive" in the API will not 8379 // be included in the string output. The member name will be present, but the 8380 // value will be replaced with "sensitive". 8381 func (s BatchUpdateScheduleInput) String() string { 8382 return awsutil.Prettify(s) 8383 } 8384 8385 // GoString returns the string representation. 8386 // 8387 // API parameter values that are decorated as "sensitive" in the API will not 8388 // be included in the string output. The member name will be present, but the 8389 // value will be replaced with "sensitive". 8390 func (s BatchUpdateScheduleInput) GoString() string { 8391 return s.String() 8392 } 8393 8394 // Validate inspects the fields of the type to determine if they are valid. 8395 func (s *BatchUpdateScheduleInput) Validate() error { 8396 invalidParams := request.ErrInvalidParams{Context: "BatchUpdateScheduleInput"} 8397 if s.ChannelId == nil { 8398 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 8399 } 8400 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 8401 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 8402 } 8403 if s.Creates != nil { 8404 if err := s.Creates.Validate(); err != nil { 8405 invalidParams.AddNested("Creates", err.(request.ErrInvalidParams)) 8406 } 8407 } 8408 if s.Deletes != nil { 8409 if err := s.Deletes.Validate(); err != nil { 8410 invalidParams.AddNested("Deletes", err.(request.ErrInvalidParams)) 8411 } 8412 } 8413 8414 if invalidParams.Len() > 0 { 8415 return invalidParams 8416 } 8417 return nil 8418 } 8419 8420 // SetChannelId sets the ChannelId field's value. 8421 func (s *BatchUpdateScheduleInput) SetChannelId(v string) *BatchUpdateScheduleInput { 8422 s.ChannelId = &v 8423 return s 8424 } 8425 8426 // SetCreates sets the Creates field's value. 8427 func (s *BatchUpdateScheduleInput) SetCreates(v *BatchScheduleActionCreateRequest) *BatchUpdateScheduleInput { 8428 s.Creates = v 8429 return s 8430 } 8431 8432 // SetDeletes sets the Deletes field's value. 8433 func (s *BatchUpdateScheduleInput) SetDeletes(v *BatchScheduleActionDeleteRequest) *BatchUpdateScheduleInput { 8434 s.Deletes = v 8435 return s 8436 } 8437 8438 type BatchUpdateScheduleOutput struct { 8439 _ struct{} `type:"structure"` 8440 8441 // List of actions that have been created in the schedule. 8442 Creates *BatchScheduleActionCreateResult `locationName:"creates" type:"structure"` 8443 8444 // List of actions that have been deleted from the schedule. 8445 Deletes *BatchScheduleActionDeleteResult `locationName:"deletes" type:"structure"` 8446 } 8447 8448 // String returns the string representation. 8449 // 8450 // API parameter values that are decorated as "sensitive" in the API will not 8451 // be included in the string output. The member name will be present, but the 8452 // value will be replaced with "sensitive". 8453 func (s BatchUpdateScheduleOutput) String() string { 8454 return awsutil.Prettify(s) 8455 } 8456 8457 // GoString returns the string representation. 8458 // 8459 // API parameter values that are decorated as "sensitive" in the API will not 8460 // be included in the string output. The member name will be present, but the 8461 // value will be replaced with "sensitive". 8462 func (s BatchUpdateScheduleOutput) GoString() string { 8463 return s.String() 8464 } 8465 8466 // SetCreates sets the Creates field's value. 8467 func (s *BatchUpdateScheduleOutput) SetCreates(v *BatchScheduleActionCreateResult) *BatchUpdateScheduleOutput { 8468 s.Creates = v 8469 return s 8470 } 8471 8472 // SetDeletes sets the Deletes field's value. 8473 func (s *BatchUpdateScheduleOutput) SetDeletes(v *BatchScheduleActionDeleteResult) *BatchUpdateScheduleOutput { 8474 s.Deletes = v 8475 return s 8476 } 8477 8478 // Blackout Slate 8479 type BlackoutSlate struct { 8480 _ struct{} `type:"structure"` 8481 8482 // Blackout slate image to be used. Leave empty for solid black. Only bmp and 8483 // png images are supported. 8484 BlackoutSlateImage *InputLocation `locationName:"blackoutSlateImage" type:"structure"` 8485 8486 // Setting to enabled causes the encoder to blackout the video, audio, and captions, 8487 // and raise the "Network Blackout Image" slate when an SCTE104/35 Network End 8488 // Segmentation Descriptor is encountered. The blackout will be lifted when 8489 // the Network Start Segmentation Descriptor is encountered. The Network End 8490 // and Network Start descriptors must contain a network ID that matches the 8491 // value entered in "Network ID". 8492 NetworkEndBlackout *string `locationName:"networkEndBlackout" type:"string" enum:"BlackoutSlateNetworkEndBlackout"` 8493 8494 // Path to local file to use as Network End Blackout image. Image will be scaled 8495 // to fill the entire output raster. 8496 NetworkEndBlackoutImage *InputLocation `locationName:"networkEndBlackoutImage" type:"structure"` 8497 8498 // Provides Network ID that matches EIDR ID format (e.g., "10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C"). 8499 NetworkId *string `locationName:"networkId" min:"34" type:"string"` 8500 8501 // When set to enabled, causes video, audio and captions to be blanked when 8502 // indicated by program metadata. 8503 State *string `locationName:"state" type:"string" enum:"BlackoutSlateState"` 8504 } 8505 8506 // String returns the string representation. 8507 // 8508 // API parameter values that are decorated as "sensitive" in the API will not 8509 // be included in the string output. The member name will be present, but the 8510 // value will be replaced with "sensitive". 8511 func (s BlackoutSlate) String() string { 8512 return awsutil.Prettify(s) 8513 } 8514 8515 // GoString returns the string representation. 8516 // 8517 // API parameter values that are decorated as "sensitive" in the API will not 8518 // be included in the string output. The member name will be present, but the 8519 // value will be replaced with "sensitive". 8520 func (s BlackoutSlate) GoString() string { 8521 return s.String() 8522 } 8523 8524 // Validate inspects the fields of the type to determine if they are valid. 8525 func (s *BlackoutSlate) Validate() error { 8526 invalidParams := request.ErrInvalidParams{Context: "BlackoutSlate"} 8527 if s.NetworkId != nil && len(*s.NetworkId) < 34 { 8528 invalidParams.Add(request.NewErrParamMinLen("NetworkId", 34)) 8529 } 8530 if s.BlackoutSlateImage != nil { 8531 if err := s.BlackoutSlateImage.Validate(); err != nil { 8532 invalidParams.AddNested("BlackoutSlateImage", err.(request.ErrInvalidParams)) 8533 } 8534 } 8535 if s.NetworkEndBlackoutImage != nil { 8536 if err := s.NetworkEndBlackoutImage.Validate(); err != nil { 8537 invalidParams.AddNested("NetworkEndBlackoutImage", err.(request.ErrInvalidParams)) 8538 } 8539 } 8540 8541 if invalidParams.Len() > 0 { 8542 return invalidParams 8543 } 8544 return nil 8545 } 8546 8547 // SetBlackoutSlateImage sets the BlackoutSlateImage field's value. 8548 func (s *BlackoutSlate) SetBlackoutSlateImage(v *InputLocation) *BlackoutSlate { 8549 s.BlackoutSlateImage = v 8550 return s 8551 } 8552 8553 // SetNetworkEndBlackout sets the NetworkEndBlackout field's value. 8554 func (s *BlackoutSlate) SetNetworkEndBlackout(v string) *BlackoutSlate { 8555 s.NetworkEndBlackout = &v 8556 return s 8557 } 8558 8559 // SetNetworkEndBlackoutImage sets the NetworkEndBlackoutImage field's value. 8560 func (s *BlackoutSlate) SetNetworkEndBlackoutImage(v *InputLocation) *BlackoutSlate { 8561 s.NetworkEndBlackoutImage = v 8562 return s 8563 } 8564 8565 // SetNetworkId sets the NetworkId field's value. 8566 func (s *BlackoutSlate) SetNetworkId(v string) *BlackoutSlate { 8567 s.NetworkId = &v 8568 return s 8569 } 8570 8571 // SetState sets the State field's value. 8572 func (s *BlackoutSlate) SetState(v string) *BlackoutSlate { 8573 s.State = &v 8574 return s 8575 } 8576 8577 // Burn In Destination Settings 8578 type BurnInDestinationSettings struct { 8579 _ struct{} `type:"structure"` 8580 8581 // If no explicit xPosition or yPosition is provided, setting alignment to centered 8582 // will place the captions at the bottom center of the output. Similarly, setting 8583 // a left alignment will align captions to the bottom left of the output. If 8584 // x and y positions are given in conjunction with the alignment parameter, 8585 // the font will be justified (either left or centered) relative to those coordinates. 8586 // Selecting "smart" justification will left-justify live subtitles and center-justify 8587 // pre-recorded subtitles. All burn-in and DVB-Sub font settings must match. 8588 Alignment *string `locationName:"alignment" type:"string" enum:"BurnInAlignment"` 8589 8590 // Specifies the color of the rectangle behind the captions. All burn-in and 8591 // DVB-Sub font settings must match. 8592 BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"BurnInBackgroundColor"` 8593 8594 // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. 8595 // Leaving this parameter out is equivalent to setting it to 0 (transparent). 8596 // All burn-in and DVB-Sub font settings must match. 8597 BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` 8598 8599 // External font file used for caption burn-in. File extension must be 'ttf' 8600 // or 'tte'. Although the user can select output fonts for many different types 8601 // of input captions, embedded, STL and teletext sources use a strict grid system. 8602 // Using external fonts with these caption sources could cause unexpected display 8603 // of proportional fonts. All burn-in and DVB-Sub font settings must match. 8604 Font *InputLocation `locationName:"font" type:"structure"` 8605 8606 // Specifies the color of the burned-in captions. This option is not valid for 8607 // source captions that are STL, 608/embedded or teletext. These source settings 8608 // are already pre-defined by the caption stream. All burn-in and DVB-Sub font 8609 // settings must match. 8610 FontColor *string `locationName:"fontColor" type:"string" enum:"BurnInFontColor"` 8611 8612 // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. 8613 // All burn-in and DVB-Sub font settings must match. 8614 FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` 8615 8616 // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and 8617 // DVB-Sub font settings must match. 8618 FontResolution *int64 `locationName:"fontResolution" min:"96" type:"integer"` 8619 8620 // When set to 'auto' fontSize will scale depending on the size of the output. 8621 // Giving a positive integer will specify the exact font size in points. All 8622 // burn-in and DVB-Sub font settings must match. 8623 FontSize *string `locationName:"fontSize" type:"string"` 8624 8625 // Specifies font outline color. This option is not valid for source captions 8626 // that are either 608/embedded or teletext. These source settings are already 8627 // pre-defined by the caption stream. All burn-in and DVB-Sub font settings 8628 // must match. 8629 OutlineColor *string `locationName:"outlineColor" type:"string" enum:"BurnInOutlineColor"` 8630 8631 // Specifies font outline size in pixels. This option is not valid for source 8632 // captions that are either 608/embedded or teletext. These source settings 8633 // are already pre-defined by the caption stream. All burn-in and DVB-Sub font 8634 // settings must match. 8635 OutlineSize *int64 `locationName:"outlineSize" type:"integer"` 8636 8637 // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub 8638 // font settings must match. 8639 ShadowColor *string `locationName:"shadowColor" type:"string" enum:"BurnInShadowColor"` 8640 8641 // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving 8642 // this parameter out is equivalent to setting it to 0 (transparent). All burn-in 8643 // and DVB-Sub font settings must match. 8644 ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` 8645 8646 // Specifies the horizontal offset of the shadow relative to the captions in 8647 // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. 8648 // All burn-in and DVB-Sub font settings must match. 8649 ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` 8650 8651 // Specifies the vertical offset of the shadow relative to the captions in pixels. 8652 // A value of -2 would result in a shadow offset 2 pixels above the text. All 8653 // burn-in and DVB-Sub font settings must match. 8654 ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` 8655 8656 // Controls whether a fixed grid size will be used to generate the output subtitles 8657 // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. 8658 TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"BurnInTeletextGridControl"` 8659 8660 // Specifies the horizontal position of the caption relative to the left side 8661 // of the output in pixels. A value of 10 would result in the captions starting 8662 // 10 pixels from the left of the output. If no explicit xPosition is provided, 8663 // the horizontal caption position will be determined by the alignment parameter. 8664 // All burn-in and DVB-Sub font settings must match. 8665 XPosition *int64 `locationName:"xPosition" type:"integer"` 8666 8667 // Specifies the vertical position of the caption relative to the top of the 8668 // output in pixels. A value of 10 would result in the captions starting 10 8669 // pixels from the top of the output. If no explicit yPosition is provided, 8670 // the caption will be positioned towards the bottom of the output. All burn-in 8671 // and DVB-Sub font settings must match. 8672 YPosition *int64 `locationName:"yPosition" type:"integer"` 8673 } 8674 8675 // String returns the string representation. 8676 // 8677 // API parameter values that are decorated as "sensitive" in the API will not 8678 // be included in the string output. The member name will be present, but the 8679 // value will be replaced with "sensitive". 8680 func (s BurnInDestinationSettings) String() string { 8681 return awsutil.Prettify(s) 8682 } 8683 8684 // GoString returns the string representation. 8685 // 8686 // API parameter values that are decorated as "sensitive" in the API will not 8687 // be included in the string output. The member name will be present, but the 8688 // value will be replaced with "sensitive". 8689 func (s BurnInDestinationSettings) GoString() string { 8690 return s.String() 8691 } 8692 8693 // Validate inspects the fields of the type to determine if they are valid. 8694 func (s *BurnInDestinationSettings) Validate() error { 8695 invalidParams := request.ErrInvalidParams{Context: "BurnInDestinationSettings"} 8696 if s.FontResolution != nil && *s.FontResolution < 96 { 8697 invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) 8698 } 8699 if s.Font != nil { 8700 if err := s.Font.Validate(); err != nil { 8701 invalidParams.AddNested("Font", err.(request.ErrInvalidParams)) 8702 } 8703 } 8704 8705 if invalidParams.Len() > 0 { 8706 return invalidParams 8707 } 8708 return nil 8709 } 8710 8711 // SetAlignment sets the Alignment field's value. 8712 func (s *BurnInDestinationSettings) SetAlignment(v string) *BurnInDestinationSettings { 8713 s.Alignment = &v 8714 return s 8715 } 8716 8717 // SetBackgroundColor sets the BackgroundColor field's value. 8718 func (s *BurnInDestinationSettings) SetBackgroundColor(v string) *BurnInDestinationSettings { 8719 s.BackgroundColor = &v 8720 return s 8721 } 8722 8723 // SetBackgroundOpacity sets the BackgroundOpacity field's value. 8724 func (s *BurnInDestinationSettings) SetBackgroundOpacity(v int64) *BurnInDestinationSettings { 8725 s.BackgroundOpacity = &v 8726 return s 8727 } 8728 8729 // SetFont sets the Font field's value. 8730 func (s *BurnInDestinationSettings) SetFont(v *InputLocation) *BurnInDestinationSettings { 8731 s.Font = v 8732 return s 8733 } 8734 8735 // SetFontColor sets the FontColor field's value. 8736 func (s *BurnInDestinationSettings) SetFontColor(v string) *BurnInDestinationSettings { 8737 s.FontColor = &v 8738 return s 8739 } 8740 8741 // SetFontOpacity sets the FontOpacity field's value. 8742 func (s *BurnInDestinationSettings) SetFontOpacity(v int64) *BurnInDestinationSettings { 8743 s.FontOpacity = &v 8744 return s 8745 } 8746 8747 // SetFontResolution sets the FontResolution field's value. 8748 func (s *BurnInDestinationSettings) SetFontResolution(v int64) *BurnInDestinationSettings { 8749 s.FontResolution = &v 8750 return s 8751 } 8752 8753 // SetFontSize sets the FontSize field's value. 8754 func (s *BurnInDestinationSettings) SetFontSize(v string) *BurnInDestinationSettings { 8755 s.FontSize = &v 8756 return s 8757 } 8758 8759 // SetOutlineColor sets the OutlineColor field's value. 8760 func (s *BurnInDestinationSettings) SetOutlineColor(v string) *BurnInDestinationSettings { 8761 s.OutlineColor = &v 8762 return s 8763 } 8764 8765 // SetOutlineSize sets the OutlineSize field's value. 8766 func (s *BurnInDestinationSettings) SetOutlineSize(v int64) *BurnInDestinationSettings { 8767 s.OutlineSize = &v 8768 return s 8769 } 8770 8771 // SetShadowColor sets the ShadowColor field's value. 8772 func (s *BurnInDestinationSettings) SetShadowColor(v string) *BurnInDestinationSettings { 8773 s.ShadowColor = &v 8774 return s 8775 } 8776 8777 // SetShadowOpacity sets the ShadowOpacity field's value. 8778 func (s *BurnInDestinationSettings) SetShadowOpacity(v int64) *BurnInDestinationSettings { 8779 s.ShadowOpacity = &v 8780 return s 8781 } 8782 8783 // SetShadowXOffset sets the ShadowXOffset field's value. 8784 func (s *BurnInDestinationSettings) SetShadowXOffset(v int64) *BurnInDestinationSettings { 8785 s.ShadowXOffset = &v 8786 return s 8787 } 8788 8789 // SetShadowYOffset sets the ShadowYOffset field's value. 8790 func (s *BurnInDestinationSettings) SetShadowYOffset(v int64) *BurnInDestinationSettings { 8791 s.ShadowYOffset = &v 8792 return s 8793 } 8794 8795 // SetTeletextGridControl sets the TeletextGridControl field's value. 8796 func (s *BurnInDestinationSettings) SetTeletextGridControl(v string) *BurnInDestinationSettings { 8797 s.TeletextGridControl = &v 8798 return s 8799 } 8800 8801 // SetXPosition sets the XPosition field's value. 8802 func (s *BurnInDestinationSettings) SetXPosition(v int64) *BurnInDestinationSettings { 8803 s.XPosition = &v 8804 return s 8805 } 8806 8807 // SetYPosition sets the YPosition field's value. 8808 func (s *BurnInDestinationSettings) SetYPosition(v int64) *BurnInDestinationSettings { 8809 s.YPosition = &v 8810 return s 8811 } 8812 8813 type CancelInputDeviceTransferInput struct { 8814 _ struct{} `type:"structure" nopayload:"true"` 8815 8816 // InputDeviceId is a required field 8817 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 8818 } 8819 8820 // String returns the string representation. 8821 // 8822 // API parameter values that are decorated as "sensitive" in the API will not 8823 // be included in the string output. The member name will be present, but the 8824 // value will be replaced with "sensitive". 8825 func (s CancelInputDeviceTransferInput) String() string { 8826 return awsutil.Prettify(s) 8827 } 8828 8829 // GoString returns the string representation. 8830 // 8831 // API parameter values that are decorated as "sensitive" in the API will not 8832 // be included in the string output. The member name will be present, but the 8833 // value will be replaced with "sensitive". 8834 func (s CancelInputDeviceTransferInput) GoString() string { 8835 return s.String() 8836 } 8837 8838 // Validate inspects the fields of the type to determine if they are valid. 8839 func (s *CancelInputDeviceTransferInput) Validate() error { 8840 invalidParams := request.ErrInvalidParams{Context: "CancelInputDeviceTransferInput"} 8841 if s.InputDeviceId == nil { 8842 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 8843 } 8844 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 8845 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 8846 } 8847 8848 if invalidParams.Len() > 0 { 8849 return invalidParams 8850 } 8851 return nil 8852 } 8853 8854 // SetInputDeviceId sets the InputDeviceId field's value. 8855 func (s *CancelInputDeviceTransferInput) SetInputDeviceId(v string) *CancelInputDeviceTransferInput { 8856 s.InputDeviceId = &v 8857 return s 8858 } 8859 8860 type CancelInputDeviceTransferOutput struct { 8861 _ struct{} `type:"structure" nopayload:"true"` 8862 } 8863 8864 // String returns the string representation. 8865 // 8866 // API parameter values that are decorated as "sensitive" in the API will not 8867 // be included in the string output. The member name will be present, but the 8868 // value will be replaced with "sensitive". 8869 func (s CancelInputDeviceTransferOutput) String() string { 8870 return awsutil.Prettify(s) 8871 } 8872 8873 // GoString returns the string representation. 8874 // 8875 // API parameter values that are decorated as "sensitive" in the API will not 8876 // be included in the string output. The member name will be present, but the 8877 // value will be replaced with "sensitive". 8878 func (s CancelInputDeviceTransferOutput) GoString() string { 8879 return s.String() 8880 } 8881 8882 // Caption Description 8883 type CaptionDescription struct { 8884 _ struct{} `type:"structure"` 8885 8886 // Specifies which input caption selector to use as a caption source when generating 8887 // output captions. This field should match a captionSelector name. 8888 // 8889 // CaptionSelectorName is a required field 8890 CaptionSelectorName *string `locationName:"captionSelectorName" type:"string" required:"true"` 8891 8892 // Additional settings for captions destination that depend on the destination 8893 // type. 8894 DestinationSettings *CaptionDestinationSettings `locationName:"destinationSettings" type:"structure"` 8895 8896 // ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/ 8897 LanguageCode *string `locationName:"languageCode" type:"string"` 8898 8899 // Human readable information to indicate captions available for players (eg. 8900 // English, or Spanish). 8901 LanguageDescription *string `locationName:"languageDescription" type:"string"` 8902 8903 // Name of the caption description. Used to associate a caption description 8904 // with an output. Names must be unique within an event. 8905 // 8906 // Name is a required field 8907 Name *string `locationName:"name" type:"string" required:"true"` 8908 } 8909 8910 // String returns the string representation. 8911 // 8912 // API parameter values that are decorated as "sensitive" in the API will not 8913 // be included in the string output. The member name will be present, but the 8914 // value will be replaced with "sensitive". 8915 func (s CaptionDescription) String() string { 8916 return awsutil.Prettify(s) 8917 } 8918 8919 // GoString returns the string representation. 8920 // 8921 // API parameter values that are decorated as "sensitive" in the API will not 8922 // be included in the string output. The member name will be present, but the 8923 // value will be replaced with "sensitive". 8924 func (s CaptionDescription) GoString() string { 8925 return s.String() 8926 } 8927 8928 // Validate inspects the fields of the type to determine if they are valid. 8929 func (s *CaptionDescription) Validate() error { 8930 invalidParams := request.ErrInvalidParams{Context: "CaptionDescription"} 8931 if s.CaptionSelectorName == nil { 8932 invalidParams.Add(request.NewErrParamRequired("CaptionSelectorName")) 8933 } 8934 if s.Name == nil { 8935 invalidParams.Add(request.NewErrParamRequired("Name")) 8936 } 8937 if s.DestinationSettings != nil { 8938 if err := s.DestinationSettings.Validate(); err != nil { 8939 invalidParams.AddNested("DestinationSettings", err.(request.ErrInvalidParams)) 8940 } 8941 } 8942 8943 if invalidParams.Len() > 0 { 8944 return invalidParams 8945 } 8946 return nil 8947 } 8948 8949 // SetCaptionSelectorName sets the CaptionSelectorName field's value. 8950 func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { 8951 s.CaptionSelectorName = &v 8952 return s 8953 } 8954 8955 // SetDestinationSettings sets the DestinationSettings field's value. 8956 func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { 8957 s.DestinationSettings = v 8958 return s 8959 } 8960 8961 // SetLanguageCode sets the LanguageCode field's value. 8962 func (s *CaptionDescription) SetLanguageCode(v string) *CaptionDescription { 8963 s.LanguageCode = &v 8964 return s 8965 } 8966 8967 // SetLanguageDescription sets the LanguageDescription field's value. 8968 func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { 8969 s.LanguageDescription = &v 8970 return s 8971 } 8972 8973 // SetName sets the Name field's value. 8974 func (s *CaptionDescription) SetName(v string) *CaptionDescription { 8975 s.Name = &v 8976 return s 8977 } 8978 8979 // Caption Destination Settings 8980 type CaptionDestinationSettings struct { 8981 _ struct{} `type:"structure"` 8982 8983 // Arib Destination Settings 8984 AribDestinationSettings *AribDestinationSettings `locationName:"aribDestinationSettings" type:"structure"` 8985 8986 // Burn In Destination Settings 8987 BurnInDestinationSettings *BurnInDestinationSettings `locationName:"burnInDestinationSettings" type:"structure"` 8988 8989 // Dvb Sub Destination Settings 8990 DvbSubDestinationSettings *DvbSubDestinationSettings `locationName:"dvbSubDestinationSettings" type:"structure"` 8991 8992 // Ebu Tt DDestination Settings 8993 EbuTtDDestinationSettings *EbuTtDDestinationSettings `locationName:"ebuTtDDestinationSettings" type:"structure"` 8994 8995 // Embedded Destination Settings 8996 EmbeddedDestinationSettings *EmbeddedDestinationSettings `locationName:"embeddedDestinationSettings" type:"structure"` 8997 8998 // Embedded Plus Scte20 Destination Settings 8999 EmbeddedPlusScte20DestinationSettings *EmbeddedPlusScte20DestinationSettings `locationName:"embeddedPlusScte20DestinationSettings" type:"structure"` 9000 9001 // Rtmp Caption Info Destination Settings 9002 RtmpCaptionInfoDestinationSettings *RtmpCaptionInfoDestinationSettings `locationName:"rtmpCaptionInfoDestinationSettings" type:"structure"` 9003 9004 // Scte20 Plus Embedded Destination Settings 9005 Scte20PlusEmbeddedDestinationSettings *Scte20PlusEmbeddedDestinationSettings `locationName:"scte20PlusEmbeddedDestinationSettings" type:"structure"` 9006 9007 // Scte27 Destination Settings 9008 Scte27DestinationSettings *Scte27DestinationSettings `locationName:"scte27DestinationSettings" type:"structure"` 9009 9010 // Smpte Tt Destination Settings 9011 SmpteTtDestinationSettings *SmpteTtDestinationSettings `locationName:"smpteTtDestinationSettings" type:"structure"` 9012 9013 // Teletext Destination Settings 9014 TeletextDestinationSettings *TeletextDestinationSettings `locationName:"teletextDestinationSettings" type:"structure"` 9015 9016 // Ttml Destination Settings 9017 TtmlDestinationSettings *TtmlDestinationSettings `locationName:"ttmlDestinationSettings" type:"structure"` 9018 9019 // Webvtt Destination Settings 9020 WebvttDestinationSettings *WebvttDestinationSettings `locationName:"webvttDestinationSettings" type:"structure"` 9021 } 9022 9023 // String returns the string representation. 9024 // 9025 // API parameter values that are decorated as "sensitive" in the API will not 9026 // be included in the string output. The member name will be present, but the 9027 // value will be replaced with "sensitive". 9028 func (s CaptionDestinationSettings) String() string { 9029 return awsutil.Prettify(s) 9030 } 9031 9032 // GoString returns the string representation. 9033 // 9034 // API parameter values that are decorated as "sensitive" in the API will not 9035 // be included in the string output. The member name will be present, but the 9036 // value will be replaced with "sensitive". 9037 func (s CaptionDestinationSettings) GoString() string { 9038 return s.String() 9039 } 9040 9041 // Validate inspects the fields of the type to determine if they are valid. 9042 func (s *CaptionDestinationSettings) Validate() error { 9043 invalidParams := request.ErrInvalidParams{Context: "CaptionDestinationSettings"} 9044 if s.BurnInDestinationSettings != nil { 9045 if err := s.BurnInDestinationSettings.Validate(); err != nil { 9046 invalidParams.AddNested("BurnInDestinationSettings", err.(request.ErrInvalidParams)) 9047 } 9048 } 9049 if s.DvbSubDestinationSettings != nil { 9050 if err := s.DvbSubDestinationSettings.Validate(); err != nil { 9051 invalidParams.AddNested("DvbSubDestinationSettings", err.(request.ErrInvalidParams)) 9052 } 9053 } 9054 9055 if invalidParams.Len() > 0 { 9056 return invalidParams 9057 } 9058 return nil 9059 } 9060 9061 // SetAribDestinationSettings sets the AribDestinationSettings field's value. 9062 func (s *CaptionDestinationSettings) SetAribDestinationSettings(v *AribDestinationSettings) *CaptionDestinationSettings { 9063 s.AribDestinationSettings = v 9064 return s 9065 } 9066 9067 // SetBurnInDestinationSettings sets the BurnInDestinationSettings field's value. 9068 func (s *CaptionDestinationSettings) SetBurnInDestinationSettings(v *BurnInDestinationSettings) *CaptionDestinationSettings { 9069 s.BurnInDestinationSettings = v 9070 return s 9071 } 9072 9073 // SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. 9074 func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { 9075 s.DvbSubDestinationSettings = v 9076 return s 9077 } 9078 9079 // SetEbuTtDDestinationSettings sets the EbuTtDDestinationSettings field's value. 9080 func (s *CaptionDestinationSettings) SetEbuTtDDestinationSettings(v *EbuTtDDestinationSettings) *CaptionDestinationSettings { 9081 s.EbuTtDDestinationSettings = v 9082 return s 9083 } 9084 9085 // SetEmbeddedDestinationSettings sets the EmbeddedDestinationSettings field's value. 9086 func (s *CaptionDestinationSettings) SetEmbeddedDestinationSettings(v *EmbeddedDestinationSettings) *CaptionDestinationSettings { 9087 s.EmbeddedDestinationSettings = v 9088 return s 9089 } 9090 9091 // SetEmbeddedPlusScte20DestinationSettings sets the EmbeddedPlusScte20DestinationSettings field's value. 9092 func (s *CaptionDestinationSettings) SetEmbeddedPlusScte20DestinationSettings(v *EmbeddedPlusScte20DestinationSettings) *CaptionDestinationSettings { 9093 s.EmbeddedPlusScte20DestinationSettings = v 9094 return s 9095 } 9096 9097 // SetRtmpCaptionInfoDestinationSettings sets the RtmpCaptionInfoDestinationSettings field's value. 9098 func (s *CaptionDestinationSettings) SetRtmpCaptionInfoDestinationSettings(v *RtmpCaptionInfoDestinationSettings) *CaptionDestinationSettings { 9099 s.RtmpCaptionInfoDestinationSettings = v 9100 return s 9101 } 9102 9103 // SetScte20PlusEmbeddedDestinationSettings sets the Scte20PlusEmbeddedDestinationSettings field's value. 9104 func (s *CaptionDestinationSettings) SetScte20PlusEmbeddedDestinationSettings(v *Scte20PlusEmbeddedDestinationSettings) *CaptionDestinationSettings { 9105 s.Scte20PlusEmbeddedDestinationSettings = v 9106 return s 9107 } 9108 9109 // SetScte27DestinationSettings sets the Scte27DestinationSettings field's value. 9110 func (s *CaptionDestinationSettings) SetScte27DestinationSettings(v *Scte27DestinationSettings) *CaptionDestinationSettings { 9111 s.Scte27DestinationSettings = v 9112 return s 9113 } 9114 9115 // SetSmpteTtDestinationSettings sets the SmpteTtDestinationSettings field's value. 9116 func (s *CaptionDestinationSettings) SetSmpteTtDestinationSettings(v *SmpteTtDestinationSettings) *CaptionDestinationSettings { 9117 s.SmpteTtDestinationSettings = v 9118 return s 9119 } 9120 9121 // SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. 9122 func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { 9123 s.TeletextDestinationSettings = v 9124 return s 9125 } 9126 9127 // SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. 9128 func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { 9129 s.TtmlDestinationSettings = v 9130 return s 9131 } 9132 9133 // SetWebvttDestinationSettings sets the WebvttDestinationSettings field's value. 9134 func (s *CaptionDestinationSettings) SetWebvttDestinationSettings(v *WebvttDestinationSettings) *CaptionDestinationSettings { 9135 s.WebvttDestinationSettings = v 9136 return s 9137 } 9138 9139 // Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), 9140 // with an optional description. 9141 type CaptionLanguageMapping struct { 9142 _ struct{} `type:"structure"` 9143 9144 // The closed caption channel being described by this CaptionLanguageMapping. 9145 // Each channel mapping must have a unique channel number (maximum of 4) 9146 // 9147 // CaptionChannel is a required field 9148 CaptionChannel *int64 `locationName:"captionChannel" min:"1" type:"integer" required:"true"` 9149 9150 // Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2) 9151 // 9152 // LanguageCode is a required field 9153 LanguageCode *string `locationName:"languageCode" min:"3" type:"string" required:"true"` 9154 9155 // Textual description of language 9156 // 9157 // LanguageDescription is a required field 9158 LanguageDescription *string `locationName:"languageDescription" min:"1" type:"string" required:"true"` 9159 } 9160 9161 // String returns the string representation. 9162 // 9163 // API parameter values that are decorated as "sensitive" in the API will not 9164 // be included in the string output. The member name will be present, but the 9165 // value will be replaced with "sensitive". 9166 func (s CaptionLanguageMapping) String() string { 9167 return awsutil.Prettify(s) 9168 } 9169 9170 // GoString returns the string representation. 9171 // 9172 // API parameter values that are decorated as "sensitive" in the API will not 9173 // be included in the string output. The member name will be present, but the 9174 // value will be replaced with "sensitive". 9175 func (s CaptionLanguageMapping) GoString() string { 9176 return s.String() 9177 } 9178 9179 // Validate inspects the fields of the type to determine if they are valid. 9180 func (s *CaptionLanguageMapping) Validate() error { 9181 invalidParams := request.ErrInvalidParams{Context: "CaptionLanguageMapping"} 9182 if s.CaptionChannel == nil { 9183 invalidParams.Add(request.NewErrParamRequired("CaptionChannel")) 9184 } 9185 if s.CaptionChannel != nil && *s.CaptionChannel < 1 { 9186 invalidParams.Add(request.NewErrParamMinValue("CaptionChannel", 1)) 9187 } 9188 if s.LanguageCode == nil { 9189 invalidParams.Add(request.NewErrParamRequired("LanguageCode")) 9190 } 9191 if s.LanguageCode != nil && len(*s.LanguageCode) < 3 { 9192 invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 3)) 9193 } 9194 if s.LanguageDescription == nil { 9195 invalidParams.Add(request.NewErrParamRequired("LanguageDescription")) 9196 } 9197 if s.LanguageDescription != nil && len(*s.LanguageDescription) < 1 { 9198 invalidParams.Add(request.NewErrParamMinLen("LanguageDescription", 1)) 9199 } 9200 9201 if invalidParams.Len() > 0 { 9202 return invalidParams 9203 } 9204 return nil 9205 } 9206 9207 // SetCaptionChannel sets the CaptionChannel field's value. 9208 func (s *CaptionLanguageMapping) SetCaptionChannel(v int64) *CaptionLanguageMapping { 9209 s.CaptionChannel = &v 9210 return s 9211 } 9212 9213 // SetLanguageCode sets the LanguageCode field's value. 9214 func (s *CaptionLanguageMapping) SetLanguageCode(v string) *CaptionLanguageMapping { 9215 s.LanguageCode = &v 9216 return s 9217 } 9218 9219 // SetLanguageDescription sets the LanguageDescription field's value. 9220 func (s *CaptionLanguageMapping) SetLanguageDescription(v string) *CaptionLanguageMapping { 9221 s.LanguageDescription = &v 9222 return s 9223 } 9224 9225 // Caption Rectangle 9226 type CaptionRectangle struct { 9227 _ struct{} `type:"structure"` 9228 9229 // See the description in leftOffset.For height, specify the entire height of 9230 // the rectangle as a percentage of the underlying frame height. For example, 9231 // \"80\" means the rectangle height is 80% of the underlying frame height. 9232 // The topOffset and rectangleHeight must add up to 100% or less.This field 9233 // corresponds to tts:extent - Y in the TTML standard. 9234 // 9235 // Height is a required field 9236 Height *float64 `locationName:"height" type:"double" required:"true"` 9237 9238 // Applies only if you plan to convert these source captions to EBU-TT-D or 9239 // TTML in an output. (Make sure to leave the default if you don't have either 9240 // of these formats in the output.) You can define a display rectangle for the 9241 // captions that is smaller than the underlying video frame. You define the 9242 // rectangle by specifying the position of the left edge, top edge, bottom edge, 9243 // and right edge of the rectangle, all within the underlying video frame. The 9244 // units for the measurements are percentages.If you specify a value for one 9245 // of these fields, you must specify a value for all of them.For leftOffset, 9246 // specify the position of the left edge of the rectangle, as a percentage of 9247 // the underlying frame width, and relative to the left edge of the frame. For 9248 // example, \"10\" means the measurement is 10% of the underlying frame width. 9249 // The rectangle left edge starts at that position from the left edge of the 9250 // frame.This field corresponds to tts:origin - X in the TTML standard. 9251 // 9252 // LeftOffset is a required field 9253 LeftOffset *float64 `locationName:"leftOffset" type:"double" required:"true"` 9254 9255 // See the description in leftOffset.For topOffset, specify the position of 9256 // the top edge of the rectangle, as a percentage of the underlying frame height, 9257 // and relative to the top edge of the frame. For example, \"10\" means the 9258 // measurement is 10% of the underlying frame height. The rectangle top edge 9259 // starts at that position from the top edge of the frame.This field corresponds 9260 // to tts:origin - Y in the TTML standard. 9261 // 9262 // TopOffset is a required field 9263 TopOffset *float64 `locationName:"topOffset" type:"double" required:"true"` 9264 9265 // See the description in leftOffset.For width, specify the entire width of 9266 // the rectangle as a percentage of the underlying frame width. For example, 9267 // \"80\" means the rectangle width is 80% of the underlying frame width. The 9268 // leftOffset and rectangleWidth must add up to 100% or less.This field corresponds 9269 // to tts:extent - X in the TTML standard. 9270 // 9271 // Width is a required field 9272 Width *float64 `locationName:"width" type:"double" required:"true"` 9273 } 9274 9275 // String returns the string representation. 9276 // 9277 // API parameter values that are decorated as "sensitive" in the API will not 9278 // be included in the string output. The member name will be present, but the 9279 // value will be replaced with "sensitive". 9280 func (s CaptionRectangle) String() string { 9281 return awsutil.Prettify(s) 9282 } 9283 9284 // GoString returns the string representation. 9285 // 9286 // API parameter values that are decorated as "sensitive" in the API will not 9287 // be included in the string output. The member name will be present, but the 9288 // value will be replaced with "sensitive". 9289 func (s CaptionRectangle) GoString() string { 9290 return s.String() 9291 } 9292 9293 // Validate inspects the fields of the type to determine if they are valid. 9294 func (s *CaptionRectangle) Validate() error { 9295 invalidParams := request.ErrInvalidParams{Context: "CaptionRectangle"} 9296 if s.Height == nil { 9297 invalidParams.Add(request.NewErrParamRequired("Height")) 9298 } 9299 if s.LeftOffset == nil { 9300 invalidParams.Add(request.NewErrParamRequired("LeftOffset")) 9301 } 9302 if s.TopOffset == nil { 9303 invalidParams.Add(request.NewErrParamRequired("TopOffset")) 9304 } 9305 if s.Width == nil { 9306 invalidParams.Add(request.NewErrParamRequired("Width")) 9307 } 9308 9309 if invalidParams.Len() > 0 { 9310 return invalidParams 9311 } 9312 return nil 9313 } 9314 9315 // SetHeight sets the Height field's value. 9316 func (s *CaptionRectangle) SetHeight(v float64) *CaptionRectangle { 9317 s.Height = &v 9318 return s 9319 } 9320 9321 // SetLeftOffset sets the LeftOffset field's value. 9322 func (s *CaptionRectangle) SetLeftOffset(v float64) *CaptionRectangle { 9323 s.LeftOffset = &v 9324 return s 9325 } 9326 9327 // SetTopOffset sets the TopOffset field's value. 9328 func (s *CaptionRectangle) SetTopOffset(v float64) *CaptionRectangle { 9329 s.TopOffset = &v 9330 return s 9331 } 9332 9333 // SetWidth sets the Width field's value. 9334 func (s *CaptionRectangle) SetWidth(v float64) *CaptionRectangle { 9335 s.Width = &v 9336 return s 9337 } 9338 9339 // Output groups for this Live Event. Output groups contain information about 9340 // where streams should be distributed. 9341 type CaptionSelector struct { 9342 _ struct{} `type:"structure"` 9343 9344 // When specified this field indicates the three letter language code of the 9345 // caption track to extract from the source. 9346 LanguageCode *string `locationName:"languageCode" type:"string"` 9347 9348 // Name identifier for a caption selector. This name is used to associate this 9349 // caption selector with one or more caption descriptions. Names must be unique 9350 // within an event. 9351 // 9352 // Name is a required field 9353 Name *string `locationName:"name" min:"1" type:"string" required:"true"` 9354 9355 // Caption selector settings. 9356 SelectorSettings *CaptionSelectorSettings `locationName:"selectorSettings" type:"structure"` 9357 } 9358 9359 // String returns the string representation. 9360 // 9361 // API parameter values that are decorated as "sensitive" in the API will not 9362 // be included in the string output. The member name will be present, but the 9363 // value will be replaced with "sensitive". 9364 func (s CaptionSelector) String() string { 9365 return awsutil.Prettify(s) 9366 } 9367 9368 // GoString returns the string representation. 9369 // 9370 // API parameter values that are decorated as "sensitive" in the API will not 9371 // be included in the string output. The member name will be present, but the 9372 // value will be replaced with "sensitive". 9373 func (s CaptionSelector) GoString() string { 9374 return s.String() 9375 } 9376 9377 // Validate inspects the fields of the type to determine if they are valid. 9378 func (s *CaptionSelector) Validate() error { 9379 invalidParams := request.ErrInvalidParams{Context: "CaptionSelector"} 9380 if s.Name == nil { 9381 invalidParams.Add(request.NewErrParamRequired("Name")) 9382 } 9383 if s.Name != nil && len(*s.Name) < 1 { 9384 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 9385 } 9386 if s.SelectorSettings != nil { 9387 if err := s.SelectorSettings.Validate(); err != nil { 9388 invalidParams.AddNested("SelectorSettings", err.(request.ErrInvalidParams)) 9389 } 9390 } 9391 9392 if invalidParams.Len() > 0 { 9393 return invalidParams 9394 } 9395 return nil 9396 } 9397 9398 // SetLanguageCode sets the LanguageCode field's value. 9399 func (s *CaptionSelector) SetLanguageCode(v string) *CaptionSelector { 9400 s.LanguageCode = &v 9401 return s 9402 } 9403 9404 // SetName sets the Name field's value. 9405 func (s *CaptionSelector) SetName(v string) *CaptionSelector { 9406 s.Name = &v 9407 return s 9408 } 9409 9410 // SetSelectorSettings sets the SelectorSettings field's value. 9411 func (s *CaptionSelector) SetSelectorSettings(v *CaptionSelectorSettings) *CaptionSelector { 9412 s.SelectorSettings = v 9413 return s 9414 } 9415 9416 // Caption Selector Settings 9417 type CaptionSelectorSettings struct { 9418 _ struct{} `type:"structure"` 9419 9420 // Ancillary Source Settings 9421 AncillarySourceSettings *AncillarySourceSettings `locationName:"ancillarySourceSettings" type:"structure"` 9422 9423 // Arib Source Settings 9424 AribSourceSettings *AribSourceSettings `locationName:"aribSourceSettings" type:"structure"` 9425 9426 // Dvb Sub Source Settings 9427 DvbSubSourceSettings *DvbSubSourceSettings `locationName:"dvbSubSourceSettings" type:"structure"` 9428 9429 // Embedded Source Settings 9430 EmbeddedSourceSettings *EmbeddedSourceSettings `locationName:"embeddedSourceSettings" type:"structure"` 9431 9432 // Scte20 Source Settings 9433 Scte20SourceSettings *Scte20SourceSettings `locationName:"scte20SourceSettings" type:"structure"` 9434 9435 // Scte27 Source Settings 9436 Scte27SourceSettings *Scte27SourceSettings `locationName:"scte27SourceSettings" type:"structure"` 9437 9438 // Teletext Source Settings 9439 TeletextSourceSettings *TeletextSourceSettings `locationName:"teletextSourceSettings" type:"structure"` 9440 } 9441 9442 // String returns the string representation. 9443 // 9444 // API parameter values that are decorated as "sensitive" in the API will not 9445 // be included in the string output. The member name will be present, but the 9446 // value will be replaced with "sensitive". 9447 func (s CaptionSelectorSettings) String() string { 9448 return awsutil.Prettify(s) 9449 } 9450 9451 // GoString returns the string representation. 9452 // 9453 // API parameter values that are decorated as "sensitive" in the API will not 9454 // be included in the string output. The member name will be present, but the 9455 // value will be replaced with "sensitive". 9456 func (s CaptionSelectorSettings) GoString() string { 9457 return s.String() 9458 } 9459 9460 // Validate inspects the fields of the type to determine if they are valid. 9461 func (s *CaptionSelectorSettings) Validate() error { 9462 invalidParams := request.ErrInvalidParams{Context: "CaptionSelectorSettings"} 9463 if s.AncillarySourceSettings != nil { 9464 if err := s.AncillarySourceSettings.Validate(); err != nil { 9465 invalidParams.AddNested("AncillarySourceSettings", err.(request.ErrInvalidParams)) 9466 } 9467 } 9468 if s.DvbSubSourceSettings != nil { 9469 if err := s.DvbSubSourceSettings.Validate(); err != nil { 9470 invalidParams.AddNested("DvbSubSourceSettings", err.(request.ErrInvalidParams)) 9471 } 9472 } 9473 if s.EmbeddedSourceSettings != nil { 9474 if err := s.EmbeddedSourceSettings.Validate(); err != nil { 9475 invalidParams.AddNested("EmbeddedSourceSettings", err.(request.ErrInvalidParams)) 9476 } 9477 } 9478 if s.Scte20SourceSettings != nil { 9479 if err := s.Scte20SourceSettings.Validate(); err != nil { 9480 invalidParams.AddNested("Scte20SourceSettings", err.(request.ErrInvalidParams)) 9481 } 9482 } 9483 if s.Scte27SourceSettings != nil { 9484 if err := s.Scte27SourceSettings.Validate(); err != nil { 9485 invalidParams.AddNested("Scte27SourceSettings", err.(request.ErrInvalidParams)) 9486 } 9487 } 9488 if s.TeletextSourceSettings != nil { 9489 if err := s.TeletextSourceSettings.Validate(); err != nil { 9490 invalidParams.AddNested("TeletextSourceSettings", err.(request.ErrInvalidParams)) 9491 } 9492 } 9493 9494 if invalidParams.Len() > 0 { 9495 return invalidParams 9496 } 9497 return nil 9498 } 9499 9500 // SetAncillarySourceSettings sets the AncillarySourceSettings field's value. 9501 func (s *CaptionSelectorSettings) SetAncillarySourceSettings(v *AncillarySourceSettings) *CaptionSelectorSettings { 9502 s.AncillarySourceSettings = v 9503 return s 9504 } 9505 9506 // SetAribSourceSettings sets the AribSourceSettings field's value. 9507 func (s *CaptionSelectorSettings) SetAribSourceSettings(v *AribSourceSettings) *CaptionSelectorSettings { 9508 s.AribSourceSettings = v 9509 return s 9510 } 9511 9512 // SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. 9513 func (s *CaptionSelectorSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSelectorSettings { 9514 s.DvbSubSourceSettings = v 9515 return s 9516 } 9517 9518 // SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. 9519 func (s *CaptionSelectorSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSelectorSettings { 9520 s.EmbeddedSourceSettings = v 9521 return s 9522 } 9523 9524 // SetScte20SourceSettings sets the Scte20SourceSettings field's value. 9525 func (s *CaptionSelectorSettings) SetScte20SourceSettings(v *Scte20SourceSettings) *CaptionSelectorSettings { 9526 s.Scte20SourceSettings = v 9527 return s 9528 } 9529 9530 // SetScte27SourceSettings sets the Scte27SourceSettings field's value. 9531 func (s *CaptionSelectorSettings) SetScte27SourceSettings(v *Scte27SourceSettings) *CaptionSelectorSettings { 9532 s.Scte27SourceSettings = v 9533 return s 9534 } 9535 9536 // SetTeletextSourceSettings sets the TeletextSourceSettings field's value. 9537 func (s *CaptionSelectorSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSelectorSettings { 9538 s.TeletextSourceSettings = v 9539 return s 9540 } 9541 9542 type CdiInputSpecification struct { 9543 _ struct{} `type:"structure"` 9544 9545 // Maximum CDI input resolution 9546 Resolution *string `locationName:"resolution" type:"string" enum:"CdiInputResolution"` 9547 } 9548 9549 // String returns the string representation. 9550 // 9551 // API parameter values that are decorated as "sensitive" in the API will not 9552 // be included in the string output. The member name will be present, but the 9553 // value will be replaced with "sensitive". 9554 func (s CdiInputSpecification) String() string { 9555 return awsutil.Prettify(s) 9556 } 9557 9558 // GoString returns the string representation. 9559 // 9560 // API parameter values that are decorated as "sensitive" in the API will not 9561 // be included in the string output. The member name will be present, but the 9562 // value will be replaced with "sensitive". 9563 func (s CdiInputSpecification) GoString() string { 9564 return s.String() 9565 } 9566 9567 // SetResolution sets the Resolution field's value. 9568 func (s *CdiInputSpecification) SetResolution(v string) *CdiInputSpecification { 9569 s.Resolution = &v 9570 return s 9571 } 9572 9573 type Channel struct { 9574 _ struct{} `type:"structure"` 9575 9576 // The unique arn of the channel. 9577 Arn *string `locationName:"arn" type:"string"` 9578 9579 // Specification of CDI inputs for this channel 9580 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 9581 9582 // The class for this channel. STANDARD for a channel with two pipelines or 9583 // SINGLE_PIPELINE for a channel with one pipeline. 9584 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 9585 9586 // A list of destinations of the channel. For UDP outputs, there is onedestination 9587 // per output. For other types (HLS, for example), there isone destination per 9588 // packager. 9589 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 9590 9591 // The endpoints where outgoing connections initiate from 9592 EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` 9593 9594 // Encoder Settings 9595 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 9596 9597 // The unique id of the channel. 9598 Id *string `locationName:"id" type:"string"` 9599 9600 // List of input attachments for channel. 9601 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 9602 9603 // Specification of network and file inputs for this channel 9604 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 9605 9606 // The log level being written to CloudWatch Logs. 9607 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 9608 9609 // The name of the channel. (user-mutable) 9610 Name *string `locationName:"name" type:"string"` 9611 9612 // Runtime details for the pipelines of a running channel. 9613 PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` 9614 9615 // The number of currently healthy pipelines. 9616 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 9617 9618 // The Amazon Resource Name (ARN) of the role assumed when running the Channel. 9619 RoleArn *string `locationName:"roleArn" type:"string"` 9620 9621 State *string `locationName:"state" type:"string" enum:"ChannelState"` 9622 9623 // A collection of key-value pairs. 9624 Tags map[string]*string `locationName:"tags" type:"map"` 9625 9626 // Settings for VPC output 9627 Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` 9628 } 9629 9630 // String returns the string representation. 9631 // 9632 // API parameter values that are decorated as "sensitive" in the API will not 9633 // be included in the string output. The member name will be present, but the 9634 // value will be replaced with "sensitive". 9635 func (s Channel) String() string { 9636 return awsutil.Prettify(s) 9637 } 9638 9639 // GoString returns the string representation. 9640 // 9641 // API parameter values that are decorated as "sensitive" in the API will not 9642 // be included in the string output. The member name will be present, but the 9643 // value will be replaced with "sensitive". 9644 func (s Channel) GoString() string { 9645 return s.String() 9646 } 9647 9648 // SetArn sets the Arn field's value. 9649 func (s *Channel) SetArn(v string) *Channel { 9650 s.Arn = &v 9651 return s 9652 } 9653 9654 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 9655 func (s *Channel) SetCdiInputSpecification(v *CdiInputSpecification) *Channel { 9656 s.CdiInputSpecification = v 9657 return s 9658 } 9659 9660 // SetChannelClass sets the ChannelClass field's value. 9661 func (s *Channel) SetChannelClass(v string) *Channel { 9662 s.ChannelClass = &v 9663 return s 9664 } 9665 9666 // SetDestinations sets the Destinations field's value. 9667 func (s *Channel) SetDestinations(v []*OutputDestination) *Channel { 9668 s.Destinations = v 9669 return s 9670 } 9671 9672 // SetEgressEndpoints sets the EgressEndpoints field's value. 9673 func (s *Channel) SetEgressEndpoints(v []*ChannelEgressEndpoint) *Channel { 9674 s.EgressEndpoints = v 9675 return s 9676 } 9677 9678 // SetEncoderSettings sets the EncoderSettings field's value. 9679 func (s *Channel) SetEncoderSettings(v *EncoderSettings) *Channel { 9680 s.EncoderSettings = v 9681 return s 9682 } 9683 9684 // SetId sets the Id field's value. 9685 func (s *Channel) SetId(v string) *Channel { 9686 s.Id = &v 9687 return s 9688 } 9689 9690 // SetInputAttachments sets the InputAttachments field's value. 9691 func (s *Channel) SetInputAttachments(v []*InputAttachment) *Channel { 9692 s.InputAttachments = v 9693 return s 9694 } 9695 9696 // SetInputSpecification sets the InputSpecification field's value. 9697 func (s *Channel) SetInputSpecification(v *InputSpecification) *Channel { 9698 s.InputSpecification = v 9699 return s 9700 } 9701 9702 // SetLogLevel sets the LogLevel field's value. 9703 func (s *Channel) SetLogLevel(v string) *Channel { 9704 s.LogLevel = &v 9705 return s 9706 } 9707 9708 // SetName sets the Name field's value. 9709 func (s *Channel) SetName(v string) *Channel { 9710 s.Name = &v 9711 return s 9712 } 9713 9714 // SetPipelineDetails sets the PipelineDetails field's value. 9715 func (s *Channel) SetPipelineDetails(v []*PipelineDetail) *Channel { 9716 s.PipelineDetails = v 9717 return s 9718 } 9719 9720 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 9721 func (s *Channel) SetPipelinesRunningCount(v int64) *Channel { 9722 s.PipelinesRunningCount = &v 9723 return s 9724 } 9725 9726 // SetRoleArn sets the RoleArn field's value. 9727 func (s *Channel) SetRoleArn(v string) *Channel { 9728 s.RoleArn = &v 9729 return s 9730 } 9731 9732 // SetState sets the State field's value. 9733 func (s *Channel) SetState(v string) *Channel { 9734 s.State = &v 9735 return s 9736 } 9737 9738 // SetTags sets the Tags field's value. 9739 func (s *Channel) SetTags(v map[string]*string) *Channel { 9740 s.Tags = v 9741 return s 9742 } 9743 9744 // SetVpc sets the Vpc field's value. 9745 func (s *Channel) SetVpc(v *VpcOutputSettingsDescription) *Channel { 9746 s.Vpc = v 9747 return s 9748 } 9749 9750 type ChannelEgressEndpoint struct { 9751 _ struct{} `type:"structure"` 9752 9753 // Public IP of where a channel's output comes from 9754 SourceIp *string `locationName:"sourceIp" type:"string"` 9755 } 9756 9757 // String returns the string representation. 9758 // 9759 // API parameter values that are decorated as "sensitive" in the API will not 9760 // be included in the string output. The member name will be present, but the 9761 // value will be replaced with "sensitive". 9762 func (s ChannelEgressEndpoint) String() string { 9763 return awsutil.Prettify(s) 9764 } 9765 9766 // GoString returns the string representation. 9767 // 9768 // API parameter values that are decorated as "sensitive" in the API will not 9769 // be included in the string output. The member name will be present, but the 9770 // value will be replaced with "sensitive". 9771 func (s ChannelEgressEndpoint) GoString() string { 9772 return s.String() 9773 } 9774 9775 // SetSourceIp sets the SourceIp field's value. 9776 func (s *ChannelEgressEndpoint) SetSourceIp(v string) *ChannelEgressEndpoint { 9777 s.SourceIp = &v 9778 return s 9779 } 9780 9781 type ChannelSummary struct { 9782 _ struct{} `type:"structure"` 9783 9784 // The unique arn of the channel. 9785 Arn *string `locationName:"arn" type:"string"` 9786 9787 // Specification of CDI inputs for this channel 9788 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 9789 9790 // The class for this channel. STANDARD for a channel with two pipelines or 9791 // SINGLE_PIPELINE for a channel with one pipeline. 9792 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 9793 9794 // A list of destinations of the channel. For UDP outputs, there is onedestination 9795 // per output. For other types (HLS, for example), there isone destination per 9796 // packager. 9797 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 9798 9799 // The endpoints where outgoing connections initiate from 9800 EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` 9801 9802 // The unique id of the channel. 9803 Id *string `locationName:"id" type:"string"` 9804 9805 // List of input attachments for channel. 9806 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 9807 9808 // Specification of network and file inputs for this channel 9809 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 9810 9811 // The log level being written to CloudWatch Logs. 9812 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 9813 9814 // The name of the channel. (user-mutable) 9815 Name *string `locationName:"name" type:"string"` 9816 9817 // The number of currently healthy pipelines. 9818 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 9819 9820 // The Amazon Resource Name (ARN) of the role assumed when running the Channel. 9821 RoleArn *string `locationName:"roleArn" type:"string"` 9822 9823 State *string `locationName:"state" type:"string" enum:"ChannelState"` 9824 9825 // A collection of key-value pairs. 9826 Tags map[string]*string `locationName:"tags" type:"map"` 9827 9828 // Settings for any VPC outputs. 9829 Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` 9830 } 9831 9832 // String returns the string representation. 9833 // 9834 // API parameter values that are decorated as "sensitive" in the API will not 9835 // be included in the string output. The member name will be present, but the 9836 // value will be replaced with "sensitive". 9837 func (s ChannelSummary) String() string { 9838 return awsutil.Prettify(s) 9839 } 9840 9841 // GoString returns the string representation. 9842 // 9843 // API parameter values that are decorated as "sensitive" in the API will not 9844 // be included in the string output. The member name will be present, but the 9845 // value will be replaced with "sensitive". 9846 func (s ChannelSummary) GoString() string { 9847 return s.String() 9848 } 9849 9850 // SetArn sets the Arn field's value. 9851 func (s *ChannelSummary) SetArn(v string) *ChannelSummary { 9852 s.Arn = &v 9853 return s 9854 } 9855 9856 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 9857 func (s *ChannelSummary) SetCdiInputSpecification(v *CdiInputSpecification) *ChannelSummary { 9858 s.CdiInputSpecification = v 9859 return s 9860 } 9861 9862 // SetChannelClass sets the ChannelClass field's value. 9863 func (s *ChannelSummary) SetChannelClass(v string) *ChannelSummary { 9864 s.ChannelClass = &v 9865 return s 9866 } 9867 9868 // SetDestinations sets the Destinations field's value. 9869 func (s *ChannelSummary) SetDestinations(v []*OutputDestination) *ChannelSummary { 9870 s.Destinations = v 9871 return s 9872 } 9873 9874 // SetEgressEndpoints sets the EgressEndpoints field's value. 9875 func (s *ChannelSummary) SetEgressEndpoints(v []*ChannelEgressEndpoint) *ChannelSummary { 9876 s.EgressEndpoints = v 9877 return s 9878 } 9879 9880 // SetId sets the Id field's value. 9881 func (s *ChannelSummary) SetId(v string) *ChannelSummary { 9882 s.Id = &v 9883 return s 9884 } 9885 9886 // SetInputAttachments sets the InputAttachments field's value. 9887 func (s *ChannelSummary) SetInputAttachments(v []*InputAttachment) *ChannelSummary { 9888 s.InputAttachments = v 9889 return s 9890 } 9891 9892 // SetInputSpecification sets the InputSpecification field's value. 9893 func (s *ChannelSummary) SetInputSpecification(v *InputSpecification) *ChannelSummary { 9894 s.InputSpecification = v 9895 return s 9896 } 9897 9898 // SetLogLevel sets the LogLevel field's value. 9899 func (s *ChannelSummary) SetLogLevel(v string) *ChannelSummary { 9900 s.LogLevel = &v 9901 return s 9902 } 9903 9904 // SetName sets the Name field's value. 9905 func (s *ChannelSummary) SetName(v string) *ChannelSummary { 9906 s.Name = &v 9907 return s 9908 } 9909 9910 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 9911 func (s *ChannelSummary) SetPipelinesRunningCount(v int64) *ChannelSummary { 9912 s.PipelinesRunningCount = &v 9913 return s 9914 } 9915 9916 // SetRoleArn sets the RoleArn field's value. 9917 func (s *ChannelSummary) SetRoleArn(v string) *ChannelSummary { 9918 s.RoleArn = &v 9919 return s 9920 } 9921 9922 // SetState sets the State field's value. 9923 func (s *ChannelSummary) SetState(v string) *ChannelSummary { 9924 s.State = &v 9925 return s 9926 } 9927 9928 // SetTags sets the Tags field's value. 9929 func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary { 9930 s.Tags = v 9931 return s 9932 } 9933 9934 // SetVpc sets the Vpc field's value. 9935 func (s *ChannelSummary) SetVpc(v *VpcOutputSettingsDescription) *ChannelSummary { 9936 s.Vpc = v 9937 return s 9938 } 9939 9940 // Request to claim an AWS Elemental device that you have purchased from a third-party 9941 // vendor. 9942 type ClaimDeviceInput struct { 9943 _ struct{} `type:"structure"` 9944 9945 // The id of the device you want to claim. 9946 Id *string `locationName:"id" type:"string"` 9947 } 9948 9949 // String returns the string representation. 9950 // 9951 // API parameter values that are decorated as "sensitive" in the API will not 9952 // be included in the string output. The member name will be present, but the 9953 // value will be replaced with "sensitive". 9954 func (s ClaimDeviceInput) String() string { 9955 return awsutil.Prettify(s) 9956 } 9957 9958 // GoString returns the string representation. 9959 // 9960 // API parameter values that are decorated as "sensitive" in the API will not 9961 // be included in the string output. The member name will be present, but the 9962 // value will be replaced with "sensitive". 9963 func (s ClaimDeviceInput) GoString() string { 9964 return s.String() 9965 } 9966 9967 // SetId sets the Id field's value. 9968 func (s *ClaimDeviceInput) SetId(v string) *ClaimDeviceInput { 9969 s.Id = &v 9970 return s 9971 } 9972 9973 type ClaimDeviceOutput struct { 9974 _ struct{} `type:"structure" nopayload:"true"` 9975 } 9976 9977 // String returns the string representation. 9978 // 9979 // API parameter values that are decorated as "sensitive" in the API will not 9980 // be included in the string output. The member name will be present, but the 9981 // value will be replaced with "sensitive". 9982 func (s ClaimDeviceOutput) String() string { 9983 return awsutil.Prettify(s) 9984 } 9985 9986 // GoString returns the string representation. 9987 // 9988 // API parameter values that are decorated as "sensitive" in the API will not 9989 // be included in the string output. The member name will be present, but the 9990 // value will be replaced with "sensitive". 9991 func (s ClaimDeviceOutput) GoString() string { 9992 return s.String() 9993 } 9994 9995 // Passthrough applies no color space conversion to the output 9996 type ColorSpacePassthroughSettings struct { 9997 _ struct{} `type:"structure" nopayload:"true"` 9998 } 9999 10000 // String returns the string representation. 10001 // 10002 // API parameter values that are decorated as "sensitive" in the API will not 10003 // be included in the string output. The member name will be present, but the 10004 // value will be replaced with "sensitive". 10005 func (s ColorSpacePassthroughSettings) String() string { 10006 return awsutil.Prettify(s) 10007 } 10008 10009 // GoString returns the string representation. 10010 // 10011 // API parameter values that are decorated as "sensitive" in the API will not 10012 // be included in the string output. The member name will be present, but the 10013 // value will be replaced with "sensitive". 10014 func (s ColorSpacePassthroughSettings) GoString() string { 10015 return s.String() 10016 } 10017 10018 type ConflictException struct { 10019 _ struct{} `type:"structure"` 10020 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 10021 10022 Message_ *string `locationName:"message" type:"string"` 10023 } 10024 10025 // String returns the string representation. 10026 // 10027 // API parameter values that are decorated as "sensitive" in the API will not 10028 // be included in the string output. The member name will be present, but the 10029 // value will be replaced with "sensitive". 10030 func (s ConflictException) String() string { 10031 return awsutil.Prettify(s) 10032 } 10033 10034 // GoString returns the string representation. 10035 // 10036 // API parameter values that are decorated as "sensitive" in the API will not 10037 // be included in the string output. The member name will be present, but the 10038 // value will be replaced with "sensitive". 10039 func (s ConflictException) GoString() string { 10040 return s.String() 10041 } 10042 10043 func newErrorConflictException(v protocol.ResponseMetadata) error { 10044 return &ConflictException{ 10045 RespMetadata: v, 10046 } 10047 } 10048 10049 // Code returns the exception type name. 10050 func (s *ConflictException) Code() string { 10051 return "ConflictException" 10052 } 10053 10054 // Message returns the exception's message. 10055 func (s *ConflictException) Message() string { 10056 if s.Message_ != nil { 10057 return *s.Message_ 10058 } 10059 return "" 10060 } 10061 10062 // OrigErr always returns nil, satisfies awserr.Error interface. 10063 func (s *ConflictException) OrigErr() error { 10064 return nil 10065 } 10066 10067 func (s *ConflictException) Error() string { 10068 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 10069 } 10070 10071 // Status code returns the HTTP status code for the request's response error. 10072 func (s *ConflictException) StatusCode() int { 10073 return s.RespMetadata.StatusCode 10074 } 10075 10076 // RequestID returns the service's response RequestID for request. 10077 func (s *ConflictException) RequestID() string { 10078 return s.RespMetadata.RequestID 10079 } 10080 10081 type CreateChannelInput struct { 10082 _ struct{} `type:"structure"` 10083 10084 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 10085 10086 // A standard channel has two encoding pipelines and a single pipeline channel 10087 // only has one. 10088 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 10089 10090 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 10091 10092 // Encoder Settings 10093 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 10094 10095 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 10096 10097 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 10098 10099 // The log level the user wants for their channel. 10100 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 10101 10102 Name *string `locationName:"name" type:"string"` 10103 10104 RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` 10105 10106 Reserved *string `locationName:"reserved" deprecated:"true" type:"string"` 10107 10108 RoleArn *string `locationName:"roleArn" type:"string"` 10109 10110 Tags map[string]*string `locationName:"tags" type:"map"` 10111 10112 // The properties for a private VPC OutputWhen this property is specified, the 10113 // output egress addresses will be created in a user specified VPC 10114 Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` 10115 } 10116 10117 // String returns the string representation. 10118 // 10119 // API parameter values that are decorated as "sensitive" in the API will not 10120 // be included in the string output. The member name will be present, but the 10121 // value will be replaced with "sensitive". 10122 func (s CreateChannelInput) String() string { 10123 return awsutil.Prettify(s) 10124 } 10125 10126 // GoString returns the string representation. 10127 // 10128 // API parameter values that are decorated as "sensitive" in the API will not 10129 // be included in the string output. The member name will be present, but the 10130 // value will be replaced with "sensitive". 10131 func (s CreateChannelInput) GoString() string { 10132 return s.String() 10133 } 10134 10135 // Validate inspects the fields of the type to determine if they are valid. 10136 func (s *CreateChannelInput) Validate() error { 10137 invalidParams := request.ErrInvalidParams{Context: "CreateChannelInput"} 10138 if s.Destinations != nil { 10139 for i, v := range s.Destinations { 10140 if v == nil { 10141 continue 10142 } 10143 if err := v.Validate(); err != nil { 10144 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) 10145 } 10146 } 10147 } 10148 if s.EncoderSettings != nil { 10149 if err := s.EncoderSettings.Validate(); err != nil { 10150 invalidParams.AddNested("EncoderSettings", err.(request.ErrInvalidParams)) 10151 } 10152 } 10153 if s.InputAttachments != nil { 10154 for i, v := range s.InputAttachments { 10155 if v == nil { 10156 continue 10157 } 10158 if err := v.Validate(); err != nil { 10159 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputAttachments", i), err.(request.ErrInvalidParams)) 10160 } 10161 } 10162 } 10163 if s.Vpc != nil { 10164 if err := s.Vpc.Validate(); err != nil { 10165 invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) 10166 } 10167 } 10168 10169 if invalidParams.Len() > 0 { 10170 return invalidParams 10171 } 10172 return nil 10173 } 10174 10175 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 10176 func (s *CreateChannelInput) SetCdiInputSpecification(v *CdiInputSpecification) *CreateChannelInput { 10177 s.CdiInputSpecification = v 10178 return s 10179 } 10180 10181 // SetChannelClass sets the ChannelClass field's value. 10182 func (s *CreateChannelInput) SetChannelClass(v string) *CreateChannelInput { 10183 s.ChannelClass = &v 10184 return s 10185 } 10186 10187 // SetDestinations sets the Destinations field's value. 10188 func (s *CreateChannelInput) SetDestinations(v []*OutputDestination) *CreateChannelInput { 10189 s.Destinations = v 10190 return s 10191 } 10192 10193 // SetEncoderSettings sets the EncoderSettings field's value. 10194 func (s *CreateChannelInput) SetEncoderSettings(v *EncoderSettings) *CreateChannelInput { 10195 s.EncoderSettings = v 10196 return s 10197 } 10198 10199 // SetInputAttachments sets the InputAttachments field's value. 10200 func (s *CreateChannelInput) SetInputAttachments(v []*InputAttachment) *CreateChannelInput { 10201 s.InputAttachments = v 10202 return s 10203 } 10204 10205 // SetInputSpecification sets the InputSpecification field's value. 10206 func (s *CreateChannelInput) SetInputSpecification(v *InputSpecification) *CreateChannelInput { 10207 s.InputSpecification = v 10208 return s 10209 } 10210 10211 // SetLogLevel sets the LogLevel field's value. 10212 func (s *CreateChannelInput) SetLogLevel(v string) *CreateChannelInput { 10213 s.LogLevel = &v 10214 return s 10215 } 10216 10217 // SetName sets the Name field's value. 10218 func (s *CreateChannelInput) SetName(v string) *CreateChannelInput { 10219 s.Name = &v 10220 return s 10221 } 10222 10223 // SetRequestId sets the RequestId field's value. 10224 func (s *CreateChannelInput) SetRequestId(v string) *CreateChannelInput { 10225 s.RequestId = &v 10226 return s 10227 } 10228 10229 // SetReserved sets the Reserved field's value. 10230 func (s *CreateChannelInput) SetReserved(v string) *CreateChannelInput { 10231 s.Reserved = &v 10232 return s 10233 } 10234 10235 // SetRoleArn sets the RoleArn field's value. 10236 func (s *CreateChannelInput) SetRoleArn(v string) *CreateChannelInput { 10237 s.RoleArn = &v 10238 return s 10239 } 10240 10241 // SetTags sets the Tags field's value. 10242 func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput { 10243 s.Tags = v 10244 return s 10245 } 10246 10247 // SetVpc sets the Vpc field's value. 10248 func (s *CreateChannelInput) SetVpc(v *VpcOutputSettings) *CreateChannelInput { 10249 s.Vpc = v 10250 return s 10251 } 10252 10253 type CreateChannelOutput struct { 10254 _ struct{} `type:"structure"` 10255 10256 Channel *Channel `locationName:"channel" type:"structure"` 10257 } 10258 10259 // String returns the string representation. 10260 // 10261 // API parameter values that are decorated as "sensitive" in the API will not 10262 // be included in the string output. The member name will be present, but the 10263 // value will be replaced with "sensitive". 10264 func (s CreateChannelOutput) String() string { 10265 return awsutil.Prettify(s) 10266 } 10267 10268 // GoString returns the string representation. 10269 // 10270 // API parameter values that are decorated as "sensitive" in the API will not 10271 // be included in the string output. The member name will be present, but the 10272 // value will be replaced with "sensitive". 10273 func (s CreateChannelOutput) GoString() string { 10274 return s.String() 10275 } 10276 10277 // SetChannel sets the Channel field's value. 10278 func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput { 10279 s.Channel = v 10280 return s 10281 } 10282 10283 type CreateInputInput struct { 10284 _ struct{} `type:"structure"` 10285 10286 Destinations []*InputDestinationRequest `locationName:"destinations" type:"list"` 10287 10288 InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` 10289 10290 InputSecurityGroups []*string `locationName:"inputSecurityGroups" type:"list"` 10291 10292 MediaConnectFlows []*MediaConnectFlowRequest `locationName:"mediaConnectFlows" type:"list"` 10293 10294 Name *string `locationName:"name" type:"string"` 10295 10296 RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` 10297 10298 RoleArn *string `locationName:"roleArn" type:"string"` 10299 10300 Sources []*InputSourceRequest `locationName:"sources" type:"list"` 10301 10302 Tags map[string]*string `locationName:"tags" type:"map"` 10303 10304 // The different types of inputs that AWS Elemental MediaLive supports. 10305 Type *string `locationName:"type" type:"string" enum:"InputType"` 10306 10307 // Settings for a private VPC Input.When this property is specified, the input 10308 // destination addresses will be created in a VPC rather than with public Internet 10309 // addresses.This property requires setting the roleArn property on Input creation.Not 10310 // compatible with the inputSecurityGroups property. 10311 Vpc *InputVpcRequest `locationName:"vpc" type:"structure"` 10312 } 10313 10314 // String returns the string representation. 10315 // 10316 // API parameter values that are decorated as "sensitive" in the API will not 10317 // be included in the string output. The member name will be present, but the 10318 // value will be replaced with "sensitive". 10319 func (s CreateInputInput) String() string { 10320 return awsutil.Prettify(s) 10321 } 10322 10323 // GoString returns the string representation. 10324 // 10325 // API parameter values that are decorated as "sensitive" in the API will not 10326 // be included in the string output. The member name will be present, but the 10327 // value will be replaced with "sensitive". 10328 func (s CreateInputInput) GoString() string { 10329 return s.String() 10330 } 10331 10332 // Validate inspects the fields of the type to determine if they are valid. 10333 func (s *CreateInputInput) Validate() error { 10334 invalidParams := request.ErrInvalidParams{Context: "CreateInputInput"} 10335 if s.Vpc != nil { 10336 if err := s.Vpc.Validate(); err != nil { 10337 invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) 10338 } 10339 } 10340 10341 if invalidParams.Len() > 0 { 10342 return invalidParams 10343 } 10344 return nil 10345 } 10346 10347 // SetDestinations sets the Destinations field's value. 10348 func (s *CreateInputInput) SetDestinations(v []*InputDestinationRequest) *CreateInputInput { 10349 s.Destinations = v 10350 return s 10351 } 10352 10353 // SetInputDevices sets the InputDevices field's value. 10354 func (s *CreateInputInput) SetInputDevices(v []*InputDeviceSettings) *CreateInputInput { 10355 s.InputDevices = v 10356 return s 10357 } 10358 10359 // SetInputSecurityGroups sets the InputSecurityGroups field's value. 10360 func (s *CreateInputInput) SetInputSecurityGroups(v []*string) *CreateInputInput { 10361 s.InputSecurityGroups = v 10362 return s 10363 } 10364 10365 // SetMediaConnectFlows sets the MediaConnectFlows field's value. 10366 func (s *CreateInputInput) SetMediaConnectFlows(v []*MediaConnectFlowRequest) *CreateInputInput { 10367 s.MediaConnectFlows = v 10368 return s 10369 } 10370 10371 // SetName sets the Name field's value. 10372 func (s *CreateInputInput) SetName(v string) *CreateInputInput { 10373 s.Name = &v 10374 return s 10375 } 10376 10377 // SetRequestId sets the RequestId field's value. 10378 func (s *CreateInputInput) SetRequestId(v string) *CreateInputInput { 10379 s.RequestId = &v 10380 return s 10381 } 10382 10383 // SetRoleArn sets the RoleArn field's value. 10384 func (s *CreateInputInput) SetRoleArn(v string) *CreateInputInput { 10385 s.RoleArn = &v 10386 return s 10387 } 10388 10389 // SetSources sets the Sources field's value. 10390 func (s *CreateInputInput) SetSources(v []*InputSourceRequest) *CreateInputInput { 10391 s.Sources = v 10392 return s 10393 } 10394 10395 // SetTags sets the Tags field's value. 10396 func (s *CreateInputInput) SetTags(v map[string]*string) *CreateInputInput { 10397 s.Tags = v 10398 return s 10399 } 10400 10401 // SetType sets the Type field's value. 10402 func (s *CreateInputInput) SetType(v string) *CreateInputInput { 10403 s.Type = &v 10404 return s 10405 } 10406 10407 // SetVpc sets the Vpc field's value. 10408 func (s *CreateInputInput) SetVpc(v *InputVpcRequest) *CreateInputInput { 10409 s.Vpc = v 10410 return s 10411 } 10412 10413 type CreateInputOutput struct { 10414 _ struct{} `type:"structure"` 10415 10416 Input *Input `locationName:"input" type:"structure"` 10417 } 10418 10419 // String returns the string representation. 10420 // 10421 // API parameter values that are decorated as "sensitive" in the API will not 10422 // be included in the string output. The member name will be present, but the 10423 // value will be replaced with "sensitive". 10424 func (s CreateInputOutput) String() string { 10425 return awsutil.Prettify(s) 10426 } 10427 10428 // GoString returns the string representation. 10429 // 10430 // API parameter values that are decorated as "sensitive" in the API will not 10431 // be included in the string output. The member name will be present, but the 10432 // value will be replaced with "sensitive". 10433 func (s CreateInputOutput) GoString() string { 10434 return s.String() 10435 } 10436 10437 // SetInput sets the Input field's value. 10438 func (s *CreateInputOutput) SetInput(v *Input) *CreateInputOutput { 10439 s.Input = v 10440 return s 10441 } 10442 10443 type CreateInputSecurityGroupInput struct { 10444 _ struct{} `type:"structure"` 10445 10446 Tags map[string]*string `locationName:"tags" type:"map"` 10447 10448 WhitelistRules []*InputWhitelistRuleCidr `locationName:"whitelistRules" type:"list"` 10449 } 10450 10451 // String returns the string representation. 10452 // 10453 // API parameter values that are decorated as "sensitive" in the API will not 10454 // be included in the string output. The member name will be present, but the 10455 // value will be replaced with "sensitive". 10456 func (s CreateInputSecurityGroupInput) String() string { 10457 return awsutil.Prettify(s) 10458 } 10459 10460 // GoString returns the string representation. 10461 // 10462 // API parameter values that are decorated as "sensitive" in the API will not 10463 // be included in the string output. The member name will be present, but the 10464 // value will be replaced with "sensitive". 10465 func (s CreateInputSecurityGroupInput) GoString() string { 10466 return s.String() 10467 } 10468 10469 // SetTags sets the Tags field's value. 10470 func (s *CreateInputSecurityGroupInput) SetTags(v map[string]*string) *CreateInputSecurityGroupInput { 10471 s.Tags = v 10472 return s 10473 } 10474 10475 // SetWhitelistRules sets the WhitelistRules field's value. 10476 func (s *CreateInputSecurityGroupInput) SetWhitelistRules(v []*InputWhitelistRuleCidr) *CreateInputSecurityGroupInput { 10477 s.WhitelistRules = v 10478 return s 10479 } 10480 10481 type CreateInputSecurityGroupOutput struct { 10482 _ struct{} `type:"structure"` 10483 10484 // An Input Security Group 10485 SecurityGroup *InputSecurityGroup `locationName:"securityGroup" type:"structure"` 10486 } 10487 10488 // String returns the string representation. 10489 // 10490 // API parameter values that are decorated as "sensitive" in the API will not 10491 // be included in the string output. The member name will be present, but the 10492 // value will be replaced with "sensitive". 10493 func (s CreateInputSecurityGroupOutput) String() string { 10494 return awsutil.Prettify(s) 10495 } 10496 10497 // GoString returns the string representation. 10498 // 10499 // API parameter values that are decorated as "sensitive" in the API will not 10500 // be included in the string output. The member name will be present, but the 10501 // value will be replaced with "sensitive". 10502 func (s CreateInputSecurityGroupOutput) GoString() string { 10503 return s.String() 10504 } 10505 10506 // SetSecurityGroup sets the SecurityGroup field's value. 10507 func (s *CreateInputSecurityGroupOutput) SetSecurityGroup(v *InputSecurityGroup) *CreateInputSecurityGroupOutput { 10508 s.SecurityGroup = v 10509 return s 10510 } 10511 10512 type CreateMultiplexInput struct { 10513 _ struct{} `type:"structure"` 10514 10515 // AvailabilityZones is a required field 10516 AvailabilityZones []*string `locationName:"availabilityZones" type:"list" required:"true"` 10517 10518 // Contains configuration for a Multiplex event 10519 // 10520 // MultiplexSettings is a required field 10521 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure" required:"true"` 10522 10523 // Name is a required field 10524 Name *string `locationName:"name" type:"string" required:"true"` 10525 10526 RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` 10527 10528 Tags map[string]*string `locationName:"tags" type:"map"` 10529 } 10530 10531 // String returns the string representation. 10532 // 10533 // API parameter values that are decorated as "sensitive" in the API will not 10534 // be included in the string output. The member name will be present, but the 10535 // value will be replaced with "sensitive". 10536 func (s CreateMultiplexInput) String() string { 10537 return awsutil.Prettify(s) 10538 } 10539 10540 // GoString returns the string representation. 10541 // 10542 // API parameter values that are decorated as "sensitive" in the API will not 10543 // be included in the string output. The member name will be present, but the 10544 // value will be replaced with "sensitive". 10545 func (s CreateMultiplexInput) GoString() string { 10546 return s.String() 10547 } 10548 10549 // Validate inspects the fields of the type to determine if they are valid. 10550 func (s *CreateMultiplexInput) Validate() error { 10551 invalidParams := request.ErrInvalidParams{Context: "CreateMultiplexInput"} 10552 if s.AvailabilityZones == nil { 10553 invalidParams.Add(request.NewErrParamRequired("AvailabilityZones")) 10554 } 10555 if s.MultiplexSettings == nil { 10556 invalidParams.Add(request.NewErrParamRequired("MultiplexSettings")) 10557 } 10558 if s.Name == nil { 10559 invalidParams.Add(request.NewErrParamRequired("Name")) 10560 } 10561 if s.MultiplexSettings != nil { 10562 if err := s.MultiplexSettings.Validate(); err != nil { 10563 invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) 10564 } 10565 } 10566 10567 if invalidParams.Len() > 0 { 10568 return invalidParams 10569 } 10570 return nil 10571 } 10572 10573 // SetAvailabilityZones sets the AvailabilityZones field's value. 10574 func (s *CreateMultiplexInput) SetAvailabilityZones(v []*string) *CreateMultiplexInput { 10575 s.AvailabilityZones = v 10576 return s 10577 } 10578 10579 // SetMultiplexSettings sets the MultiplexSettings field's value. 10580 func (s *CreateMultiplexInput) SetMultiplexSettings(v *MultiplexSettings) *CreateMultiplexInput { 10581 s.MultiplexSettings = v 10582 return s 10583 } 10584 10585 // SetName sets the Name field's value. 10586 func (s *CreateMultiplexInput) SetName(v string) *CreateMultiplexInput { 10587 s.Name = &v 10588 return s 10589 } 10590 10591 // SetRequestId sets the RequestId field's value. 10592 func (s *CreateMultiplexInput) SetRequestId(v string) *CreateMultiplexInput { 10593 s.RequestId = &v 10594 return s 10595 } 10596 10597 // SetTags sets the Tags field's value. 10598 func (s *CreateMultiplexInput) SetTags(v map[string]*string) *CreateMultiplexInput { 10599 s.Tags = v 10600 return s 10601 } 10602 10603 type CreateMultiplexOutput struct { 10604 _ struct{} `type:"structure"` 10605 10606 // The multiplex object. 10607 Multiplex *Multiplex `locationName:"multiplex" type:"structure"` 10608 } 10609 10610 // String returns the string representation. 10611 // 10612 // API parameter values that are decorated as "sensitive" in the API will not 10613 // be included in the string output. The member name will be present, but the 10614 // value will be replaced with "sensitive". 10615 func (s CreateMultiplexOutput) String() string { 10616 return awsutil.Prettify(s) 10617 } 10618 10619 // GoString returns the string representation. 10620 // 10621 // API parameter values that are decorated as "sensitive" in the API will not 10622 // be included in the string output. The member name will be present, but the 10623 // value will be replaced with "sensitive". 10624 func (s CreateMultiplexOutput) GoString() string { 10625 return s.String() 10626 } 10627 10628 // SetMultiplex sets the Multiplex field's value. 10629 func (s *CreateMultiplexOutput) SetMultiplex(v *Multiplex) *CreateMultiplexOutput { 10630 s.Multiplex = v 10631 return s 10632 } 10633 10634 type CreateMultiplexProgramInput struct { 10635 _ struct{} `type:"structure"` 10636 10637 // MultiplexId is a required field 10638 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 10639 10640 // Multiplex Program settings configuration. 10641 // 10642 // MultiplexProgramSettings is a required field 10643 MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure" required:"true"` 10644 10645 // ProgramName is a required field 10646 ProgramName *string `locationName:"programName" type:"string" required:"true"` 10647 10648 RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` 10649 } 10650 10651 // String returns the string representation. 10652 // 10653 // API parameter values that are decorated as "sensitive" in the API will not 10654 // be included in the string output. The member name will be present, but the 10655 // value will be replaced with "sensitive". 10656 func (s CreateMultiplexProgramInput) String() string { 10657 return awsutil.Prettify(s) 10658 } 10659 10660 // GoString returns the string representation. 10661 // 10662 // API parameter values that are decorated as "sensitive" in the API will not 10663 // be included in the string output. The member name will be present, but the 10664 // value will be replaced with "sensitive". 10665 func (s CreateMultiplexProgramInput) GoString() string { 10666 return s.String() 10667 } 10668 10669 // Validate inspects the fields of the type to determine if they are valid. 10670 func (s *CreateMultiplexProgramInput) Validate() error { 10671 invalidParams := request.ErrInvalidParams{Context: "CreateMultiplexProgramInput"} 10672 if s.MultiplexId == nil { 10673 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 10674 } 10675 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 10676 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 10677 } 10678 if s.MultiplexProgramSettings == nil { 10679 invalidParams.Add(request.NewErrParamRequired("MultiplexProgramSettings")) 10680 } 10681 if s.ProgramName == nil { 10682 invalidParams.Add(request.NewErrParamRequired("ProgramName")) 10683 } 10684 if s.MultiplexProgramSettings != nil { 10685 if err := s.MultiplexProgramSettings.Validate(); err != nil { 10686 invalidParams.AddNested("MultiplexProgramSettings", err.(request.ErrInvalidParams)) 10687 } 10688 } 10689 10690 if invalidParams.Len() > 0 { 10691 return invalidParams 10692 } 10693 return nil 10694 } 10695 10696 // SetMultiplexId sets the MultiplexId field's value. 10697 func (s *CreateMultiplexProgramInput) SetMultiplexId(v string) *CreateMultiplexProgramInput { 10698 s.MultiplexId = &v 10699 return s 10700 } 10701 10702 // SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. 10703 func (s *CreateMultiplexProgramInput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *CreateMultiplexProgramInput { 10704 s.MultiplexProgramSettings = v 10705 return s 10706 } 10707 10708 // SetProgramName sets the ProgramName field's value. 10709 func (s *CreateMultiplexProgramInput) SetProgramName(v string) *CreateMultiplexProgramInput { 10710 s.ProgramName = &v 10711 return s 10712 } 10713 10714 // SetRequestId sets the RequestId field's value. 10715 func (s *CreateMultiplexProgramInput) SetRequestId(v string) *CreateMultiplexProgramInput { 10716 s.RequestId = &v 10717 return s 10718 } 10719 10720 type CreateMultiplexProgramOutput struct { 10721 _ struct{} `type:"structure"` 10722 10723 // The multiplex program object. 10724 MultiplexProgram *MultiplexProgram `locationName:"multiplexProgram" type:"structure"` 10725 } 10726 10727 // String returns the string representation. 10728 // 10729 // API parameter values that are decorated as "sensitive" in the API will not 10730 // be included in the string output. The member name will be present, but the 10731 // value will be replaced with "sensitive". 10732 func (s CreateMultiplexProgramOutput) String() string { 10733 return awsutil.Prettify(s) 10734 } 10735 10736 // GoString returns the string representation. 10737 // 10738 // API parameter values that are decorated as "sensitive" in the API will not 10739 // be included in the string output. The member name will be present, but the 10740 // value will be replaced with "sensitive". 10741 func (s CreateMultiplexProgramOutput) GoString() string { 10742 return s.String() 10743 } 10744 10745 // SetMultiplexProgram sets the MultiplexProgram field's value. 10746 func (s *CreateMultiplexProgramOutput) SetMultiplexProgram(v *MultiplexProgram) *CreateMultiplexProgramOutput { 10747 s.MultiplexProgram = v 10748 return s 10749 } 10750 10751 type CreatePartnerInputInput struct { 10752 _ struct{} `type:"structure"` 10753 10754 // InputId is a required field 10755 InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` 10756 10757 RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` 10758 10759 Tags map[string]*string `locationName:"tags" type:"map"` 10760 } 10761 10762 // String returns the string representation. 10763 // 10764 // API parameter values that are decorated as "sensitive" in the API will not 10765 // be included in the string output. The member name will be present, but the 10766 // value will be replaced with "sensitive". 10767 func (s CreatePartnerInputInput) String() string { 10768 return awsutil.Prettify(s) 10769 } 10770 10771 // GoString returns the string representation. 10772 // 10773 // API parameter values that are decorated as "sensitive" in the API will not 10774 // be included in the string output. The member name will be present, but the 10775 // value will be replaced with "sensitive". 10776 func (s CreatePartnerInputInput) GoString() string { 10777 return s.String() 10778 } 10779 10780 // Validate inspects the fields of the type to determine if they are valid. 10781 func (s *CreatePartnerInputInput) Validate() error { 10782 invalidParams := request.ErrInvalidParams{Context: "CreatePartnerInputInput"} 10783 if s.InputId == nil { 10784 invalidParams.Add(request.NewErrParamRequired("InputId")) 10785 } 10786 if s.InputId != nil && len(*s.InputId) < 1 { 10787 invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) 10788 } 10789 10790 if invalidParams.Len() > 0 { 10791 return invalidParams 10792 } 10793 return nil 10794 } 10795 10796 // SetInputId sets the InputId field's value. 10797 func (s *CreatePartnerInputInput) SetInputId(v string) *CreatePartnerInputInput { 10798 s.InputId = &v 10799 return s 10800 } 10801 10802 // SetRequestId sets the RequestId field's value. 10803 func (s *CreatePartnerInputInput) SetRequestId(v string) *CreatePartnerInputInput { 10804 s.RequestId = &v 10805 return s 10806 } 10807 10808 // SetTags sets the Tags field's value. 10809 func (s *CreatePartnerInputInput) SetTags(v map[string]*string) *CreatePartnerInputInput { 10810 s.Tags = v 10811 return s 10812 } 10813 10814 type CreatePartnerInputOutput struct { 10815 _ struct{} `type:"structure"` 10816 10817 Input *Input `locationName:"input" type:"structure"` 10818 } 10819 10820 // String returns the string representation. 10821 // 10822 // API parameter values that are decorated as "sensitive" in the API will not 10823 // be included in the string output. The member name will be present, but the 10824 // value will be replaced with "sensitive". 10825 func (s CreatePartnerInputOutput) String() string { 10826 return awsutil.Prettify(s) 10827 } 10828 10829 // GoString returns the string representation. 10830 // 10831 // API parameter values that are decorated as "sensitive" in the API will not 10832 // be included in the string output. The member name will be present, but the 10833 // value will be replaced with "sensitive". 10834 func (s CreatePartnerInputOutput) GoString() string { 10835 return s.String() 10836 } 10837 10838 // SetInput sets the Input field's value. 10839 func (s *CreatePartnerInputOutput) SetInput(v *Input) *CreatePartnerInputOutput { 10840 s.Input = v 10841 return s 10842 } 10843 10844 type CreateTagsInput struct { 10845 _ struct{} `type:"structure"` 10846 10847 // ResourceArn is a required field 10848 ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` 10849 10850 Tags map[string]*string `locationName:"tags" type:"map"` 10851 } 10852 10853 // String returns the string representation. 10854 // 10855 // API parameter values that are decorated as "sensitive" in the API will not 10856 // be included in the string output. The member name will be present, but the 10857 // value will be replaced with "sensitive". 10858 func (s CreateTagsInput) String() string { 10859 return awsutil.Prettify(s) 10860 } 10861 10862 // GoString returns the string representation. 10863 // 10864 // API parameter values that are decorated as "sensitive" in the API will not 10865 // be included in the string output. The member name will be present, but the 10866 // value will be replaced with "sensitive". 10867 func (s CreateTagsInput) GoString() string { 10868 return s.String() 10869 } 10870 10871 // Validate inspects the fields of the type to determine if they are valid. 10872 func (s *CreateTagsInput) Validate() error { 10873 invalidParams := request.ErrInvalidParams{Context: "CreateTagsInput"} 10874 if s.ResourceArn == nil { 10875 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 10876 } 10877 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 10878 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 10879 } 10880 10881 if invalidParams.Len() > 0 { 10882 return invalidParams 10883 } 10884 return nil 10885 } 10886 10887 // SetResourceArn sets the ResourceArn field's value. 10888 func (s *CreateTagsInput) SetResourceArn(v string) *CreateTagsInput { 10889 s.ResourceArn = &v 10890 return s 10891 } 10892 10893 // SetTags sets the Tags field's value. 10894 func (s *CreateTagsInput) SetTags(v map[string]*string) *CreateTagsInput { 10895 s.Tags = v 10896 return s 10897 } 10898 10899 type CreateTagsOutput struct { 10900 _ struct{} `type:"structure" nopayload:"true"` 10901 } 10902 10903 // String returns the string representation. 10904 // 10905 // API parameter values that are decorated as "sensitive" in the API will not 10906 // be included in the string output. The member name will be present, but the 10907 // value will be replaced with "sensitive". 10908 func (s CreateTagsOutput) String() string { 10909 return awsutil.Prettify(s) 10910 } 10911 10912 // GoString returns the string representation. 10913 // 10914 // API parameter values that are decorated as "sensitive" in the API will not 10915 // be included in the string output. The member name will be present, but the 10916 // value will be replaced with "sensitive". 10917 func (s CreateTagsOutput) GoString() string { 10918 return s.String() 10919 } 10920 10921 type DeleteChannelInput struct { 10922 _ struct{} `type:"structure" nopayload:"true"` 10923 10924 // ChannelId is a required field 10925 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 10926 } 10927 10928 // String returns the string representation. 10929 // 10930 // API parameter values that are decorated as "sensitive" in the API will not 10931 // be included in the string output. The member name will be present, but the 10932 // value will be replaced with "sensitive". 10933 func (s DeleteChannelInput) String() string { 10934 return awsutil.Prettify(s) 10935 } 10936 10937 // GoString returns the string representation. 10938 // 10939 // API parameter values that are decorated as "sensitive" in the API will not 10940 // be included in the string output. The member name will be present, but the 10941 // value will be replaced with "sensitive". 10942 func (s DeleteChannelInput) GoString() string { 10943 return s.String() 10944 } 10945 10946 // Validate inspects the fields of the type to determine if they are valid. 10947 func (s *DeleteChannelInput) Validate() error { 10948 invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"} 10949 if s.ChannelId == nil { 10950 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 10951 } 10952 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 10953 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 10954 } 10955 10956 if invalidParams.Len() > 0 { 10957 return invalidParams 10958 } 10959 return nil 10960 } 10961 10962 // SetChannelId sets the ChannelId field's value. 10963 func (s *DeleteChannelInput) SetChannelId(v string) *DeleteChannelInput { 10964 s.ChannelId = &v 10965 return s 10966 } 10967 10968 type DeleteChannelOutput struct { 10969 _ struct{} `type:"structure"` 10970 10971 Arn *string `locationName:"arn" type:"string"` 10972 10973 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 10974 10975 // A standard channel has two encoding pipelines and a single pipeline channel 10976 // only has one. 10977 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 10978 10979 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 10980 10981 EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` 10982 10983 // Encoder Settings 10984 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 10985 10986 Id *string `locationName:"id" type:"string"` 10987 10988 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 10989 10990 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 10991 10992 // The log level the user wants for their channel. 10993 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 10994 10995 Name *string `locationName:"name" type:"string"` 10996 10997 PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` 10998 10999 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 11000 11001 RoleArn *string `locationName:"roleArn" type:"string"` 11002 11003 State *string `locationName:"state" type:"string" enum:"ChannelState"` 11004 11005 Tags map[string]*string `locationName:"tags" type:"map"` 11006 11007 // The properties for a private VPC Output 11008 Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` 11009 } 11010 11011 // String returns the string representation. 11012 // 11013 // API parameter values that are decorated as "sensitive" in the API will not 11014 // be included in the string output. The member name will be present, but the 11015 // value will be replaced with "sensitive". 11016 func (s DeleteChannelOutput) String() string { 11017 return awsutil.Prettify(s) 11018 } 11019 11020 // GoString returns the string representation. 11021 // 11022 // API parameter values that are decorated as "sensitive" in the API will not 11023 // be included in the string output. The member name will be present, but the 11024 // value will be replaced with "sensitive". 11025 func (s DeleteChannelOutput) GoString() string { 11026 return s.String() 11027 } 11028 11029 // SetArn sets the Arn field's value. 11030 func (s *DeleteChannelOutput) SetArn(v string) *DeleteChannelOutput { 11031 s.Arn = &v 11032 return s 11033 } 11034 11035 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 11036 func (s *DeleteChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *DeleteChannelOutput { 11037 s.CdiInputSpecification = v 11038 return s 11039 } 11040 11041 // SetChannelClass sets the ChannelClass field's value. 11042 func (s *DeleteChannelOutput) SetChannelClass(v string) *DeleteChannelOutput { 11043 s.ChannelClass = &v 11044 return s 11045 } 11046 11047 // SetDestinations sets the Destinations field's value. 11048 func (s *DeleteChannelOutput) SetDestinations(v []*OutputDestination) *DeleteChannelOutput { 11049 s.Destinations = v 11050 return s 11051 } 11052 11053 // SetEgressEndpoints sets the EgressEndpoints field's value. 11054 func (s *DeleteChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DeleteChannelOutput { 11055 s.EgressEndpoints = v 11056 return s 11057 } 11058 11059 // SetEncoderSettings sets the EncoderSettings field's value. 11060 func (s *DeleteChannelOutput) SetEncoderSettings(v *EncoderSettings) *DeleteChannelOutput { 11061 s.EncoderSettings = v 11062 return s 11063 } 11064 11065 // SetId sets the Id field's value. 11066 func (s *DeleteChannelOutput) SetId(v string) *DeleteChannelOutput { 11067 s.Id = &v 11068 return s 11069 } 11070 11071 // SetInputAttachments sets the InputAttachments field's value. 11072 func (s *DeleteChannelOutput) SetInputAttachments(v []*InputAttachment) *DeleteChannelOutput { 11073 s.InputAttachments = v 11074 return s 11075 } 11076 11077 // SetInputSpecification sets the InputSpecification field's value. 11078 func (s *DeleteChannelOutput) SetInputSpecification(v *InputSpecification) *DeleteChannelOutput { 11079 s.InputSpecification = v 11080 return s 11081 } 11082 11083 // SetLogLevel sets the LogLevel field's value. 11084 func (s *DeleteChannelOutput) SetLogLevel(v string) *DeleteChannelOutput { 11085 s.LogLevel = &v 11086 return s 11087 } 11088 11089 // SetName sets the Name field's value. 11090 func (s *DeleteChannelOutput) SetName(v string) *DeleteChannelOutput { 11091 s.Name = &v 11092 return s 11093 } 11094 11095 // SetPipelineDetails sets the PipelineDetails field's value. 11096 func (s *DeleteChannelOutput) SetPipelineDetails(v []*PipelineDetail) *DeleteChannelOutput { 11097 s.PipelineDetails = v 11098 return s 11099 } 11100 11101 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 11102 func (s *DeleteChannelOutput) SetPipelinesRunningCount(v int64) *DeleteChannelOutput { 11103 s.PipelinesRunningCount = &v 11104 return s 11105 } 11106 11107 // SetRoleArn sets the RoleArn field's value. 11108 func (s *DeleteChannelOutput) SetRoleArn(v string) *DeleteChannelOutput { 11109 s.RoleArn = &v 11110 return s 11111 } 11112 11113 // SetState sets the State field's value. 11114 func (s *DeleteChannelOutput) SetState(v string) *DeleteChannelOutput { 11115 s.State = &v 11116 return s 11117 } 11118 11119 // SetTags sets the Tags field's value. 11120 func (s *DeleteChannelOutput) SetTags(v map[string]*string) *DeleteChannelOutput { 11121 s.Tags = v 11122 return s 11123 } 11124 11125 // SetVpc sets the Vpc field's value. 11126 func (s *DeleteChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *DeleteChannelOutput { 11127 s.Vpc = v 11128 return s 11129 } 11130 11131 type DeleteInputInput struct { 11132 _ struct{} `type:"structure" nopayload:"true"` 11133 11134 // InputId is a required field 11135 InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` 11136 } 11137 11138 // String returns the string representation. 11139 // 11140 // API parameter values that are decorated as "sensitive" in the API will not 11141 // be included in the string output. The member name will be present, but the 11142 // value will be replaced with "sensitive". 11143 func (s DeleteInputInput) String() string { 11144 return awsutil.Prettify(s) 11145 } 11146 11147 // GoString returns the string representation. 11148 // 11149 // API parameter values that are decorated as "sensitive" in the API will not 11150 // be included in the string output. The member name will be present, but the 11151 // value will be replaced with "sensitive". 11152 func (s DeleteInputInput) GoString() string { 11153 return s.String() 11154 } 11155 11156 // Validate inspects the fields of the type to determine if they are valid. 11157 func (s *DeleteInputInput) Validate() error { 11158 invalidParams := request.ErrInvalidParams{Context: "DeleteInputInput"} 11159 if s.InputId == nil { 11160 invalidParams.Add(request.NewErrParamRequired("InputId")) 11161 } 11162 if s.InputId != nil && len(*s.InputId) < 1 { 11163 invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) 11164 } 11165 11166 if invalidParams.Len() > 0 { 11167 return invalidParams 11168 } 11169 return nil 11170 } 11171 11172 // SetInputId sets the InputId field's value. 11173 func (s *DeleteInputInput) SetInputId(v string) *DeleteInputInput { 11174 s.InputId = &v 11175 return s 11176 } 11177 11178 type DeleteInputOutput struct { 11179 _ struct{} `type:"structure" nopayload:"true"` 11180 } 11181 11182 // String returns the string representation. 11183 // 11184 // API parameter values that are decorated as "sensitive" in the API will not 11185 // be included in the string output. The member name will be present, but the 11186 // value will be replaced with "sensitive". 11187 func (s DeleteInputOutput) String() string { 11188 return awsutil.Prettify(s) 11189 } 11190 11191 // GoString returns the string representation. 11192 // 11193 // API parameter values that are decorated as "sensitive" in the API will not 11194 // be included in the string output. The member name will be present, but the 11195 // value will be replaced with "sensitive". 11196 func (s DeleteInputOutput) GoString() string { 11197 return s.String() 11198 } 11199 11200 type DeleteInputSecurityGroupInput struct { 11201 _ struct{} `type:"structure" nopayload:"true"` 11202 11203 // InputSecurityGroupId is a required field 11204 InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` 11205 } 11206 11207 // String returns the string representation. 11208 // 11209 // API parameter values that are decorated as "sensitive" in the API will not 11210 // be included in the string output. The member name will be present, but the 11211 // value will be replaced with "sensitive". 11212 func (s DeleteInputSecurityGroupInput) String() string { 11213 return awsutil.Prettify(s) 11214 } 11215 11216 // GoString returns the string representation. 11217 // 11218 // API parameter values that are decorated as "sensitive" in the API will not 11219 // be included in the string output. The member name will be present, but the 11220 // value will be replaced with "sensitive". 11221 func (s DeleteInputSecurityGroupInput) GoString() string { 11222 return s.String() 11223 } 11224 11225 // Validate inspects the fields of the type to determine if they are valid. 11226 func (s *DeleteInputSecurityGroupInput) Validate() error { 11227 invalidParams := request.ErrInvalidParams{Context: "DeleteInputSecurityGroupInput"} 11228 if s.InputSecurityGroupId == nil { 11229 invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) 11230 } 11231 if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { 11232 invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) 11233 } 11234 11235 if invalidParams.Len() > 0 { 11236 return invalidParams 11237 } 11238 return nil 11239 } 11240 11241 // SetInputSecurityGroupId sets the InputSecurityGroupId field's value. 11242 func (s *DeleteInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DeleteInputSecurityGroupInput { 11243 s.InputSecurityGroupId = &v 11244 return s 11245 } 11246 11247 type DeleteInputSecurityGroupOutput struct { 11248 _ struct{} `type:"structure" nopayload:"true"` 11249 } 11250 11251 // String returns the string representation. 11252 // 11253 // API parameter values that are decorated as "sensitive" in the API will not 11254 // be included in the string output. The member name will be present, but the 11255 // value will be replaced with "sensitive". 11256 func (s DeleteInputSecurityGroupOutput) String() string { 11257 return awsutil.Prettify(s) 11258 } 11259 11260 // GoString returns the string representation. 11261 // 11262 // API parameter values that are decorated as "sensitive" in the API will not 11263 // be included in the string output. The member name will be present, but the 11264 // value will be replaced with "sensitive". 11265 func (s DeleteInputSecurityGroupOutput) GoString() string { 11266 return s.String() 11267 } 11268 11269 type DeleteMultiplexInput struct { 11270 _ struct{} `type:"structure" nopayload:"true"` 11271 11272 // MultiplexId is a required field 11273 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 11274 } 11275 11276 // String returns the string representation. 11277 // 11278 // API parameter values that are decorated as "sensitive" in the API will not 11279 // be included in the string output. The member name will be present, but the 11280 // value will be replaced with "sensitive". 11281 func (s DeleteMultiplexInput) String() string { 11282 return awsutil.Prettify(s) 11283 } 11284 11285 // GoString returns the string representation. 11286 // 11287 // API parameter values that are decorated as "sensitive" in the API will not 11288 // be included in the string output. The member name will be present, but the 11289 // value will be replaced with "sensitive". 11290 func (s DeleteMultiplexInput) GoString() string { 11291 return s.String() 11292 } 11293 11294 // Validate inspects the fields of the type to determine if they are valid. 11295 func (s *DeleteMultiplexInput) Validate() error { 11296 invalidParams := request.ErrInvalidParams{Context: "DeleteMultiplexInput"} 11297 if s.MultiplexId == nil { 11298 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 11299 } 11300 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 11301 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 11302 } 11303 11304 if invalidParams.Len() > 0 { 11305 return invalidParams 11306 } 11307 return nil 11308 } 11309 11310 // SetMultiplexId sets the MultiplexId field's value. 11311 func (s *DeleteMultiplexInput) SetMultiplexId(v string) *DeleteMultiplexInput { 11312 s.MultiplexId = &v 11313 return s 11314 } 11315 11316 type DeleteMultiplexOutput struct { 11317 _ struct{} `type:"structure"` 11318 11319 Arn *string `locationName:"arn" type:"string"` 11320 11321 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 11322 11323 Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` 11324 11325 Id *string `locationName:"id" type:"string"` 11326 11327 // Contains configuration for a Multiplex event 11328 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` 11329 11330 Name *string `locationName:"name" type:"string"` 11331 11332 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 11333 11334 ProgramCount *int64 `locationName:"programCount" type:"integer"` 11335 11336 // The current state of the multiplex. 11337 State *string `locationName:"state" type:"string" enum:"MultiplexState"` 11338 11339 Tags map[string]*string `locationName:"tags" type:"map"` 11340 } 11341 11342 // String returns the string representation. 11343 // 11344 // API parameter values that are decorated as "sensitive" in the API will not 11345 // be included in the string output. The member name will be present, but the 11346 // value will be replaced with "sensitive". 11347 func (s DeleteMultiplexOutput) String() string { 11348 return awsutil.Prettify(s) 11349 } 11350 11351 // GoString returns the string representation. 11352 // 11353 // API parameter values that are decorated as "sensitive" in the API will not 11354 // be included in the string output. The member name will be present, but the 11355 // value will be replaced with "sensitive". 11356 func (s DeleteMultiplexOutput) GoString() string { 11357 return s.String() 11358 } 11359 11360 // SetArn sets the Arn field's value. 11361 func (s *DeleteMultiplexOutput) SetArn(v string) *DeleteMultiplexOutput { 11362 s.Arn = &v 11363 return s 11364 } 11365 11366 // SetAvailabilityZones sets the AvailabilityZones field's value. 11367 func (s *DeleteMultiplexOutput) SetAvailabilityZones(v []*string) *DeleteMultiplexOutput { 11368 s.AvailabilityZones = v 11369 return s 11370 } 11371 11372 // SetDestinations sets the Destinations field's value. 11373 func (s *DeleteMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *DeleteMultiplexOutput { 11374 s.Destinations = v 11375 return s 11376 } 11377 11378 // SetId sets the Id field's value. 11379 func (s *DeleteMultiplexOutput) SetId(v string) *DeleteMultiplexOutput { 11380 s.Id = &v 11381 return s 11382 } 11383 11384 // SetMultiplexSettings sets the MultiplexSettings field's value. 11385 func (s *DeleteMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *DeleteMultiplexOutput { 11386 s.MultiplexSettings = v 11387 return s 11388 } 11389 11390 // SetName sets the Name field's value. 11391 func (s *DeleteMultiplexOutput) SetName(v string) *DeleteMultiplexOutput { 11392 s.Name = &v 11393 return s 11394 } 11395 11396 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 11397 func (s *DeleteMultiplexOutput) SetPipelinesRunningCount(v int64) *DeleteMultiplexOutput { 11398 s.PipelinesRunningCount = &v 11399 return s 11400 } 11401 11402 // SetProgramCount sets the ProgramCount field's value. 11403 func (s *DeleteMultiplexOutput) SetProgramCount(v int64) *DeleteMultiplexOutput { 11404 s.ProgramCount = &v 11405 return s 11406 } 11407 11408 // SetState sets the State field's value. 11409 func (s *DeleteMultiplexOutput) SetState(v string) *DeleteMultiplexOutput { 11410 s.State = &v 11411 return s 11412 } 11413 11414 // SetTags sets the Tags field's value. 11415 func (s *DeleteMultiplexOutput) SetTags(v map[string]*string) *DeleteMultiplexOutput { 11416 s.Tags = v 11417 return s 11418 } 11419 11420 type DeleteMultiplexProgramInput struct { 11421 _ struct{} `type:"structure" nopayload:"true"` 11422 11423 // MultiplexId is a required field 11424 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 11425 11426 // ProgramName is a required field 11427 ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` 11428 } 11429 11430 // String returns the string representation. 11431 // 11432 // API parameter values that are decorated as "sensitive" in the API will not 11433 // be included in the string output. The member name will be present, but the 11434 // value will be replaced with "sensitive". 11435 func (s DeleteMultiplexProgramInput) String() string { 11436 return awsutil.Prettify(s) 11437 } 11438 11439 // GoString returns the string representation. 11440 // 11441 // API parameter values that are decorated as "sensitive" in the API will not 11442 // be included in the string output. The member name will be present, but the 11443 // value will be replaced with "sensitive". 11444 func (s DeleteMultiplexProgramInput) GoString() string { 11445 return s.String() 11446 } 11447 11448 // Validate inspects the fields of the type to determine if they are valid. 11449 func (s *DeleteMultiplexProgramInput) Validate() error { 11450 invalidParams := request.ErrInvalidParams{Context: "DeleteMultiplexProgramInput"} 11451 if s.MultiplexId == nil { 11452 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 11453 } 11454 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 11455 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 11456 } 11457 if s.ProgramName == nil { 11458 invalidParams.Add(request.NewErrParamRequired("ProgramName")) 11459 } 11460 if s.ProgramName != nil && len(*s.ProgramName) < 1 { 11461 invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) 11462 } 11463 11464 if invalidParams.Len() > 0 { 11465 return invalidParams 11466 } 11467 return nil 11468 } 11469 11470 // SetMultiplexId sets the MultiplexId field's value. 11471 func (s *DeleteMultiplexProgramInput) SetMultiplexId(v string) *DeleteMultiplexProgramInput { 11472 s.MultiplexId = &v 11473 return s 11474 } 11475 11476 // SetProgramName sets the ProgramName field's value. 11477 func (s *DeleteMultiplexProgramInput) SetProgramName(v string) *DeleteMultiplexProgramInput { 11478 s.ProgramName = &v 11479 return s 11480 } 11481 11482 type DeleteMultiplexProgramOutput struct { 11483 _ struct{} `type:"structure"` 11484 11485 ChannelId *string `locationName:"channelId" type:"string"` 11486 11487 // Multiplex Program settings configuration. 11488 MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` 11489 11490 // Packet identifiers map for a given Multiplex program. 11491 PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` 11492 11493 PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` 11494 11495 ProgramName *string `locationName:"programName" type:"string"` 11496 } 11497 11498 // String returns the string representation. 11499 // 11500 // API parameter values that are decorated as "sensitive" in the API will not 11501 // be included in the string output. The member name will be present, but the 11502 // value will be replaced with "sensitive". 11503 func (s DeleteMultiplexProgramOutput) String() string { 11504 return awsutil.Prettify(s) 11505 } 11506 11507 // GoString returns the string representation. 11508 // 11509 // API parameter values that are decorated as "sensitive" in the API will not 11510 // be included in the string output. The member name will be present, but the 11511 // value will be replaced with "sensitive". 11512 func (s DeleteMultiplexProgramOutput) GoString() string { 11513 return s.String() 11514 } 11515 11516 // SetChannelId sets the ChannelId field's value. 11517 func (s *DeleteMultiplexProgramOutput) SetChannelId(v string) *DeleteMultiplexProgramOutput { 11518 s.ChannelId = &v 11519 return s 11520 } 11521 11522 // SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. 11523 func (s *DeleteMultiplexProgramOutput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *DeleteMultiplexProgramOutput { 11524 s.MultiplexProgramSettings = v 11525 return s 11526 } 11527 11528 // SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. 11529 func (s *DeleteMultiplexProgramOutput) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *DeleteMultiplexProgramOutput { 11530 s.PacketIdentifiersMap = v 11531 return s 11532 } 11533 11534 // SetPipelineDetails sets the PipelineDetails field's value. 11535 func (s *DeleteMultiplexProgramOutput) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *DeleteMultiplexProgramOutput { 11536 s.PipelineDetails = v 11537 return s 11538 } 11539 11540 // SetProgramName sets the ProgramName field's value. 11541 func (s *DeleteMultiplexProgramOutput) SetProgramName(v string) *DeleteMultiplexProgramOutput { 11542 s.ProgramName = &v 11543 return s 11544 } 11545 11546 type DeleteReservationInput struct { 11547 _ struct{} `type:"structure" nopayload:"true"` 11548 11549 // ReservationId is a required field 11550 ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` 11551 } 11552 11553 // String returns the string representation. 11554 // 11555 // API parameter values that are decorated as "sensitive" in the API will not 11556 // be included in the string output. The member name will be present, but the 11557 // value will be replaced with "sensitive". 11558 func (s DeleteReservationInput) String() string { 11559 return awsutil.Prettify(s) 11560 } 11561 11562 // GoString returns the string representation. 11563 // 11564 // API parameter values that are decorated as "sensitive" in the API will not 11565 // be included in the string output. The member name will be present, but the 11566 // value will be replaced with "sensitive". 11567 func (s DeleteReservationInput) GoString() string { 11568 return s.String() 11569 } 11570 11571 // Validate inspects the fields of the type to determine if they are valid. 11572 func (s *DeleteReservationInput) Validate() error { 11573 invalidParams := request.ErrInvalidParams{Context: "DeleteReservationInput"} 11574 if s.ReservationId == nil { 11575 invalidParams.Add(request.NewErrParamRequired("ReservationId")) 11576 } 11577 if s.ReservationId != nil && len(*s.ReservationId) < 1 { 11578 invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) 11579 } 11580 11581 if invalidParams.Len() > 0 { 11582 return invalidParams 11583 } 11584 return nil 11585 } 11586 11587 // SetReservationId sets the ReservationId field's value. 11588 func (s *DeleteReservationInput) SetReservationId(v string) *DeleteReservationInput { 11589 s.ReservationId = &v 11590 return s 11591 } 11592 11593 type DeleteReservationOutput struct { 11594 _ struct{} `type:"structure"` 11595 11596 Arn *string `locationName:"arn" type:"string"` 11597 11598 Count *int64 `locationName:"count" type:"integer"` 11599 11600 CurrencyCode *string `locationName:"currencyCode" type:"string"` 11601 11602 Duration *int64 `locationName:"duration" type:"integer"` 11603 11604 // Units for duration, e.g. 'MONTHS' 11605 DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` 11606 11607 End *string `locationName:"end" type:"string"` 11608 11609 FixedPrice *float64 `locationName:"fixedPrice" type:"double"` 11610 11611 Name *string `locationName:"name" type:"string"` 11612 11613 OfferingDescription *string `locationName:"offeringDescription" type:"string"` 11614 11615 OfferingId *string `locationName:"offeringId" type:"string"` 11616 11617 // Offering type, e.g. 'NO_UPFRONT' 11618 OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` 11619 11620 Region *string `locationName:"region" type:"string"` 11621 11622 ReservationId *string `locationName:"reservationId" type:"string"` 11623 11624 // Resource configuration (codec, resolution, bitrate, ...) 11625 ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` 11626 11627 Start *string `locationName:"start" type:"string"` 11628 11629 // Current reservation state 11630 State *string `locationName:"state" type:"string" enum:"ReservationState"` 11631 11632 Tags map[string]*string `locationName:"tags" type:"map"` 11633 11634 UsagePrice *float64 `locationName:"usagePrice" type:"double"` 11635 } 11636 11637 // String returns the string representation. 11638 // 11639 // API parameter values that are decorated as "sensitive" in the API will not 11640 // be included in the string output. The member name will be present, but the 11641 // value will be replaced with "sensitive". 11642 func (s DeleteReservationOutput) String() string { 11643 return awsutil.Prettify(s) 11644 } 11645 11646 // GoString returns the string representation. 11647 // 11648 // API parameter values that are decorated as "sensitive" in the API will not 11649 // be included in the string output. The member name will be present, but the 11650 // value will be replaced with "sensitive". 11651 func (s DeleteReservationOutput) GoString() string { 11652 return s.String() 11653 } 11654 11655 // SetArn sets the Arn field's value. 11656 func (s *DeleteReservationOutput) SetArn(v string) *DeleteReservationOutput { 11657 s.Arn = &v 11658 return s 11659 } 11660 11661 // SetCount sets the Count field's value. 11662 func (s *DeleteReservationOutput) SetCount(v int64) *DeleteReservationOutput { 11663 s.Count = &v 11664 return s 11665 } 11666 11667 // SetCurrencyCode sets the CurrencyCode field's value. 11668 func (s *DeleteReservationOutput) SetCurrencyCode(v string) *DeleteReservationOutput { 11669 s.CurrencyCode = &v 11670 return s 11671 } 11672 11673 // SetDuration sets the Duration field's value. 11674 func (s *DeleteReservationOutput) SetDuration(v int64) *DeleteReservationOutput { 11675 s.Duration = &v 11676 return s 11677 } 11678 11679 // SetDurationUnits sets the DurationUnits field's value. 11680 func (s *DeleteReservationOutput) SetDurationUnits(v string) *DeleteReservationOutput { 11681 s.DurationUnits = &v 11682 return s 11683 } 11684 11685 // SetEnd sets the End field's value. 11686 func (s *DeleteReservationOutput) SetEnd(v string) *DeleteReservationOutput { 11687 s.End = &v 11688 return s 11689 } 11690 11691 // SetFixedPrice sets the FixedPrice field's value. 11692 func (s *DeleteReservationOutput) SetFixedPrice(v float64) *DeleteReservationOutput { 11693 s.FixedPrice = &v 11694 return s 11695 } 11696 11697 // SetName sets the Name field's value. 11698 func (s *DeleteReservationOutput) SetName(v string) *DeleteReservationOutput { 11699 s.Name = &v 11700 return s 11701 } 11702 11703 // SetOfferingDescription sets the OfferingDescription field's value. 11704 func (s *DeleteReservationOutput) SetOfferingDescription(v string) *DeleteReservationOutput { 11705 s.OfferingDescription = &v 11706 return s 11707 } 11708 11709 // SetOfferingId sets the OfferingId field's value. 11710 func (s *DeleteReservationOutput) SetOfferingId(v string) *DeleteReservationOutput { 11711 s.OfferingId = &v 11712 return s 11713 } 11714 11715 // SetOfferingType sets the OfferingType field's value. 11716 func (s *DeleteReservationOutput) SetOfferingType(v string) *DeleteReservationOutput { 11717 s.OfferingType = &v 11718 return s 11719 } 11720 11721 // SetRegion sets the Region field's value. 11722 func (s *DeleteReservationOutput) SetRegion(v string) *DeleteReservationOutput { 11723 s.Region = &v 11724 return s 11725 } 11726 11727 // SetReservationId sets the ReservationId field's value. 11728 func (s *DeleteReservationOutput) SetReservationId(v string) *DeleteReservationOutput { 11729 s.ReservationId = &v 11730 return s 11731 } 11732 11733 // SetResourceSpecification sets the ResourceSpecification field's value. 11734 func (s *DeleteReservationOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DeleteReservationOutput { 11735 s.ResourceSpecification = v 11736 return s 11737 } 11738 11739 // SetStart sets the Start field's value. 11740 func (s *DeleteReservationOutput) SetStart(v string) *DeleteReservationOutput { 11741 s.Start = &v 11742 return s 11743 } 11744 11745 // SetState sets the State field's value. 11746 func (s *DeleteReservationOutput) SetState(v string) *DeleteReservationOutput { 11747 s.State = &v 11748 return s 11749 } 11750 11751 // SetTags sets the Tags field's value. 11752 func (s *DeleteReservationOutput) SetTags(v map[string]*string) *DeleteReservationOutput { 11753 s.Tags = v 11754 return s 11755 } 11756 11757 // SetUsagePrice sets the UsagePrice field's value. 11758 func (s *DeleteReservationOutput) SetUsagePrice(v float64) *DeleteReservationOutput { 11759 s.UsagePrice = &v 11760 return s 11761 } 11762 11763 type DeleteScheduleInput struct { 11764 _ struct{} `type:"structure" nopayload:"true"` 11765 11766 // ChannelId is a required field 11767 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 11768 } 11769 11770 // String returns the string representation. 11771 // 11772 // API parameter values that are decorated as "sensitive" in the API will not 11773 // be included in the string output. The member name will be present, but the 11774 // value will be replaced with "sensitive". 11775 func (s DeleteScheduleInput) String() string { 11776 return awsutil.Prettify(s) 11777 } 11778 11779 // GoString returns the string representation. 11780 // 11781 // API parameter values that are decorated as "sensitive" in the API will not 11782 // be included in the string output. The member name will be present, but the 11783 // value will be replaced with "sensitive". 11784 func (s DeleteScheduleInput) GoString() string { 11785 return s.String() 11786 } 11787 11788 // Validate inspects the fields of the type to determine if they are valid. 11789 func (s *DeleteScheduleInput) Validate() error { 11790 invalidParams := request.ErrInvalidParams{Context: "DeleteScheduleInput"} 11791 if s.ChannelId == nil { 11792 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 11793 } 11794 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 11795 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 11796 } 11797 11798 if invalidParams.Len() > 0 { 11799 return invalidParams 11800 } 11801 return nil 11802 } 11803 11804 // SetChannelId sets the ChannelId field's value. 11805 func (s *DeleteScheduleInput) SetChannelId(v string) *DeleteScheduleInput { 11806 s.ChannelId = &v 11807 return s 11808 } 11809 11810 type DeleteScheduleOutput struct { 11811 _ struct{} `type:"structure" nopayload:"true"` 11812 } 11813 11814 // String returns the string representation. 11815 // 11816 // API parameter values that are decorated as "sensitive" in the API will not 11817 // be included in the string output. The member name will be present, but the 11818 // value will be replaced with "sensitive". 11819 func (s DeleteScheduleOutput) String() string { 11820 return awsutil.Prettify(s) 11821 } 11822 11823 // GoString returns the string representation. 11824 // 11825 // API parameter values that are decorated as "sensitive" in the API will not 11826 // be included in the string output. The member name will be present, but the 11827 // value will be replaced with "sensitive". 11828 func (s DeleteScheduleOutput) GoString() string { 11829 return s.String() 11830 } 11831 11832 type DeleteTagsInput struct { 11833 _ struct{} `type:"structure" nopayload:"true"` 11834 11835 // ResourceArn is a required field 11836 ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` 11837 11838 // TagKeys is a required field 11839 TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` 11840 } 11841 11842 // String returns the string representation. 11843 // 11844 // API parameter values that are decorated as "sensitive" in the API will not 11845 // be included in the string output. The member name will be present, but the 11846 // value will be replaced with "sensitive". 11847 func (s DeleteTagsInput) String() string { 11848 return awsutil.Prettify(s) 11849 } 11850 11851 // GoString returns the string representation. 11852 // 11853 // API parameter values that are decorated as "sensitive" in the API will not 11854 // be included in the string output. The member name will be present, but the 11855 // value will be replaced with "sensitive". 11856 func (s DeleteTagsInput) GoString() string { 11857 return s.String() 11858 } 11859 11860 // Validate inspects the fields of the type to determine if they are valid. 11861 func (s *DeleteTagsInput) Validate() error { 11862 invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"} 11863 if s.ResourceArn == nil { 11864 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 11865 } 11866 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 11867 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 11868 } 11869 if s.TagKeys == nil { 11870 invalidParams.Add(request.NewErrParamRequired("TagKeys")) 11871 } 11872 11873 if invalidParams.Len() > 0 { 11874 return invalidParams 11875 } 11876 return nil 11877 } 11878 11879 // SetResourceArn sets the ResourceArn field's value. 11880 func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput { 11881 s.ResourceArn = &v 11882 return s 11883 } 11884 11885 // SetTagKeys sets the TagKeys field's value. 11886 func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { 11887 s.TagKeys = v 11888 return s 11889 } 11890 11891 type DeleteTagsOutput struct { 11892 _ struct{} `type:"structure" nopayload:"true"` 11893 } 11894 11895 // String returns the string representation. 11896 // 11897 // API parameter values that are decorated as "sensitive" in the API will not 11898 // be included in the string output. The member name will be present, but the 11899 // value will be replaced with "sensitive". 11900 func (s DeleteTagsOutput) String() string { 11901 return awsutil.Prettify(s) 11902 } 11903 11904 // GoString returns the string representation. 11905 // 11906 // API parameter values that are decorated as "sensitive" in the API will not 11907 // be included in the string output. The member name will be present, but the 11908 // value will be replaced with "sensitive". 11909 func (s DeleteTagsOutput) GoString() string { 11910 return s.String() 11911 } 11912 11913 type DescribeChannelInput struct { 11914 _ struct{} `type:"structure" nopayload:"true"` 11915 11916 // ChannelId is a required field 11917 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 11918 } 11919 11920 // String returns the string representation. 11921 // 11922 // API parameter values that are decorated as "sensitive" in the API will not 11923 // be included in the string output. The member name will be present, but the 11924 // value will be replaced with "sensitive". 11925 func (s DescribeChannelInput) String() string { 11926 return awsutil.Prettify(s) 11927 } 11928 11929 // GoString returns the string representation. 11930 // 11931 // API parameter values that are decorated as "sensitive" in the API will not 11932 // be included in the string output. The member name will be present, but the 11933 // value will be replaced with "sensitive". 11934 func (s DescribeChannelInput) GoString() string { 11935 return s.String() 11936 } 11937 11938 // Validate inspects the fields of the type to determine if they are valid. 11939 func (s *DescribeChannelInput) Validate() error { 11940 invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"} 11941 if s.ChannelId == nil { 11942 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 11943 } 11944 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 11945 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 11946 } 11947 11948 if invalidParams.Len() > 0 { 11949 return invalidParams 11950 } 11951 return nil 11952 } 11953 11954 // SetChannelId sets the ChannelId field's value. 11955 func (s *DescribeChannelInput) SetChannelId(v string) *DescribeChannelInput { 11956 s.ChannelId = &v 11957 return s 11958 } 11959 11960 type DescribeChannelOutput struct { 11961 _ struct{} `type:"structure"` 11962 11963 Arn *string `locationName:"arn" type:"string"` 11964 11965 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 11966 11967 // A standard channel has two encoding pipelines and a single pipeline channel 11968 // only has one. 11969 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 11970 11971 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 11972 11973 EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` 11974 11975 // Encoder Settings 11976 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 11977 11978 Id *string `locationName:"id" type:"string"` 11979 11980 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 11981 11982 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 11983 11984 // The log level the user wants for their channel. 11985 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 11986 11987 Name *string `locationName:"name" type:"string"` 11988 11989 PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` 11990 11991 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 11992 11993 RoleArn *string `locationName:"roleArn" type:"string"` 11994 11995 State *string `locationName:"state" type:"string" enum:"ChannelState"` 11996 11997 Tags map[string]*string `locationName:"tags" type:"map"` 11998 11999 // The properties for a private VPC Output 12000 Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` 12001 } 12002 12003 // String returns the string representation. 12004 // 12005 // API parameter values that are decorated as "sensitive" in the API will not 12006 // be included in the string output. The member name will be present, but the 12007 // value will be replaced with "sensitive". 12008 func (s DescribeChannelOutput) String() string { 12009 return awsutil.Prettify(s) 12010 } 12011 12012 // GoString returns the string representation. 12013 // 12014 // API parameter values that are decorated as "sensitive" in the API will not 12015 // be included in the string output. The member name will be present, but the 12016 // value will be replaced with "sensitive". 12017 func (s DescribeChannelOutput) GoString() string { 12018 return s.String() 12019 } 12020 12021 // SetArn sets the Arn field's value. 12022 func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { 12023 s.Arn = &v 12024 return s 12025 } 12026 12027 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 12028 func (s *DescribeChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *DescribeChannelOutput { 12029 s.CdiInputSpecification = v 12030 return s 12031 } 12032 12033 // SetChannelClass sets the ChannelClass field's value. 12034 func (s *DescribeChannelOutput) SetChannelClass(v string) *DescribeChannelOutput { 12035 s.ChannelClass = &v 12036 return s 12037 } 12038 12039 // SetDestinations sets the Destinations field's value. 12040 func (s *DescribeChannelOutput) SetDestinations(v []*OutputDestination) *DescribeChannelOutput { 12041 s.Destinations = v 12042 return s 12043 } 12044 12045 // SetEgressEndpoints sets the EgressEndpoints field's value. 12046 func (s *DescribeChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DescribeChannelOutput { 12047 s.EgressEndpoints = v 12048 return s 12049 } 12050 12051 // SetEncoderSettings sets the EncoderSettings field's value. 12052 func (s *DescribeChannelOutput) SetEncoderSettings(v *EncoderSettings) *DescribeChannelOutput { 12053 s.EncoderSettings = v 12054 return s 12055 } 12056 12057 // SetId sets the Id field's value. 12058 func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { 12059 s.Id = &v 12060 return s 12061 } 12062 12063 // SetInputAttachments sets the InputAttachments field's value. 12064 func (s *DescribeChannelOutput) SetInputAttachments(v []*InputAttachment) *DescribeChannelOutput { 12065 s.InputAttachments = v 12066 return s 12067 } 12068 12069 // SetInputSpecification sets the InputSpecification field's value. 12070 func (s *DescribeChannelOutput) SetInputSpecification(v *InputSpecification) *DescribeChannelOutput { 12071 s.InputSpecification = v 12072 return s 12073 } 12074 12075 // SetLogLevel sets the LogLevel field's value. 12076 func (s *DescribeChannelOutput) SetLogLevel(v string) *DescribeChannelOutput { 12077 s.LogLevel = &v 12078 return s 12079 } 12080 12081 // SetName sets the Name field's value. 12082 func (s *DescribeChannelOutput) SetName(v string) *DescribeChannelOutput { 12083 s.Name = &v 12084 return s 12085 } 12086 12087 // SetPipelineDetails sets the PipelineDetails field's value. 12088 func (s *DescribeChannelOutput) SetPipelineDetails(v []*PipelineDetail) *DescribeChannelOutput { 12089 s.PipelineDetails = v 12090 return s 12091 } 12092 12093 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 12094 func (s *DescribeChannelOutput) SetPipelinesRunningCount(v int64) *DescribeChannelOutput { 12095 s.PipelinesRunningCount = &v 12096 return s 12097 } 12098 12099 // SetRoleArn sets the RoleArn field's value. 12100 func (s *DescribeChannelOutput) SetRoleArn(v string) *DescribeChannelOutput { 12101 s.RoleArn = &v 12102 return s 12103 } 12104 12105 // SetState sets the State field's value. 12106 func (s *DescribeChannelOutput) SetState(v string) *DescribeChannelOutput { 12107 s.State = &v 12108 return s 12109 } 12110 12111 // SetTags sets the Tags field's value. 12112 func (s *DescribeChannelOutput) SetTags(v map[string]*string) *DescribeChannelOutput { 12113 s.Tags = v 12114 return s 12115 } 12116 12117 // SetVpc sets the Vpc field's value. 12118 func (s *DescribeChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *DescribeChannelOutput { 12119 s.Vpc = v 12120 return s 12121 } 12122 12123 type DescribeInputDeviceInput struct { 12124 _ struct{} `type:"structure" nopayload:"true"` 12125 12126 // InputDeviceId is a required field 12127 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 12128 } 12129 12130 // String returns the string representation. 12131 // 12132 // API parameter values that are decorated as "sensitive" in the API will not 12133 // be included in the string output. The member name will be present, but the 12134 // value will be replaced with "sensitive". 12135 func (s DescribeInputDeviceInput) String() string { 12136 return awsutil.Prettify(s) 12137 } 12138 12139 // GoString returns the string representation. 12140 // 12141 // API parameter values that are decorated as "sensitive" in the API will not 12142 // be included in the string output. The member name will be present, but the 12143 // value will be replaced with "sensitive". 12144 func (s DescribeInputDeviceInput) GoString() string { 12145 return s.String() 12146 } 12147 12148 // Validate inspects the fields of the type to determine if they are valid. 12149 func (s *DescribeInputDeviceInput) Validate() error { 12150 invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceInput"} 12151 if s.InputDeviceId == nil { 12152 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 12153 } 12154 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 12155 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 12156 } 12157 12158 if invalidParams.Len() > 0 { 12159 return invalidParams 12160 } 12161 return nil 12162 } 12163 12164 // SetInputDeviceId sets the InputDeviceId field's value. 12165 func (s *DescribeInputDeviceInput) SetInputDeviceId(v string) *DescribeInputDeviceInput { 12166 s.InputDeviceId = &v 12167 return s 12168 } 12169 12170 type DescribeInputDeviceOutput struct { 12171 _ struct{} `type:"structure"` 12172 12173 Arn *string `locationName:"arn" type:"string"` 12174 12175 // The state of the connection between the input device and AWS. 12176 ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` 12177 12178 // The status of the action to synchronize the device configuration. If you 12179 // change the configuration of the input device (for example, the maximum bitrate), 12180 // MediaLive sends the new data to the device. The device might not update itself 12181 // immediately. SYNCED means the device has updated its configuration. SYNCING 12182 // means that it has not updated its configuration. 12183 DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` 12184 12185 // The status of software on the input device. 12186 DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` 12187 12188 // Settings that describe the active source from the input device, and the video 12189 // characteristics of that source. 12190 HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` 12191 12192 Id *string `locationName:"id" type:"string"` 12193 12194 MacAddress *string `locationName:"macAddress" type:"string"` 12195 12196 Name *string `locationName:"name" type:"string"` 12197 12198 // The network settings for the input device. 12199 NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` 12200 12201 SerialNumber *string `locationName:"serialNumber" type:"string"` 12202 12203 // The type of the input device. For an AWS Elemental Link device that outputs 12204 // resolutions up to 1080, choose "HD". 12205 Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` 12206 12207 // Settings that describe the active source from the input device, and the video 12208 // characteristics of that source. 12209 UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` 12210 } 12211 12212 // String returns the string representation. 12213 // 12214 // API parameter values that are decorated as "sensitive" in the API will not 12215 // be included in the string output. The member name will be present, but the 12216 // value will be replaced with "sensitive". 12217 func (s DescribeInputDeviceOutput) String() string { 12218 return awsutil.Prettify(s) 12219 } 12220 12221 // GoString returns the string representation. 12222 // 12223 // API parameter values that are decorated as "sensitive" in the API will not 12224 // be included in the string output. The member name will be present, but the 12225 // value will be replaced with "sensitive". 12226 func (s DescribeInputDeviceOutput) GoString() string { 12227 return s.String() 12228 } 12229 12230 // SetArn sets the Arn field's value. 12231 func (s *DescribeInputDeviceOutput) SetArn(v string) *DescribeInputDeviceOutput { 12232 s.Arn = &v 12233 return s 12234 } 12235 12236 // SetConnectionState sets the ConnectionState field's value. 12237 func (s *DescribeInputDeviceOutput) SetConnectionState(v string) *DescribeInputDeviceOutput { 12238 s.ConnectionState = &v 12239 return s 12240 } 12241 12242 // SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. 12243 func (s *DescribeInputDeviceOutput) SetDeviceSettingsSyncState(v string) *DescribeInputDeviceOutput { 12244 s.DeviceSettingsSyncState = &v 12245 return s 12246 } 12247 12248 // SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. 12249 func (s *DescribeInputDeviceOutput) SetDeviceUpdateStatus(v string) *DescribeInputDeviceOutput { 12250 s.DeviceUpdateStatus = &v 12251 return s 12252 } 12253 12254 // SetHdDeviceSettings sets the HdDeviceSettings field's value. 12255 func (s *DescribeInputDeviceOutput) SetHdDeviceSettings(v *InputDeviceHdSettings) *DescribeInputDeviceOutput { 12256 s.HdDeviceSettings = v 12257 return s 12258 } 12259 12260 // SetId sets the Id field's value. 12261 func (s *DescribeInputDeviceOutput) SetId(v string) *DescribeInputDeviceOutput { 12262 s.Id = &v 12263 return s 12264 } 12265 12266 // SetMacAddress sets the MacAddress field's value. 12267 func (s *DescribeInputDeviceOutput) SetMacAddress(v string) *DescribeInputDeviceOutput { 12268 s.MacAddress = &v 12269 return s 12270 } 12271 12272 // SetName sets the Name field's value. 12273 func (s *DescribeInputDeviceOutput) SetName(v string) *DescribeInputDeviceOutput { 12274 s.Name = &v 12275 return s 12276 } 12277 12278 // SetNetworkSettings sets the NetworkSettings field's value. 12279 func (s *DescribeInputDeviceOutput) SetNetworkSettings(v *InputDeviceNetworkSettings) *DescribeInputDeviceOutput { 12280 s.NetworkSettings = v 12281 return s 12282 } 12283 12284 // SetSerialNumber sets the SerialNumber field's value. 12285 func (s *DescribeInputDeviceOutput) SetSerialNumber(v string) *DescribeInputDeviceOutput { 12286 s.SerialNumber = &v 12287 return s 12288 } 12289 12290 // SetType sets the Type field's value. 12291 func (s *DescribeInputDeviceOutput) SetType(v string) *DescribeInputDeviceOutput { 12292 s.Type = &v 12293 return s 12294 } 12295 12296 // SetUhdDeviceSettings sets the UhdDeviceSettings field's value. 12297 func (s *DescribeInputDeviceOutput) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *DescribeInputDeviceOutput { 12298 s.UhdDeviceSettings = v 12299 return s 12300 } 12301 12302 type DescribeInputDeviceThumbnailInput struct { 12303 _ struct{} `type:"structure" nopayload:"true"` 12304 12305 // Accept is a required field 12306 Accept *string `location:"header" locationName:"accept" type:"string" required:"true" enum:"AcceptHeader"` 12307 12308 // InputDeviceId is a required field 12309 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 12310 } 12311 12312 // String returns the string representation. 12313 // 12314 // API parameter values that are decorated as "sensitive" in the API will not 12315 // be included in the string output. The member name will be present, but the 12316 // value will be replaced with "sensitive". 12317 func (s DescribeInputDeviceThumbnailInput) String() string { 12318 return awsutil.Prettify(s) 12319 } 12320 12321 // GoString returns the string representation. 12322 // 12323 // API parameter values that are decorated as "sensitive" in the API will not 12324 // be included in the string output. The member name will be present, but the 12325 // value will be replaced with "sensitive". 12326 func (s DescribeInputDeviceThumbnailInput) GoString() string { 12327 return s.String() 12328 } 12329 12330 // Validate inspects the fields of the type to determine if they are valid. 12331 func (s *DescribeInputDeviceThumbnailInput) Validate() error { 12332 invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceThumbnailInput"} 12333 if s.Accept == nil { 12334 invalidParams.Add(request.NewErrParamRequired("Accept")) 12335 } 12336 if s.InputDeviceId == nil { 12337 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 12338 } 12339 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 12340 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 12341 } 12342 12343 if invalidParams.Len() > 0 { 12344 return invalidParams 12345 } 12346 return nil 12347 } 12348 12349 // SetAccept sets the Accept field's value. 12350 func (s *DescribeInputDeviceThumbnailInput) SetAccept(v string) *DescribeInputDeviceThumbnailInput { 12351 s.Accept = &v 12352 return s 12353 } 12354 12355 // SetInputDeviceId sets the InputDeviceId field's value. 12356 func (s *DescribeInputDeviceThumbnailInput) SetInputDeviceId(v string) *DescribeInputDeviceThumbnailInput { 12357 s.InputDeviceId = &v 12358 return s 12359 } 12360 12361 type DescribeInputDeviceThumbnailOutput struct { 12362 _ struct{} `type:"structure" payload:"Body"` 12363 12364 Body io.ReadCloser `locationName:"body" type:"blob"` 12365 12366 ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` 12367 12368 ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"ContentType"` 12369 12370 ETag *string `location:"header" locationName:"ETag" type:"string"` 12371 12372 LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"` 12373 } 12374 12375 // String returns the string representation. 12376 // 12377 // API parameter values that are decorated as "sensitive" in the API will not 12378 // be included in the string output. The member name will be present, but the 12379 // value will be replaced with "sensitive". 12380 func (s DescribeInputDeviceThumbnailOutput) String() string { 12381 return awsutil.Prettify(s) 12382 } 12383 12384 // GoString returns the string representation. 12385 // 12386 // API parameter values that are decorated as "sensitive" in the API will not 12387 // be included in the string output. The member name will be present, but the 12388 // value will be replaced with "sensitive". 12389 func (s DescribeInputDeviceThumbnailOutput) GoString() string { 12390 return s.String() 12391 } 12392 12393 // SetBody sets the Body field's value. 12394 func (s *DescribeInputDeviceThumbnailOutput) SetBody(v io.ReadCloser) *DescribeInputDeviceThumbnailOutput { 12395 s.Body = v 12396 return s 12397 } 12398 12399 // SetContentLength sets the ContentLength field's value. 12400 func (s *DescribeInputDeviceThumbnailOutput) SetContentLength(v int64) *DescribeInputDeviceThumbnailOutput { 12401 s.ContentLength = &v 12402 return s 12403 } 12404 12405 // SetContentType sets the ContentType field's value. 12406 func (s *DescribeInputDeviceThumbnailOutput) SetContentType(v string) *DescribeInputDeviceThumbnailOutput { 12407 s.ContentType = &v 12408 return s 12409 } 12410 12411 // SetETag sets the ETag field's value. 12412 func (s *DescribeInputDeviceThumbnailOutput) SetETag(v string) *DescribeInputDeviceThumbnailOutput { 12413 s.ETag = &v 12414 return s 12415 } 12416 12417 // SetLastModified sets the LastModified field's value. 12418 func (s *DescribeInputDeviceThumbnailOutput) SetLastModified(v time.Time) *DescribeInputDeviceThumbnailOutput { 12419 s.LastModified = &v 12420 return s 12421 } 12422 12423 type DescribeInputInput struct { 12424 _ struct{} `type:"structure" nopayload:"true"` 12425 12426 // InputId is a required field 12427 InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` 12428 } 12429 12430 // String returns the string representation. 12431 // 12432 // API parameter values that are decorated as "sensitive" in the API will not 12433 // be included in the string output. The member name will be present, but the 12434 // value will be replaced with "sensitive". 12435 func (s DescribeInputInput) String() string { 12436 return awsutil.Prettify(s) 12437 } 12438 12439 // GoString returns the string representation. 12440 // 12441 // API parameter values that are decorated as "sensitive" in the API will not 12442 // be included in the string output. The member name will be present, but the 12443 // value will be replaced with "sensitive". 12444 func (s DescribeInputInput) GoString() string { 12445 return s.String() 12446 } 12447 12448 // Validate inspects the fields of the type to determine if they are valid. 12449 func (s *DescribeInputInput) Validate() error { 12450 invalidParams := request.ErrInvalidParams{Context: "DescribeInputInput"} 12451 if s.InputId == nil { 12452 invalidParams.Add(request.NewErrParamRequired("InputId")) 12453 } 12454 if s.InputId != nil && len(*s.InputId) < 1 { 12455 invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) 12456 } 12457 12458 if invalidParams.Len() > 0 { 12459 return invalidParams 12460 } 12461 return nil 12462 } 12463 12464 // SetInputId sets the InputId field's value. 12465 func (s *DescribeInputInput) SetInputId(v string) *DescribeInputInput { 12466 s.InputId = &v 12467 return s 12468 } 12469 12470 type DescribeInputOutput struct { 12471 _ struct{} `type:"structure"` 12472 12473 Arn *string `locationName:"arn" type:"string"` 12474 12475 AttachedChannels []*string `locationName:"attachedChannels" type:"list"` 12476 12477 Destinations []*InputDestination `locationName:"destinations" type:"list"` 12478 12479 Id *string `locationName:"id" type:"string"` 12480 12481 // A standard input has two sources and a single pipeline input only has one. 12482 InputClass *string `locationName:"inputClass" type:"string" enum:"InputClass"` 12483 12484 InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` 12485 12486 InputPartnerIds []*string `locationName:"inputPartnerIds" type:"list"` 12487 12488 // There are two types of input sources, static and dynamic. If an input source 12489 // is dynamic you canchange the source url of the input dynamically using an 12490 // input switch action. Currently, two input typessupport a dynamic url at this 12491 // time, MP4_FILE and TS_FILE. By default all input sources are static. 12492 InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` 12493 12494 MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` 12495 12496 Name *string `locationName:"name" type:"string"` 12497 12498 RoleArn *string `locationName:"roleArn" type:"string"` 12499 12500 SecurityGroups []*string `locationName:"securityGroups" type:"list"` 12501 12502 Sources []*InputSource `locationName:"sources" type:"list"` 12503 12504 State *string `locationName:"state" type:"string" enum:"InputState"` 12505 12506 Tags map[string]*string `locationName:"tags" type:"map"` 12507 12508 // The different types of inputs that AWS Elemental MediaLive supports. 12509 Type *string `locationName:"type" type:"string" enum:"InputType"` 12510 } 12511 12512 // String returns the string representation. 12513 // 12514 // API parameter values that are decorated as "sensitive" in the API will not 12515 // be included in the string output. The member name will be present, but the 12516 // value will be replaced with "sensitive". 12517 func (s DescribeInputOutput) String() string { 12518 return awsutil.Prettify(s) 12519 } 12520 12521 // GoString returns the string representation. 12522 // 12523 // API parameter values that are decorated as "sensitive" in the API will not 12524 // be included in the string output. The member name will be present, but the 12525 // value will be replaced with "sensitive". 12526 func (s DescribeInputOutput) GoString() string { 12527 return s.String() 12528 } 12529 12530 // SetArn sets the Arn field's value. 12531 func (s *DescribeInputOutput) SetArn(v string) *DescribeInputOutput { 12532 s.Arn = &v 12533 return s 12534 } 12535 12536 // SetAttachedChannels sets the AttachedChannels field's value. 12537 func (s *DescribeInputOutput) SetAttachedChannels(v []*string) *DescribeInputOutput { 12538 s.AttachedChannels = v 12539 return s 12540 } 12541 12542 // SetDestinations sets the Destinations field's value. 12543 func (s *DescribeInputOutput) SetDestinations(v []*InputDestination) *DescribeInputOutput { 12544 s.Destinations = v 12545 return s 12546 } 12547 12548 // SetId sets the Id field's value. 12549 func (s *DescribeInputOutput) SetId(v string) *DescribeInputOutput { 12550 s.Id = &v 12551 return s 12552 } 12553 12554 // SetInputClass sets the InputClass field's value. 12555 func (s *DescribeInputOutput) SetInputClass(v string) *DescribeInputOutput { 12556 s.InputClass = &v 12557 return s 12558 } 12559 12560 // SetInputDevices sets the InputDevices field's value. 12561 func (s *DescribeInputOutput) SetInputDevices(v []*InputDeviceSettings) *DescribeInputOutput { 12562 s.InputDevices = v 12563 return s 12564 } 12565 12566 // SetInputPartnerIds sets the InputPartnerIds field's value. 12567 func (s *DescribeInputOutput) SetInputPartnerIds(v []*string) *DescribeInputOutput { 12568 s.InputPartnerIds = v 12569 return s 12570 } 12571 12572 // SetInputSourceType sets the InputSourceType field's value. 12573 func (s *DescribeInputOutput) SetInputSourceType(v string) *DescribeInputOutput { 12574 s.InputSourceType = &v 12575 return s 12576 } 12577 12578 // SetMediaConnectFlows sets the MediaConnectFlows field's value. 12579 func (s *DescribeInputOutput) SetMediaConnectFlows(v []*MediaConnectFlow) *DescribeInputOutput { 12580 s.MediaConnectFlows = v 12581 return s 12582 } 12583 12584 // SetName sets the Name field's value. 12585 func (s *DescribeInputOutput) SetName(v string) *DescribeInputOutput { 12586 s.Name = &v 12587 return s 12588 } 12589 12590 // SetRoleArn sets the RoleArn field's value. 12591 func (s *DescribeInputOutput) SetRoleArn(v string) *DescribeInputOutput { 12592 s.RoleArn = &v 12593 return s 12594 } 12595 12596 // SetSecurityGroups sets the SecurityGroups field's value. 12597 func (s *DescribeInputOutput) SetSecurityGroups(v []*string) *DescribeInputOutput { 12598 s.SecurityGroups = v 12599 return s 12600 } 12601 12602 // SetSources sets the Sources field's value. 12603 func (s *DescribeInputOutput) SetSources(v []*InputSource) *DescribeInputOutput { 12604 s.Sources = v 12605 return s 12606 } 12607 12608 // SetState sets the State field's value. 12609 func (s *DescribeInputOutput) SetState(v string) *DescribeInputOutput { 12610 s.State = &v 12611 return s 12612 } 12613 12614 // SetTags sets the Tags field's value. 12615 func (s *DescribeInputOutput) SetTags(v map[string]*string) *DescribeInputOutput { 12616 s.Tags = v 12617 return s 12618 } 12619 12620 // SetType sets the Type field's value. 12621 func (s *DescribeInputOutput) SetType(v string) *DescribeInputOutput { 12622 s.Type = &v 12623 return s 12624 } 12625 12626 type DescribeInputSecurityGroupInput struct { 12627 _ struct{} `type:"structure" nopayload:"true"` 12628 12629 // InputSecurityGroupId is a required field 12630 InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` 12631 } 12632 12633 // String returns the string representation. 12634 // 12635 // API parameter values that are decorated as "sensitive" in the API will not 12636 // be included in the string output. The member name will be present, but the 12637 // value will be replaced with "sensitive". 12638 func (s DescribeInputSecurityGroupInput) String() string { 12639 return awsutil.Prettify(s) 12640 } 12641 12642 // GoString returns the string representation. 12643 // 12644 // API parameter values that are decorated as "sensitive" in the API will not 12645 // be included in the string output. The member name will be present, but the 12646 // value will be replaced with "sensitive". 12647 func (s DescribeInputSecurityGroupInput) GoString() string { 12648 return s.String() 12649 } 12650 12651 // Validate inspects the fields of the type to determine if they are valid. 12652 func (s *DescribeInputSecurityGroupInput) Validate() error { 12653 invalidParams := request.ErrInvalidParams{Context: "DescribeInputSecurityGroupInput"} 12654 if s.InputSecurityGroupId == nil { 12655 invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) 12656 } 12657 if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { 12658 invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) 12659 } 12660 12661 if invalidParams.Len() > 0 { 12662 return invalidParams 12663 } 12664 return nil 12665 } 12666 12667 // SetInputSecurityGroupId sets the InputSecurityGroupId field's value. 12668 func (s *DescribeInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DescribeInputSecurityGroupInput { 12669 s.InputSecurityGroupId = &v 12670 return s 12671 } 12672 12673 type DescribeInputSecurityGroupOutput struct { 12674 _ struct{} `type:"structure"` 12675 12676 Arn *string `locationName:"arn" type:"string"` 12677 12678 Id *string `locationName:"id" type:"string"` 12679 12680 Inputs []*string `locationName:"inputs" type:"list"` 12681 12682 State *string `locationName:"state" type:"string" enum:"InputSecurityGroupState"` 12683 12684 Tags map[string]*string `locationName:"tags" type:"map"` 12685 12686 WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` 12687 } 12688 12689 // String returns the string representation. 12690 // 12691 // API parameter values that are decorated as "sensitive" in the API will not 12692 // be included in the string output. The member name will be present, but the 12693 // value will be replaced with "sensitive". 12694 func (s DescribeInputSecurityGroupOutput) String() string { 12695 return awsutil.Prettify(s) 12696 } 12697 12698 // GoString returns the string representation. 12699 // 12700 // API parameter values that are decorated as "sensitive" in the API will not 12701 // be included in the string output. The member name will be present, but the 12702 // value will be replaced with "sensitive". 12703 func (s DescribeInputSecurityGroupOutput) GoString() string { 12704 return s.String() 12705 } 12706 12707 // SetArn sets the Arn field's value. 12708 func (s *DescribeInputSecurityGroupOutput) SetArn(v string) *DescribeInputSecurityGroupOutput { 12709 s.Arn = &v 12710 return s 12711 } 12712 12713 // SetId sets the Id field's value. 12714 func (s *DescribeInputSecurityGroupOutput) SetId(v string) *DescribeInputSecurityGroupOutput { 12715 s.Id = &v 12716 return s 12717 } 12718 12719 // SetInputs sets the Inputs field's value. 12720 func (s *DescribeInputSecurityGroupOutput) SetInputs(v []*string) *DescribeInputSecurityGroupOutput { 12721 s.Inputs = v 12722 return s 12723 } 12724 12725 // SetState sets the State field's value. 12726 func (s *DescribeInputSecurityGroupOutput) SetState(v string) *DescribeInputSecurityGroupOutput { 12727 s.State = &v 12728 return s 12729 } 12730 12731 // SetTags sets the Tags field's value. 12732 func (s *DescribeInputSecurityGroupOutput) SetTags(v map[string]*string) *DescribeInputSecurityGroupOutput { 12733 s.Tags = v 12734 return s 12735 } 12736 12737 // SetWhitelistRules sets the WhitelistRules field's value. 12738 func (s *DescribeInputSecurityGroupOutput) SetWhitelistRules(v []*InputWhitelistRule) *DescribeInputSecurityGroupOutput { 12739 s.WhitelistRules = v 12740 return s 12741 } 12742 12743 type DescribeMultiplexInput struct { 12744 _ struct{} `type:"structure" nopayload:"true"` 12745 12746 // MultiplexId is a required field 12747 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 12748 } 12749 12750 // String returns the string representation. 12751 // 12752 // API parameter values that are decorated as "sensitive" in the API will not 12753 // be included in the string output. The member name will be present, but the 12754 // value will be replaced with "sensitive". 12755 func (s DescribeMultiplexInput) String() string { 12756 return awsutil.Prettify(s) 12757 } 12758 12759 // GoString returns the string representation. 12760 // 12761 // API parameter values that are decorated as "sensitive" in the API will not 12762 // be included in the string output. The member name will be present, but the 12763 // value will be replaced with "sensitive". 12764 func (s DescribeMultiplexInput) GoString() string { 12765 return s.String() 12766 } 12767 12768 // Validate inspects the fields of the type to determine if they are valid. 12769 func (s *DescribeMultiplexInput) Validate() error { 12770 invalidParams := request.ErrInvalidParams{Context: "DescribeMultiplexInput"} 12771 if s.MultiplexId == nil { 12772 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 12773 } 12774 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 12775 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 12776 } 12777 12778 if invalidParams.Len() > 0 { 12779 return invalidParams 12780 } 12781 return nil 12782 } 12783 12784 // SetMultiplexId sets the MultiplexId field's value. 12785 func (s *DescribeMultiplexInput) SetMultiplexId(v string) *DescribeMultiplexInput { 12786 s.MultiplexId = &v 12787 return s 12788 } 12789 12790 type DescribeMultiplexOutput struct { 12791 _ struct{} `type:"structure"` 12792 12793 Arn *string `locationName:"arn" type:"string"` 12794 12795 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 12796 12797 Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` 12798 12799 Id *string `locationName:"id" type:"string"` 12800 12801 // Contains configuration for a Multiplex event 12802 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` 12803 12804 Name *string `locationName:"name" type:"string"` 12805 12806 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 12807 12808 ProgramCount *int64 `locationName:"programCount" type:"integer"` 12809 12810 // The current state of the multiplex. 12811 State *string `locationName:"state" type:"string" enum:"MultiplexState"` 12812 12813 Tags map[string]*string `locationName:"tags" type:"map"` 12814 } 12815 12816 // String returns the string representation. 12817 // 12818 // API parameter values that are decorated as "sensitive" in the API will not 12819 // be included in the string output. The member name will be present, but the 12820 // value will be replaced with "sensitive". 12821 func (s DescribeMultiplexOutput) String() string { 12822 return awsutil.Prettify(s) 12823 } 12824 12825 // GoString returns the string representation. 12826 // 12827 // API parameter values that are decorated as "sensitive" in the API will not 12828 // be included in the string output. The member name will be present, but the 12829 // value will be replaced with "sensitive". 12830 func (s DescribeMultiplexOutput) GoString() string { 12831 return s.String() 12832 } 12833 12834 // SetArn sets the Arn field's value. 12835 func (s *DescribeMultiplexOutput) SetArn(v string) *DescribeMultiplexOutput { 12836 s.Arn = &v 12837 return s 12838 } 12839 12840 // SetAvailabilityZones sets the AvailabilityZones field's value. 12841 func (s *DescribeMultiplexOutput) SetAvailabilityZones(v []*string) *DescribeMultiplexOutput { 12842 s.AvailabilityZones = v 12843 return s 12844 } 12845 12846 // SetDestinations sets the Destinations field's value. 12847 func (s *DescribeMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *DescribeMultiplexOutput { 12848 s.Destinations = v 12849 return s 12850 } 12851 12852 // SetId sets the Id field's value. 12853 func (s *DescribeMultiplexOutput) SetId(v string) *DescribeMultiplexOutput { 12854 s.Id = &v 12855 return s 12856 } 12857 12858 // SetMultiplexSettings sets the MultiplexSettings field's value. 12859 func (s *DescribeMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *DescribeMultiplexOutput { 12860 s.MultiplexSettings = v 12861 return s 12862 } 12863 12864 // SetName sets the Name field's value. 12865 func (s *DescribeMultiplexOutput) SetName(v string) *DescribeMultiplexOutput { 12866 s.Name = &v 12867 return s 12868 } 12869 12870 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 12871 func (s *DescribeMultiplexOutput) SetPipelinesRunningCount(v int64) *DescribeMultiplexOutput { 12872 s.PipelinesRunningCount = &v 12873 return s 12874 } 12875 12876 // SetProgramCount sets the ProgramCount field's value. 12877 func (s *DescribeMultiplexOutput) SetProgramCount(v int64) *DescribeMultiplexOutput { 12878 s.ProgramCount = &v 12879 return s 12880 } 12881 12882 // SetState sets the State field's value. 12883 func (s *DescribeMultiplexOutput) SetState(v string) *DescribeMultiplexOutput { 12884 s.State = &v 12885 return s 12886 } 12887 12888 // SetTags sets the Tags field's value. 12889 func (s *DescribeMultiplexOutput) SetTags(v map[string]*string) *DescribeMultiplexOutput { 12890 s.Tags = v 12891 return s 12892 } 12893 12894 type DescribeMultiplexProgramInput struct { 12895 _ struct{} `type:"structure" nopayload:"true"` 12896 12897 // MultiplexId is a required field 12898 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 12899 12900 // ProgramName is a required field 12901 ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` 12902 } 12903 12904 // String returns the string representation. 12905 // 12906 // API parameter values that are decorated as "sensitive" in the API will not 12907 // be included in the string output. The member name will be present, but the 12908 // value will be replaced with "sensitive". 12909 func (s DescribeMultiplexProgramInput) String() string { 12910 return awsutil.Prettify(s) 12911 } 12912 12913 // GoString returns the string representation. 12914 // 12915 // API parameter values that are decorated as "sensitive" in the API will not 12916 // be included in the string output. The member name will be present, but the 12917 // value will be replaced with "sensitive". 12918 func (s DescribeMultiplexProgramInput) GoString() string { 12919 return s.String() 12920 } 12921 12922 // Validate inspects the fields of the type to determine if they are valid. 12923 func (s *DescribeMultiplexProgramInput) Validate() error { 12924 invalidParams := request.ErrInvalidParams{Context: "DescribeMultiplexProgramInput"} 12925 if s.MultiplexId == nil { 12926 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 12927 } 12928 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 12929 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 12930 } 12931 if s.ProgramName == nil { 12932 invalidParams.Add(request.NewErrParamRequired("ProgramName")) 12933 } 12934 if s.ProgramName != nil && len(*s.ProgramName) < 1 { 12935 invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) 12936 } 12937 12938 if invalidParams.Len() > 0 { 12939 return invalidParams 12940 } 12941 return nil 12942 } 12943 12944 // SetMultiplexId sets the MultiplexId field's value. 12945 func (s *DescribeMultiplexProgramInput) SetMultiplexId(v string) *DescribeMultiplexProgramInput { 12946 s.MultiplexId = &v 12947 return s 12948 } 12949 12950 // SetProgramName sets the ProgramName field's value. 12951 func (s *DescribeMultiplexProgramInput) SetProgramName(v string) *DescribeMultiplexProgramInput { 12952 s.ProgramName = &v 12953 return s 12954 } 12955 12956 type DescribeMultiplexProgramOutput struct { 12957 _ struct{} `type:"structure"` 12958 12959 ChannelId *string `locationName:"channelId" type:"string"` 12960 12961 // Multiplex Program settings configuration. 12962 MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` 12963 12964 // Packet identifiers map for a given Multiplex program. 12965 PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` 12966 12967 PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` 12968 12969 ProgramName *string `locationName:"programName" type:"string"` 12970 } 12971 12972 // String returns the string representation. 12973 // 12974 // API parameter values that are decorated as "sensitive" in the API will not 12975 // be included in the string output. The member name will be present, but the 12976 // value will be replaced with "sensitive". 12977 func (s DescribeMultiplexProgramOutput) String() string { 12978 return awsutil.Prettify(s) 12979 } 12980 12981 // GoString returns the string representation. 12982 // 12983 // API parameter values that are decorated as "sensitive" in the API will not 12984 // be included in the string output. The member name will be present, but the 12985 // value will be replaced with "sensitive". 12986 func (s DescribeMultiplexProgramOutput) GoString() string { 12987 return s.String() 12988 } 12989 12990 // SetChannelId sets the ChannelId field's value. 12991 func (s *DescribeMultiplexProgramOutput) SetChannelId(v string) *DescribeMultiplexProgramOutput { 12992 s.ChannelId = &v 12993 return s 12994 } 12995 12996 // SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. 12997 func (s *DescribeMultiplexProgramOutput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *DescribeMultiplexProgramOutput { 12998 s.MultiplexProgramSettings = v 12999 return s 13000 } 13001 13002 // SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. 13003 func (s *DescribeMultiplexProgramOutput) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *DescribeMultiplexProgramOutput { 13004 s.PacketIdentifiersMap = v 13005 return s 13006 } 13007 13008 // SetPipelineDetails sets the PipelineDetails field's value. 13009 func (s *DescribeMultiplexProgramOutput) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *DescribeMultiplexProgramOutput { 13010 s.PipelineDetails = v 13011 return s 13012 } 13013 13014 // SetProgramName sets the ProgramName field's value. 13015 func (s *DescribeMultiplexProgramOutput) SetProgramName(v string) *DescribeMultiplexProgramOutput { 13016 s.ProgramName = &v 13017 return s 13018 } 13019 13020 type DescribeOfferingInput struct { 13021 _ struct{} `type:"structure" nopayload:"true"` 13022 13023 // OfferingId is a required field 13024 OfferingId *string `location:"uri" locationName:"offeringId" type:"string" required:"true"` 13025 } 13026 13027 // String returns the string representation. 13028 // 13029 // API parameter values that are decorated as "sensitive" in the API will not 13030 // be included in the string output. The member name will be present, but the 13031 // value will be replaced with "sensitive". 13032 func (s DescribeOfferingInput) String() string { 13033 return awsutil.Prettify(s) 13034 } 13035 13036 // GoString returns the string representation. 13037 // 13038 // API parameter values that are decorated as "sensitive" in the API will not 13039 // be included in the string output. The member name will be present, but the 13040 // value will be replaced with "sensitive". 13041 func (s DescribeOfferingInput) GoString() string { 13042 return s.String() 13043 } 13044 13045 // Validate inspects the fields of the type to determine if they are valid. 13046 func (s *DescribeOfferingInput) Validate() error { 13047 invalidParams := request.ErrInvalidParams{Context: "DescribeOfferingInput"} 13048 if s.OfferingId == nil { 13049 invalidParams.Add(request.NewErrParamRequired("OfferingId")) 13050 } 13051 if s.OfferingId != nil && len(*s.OfferingId) < 1 { 13052 invalidParams.Add(request.NewErrParamMinLen("OfferingId", 1)) 13053 } 13054 13055 if invalidParams.Len() > 0 { 13056 return invalidParams 13057 } 13058 return nil 13059 } 13060 13061 // SetOfferingId sets the OfferingId field's value. 13062 func (s *DescribeOfferingInput) SetOfferingId(v string) *DescribeOfferingInput { 13063 s.OfferingId = &v 13064 return s 13065 } 13066 13067 type DescribeOfferingOutput struct { 13068 _ struct{} `type:"structure"` 13069 13070 Arn *string `locationName:"arn" type:"string"` 13071 13072 CurrencyCode *string `locationName:"currencyCode" type:"string"` 13073 13074 Duration *int64 `locationName:"duration" type:"integer"` 13075 13076 // Units for duration, e.g. 'MONTHS' 13077 DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` 13078 13079 FixedPrice *float64 `locationName:"fixedPrice" type:"double"` 13080 13081 OfferingDescription *string `locationName:"offeringDescription" type:"string"` 13082 13083 OfferingId *string `locationName:"offeringId" type:"string"` 13084 13085 // Offering type, e.g. 'NO_UPFRONT' 13086 OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` 13087 13088 Region *string `locationName:"region" type:"string"` 13089 13090 // Resource configuration (codec, resolution, bitrate, ...) 13091 ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` 13092 13093 UsagePrice *float64 `locationName:"usagePrice" type:"double"` 13094 } 13095 13096 // String returns the string representation. 13097 // 13098 // API parameter values that are decorated as "sensitive" in the API will not 13099 // be included in the string output. The member name will be present, but the 13100 // value will be replaced with "sensitive". 13101 func (s DescribeOfferingOutput) String() string { 13102 return awsutil.Prettify(s) 13103 } 13104 13105 // GoString returns the string representation. 13106 // 13107 // API parameter values that are decorated as "sensitive" in the API will not 13108 // be included in the string output. The member name will be present, but the 13109 // value will be replaced with "sensitive". 13110 func (s DescribeOfferingOutput) GoString() string { 13111 return s.String() 13112 } 13113 13114 // SetArn sets the Arn field's value. 13115 func (s *DescribeOfferingOutput) SetArn(v string) *DescribeOfferingOutput { 13116 s.Arn = &v 13117 return s 13118 } 13119 13120 // SetCurrencyCode sets the CurrencyCode field's value. 13121 func (s *DescribeOfferingOutput) SetCurrencyCode(v string) *DescribeOfferingOutput { 13122 s.CurrencyCode = &v 13123 return s 13124 } 13125 13126 // SetDuration sets the Duration field's value. 13127 func (s *DescribeOfferingOutput) SetDuration(v int64) *DescribeOfferingOutput { 13128 s.Duration = &v 13129 return s 13130 } 13131 13132 // SetDurationUnits sets the DurationUnits field's value. 13133 func (s *DescribeOfferingOutput) SetDurationUnits(v string) *DescribeOfferingOutput { 13134 s.DurationUnits = &v 13135 return s 13136 } 13137 13138 // SetFixedPrice sets the FixedPrice field's value. 13139 func (s *DescribeOfferingOutput) SetFixedPrice(v float64) *DescribeOfferingOutput { 13140 s.FixedPrice = &v 13141 return s 13142 } 13143 13144 // SetOfferingDescription sets the OfferingDescription field's value. 13145 func (s *DescribeOfferingOutput) SetOfferingDescription(v string) *DescribeOfferingOutput { 13146 s.OfferingDescription = &v 13147 return s 13148 } 13149 13150 // SetOfferingId sets the OfferingId field's value. 13151 func (s *DescribeOfferingOutput) SetOfferingId(v string) *DescribeOfferingOutput { 13152 s.OfferingId = &v 13153 return s 13154 } 13155 13156 // SetOfferingType sets the OfferingType field's value. 13157 func (s *DescribeOfferingOutput) SetOfferingType(v string) *DescribeOfferingOutput { 13158 s.OfferingType = &v 13159 return s 13160 } 13161 13162 // SetRegion sets the Region field's value. 13163 func (s *DescribeOfferingOutput) SetRegion(v string) *DescribeOfferingOutput { 13164 s.Region = &v 13165 return s 13166 } 13167 13168 // SetResourceSpecification sets the ResourceSpecification field's value. 13169 func (s *DescribeOfferingOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DescribeOfferingOutput { 13170 s.ResourceSpecification = v 13171 return s 13172 } 13173 13174 // SetUsagePrice sets the UsagePrice field's value. 13175 func (s *DescribeOfferingOutput) SetUsagePrice(v float64) *DescribeOfferingOutput { 13176 s.UsagePrice = &v 13177 return s 13178 } 13179 13180 type DescribeReservationInput struct { 13181 _ struct{} `type:"structure" nopayload:"true"` 13182 13183 // ReservationId is a required field 13184 ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` 13185 } 13186 13187 // String returns the string representation. 13188 // 13189 // API parameter values that are decorated as "sensitive" in the API will not 13190 // be included in the string output. The member name will be present, but the 13191 // value will be replaced with "sensitive". 13192 func (s DescribeReservationInput) String() string { 13193 return awsutil.Prettify(s) 13194 } 13195 13196 // GoString returns the string representation. 13197 // 13198 // API parameter values that are decorated as "sensitive" in the API will not 13199 // be included in the string output. The member name will be present, but the 13200 // value will be replaced with "sensitive". 13201 func (s DescribeReservationInput) GoString() string { 13202 return s.String() 13203 } 13204 13205 // Validate inspects the fields of the type to determine if they are valid. 13206 func (s *DescribeReservationInput) Validate() error { 13207 invalidParams := request.ErrInvalidParams{Context: "DescribeReservationInput"} 13208 if s.ReservationId == nil { 13209 invalidParams.Add(request.NewErrParamRequired("ReservationId")) 13210 } 13211 if s.ReservationId != nil && len(*s.ReservationId) < 1 { 13212 invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) 13213 } 13214 13215 if invalidParams.Len() > 0 { 13216 return invalidParams 13217 } 13218 return nil 13219 } 13220 13221 // SetReservationId sets the ReservationId field's value. 13222 func (s *DescribeReservationInput) SetReservationId(v string) *DescribeReservationInput { 13223 s.ReservationId = &v 13224 return s 13225 } 13226 13227 type DescribeReservationOutput struct { 13228 _ struct{} `type:"structure"` 13229 13230 Arn *string `locationName:"arn" type:"string"` 13231 13232 Count *int64 `locationName:"count" type:"integer"` 13233 13234 CurrencyCode *string `locationName:"currencyCode" type:"string"` 13235 13236 Duration *int64 `locationName:"duration" type:"integer"` 13237 13238 // Units for duration, e.g. 'MONTHS' 13239 DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` 13240 13241 End *string `locationName:"end" type:"string"` 13242 13243 FixedPrice *float64 `locationName:"fixedPrice" type:"double"` 13244 13245 Name *string `locationName:"name" type:"string"` 13246 13247 OfferingDescription *string `locationName:"offeringDescription" type:"string"` 13248 13249 OfferingId *string `locationName:"offeringId" type:"string"` 13250 13251 // Offering type, e.g. 'NO_UPFRONT' 13252 OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` 13253 13254 Region *string `locationName:"region" type:"string"` 13255 13256 ReservationId *string `locationName:"reservationId" type:"string"` 13257 13258 // Resource configuration (codec, resolution, bitrate, ...) 13259 ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` 13260 13261 Start *string `locationName:"start" type:"string"` 13262 13263 // Current reservation state 13264 State *string `locationName:"state" type:"string" enum:"ReservationState"` 13265 13266 Tags map[string]*string `locationName:"tags" type:"map"` 13267 13268 UsagePrice *float64 `locationName:"usagePrice" type:"double"` 13269 } 13270 13271 // String returns the string representation. 13272 // 13273 // API parameter values that are decorated as "sensitive" in the API will not 13274 // be included in the string output. The member name will be present, but the 13275 // value will be replaced with "sensitive". 13276 func (s DescribeReservationOutput) String() string { 13277 return awsutil.Prettify(s) 13278 } 13279 13280 // GoString returns the string representation. 13281 // 13282 // API parameter values that are decorated as "sensitive" in the API will not 13283 // be included in the string output. The member name will be present, but the 13284 // value will be replaced with "sensitive". 13285 func (s DescribeReservationOutput) GoString() string { 13286 return s.String() 13287 } 13288 13289 // SetArn sets the Arn field's value. 13290 func (s *DescribeReservationOutput) SetArn(v string) *DescribeReservationOutput { 13291 s.Arn = &v 13292 return s 13293 } 13294 13295 // SetCount sets the Count field's value. 13296 func (s *DescribeReservationOutput) SetCount(v int64) *DescribeReservationOutput { 13297 s.Count = &v 13298 return s 13299 } 13300 13301 // SetCurrencyCode sets the CurrencyCode field's value. 13302 func (s *DescribeReservationOutput) SetCurrencyCode(v string) *DescribeReservationOutput { 13303 s.CurrencyCode = &v 13304 return s 13305 } 13306 13307 // SetDuration sets the Duration field's value. 13308 func (s *DescribeReservationOutput) SetDuration(v int64) *DescribeReservationOutput { 13309 s.Duration = &v 13310 return s 13311 } 13312 13313 // SetDurationUnits sets the DurationUnits field's value. 13314 func (s *DescribeReservationOutput) SetDurationUnits(v string) *DescribeReservationOutput { 13315 s.DurationUnits = &v 13316 return s 13317 } 13318 13319 // SetEnd sets the End field's value. 13320 func (s *DescribeReservationOutput) SetEnd(v string) *DescribeReservationOutput { 13321 s.End = &v 13322 return s 13323 } 13324 13325 // SetFixedPrice sets the FixedPrice field's value. 13326 func (s *DescribeReservationOutput) SetFixedPrice(v float64) *DescribeReservationOutput { 13327 s.FixedPrice = &v 13328 return s 13329 } 13330 13331 // SetName sets the Name field's value. 13332 func (s *DescribeReservationOutput) SetName(v string) *DescribeReservationOutput { 13333 s.Name = &v 13334 return s 13335 } 13336 13337 // SetOfferingDescription sets the OfferingDescription field's value. 13338 func (s *DescribeReservationOutput) SetOfferingDescription(v string) *DescribeReservationOutput { 13339 s.OfferingDescription = &v 13340 return s 13341 } 13342 13343 // SetOfferingId sets the OfferingId field's value. 13344 func (s *DescribeReservationOutput) SetOfferingId(v string) *DescribeReservationOutput { 13345 s.OfferingId = &v 13346 return s 13347 } 13348 13349 // SetOfferingType sets the OfferingType field's value. 13350 func (s *DescribeReservationOutput) SetOfferingType(v string) *DescribeReservationOutput { 13351 s.OfferingType = &v 13352 return s 13353 } 13354 13355 // SetRegion sets the Region field's value. 13356 func (s *DescribeReservationOutput) SetRegion(v string) *DescribeReservationOutput { 13357 s.Region = &v 13358 return s 13359 } 13360 13361 // SetReservationId sets the ReservationId field's value. 13362 func (s *DescribeReservationOutput) SetReservationId(v string) *DescribeReservationOutput { 13363 s.ReservationId = &v 13364 return s 13365 } 13366 13367 // SetResourceSpecification sets the ResourceSpecification field's value. 13368 func (s *DescribeReservationOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DescribeReservationOutput { 13369 s.ResourceSpecification = v 13370 return s 13371 } 13372 13373 // SetStart sets the Start field's value. 13374 func (s *DescribeReservationOutput) SetStart(v string) *DescribeReservationOutput { 13375 s.Start = &v 13376 return s 13377 } 13378 13379 // SetState sets the State field's value. 13380 func (s *DescribeReservationOutput) SetState(v string) *DescribeReservationOutput { 13381 s.State = &v 13382 return s 13383 } 13384 13385 // SetTags sets the Tags field's value. 13386 func (s *DescribeReservationOutput) SetTags(v map[string]*string) *DescribeReservationOutput { 13387 s.Tags = v 13388 return s 13389 } 13390 13391 // SetUsagePrice sets the UsagePrice field's value. 13392 func (s *DescribeReservationOutput) SetUsagePrice(v float64) *DescribeReservationOutput { 13393 s.UsagePrice = &v 13394 return s 13395 } 13396 13397 type DescribeScheduleInput struct { 13398 _ struct{} `type:"structure" nopayload:"true"` 13399 13400 // ChannelId is a required field 13401 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 13402 13403 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 13404 13405 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 13406 } 13407 13408 // String returns the string representation. 13409 // 13410 // API parameter values that are decorated as "sensitive" in the API will not 13411 // be included in the string output. The member name will be present, but the 13412 // value will be replaced with "sensitive". 13413 func (s DescribeScheduleInput) String() string { 13414 return awsutil.Prettify(s) 13415 } 13416 13417 // GoString returns the string representation. 13418 // 13419 // API parameter values that are decorated as "sensitive" in the API will not 13420 // be included in the string output. The member name will be present, but the 13421 // value will be replaced with "sensitive". 13422 func (s DescribeScheduleInput) GoString() string { 13423 return s.String() 13424 } 13425 13426 // Validate inspects the fields of the type to determine if they are valid. 13427 func (s *DescribeScheduleInput) Validate() error { 13428 invalidParams := request.ErrInvalidParams{Context: "DescribeScheduleInput"} 13429 if s.ChannelId == nil { 13430 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 13431 } 13432 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 13433 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 13434 } 13435 if s.MaxResults != nil && *s.MaxResults < 1 { 13436 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 13437 } 13438 13439 if invalidParams.Len() > 0 { 13440 return invalidParams 13441 } 13442 return nil 13443 } 13444 13445 // SetChannelId sets the ChannelId field's value. 13446 func (s *DescribeScheduleInput) SetChannelId(v string) *DescribeScheduleInput { 13447 s.ChannelId = &v 13448 return s 13449 } 13450 13451 // SetMaxResults sets the MaxResults field's value. 13452 func (s *DescribeScheduleInput) SetMaxResults(v int64) *DescribeScheduleInput { 13453 s.MaxResults = &v 13454 return s 13455 } 13456 13457 // SetNextToken sets the NextToken field's value. 13458 func (s *DescribeScheduleInput) SetNextToken(v string) *DescribeScheduleInput { 13459 s.NextToken = &v 13460 return s 13461 } 13462 13463 type DescribeScheduleOutput struct { 13464 _ struct{} `type:"structure"` 13465 13466 NextToken *string `locationName:"nextToken" type:"string"` 13467 13468 ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list"` 13469 } 13470 13471 // String returns the string representation. 13472 // 13473 // API parameter values that are decorated as "sensitive" in the API will not 13474 // be included in the string output. The member name will be present, but the 13475 // value will be replaced with "sensitive". 13476 func (s DescribeScheduleOutput) String() string { 13477 return awsutil.Prettify(s) 13478 } 13479 13480 // GoString returns the string representation. 13481 // 13482 // API parameter values that are decorated as "sensitive" in the API will not 13483 // be included in the string output. The member name will be present, but the 13484 // value will be replaced with "sensitive". 13485 func (s DescribeScheduleOutput) GoString() string { 13486 return s.String() 13487 } 13488 13489 // SetNextToken sets the NextToken field's value. 13490 func (s *DescribeScheduleOutput) SetNextToken(v string) *DescribeScheduleOutput { 13491 s.NextToken = &v 13492 return s 13493 } 13494 13495 // SetScheduleActions sets the ScheduleActions field's value. 13496 func (s *DescribeScheduleOutput) SetScheduleActions(v []*ScheduleAction) *DescribeScheduleOutput { 13497 s.ScheduleActions = v 13498 return s 13499 } 13500 13501 // DVB Network Information Table (NIT) 13502 type DvbNitSettings struct { 13503 _ struct{} `type:"structure"` 13504 13505 // The numeric value placed in the Network Information Table (NIT). 13506 // 13507 // NetworkId is a required field 13508 NetworkId *int64 `locationName:"networkId" type:"integer" required:"true"` 13509 13510 // The network name text placed in the networkNameDescriptor inside the Network 13511 // Information Table. Maximum length is 256 characters. 13512 // 13513 // NetworkName is a required field 13514 NetworkName *string `locationName:"networkName" min:"1" type:"string" required:"true"` 13515 13516 // The number of milliseconds between instances of this table in the output 13517 // transport stream. 13518 RepInterval *int64 `locationName:"repInterval" min:"25" type:"integer"` 13519 } 13520 13521 // String returns the string representation. 13522 // 13523 // API parameter values that are decorated as "sensitive" in the API will not 13524 // be included in the string output. The member name will be present, but the 13525 // value will be replaced with "sensitive". 13526 func (s DvbNitSettings) String() string { 13527 return awsutil.Prettify(s) 13528 } 13529 13530 // GoString returns the string representation. 13531 // 13532 // API parameter values that are decorated as "sensitive" in the API will not 13533 // be included in the string output. The member name will be present, but the 13534 // value will be replaced with "sensitive". 13535 func (s DvbNitSettings) GoString() string { 13536 return s.String() 13537 } 13538 13539 // Validate inspects the fields of the type to determine if they are valid. 13540 func (s *DvbNitSettings) Validate() error { 13541 invalidParams := request.ErrInvalidParams{Context: "DvbNitSettings"} 13542 if s.NetworkId == nil { 13543 invalidParams.Add(request.NewErrParamRequired("NetworkId")) 13544 } 13545 if s.NetworkName == nil { 13546 invalidParams.Add(request.NewErrParamRequired("NetworkName")) 13547 } 13548 if s.NetworkName != nil && len(*s.NetworkName) < 1 { 13549 invalidParams.Add(request.NewErrParamMinLen("NetworkName", 1)) 13550 } 13551 if s.RepInterval != nil && *s.RepInterval < 25 { 13552 invalidParams.Add(request.NewErrParamMinValue("RepInterval", 25)) 13553 } 13554 13555 if invalidParams.Len() > 0 { 13556 return invalidParams 13557 } 13558 return nil 13559 } 13560 13561 // SetNetworkId sets the NetworkId field's value. 13562 func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { 13563 s.NetworkId = &v 13564 return s 13565 } 13566 13567 // SetNetworkName sets the NetworkName field's value. 13568 func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { 13569 s.NetworkName = &v 13570 return s 13571 } 13572 13573 // SetRepInterval sets the RepInterval field's value. 13574 func (s *DvbNitSettings) SetRepInterval(v int64) *DvbNitSettings { 13575 s.RepInterval = &v 13576 return s 13577 } 13578 13579 // DVB Service Description Table (SDT) 13580 type DvbSdtSettings struct { 13581 _ struct{} `type:"structure"` 13582 13583 // Selects method of inserting SDT information into output stream. The sdtFollow 13584 // setting copies SDT information from input stream to output stream. The sdtFollowIfPresent 13585 // setting copies SDT information from input stream to output stream if SDT 13586 // information is present in the input, otherwise it will fall back on the user-defined 13587 // values. The sdtManual setting means user will enter the SDT information. 13588 // The sdtNone setting means output stream will not contain SDT information. 13589 OutputSdt *string `locationName:"outputSdt" type:"string" enum:"DvbSdtOutputSdt"` 13590 13591 // The number of milliseconds between instances of this table in the output 13592 // transport stream. 13593 RepInterval *int64 `locationName:"repInterval" min:"25" type:"integer"` 13594 13595 // The service name placed in the serviceDescriptor in the Service Description 13596 // Table. Maximum length is 256 characters. 13597 ServiceName *string `locationName:"serviceName" min:"1" type:"string"` 13598 13599 // The service provider name placed in the serviceDescriptor in the Service 13600 // Description Table. Maximum length is 256 characters. 13601 ServiceProviderName *string `locationName:"serviceProviderName" min:"1" type:"string"` 13602 } 13603 13604 // String returns the string representation. 13605 // 13606 // API parameter values that are decorated as "sensitive" in the API will not 13607 // be included in the string output. The member name will be present, but the 13608 // value will be replaced with "sensitive". 13609 func (s DvbSdtSettings) String() string { 13610 return awsutil.Prettify(s) 13611 } 13612 13613 // GoString returns the string representation. 13614 // 13615 // API parameter values that are decorated as "sensitive" in the API will not 13616 // be included in the string output. The member name will be present, but the 13617 // value will be replaced with "sensitive". 13618 func (s DvbSdtSettings) GoString() string { 13619 return s.String() 13620 } 13621 13622 // Validate inspects the fields of the type to determine if they are valid. 13623 func (s *DvbSdtSettings) Validate() error { 13624 invalidParams := request.ErrInvalidParams{Context: "DvbSdtSettings"} 13625 if s.RepInterval != nil && *s.RepInterval < 25 { 13626 invalidParams.Add(request.NewErrParamMinValue("RepInterval", 25)) 13627 } 13628 if s.ServiceName != nil && len(*s.ServiceName) < 1 { 13629 invalidParams.Add(request.NewErrParamMinLen("ServiceName", 1)) 13630 } 13631 if s.ServiceProviderName != nil && len(*s.ServiceProviderName) < 1 { 13632 invalidParams.Add(request.NewErrParamMinLen("ServiceProviderName", 1)) 13633 } 13634 13635 if invalidParams.Len() > 0 { 13636 return invalidParams 13637 } 13638 return nil 13639 } 13640 13641 // SetOutputSdt sets the OutputSdt field's value. 13642 func (s *DvbSdtSettings) SetOutputSdt(v string) *DvbSdtSettings { 13643 s.OutputSdt = &v 13644 return s 13645 } 13646 13647 // SetRepInterval sets the RepInterval field's value. 13648 func (s *DvbSdtSettings) SetRepInterval(v int64) *DvbSdtSettings { 13649 s.RepInterval = &v 13650 return s 13651 } 13652 13653 // SetServiceName sets the ServiceName field's value. 13654 func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { 13655 s.ServiceName = &v 13656 return s 13657 } 13658 13659 // SetServiceProviderName sets the ServiceProviderName field's value. 13660 func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { 13661 s.ServiceProviderName = &v 13662 return s 13663 } 13664 13665 // Dvb Sub Destination Settings 13666 type DvbSubDestinationSettings struct { 13667 _ struct{} `type:"structure"` 13668 13669 // If no explicit xPosition or yPosition is provided, setting alignment to centered 13670 // will place the captions at the bottom center of the output. Similarly, setting 13671 // a left alignment will align captions to the bottom left of the output. If 13672 // x and y positions are given in conjunction with the alignment parameter, 13673 // the font will be justified (either left or centered) relative to those coordinates. 13674 // Selecting "smart" justification will left-justify live subtitles and center-justify 13675 // pre-recorded subtitles. This option is not valid for source captions that 13676 // are STL or 608/embedded. These source settings are already pre-defined by 13677 // the caption stream. All burn-in and DVB-Sub font settings must match. 13678 Alignment *string `locationName:"alignment" type:"string" enum:"DvbSubDestinationAlignment"` 13679 13680 // Specifies the color of the rectangle behind the captions. All burn-in and 13681 // DVB-Sub font settings must match. 13682 BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"DvbSubDestinationBackgroundColor"` 13683 13684 // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. 13685 // Leaving this parameter blank is equivalent to setting it to 0 (transparent). 13686 // All burn-in and DVB-Sub font settings must match. 13687 BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` 13688 13689 // External font file used for caption burn-in. File extension must be 'ttf' 13690 // or 'tte'. Although the user can select output fonts for many different types 13691 // of input captions, embedded, STL and teletext sources use a strict grid system. 13692 // Using external fonts with these caption sources could cause unexpected display 13693 // of proportional fonts. All burn-in and DVB-Sub font settings must match. 13694 Font *InputLocation `locationName:"font" type:"structure"` 13695 13696 // Specifies the color of the burned-in captions. This option is not valid for 13697 // source captions that are STL, 608/embedded or teletext. These source settings 13698 // are already pre-defined by the caption stream. All burn-in and DVB-Sub font 13699 // settings must match. 13700 FontColor *string `locationName:"fontColor" type:"string" enum:"DvbSubDestinationFontColor"` 13701 13702 // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. 13703 // All burn-in and DVB-Sub font settings must match. 13704 FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` 13705 13706 // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and 13707 // DVB-Sub font settings must match. 13708 FontResolution *int64 `locationName:"fontResolution" min:"96" type:"integer"` 13709 13710 // When set to auto fontSize will scale depending on the size of the output. 13711 // Giving a positive integer will specify the exact font size in points. All 13712 // burn-in and DVB-Sub font settings must match. 13713 FontSize *string `locationName:"fontSize" type:"string"` 13714 13715 // Specifies font outline color. This option is not valid for source captions 13716 // that are either 608/embedded or teletext. These source settings are already 13717 // pre-defined by the caption stream. All burn-in and DVB-Sub font settings 13718 // must match. 13719 OutlineColor *string `locationName:"outlineColor" type:"string" enum:"DvbSubDestinationOutlineColor"` 13720 13721 // Specifies font outline size in pixels. This option is not valid for source 13722 // captions that are either 608/embedded or teletext. These source settings 13723 // are already pre-defined by the caption stream. All burn-in and DVB-Sub font 13724 // settings must match. 13725 OutlineSize *int64 `locationName:"outlineSize" type:"integer"` 13726 13727 // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub 13728 // font settings must match. 13729 ShadowColor *string `locationName:"shadowColor" type:"string" enum:"DvbSubDestinationShadowColor"` 13730 13731 // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving 13732 // this parameter blank is equivalent to setting it to 0 (transparent). All 13733 // burn-in and DVB-Sub font settings must match. 13734 ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` 13735 13736 // Specifies the horizontal offset of the shadow relative to the captions in 13737 // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. 13738 // All burn-in and DVB-Sub font settings must match. 13739 ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` 13740 13741 // Specifies the vertical offset of the shadow relative to the captions in pixels. 13742 // A value of -2 would result in a shadow offset 2 pixels above the text. All 13743 // burn-in and DVB-Sub font settings must match. 13744 ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` 13745 13746 // Controls whether a fixed grid size will be used to generate the output subtitles 13747 // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. 13748 TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"DvbSubDestinationTeletextGridControl"` 13749 13750 // Specifies the horizontal position of the caption relative to the left side 13751 // of the output in pixels. A value of 10 would result in the captions starting 13752 // 10 pixels from the left of the output. If no explicit xPosition is provided, 13753 // the horizontal caption position will be determined by the alignment parameter. 13754 // This option is not valid for source captions that are STL, 608/embedded or 13755 // teletext. These source settings are already pre-defined by the caption stream. 13756 // All burn-in and DVB-Sub font settings must match. 13757 XPosition *int64 `locationName:"xPosition" type:"integer"` 13758 13759 // Specifies the vertical position of the caption relative to the top of the 13760 // output in pixels. A value of 10 would result in the captions starting 10 13761 // pixels from the top of the output. If no explicit yPosition is provided, 13762 // the caption will be positioned towards the bottom of the output. This option 13763 // is not valid for source captions that are STL, 608/embedded or teletext. 13764 // These source settings are already pre-defined by the caption stream. All 13765 // burn-in and DVB-Sub font settings must match. 13766 YPosition *int64 `locationName:"yPosition" type:"integer"` 13767 } 13768 13769 // String returns the string representation. 13770 // 13771 // API parameter values that are decorated as "sensitive" in the API will not 13772 // be included in the string output. The member name will be present, but the 13773 // value will be replaced with "sensitive". 13774 func (s DvbSubDestinationSettings) String() string { 13775 return awsutil.Prettify(s) 13776 } 13777 13778 // GoString returns the string representation. 13779 // 13780 // API parameter values that are decorated as "sensitive" in the API will not 13781 // be included in the string output. The member name will be present, but the 13782 // value will be replaced with "sensitive". 13783 func (s DvbSubDestinationSettings) GoString() string { 13784 return s.String() 13785 } 13786 13787 // Validate inspects the fields of the type to determine if they are valid. 13788 func (s *DvbSubDestinationSettings) Validate() error { 13789 invalidParams := request.ErrInvalidParams{Context: "DvbSubDestinationSettings"} 13790 if s.FontResolution != nil && *s.FontResolution < 96 { 13791 invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) 13792 } 13793 if s.Font != nil { 13794 if err := s.Font.Validate(); err != nil { 13795 invalidParams.AddNested("Font", err.(request.ErrInvalidParams)) 13796 } 13797 } 13798 13799 if invalidParams.Len() > 0 { 13800 return invalidParams 13801 } 13802 return nil 13803 } 13804 13805 // SetAlignment sets the Alignment field's value. 13806 func (s *DvbSubDestinationSettings) SetAlignment(v string) *DvbSubDestinationSettings { 13807 s.Alignment = &v 13808 return s 13809 } 13810 13811 // SetBackgroundColor sets the BackgroundColor field's value. 13812 func (s *DvbSubDestinationSettings) SetBackgroundColor(v string) *DvbSubDestinationSettings { 13813 s.BackgroundColor = &v 13814 return s 13815 } 13816 13817 // SetBackgroundOpacity sets the BackgroundOpacity field's value. 13818 func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { 13819 s.BackgroundOpacity = &v 13820 return s 13821 } 13822 13823 // SetFont sets the Font field's value. 13824 func (s *DvbSubDestinationSettings) SetFont(v *InputLocation) *DvbSubDestinationSettings { 13825 s.Font = v 13826 return s 13827 } 13828 13829 // SetFontColor sets the FontColor field's value. 13830 func (s *DvbSubDestinationSettings) SetFontColor(v string) *DvbSubDestinationSettings { 13831 s.FontColor = &v 13832 return s 13833 } 13834 13835 // SetFontOpacity sets the FontOpacity field's value. 13836 func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { 13837 s.FontOpacity = &v 13838 return s 13839 } 13840 13841 // SetFontResolution sets the FontResolution field's value. 13842 func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { 13843 s.FontResolution = &v 13844 return s 13845 } 13846 13847 // SetFontSize sets the FontSize field's value. 13848 func (s *DvbSubDestinationSettings) SetFontSize(v string) *DvbSubDestinationSettings { 13849 s.FontSize = &v 13850 return s 13851 } 13852 13853 // SetOutlineColor sets the OutlineColor field's value. 13854 func (s *DvbSubDestinationSettings) SetOutlineColor(v string) *DvbSubDestinationSettings { 13855 s.OutlineColor = &v 13856 return s 13857 } 13858 13859 // SetOutlineSize sets the OutlineSize field's value. 13860 func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { 13861 s.OutlineSize = &v 13862 return s 13863 } 13864 13865 // SetShadowColor sets the ShadowColor field's value. 13866 func (s *DvbSubDestinationSettings) SetShadowColor(v string) *DvbSubDestinationSettings { 13867 s.ShadowColor = &v 13868 return s 13869 } 13870 13871 // SetShadowOpacity sets the ShadowOpacity field's value. 13872 func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { 13873 s.ShadowOpacity = &v 13874 return s 13875 } 13876 13877 // SetShadowXOffset sets the ShadowXOffset field's value. 13878 func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { 13879 s.ShadowXOffset = &v 13880 return s 13881 } 13882 13883 // SetShadowYOffset sets the ShadowYOffset field's value. 13884 func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { 13885 s.ShadowYOffset = &v 13886 return s 13887 } 13888 13889 // SetTeletextGridControl sets the TeletextGridControl field's value. 13890 func (s *DvbSubDestinationSettings) SetTeletextGridControl(v string) *DvbSubDestinationSettings { 13891 s.TeletextGridControl = &v 13892 return s 13893 } 13894 13895 // SetXPosition sets the XPosition field's value. 13896 func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { 13897 s.XPosition = &v 13898 return s 13899 } 13900 13901 // SetYPosition sets the YPosition field's value. 13902 func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { 13903 s.YPosition = &v 13904 return s 13905 } 13906 13907 // Dvb Sub Source Settings 13908 type DvbSubSourceSettings struct { 13909 _ struct{} `type:"structure"` 13910 13911 // If you will configure a WebVTT caption description that references this caption 13912 // selector, use this field toprovide the language to consider when translating 13913 // the image-based source to text. 13914 OcrLanguage *string `locationName:"ocrLanguage" type:"string" enum:"DvbSubOcrLanguage"` 13915 13916 // When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source 13917 // content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, 13918 // regardless of selectors. 13919 Pid *int64 `locationName:"pid" min:"1" type:"integer"` 13920 } 13921 13922 // String returns the string representation. 13923 // 13924 // API parameter values that are decorated as "sensitive" in the API will not 13925 // be included in the string output. The member name will be present, but the 13926 // value will be replaced with "sensitive". 13927 func (s DvbSubSourceSettings) String() string { 13928 return awsutil.Prettify(s) 13929 } 13930 13931 // GoString returns the string representation. 13932 // 13933 // API parameter values that are decorated as "sensitive" in the API will not 13934 // be included in the string output. The member name will be present, but the 13935 // value will be replaced with "sensitive". 13936 func (s DvbSubSourceSettings) GoString() string { 13937 return s.String() 13938 } 13939 13940 // Validate inspects the fields of the type to determine if they are valid. 13941 func (s *DvbSubSourceSettings) Validate() error { 13942 invalidParams := request.ErrInvalidParams{Context: "DvbSubSourceSettings"} 13943 if s.Pid != nil && *s.Pid < 1 { 13944 invalidParams.Add(request.NewErrParamMinValue("Pid", 1)) 13945 } 13946 13947 if invalidParams.Len() > 0 { 13948 return invalidParams 13949 } 13950 return nil 13951 } 13952 13953 // SetOcrLanguage sets the OcrLanguage field's value. 13954 func (s *DvbSubSourceSettings) SetOcrLanguage(v string) *DvbSubSourceSettings { 13955 s.OcrLanguage = &v 13956 return s 13957 } 13958 13959 // SetPid sets the Pid field's value. 13960 func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { 13961 s.Pid = &v 13962 return s 13963 } 13964 13965 // DVB Time and Date Table (SDT) 13966 type DvbTdtSettings struct { 13967 _ struct{} `type:"structure"` 13968 13969 // The number of milliseconds between instances of this table in the output 13970 // transport stream. 13971 RepInterval *int64 `locationName:"repInterval" min:"1000" type:"integer"` 13972 } 13973 13974 // String returns the string representation. 13975 // 13976 // API parameter values that are decorated as "sensitive" in the API will not 13977 // be included in the string output. The member name will be present, but the 13978 // value will be replaced with "sensitive". 13979 func (s DvbTdtSettings) String() string { 13980 return awsutil.Prettify(s) 13981 } 13982 13983 // GoString returns the string representation. 13984 // 13985 // API parameter values that are decorated as "sensitive" in the API will not 13986 // be included in the string output. The member name will be present, but the 13987 // value will be replaced with "sensitive". 13988 func (s DvbTdtSettings) GoString() string { 13989 return s.String() 13990 } 13991 13992 // Validate inspects the fields of the type to determine if they are valid. 13993 func (s *DvbTdtSettings) Validate() error { 13994 invalidParams := request.ErrInvalidParams{Context: "DvbTdtSettings"} 13995 if s.RepInterval != nil && *s.RepInterval < 1000 { 13996 invalidParams.Add(request.NewErrParamMinValue("RepInterval", 1000)) 13997 } 13998 13999 if invalidParams.Len() > 0 { 14000 return invalidParams 14001 } 14002 return nil 14003 } 14004 14005 // SetRepInterval sets the RepInterval field's value. 14006 func (s *DvbTdtSettings) SetRepInterval(v int64) *DvbTdtSettings { 14007 s.RepInterval = &v 14008 return s 14009 } 14010 14011 // Eac3 Settings 14012 type Eac3Settings struct { 14013 _ struct{} `type:"structure"` 14014 14015 // When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. 14016 // Only used for 3/2 coding mode. 14017 AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Eac3AttenuationControl"` 14018 14019 // Average bitrate in bits/second. Valid bitrates depend on the coding mode. 14020 Bitrate *float64 `locationName:"bitrate" type:"double"` 14021 14022 // Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. See ATSC 14023 // A/52-2012 (Annex E) for background on these values. 14024 BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Eac3BitstreamMode"` 14025 14026 // Dolby Digital Plus coding mode. Determines number of channels. 14027 CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3CodingMode"` 14028 14029 // When set to enabled, activates a DC highpass filter for all input channels. 14030 DcFilter *string `locationName:"dcFilter" type:"string" enum:"Eac3DcFilter"` 14031 14032 // Sets the dialnorm for the output. If blank and input audio is Dolby Digital 14033 // Plus, dialnorm will be passed through. 14034 Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` 14035 14036 // Sets the Dolby dynamic range compression profile. 14037 DrcLine *string `locationName:"drcLine" type:"string" enum:"Eac3DrcLine"` 14038 14039 // Sets the profile for heavy Dolby dynamic range compression, ensures that 14040 // the instantaneous signal peaks do not exceed specified levels. 14041 DrcRf *string `locationName:"drcRf" type:"string" enum:"Eac3DrcRf"` 14042 14043 // When encoding 3/2 audio, setting to lfe enables the LFE channel 14044 LfeControl *string `locationName:"lfeControl" type:"string" enum:"Eac3LfeControl"` 14045 14046 // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior 14047 // to encoding. Only valid with codingMode32 coding mode. 14048 LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Eac3LfeFilter"` 14049 14050 // Left only/Right only center mix level. Only used for 3/2 coding mode. 14051 LoRoCenterMixLevel *float64 `locationName:"loRoCenterMixLevel" type:"double"` 14052 14053 // Left only/Right only surround mix level. Only used for 3/2 coding mode. 14054 LoRoSurroundMixLevel *float64 `locationName:"loRoSurroundMixLevel" type:"double"` 14055 14056 // Left total/Right total center mix level. Only used for 3/2 coding mode. 14057 LtRtCenterMixLevel *float64 `locationName:"ltRtCenterMixLevel" type:"double"` 14058 14059 // Left total/Right total surround mix level. Only used for 3/2 coding mode. 14060 LtRtSurroundMixLevel *float64 `locationName:"ltRtSurroundMixLevel" type:"double"` 14061 14062 // When set to followInput, encoder metadata will be sourced from the DD, DD+, 14063 // or DolbyE decoder that supplied this audio data. If audio was not supplied 14064 // from one of these streams, then the static metadata settings will be used. 14065 MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Eac3MetadataControl"` 14066 14067 // When set to whenPossible, input DD+ audio will be passed through if it is 14068 // present on the input. This detection is dynamic over the life of the transcode. 14069 // Inputs that alternate between DD+ and non-DD+ content will have a consistent 14070 // DD+ output as the system alternates between passthrough and encoding. 14071 PassthroughControl *string `locationName:"passthroughControl" type:"string" enum:"Eac3PassthroughControl"` 14072 14073 // When set to shift90Degrees, applies a 90-degree phase shift to the surround 14074 // channels. Only used for 3/2 coding mode. 14075 PhaseControl *string `locationName:"phaseControl" type:"string" enum:"Eac3PhaseControl"` 14076 14077 // Stereo downmix preference. Only used for 3/2 coding mode. 14078 StereoDownmix *string `locationName:"stereoDownmix" type:"string" enum:"Eac3StereoDownmix"` 14079 14080 // When encoding 3/2 audio, sets whether an extra center back surround channel 14081 // is matrix encoded into the left and right surround channels. 14082 SurroundExMode *string `locationName:"surroundExMode" type:"string" enum:"Eac3SurroundExMode"` 14083 14084 // When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into 14085 // the two channels. 14086 SurroundMode *string `locationName:"surroundMode" type:"string" enum:"Eac3SurroundMode"` 14087 } 14088 14089 // String returns the string representation. 14090 // 14091 // API parameter values that are decorated as "sensitive" in the API will not 14092 // be included in the string output. The member name will be present, but the 14093 // value will be replaced with "sensitive". 14094 func (s Eac3Settings) String() string { 14095 return awsutil.Prettify(s) 14096 } 14097 14098 // GoString returns the string representation. 14099 // 14100 // API parameter values that are decorated as "sensitive" in the API will not 14101 // be included in the string output. The member name will be present, but the 14102 // value will be replaced with "sensitive". 14103 func (s Eac3Settings) GoString() string { 14104 return s.String() 14105 } 14106 14107 // Validate inspects the fields of the type to determine if they are valid. 14108 func (s *Eac3Settings) Validate() error { 14109 invalidParams := request.ErrInvalidParams{Context: "Eac3Settings"} 14110 if s.Dialnorm != nil && *s.Dialnorm < 1 { 14111 invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) 14112 } 14113 14114 if invalidParams.Len() > 0 { 14115 return invalidParams 14116 } 14117 return nil 14118 } 14119 14120 // SetAttenuationControl sets the AttenuationControl field's value. 14121 func (s *Eac3Settings) SetAttenuationControl(v string) *Eac3Settings { 14122 s.AttenuationControl = &v 14123 return s 14124 } 14125 14126 // SetBitrate sets the Bitrate field's value. 14127 func (s *Eac3Settings) SetBitrate(v float64) *Eac3Settings { 14128 s.Bitrate = &v 14129 return s 14130 } 14131 14132 // SetBitstreamMode sets the BitstreamMode field's value. 14133 func (s *Eac3Settings) SetBitstreamMode(v string) *Eac3Settings { 14134 s.BitstreamMode = &v 14135 return s 14136 } 14137 14138 // SetCodingMode sets the CodingMode field's value. 14139 func (s *Eac3Settings) SetCodingMode(v string) *Eac3Settings { 14140 s.CodingMode = &v 14141 return s 14142 } 14143 14144 // SetDcFilter sets the DcFilter field's value. 14145 func (s *Eac3Settings) SetDcFilter(v string) *Eac3Settings { 14146 s.DcFilter = &v 14147 return s 14148 } 14149 14150 // SetDialnorm sets the Dialnorm field's value. 14151 func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { 14152 s.Dialnorm = &v 14153 return s 14154 } 14155 14156 // SetDrcLine sets the DrcLine field's value. 14157 func (s *Eac3Settings) SetDrcLine(v string) *Eac3Settings { 14158 s.DrcLine = &v 14159 return s 14160 } 14161 14162 // SetDrcRf sets the DrcRf field's value. 14163 func (s *Eac3Settings) SetDrcRf(v string) *Eac3Settings { 14164 s.DrcRf = &v 14165 return s 14166 } 14167 14168 // SetLfeControl sets the LfeControl field's value. 14169 func (s *Eac3Settings) SetLfeControl(v string) *Eac3Settings { 14170 s.LfeControl = &v 14171 return s 14172 } 14173 14174 // SetLfeFilter sets the LfeFilter field's value. 14175 func (s *Eac3Settings) SetLfeFilter(v string) *Eac3Settings { 14176 s.LfeFilter = &v 14177 return s 14178 } 14179 14180 // SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. 14181 func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { 14182 s.LoRoCenterMixLevel = &v 14183 return s 14184 } 14185 14186 // SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. 14187 func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { 14188 s.LoRoSurroundMixLevel = &v 14189 return s 14190 } 14191 14192 // SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. 14193 func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { 14194 s.LtRtCenterMixLevel = &v 14195 return s 14196 } 14197 14198 // SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. 14199 func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { 14200 s.LtRtSurroundMixLevel = &v 14201 return s 14202 } 14203 14204 // SetMetadataControl sets the MetadataControl field's value. 14205 func (s *Eac3Settings) SetMetadataControl(v string) *Eac3Settings { 14206 s.MetadataControl = &v 14207 return s 14208 } 14209 14210 // SetPassthroughControl sets the PassthroughControl field's value. 14211 func (s *Eac3Settings) SetPassthroughControl(v string) *Eac3Settings { 14212 s.PassthroughControl = &v 14213 return s 14214 } 14215 14216 // SetPhaseControl sets the PhaseControl field's value. 14217 func (s *Eac3Settings) SetPhaseControl(v string) *Eac3Settings { 14218 s.PhaseControl = &v 14219 return s 14220 } 14221 14222 // SetStereoDownmix sets the StereoDownmix field's value. 14223 func (s *Eac3Settings) SetStereoDownmix(v string) *Eac3Settings { 14224 s.StereoDownmix = &v 14225 return s 14226 } 14227 14228 // SetSurroundExMode sets the SurroundExMode field's value. 14229 func (s *Eac3Settings) SetSurroundExMode(v string) *Eac3Settings { 14230 s.SurroundExMode = &v 14231 return s 14232 } 14233 14234 // SetSurroundMode sets the SurroundMode field's value. 14235 func (s *Eac3Settings) SetSurroundMode(v string) *Eac3Settings { 14236 s.SurroundMode = &v 14237 return s 14238 } 14239 14240 // Ebu Tt DDestination Settings 14241 type EbuTtDDestinationSettings struct { 14242 _ struct{} `type:"structure"` 14243 14244 // Applies only if you plan to convert these source captions to EBU-TT-D or 14245 // TTML in an output. Complete this field if you want to include the name of 14246 // the copyright holder in the copyright metadata tag in the TTML 14247 CopyrightHolder *string `locationName:"copyrightHolder" type:"string"` 14248 14249 // Specifies how to handle the gap between the lines (in multi-line captions).- 14250 // enabled: Fill with the captions background color (as specified in the input 14251 // captions).- disabled: Leave the gap unfilled. 14252 FillLineGap *string `locationName:"fillLineGap" type:"string" enum:"EbuTtDFillLineGapControl"` 14253 14254 // Specifies the font family to include in the font data attached to the EBU-TT 14255 // captions. Valid only if styleControl is set to include. If you leave this 14256 // field empty, the font family is set to "monospaced". (If styleControl is 14257 // set to exclude, the font family is always set to "monospaced".)You specify 14258 // only the font family. All other style information (color, bold, position 14259 // and so on) is copied from the input captions. The size is always set to 100% 14260 // to allow the downstream player to choose the size.- Enter a list of font 14261 // families, as a comma-separated list of font names, in order of preference. 14262 // The name can be a font family (such as “Arial”), or a generic font family 14263 // (such as “serif”), or “default” (to let the downstream player choose 14264 // the font).- Leave blank to set the family to “monospace”. 14265 FontFamily *string `locationName:"fontFamily" type:"string"` 14266 14267 // Specifies the style information (font color, font position, and so on) to 14268 // include in the font data that is attached to the EBU-TT captions.- include: 14269 // Take the style information (font color, font position, and so on) from the 14270 // source captions and include that information in the font data attached to 14271 // the EBU-TT captions. This option is valid only if the source captions are 14272 // Embedded or Teletext.- exclude: In the font data attached to the EBU-TT captions, 14273 // set the font family to "monospaced". Do not include any other style information. 14274 StyleControl *string `locationName:"styleControl" type:"string" enum:"EbuTtDDestinationStyleControl"` 14275 } 14276 14277 // String returns the string representation. 14278 // 14279 // API parameter values that are decorated as "sensitive" in the API will not 14280 // be included in the string output. The member name will be present, but the 14281 // value will be replaced with "sensitive". 14282 func (s EbuTtDDestinationSettings) String() string { 14283 return awsutil.Prettify(s) 14284 } 14285 14286 // GoString returns the string representation. 14287 // 14288 // API parameter values that are decorated as "sensitive" in the API will not 14289 // be included in the string output. The member name will be present, but the 14290 // value will be replaced with "sensitive". 14291 func (s EbuTtDDestinationSettings) GoString() string { 14292 return s.String() 14293 } 14294 14295 // SetCopyrightHolder sets the CopyrightHolder field's value. 14296 func (s *EbuTtDDestinationSettings) SetCopyrightHolder(v string) *EbuTtDDestinationSettings { 14297 s.CopyrightHolder = &v 14298 return s 14299 } 14300 14301 // SetFillLineGap sets the FillLineGap field's value. 14302 func (s *EbuTtDDestinationSettings) SetFillLineGap(v string) *EbuTtDDestinationSettings { 14303 s.FillLineGap = &v 14304 return s 14305 } 14306 14307 // SetFontFamily sets the FontFamily field's value. 14308 func (s *EbuTtDDestinationSettings) SetFontFamily(v string) *EbuTtDDestinationSettings { 14309 s.FontFamily = &v 14310 return s 14311 } 14312 14313 // SetStyleControl sets the StyleControl field's value. 14314 func (s *EbuTtDDestinationSettings) SetStyleControl(v string) *EbuTtDDestinationSettings { 14315 s.StyleControl = &v 14316 return s 14317 } 14318 14319 // Embedded Destination Settings 14320 type EmbeddedDestinationSettings struct { 14321 _ struct{} `type:"structure" nopayload:"true"` 14322 } 14323 14324 // String returns the string representation. 14325 // 14326 // API parameter values that are decorated as "sensitive" in the API will not 14327 // be included in the string output. The member name will be present, but the 14328 // value will be replaced with "sensitive". 14329 func (s EmbeddedDestinationSettings) String() string { 14330 return awsutil.Prettify(s) 14331 } 14332 14333 // GoString returns the string representation. 14334 // 14335 // API parameter values that are decorated as "sensitive" in the API will not 14336 // be included in the string output. The member name will be present, but the 14337 // value will be replaced with "sensitive". 14338 func (s EmbeddedDestinationSettings) GoString() string { 14339 return s.String() 14340 } 14341 14342 // Embedded Plus Scte20 Destination Settings 14343 type EmbeddedPlusScte20DestinationSettings struct { 14344 _ struct{} `type:"structure" nopayload:"true"` 14345 } 14346 14347 // String returns the string representation. 14348 // 14349 // API parameter values that are decorated as "sensitive" in the API will not 14350 // be included in the string output. The member name will be present, but the 14351 // value will be replaced with "sensitive". 14352 func (s EmbeddedPlusScte20DestinationSettings) String() string { 14353 return awsutil.Prettify(s) 14354 } 14355 14356 // GoString returns the string representation. 14357 // 14358 // API parameter values that are decorated as "sensitive" in the API will not 14359 // be included in the string output. The member name will be present, but the 14360 // value will be replaced with "sensitive". 14361 func (s EmbeddedPlusScte20DestinationSettings) GoString() string { 14362 return s.String() 14363 } 14364 14365 // Embedded Source Settings 14366 type EmbeddedSourceSettings struct { 14367 _ struct{} `type:"structure"` 14368 14369 // If upconvert, 608 data is both passed through via the "608 compatibility 14370 // bytes" fields of the 708 wrapper as well as translated into 708. 708 data 14371 // present in the source content will be discarded. 14372 Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"EmbeddedConvert608To708"` 14373 14374 // Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 14375 // and Embedded captions. 14376 Scte20Detection *string `locationName:"scte20Detection" type:"string" enum:"EmbeddedScte20Detection"` 14377 14378 // Specifies the 608/708 channel number within the video track from which to 14379 // extract captions. Unused for passthrough. 14380 Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" min:"1" type:"integer"` 14381 14382 // This field is unused and deprecated. 14383 Source608TrackNumber *int64 `locationName:"source608TrackNumber" min:"1" type:"integer"` 14384 } 14385 14386 // String returns the string representation. 14387 // 14388 // API parameter values that are decorated as "sensitive" in the API will not 14389 // be included in the string output. The member name will be present, but the 14390 // value will be replaced with "sensitive". 14391 func (s EmbeddedSourceSettings) String() string { 14392 return awsutil.Prettify(s) 14393 } 14394 14395 // GoString returns the string representation. 14396 // 14397 // API parameter values that are decorated as "sensitive" in the API will not 14398 // be included in the string output. The member name will be present, but the 14399 // value will be replaced with "sensitive". 14400 func (s EmbeddedSourceSettings) GoString() string { 14401 return s.String() 14402 } 14403 14404 // Validate inspects the fields of the type to determine if they are valid. 14405 func (s *EmbeddedSourceSettings) Validate() error { 14406 invalidParams := request.ErrInvalidParams{Context: "EmbeddedSourceSettings"} 14407 if s.Source608ChannelNumber != nil && *s.Source608ChannelNumber < 1 { 14408 invalidParams.Add(request.NewErrParamMinValue("Source608ChannelNumber", 1)) 14409 } 14410 if s.Source608TrackNumber != nil && *s.Source608TrackNumber < 1 { 14411 invalidParams.Add(request.NewErrParamMinValue("Source608TrackNumber", 1)) 14412 } 14413 14414 if invalidParams.Len() > 0 { 14415 return invalidParams 14416 } 14417 return nil 14418 } 14419 14420 // SetConvert608To708 sets the Convert608To708 field's value. 14421 func (s *EmbeddedSourceSettings) SetConvert608To708(v string) *EmbeddedSourceSettings { 14422 s.Convert608To708 = &v 14423 return s 14424 } 14425 14426 // SetScte20Detection sets the Scte20Detection field's value. 14427 func (s *EmbeddedSourceSettings) SetScte20Detection(v string) *EmbeddedSourceSettings { 14428 s.Scte20Detection = &v 14429 return s 14430 } 14431 14432 // SetSource608ChannelNumber sets the Source608ChannelNumber field's value. 14433 func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { 14434 s.Source608ChannelNumber = &v 14435 return s 14436 } 14437 14438 // SetSource608TrackNumber sets the Source608TrackNumber field's value. 14439 func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { 14440 s.Source608TrackNumber = &v 14441 return s 14442 } 14443 14444 // Encoder Settings 14445 type EncoderSettings struct { 14446 _ struct{} `type:"structure"` 14447 14448 // AudioDescriptions is a required field 14449 AudioDescriptions []*AudioDescription `locationName:"audioDescriptions" type:"list" required:"true"` 14450 14451 // Settings for ad avail blanking. 14452 AvailBlanking *AvailBlanking `locationName:"availBlanking" type:"structure"` 14453 14454 // Event-wide configuration settings for ad avail insertion. 14455 AvailConfiguration *AvailConfiguration `locationName:"availConfiguration" type:"structure"` 14456 14457 // Settings for blackout slate. 14458 BlackoutSlate *BlackoutSlate `locationName:"blackoutSlate" type:"structure"` 14459 14460 // Settings for caption decriptions 14461 CaptionDescriptions []*CaptionDescription `locationName:"captionDescriptions" type:"list"` 14462 14463 // Feature Activations 14464 FeatureActivations *FeatureActivations `locationName:"featureActivations" type:"structure"` 14465 14466 // Configuration settings that apply to the event as a whole. 14467 GlobalConfiguration *GlobalConfiguration `locationName:"globalConfiguration" type:"structure"` 14468 14469 // Settings for motion graphics. 14470 MotionGraphicsConfiguration *MotionGraphicsConfiguration `locationName:"motionGraphicsConfiguration" type:"structure"` 14471 14472 // Nielsen configuration settings. 14473 NielsenConfiguration *NielsenConfiguration `locationName:"nielsenConfiguration" type:"structure"` 14474 14475 // OutputGroups is a required field 14476 OutputGroups []*OutputGroup `locationName:"outputGroups" type:"list" required:"true"` 14477 14478 // Contains settings used to acquire and adjust timecode information from inputs. 14479 // 14480 // TimecodeConfig is a required field 14481 TimecodeConfig *TimecodeConfig `locationName:"timecodeConfig" type:"structure" required:"true"` 14482 14483 // VideoDescriptions is a required field 14484 VideoDescriptions []*VideoDescription `locationName:"videoDescriptions" type:"list" required:"true"` 14485 } 14486 14487 // String returns the string representation. 14488 // 14489 // API parameter values that are decorated as "sensitive" in the API will not 14490 // be included in the string output. The member name will be present, but the 14491 // value will be replaced with "sensitive". 14492 func (s EncoderSettings) String() string { 14493 return awsutil.Prettify(s) 14494 } 14495 14496 // GoString returns the string representation. 14497 // 14498 // API parameter values that are decorated as "sensitive" in the API will not 14499 // be included in the string output. The member name will be present, but the 14500 // value will be replaced with "sensitive". 14501 func (s EncoderSettings) GoString() string { 14502 return s.String() 14503 } 14504 14505 // Validate inspects the fields of the type to determine if they are valid. 14506 func (s *EncoderSettings) Validate() error { 14507 invalidParams := request.ErrInvalidParams{Context: "EncoderSettings"} 14508 if s.AudioDescriptions == nil { 14509 invalidParams.Add(request.NewErrParamRequired("AudioDescriptions")) 14510 } 14511 if s.OutputGroups == nil { 14512 invalidParams.Add(request.NewErrParamRequired("OutputGroups")) 14513 } 14514 if s.TimecodeConfig == nil { 14515 invalidParams.Add(request.NewErrParamRequired("TimecodeConfig")) 14516 } 14517 if s.VideoDescriptions == nil { 14518 invalidParams.Add(request.NewErrParamRequired("VideoDescriptions")) 14519 } 14520 if s.AudioDescriptions != nil { 14521 for i, v := range s.AudioDescriptions { 14522 if v == nil { 14523 continue 14524 } 14525 if err := v.Validate(); err != nil { 14526 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AudioDescriptions", i), err.(request.ErrInvalidParams)) 14527 } 14528 } 14529 } 14530 if s.AvailBlanking != nil { 14531 if err := s.AvailBlanking.Validate(); err != nil { 14532 invalidParams.AddNested("AvailBlanking", err.(request.ErrInvalidParams)) 14533 } 14534 } 14535 if s.AvailConfiguration != nil { 14536 if err := s.AvailConfiguration.Validate(); err != nil { 14537 invalidParams.AddNested("AvailConfiguration", err.(request.ErrInvalidParams)) 14538 } 14539 } 14540 if s.BlackoutSlate != nil { 14541 if err := s.BlackoutSlate.Validate(); err != nil { 14542 invalidParams.AddNested("BlackoutSlate", err.(request.ErrInvalidParams)) 14543 } 14544 } 14545 if s.CaptionDescriptions != nil { 14546 for i, v := range s.CaptionDescriptions { 14547 if v == nil { 14548 continue 14549 } 14550 if err := v.Validate(); err != nil { 14551 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionDescriptions", i), err.(request.ErrInvalidParams)) 14552 } 14553 } 14554 } 14555 if s.GlobalConfiguration != nil { 14556 if err := s.GlobalConfiguration.Validate(); err != nil { 14557 invalidParams.AddNested("GlobalConfiguration", err.(request.ErrInvalidParams)) 14558 } 14559 } 14560 if s.MotionGraphicsConfiguration != nil { 14561 if err := s.MotionGraphicsConfiguration.Validate(); err != nil { 14562 invalidParams.AddNested("MotionGraphicsConfiguration", err.(request.ErrInvalidParams)) 14563 } 14564 } 14565 if s.OutputGroups != nil { 14566 for i, v := range s.OutputGroups { 14567 if v == nil { 14568 continue 14569 } 14570 if err := v.Validate(); err != nil { 14571 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputGroups", i), err.(request.ErrInvalidParams)) 14572 } 14573 } 14574 } 14575 if s.TimecodeConfig != nil { 14576 if err := s.TimecodeConfig.Validate(); err != nil { 14577 invalidParams.AddNested("TimecodeConfig", err.(request.ErrInvalidParams)) 14578 } 14579 } 14580 if s.VideoDescriptions != nil { 14581 for i, v := range s.VideoDescriptions { 14582 if v == nil { 14583 continue 14584 } 14585 if err := v.Validate(); err != nil { 14586 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VideoDescriptions", i), err.(request.ErrInvalidParams)) 14587 } 14588 } 14589 } 14590 14591 if invalidParams.Len() > 0 { 14592 return invalidParams 14593 } 14594 return nil 14595 } 14596 14597 // SetAudioDescriptions sets the AudioDescriptions field's value. 14598 func (s *EncoderSettings) SetAudioDescriptions(v []*AudioDescription) *EncoderSettings { 14599 s.AudioDescriptions = v 14600 return s 14601 } 14602 14603 // SetAvailBlanking sets the AvailBlanking field's value. 14604 func (s *EncoderSettings) SetAvailBlanking(v *AvailBlanking) *EncoderSettings { 14605 s.AvailBlanking = v 14606 return s 14607 } 14608 14609 // SetAvailConfiguration sets the AvailConfiguration field's value. 14610 func (s *EncoderSettings) SetAvailConfiguration(v *AvailConfiguration) *EncoderSettings { 14611 s.AvailConfiguration = v 14612 return s 14613 } 14614 14615 // SetBlackoutSlate sets the BlackoutSlate field's value. 14616 func (s *EncoderSettings) SetBlackoutSlate(v *BlackoutSlate) *EncoderSettings { 14617 s.BlackoutSlate = v 14618 return s 14619 } 14620 14621 // SetCaptionDescriptions sets the CaptionDescriptions field's value. 14622 func (s *EncoderSettings) SetCaptionDescriptions(v []*CaptionDescription) *EncoderSettings { 14623 s.CaptionDescriptions = v 14624 return s 14625 } 14626 14627 // SetFeatureActivations sets the FeatureActivations field's value. 14628 func (s *EncoderSettings) SetFeatureActivations(v *FeatureActivations) *EncoderSettings { 14629 s.FeatureActivations = v 14630 return s 14631 } 14632 14633 // SetGlobalConfiguration sets the GlobalConfiguration field's value. 14634 func (s *EncoderSettings) SetGlobalConfiguration(v *GlobalConfiguration) *EncoderSettings { 14635 s.GlobalConfiguration = v 14636 return s 14637 } 14638 14639 // SetMotionGraphicsConfiguration sets the MotionGraphicsConfiguration field's value. 14640 func (s *EncoderSettings) SetMotionGraphicsConfiguration(v *MotionGraphicsConfiguration) *EncoderSettings { 14641 s.MotionGraphicsConfiguration = v 14642 return s 14643 } 14644 14645 // SetNielsenConfiguration sets the NielsenConfiguration field's value. 14646 func (s *EncoderSettings) SetNielsenConfiguration(v *NielsenConfiguration) *EncoderSettings { 14647 s.NielsenConfiguration = v 14648 return s 14649 } 14650 14651 // SetOutputGroups sets the OutputGroups field's value. 14652 func (s *EncoderSettings) SetOutputGroups(v []*OutputGroup) *EncoderSettings { 14653 s.OutputGroups = v 14654 return s 14655 } 14656 14657 // SetTimecodeConfig sets the TimecodeConfig field's value. 14658 func (s *EncoderSettings) SetTimecodeConfig(v *TimecodeConfig) *EncoderSettings { 14659 s.TimecodeConfig = v 14660 return s 14661 } 14662 14663 // SetVideoDescriptions sets the VideoDescriptions field's value. 14664 func (s *EncoderSettings) SetVideoDescriptions(v []*VideoDescription) *EncoderSettings { 14665 s.VideoDescriptions = v 14666 return s 14667 } 14668 14669 // Failover Condition settings. There can be multiple failover conditions inside 14670 // AutomaticInputFailoverSettings. 14671 type FailoverCondition struct { 14672 _ struct{} `type:"structure"` 14673 14674 // Failover condition type-specific settings. 14675 FailoverConditionSettings *FailoverConditionSettings `locationName:"failoverConditionSettings" type:"structure"` 14676 } 14677 14678 // String returns the string representation. 14679 // 14680 // API parameter values that are decorated as "sensitive" in the API will not 14681 // be included in the string output. The member name will be present, but the 14682 // value will be replaced with "sensitive". 14683 func (s FailoverCondition) String() string { 14684 return awsutil.Prettify(s) 14685 } 14686 14687 // GoString returns the string representation. 14688 // 14689 // API parameter values that are decorated as "sensitive" in the API will not 14690 // be included in the string output. The member name will be present, but the 14691 // value will be replaced with "sensitive". 14692 func (s FailoverCondition) GoString() string { 14693 return s.String() 14694 } 14695 14696 // Validate inspects the fields of the type to determine if they are valid. 14697 func (s *FailoverCondition) Validate() error { 14698 invalidParams := request.ErrInvalidParams{Context: "FailoverCondition"} 14699 if s.FailoverConditionSettings != nil { 14700 if err := s.FailoverConditionSettings.Validate(); err != nil { 14701 invalidParams.AddNested("FailoverConditionSettings", err.(request.ErrInvalidParams)) 14702 } 14703 } 14704 14705 if invalidParams.Len() > 0 { 14706 return invalidParams 14707 } 14708 return nil 14709 } 14710 14711 // SetFailoverConditionSettings sets the FailoverConditionSettings field's value. 14712 func (s *FailoverCondition) SetFailoverConditionSettings(v *FailoverConditionSettings) *FailoverCondition { 14713 s.FailoverConditionSettings = v 14714 return s 14715 } 14716 14717 // Settings for one failover condition. 14718 type FailoverConditionSettings struct { 14719 _ struct{} `type:"structure"` 14720 14721 // MediaLive will perform a failover if the specified audio selector is silent 14722 // for the specified period. 14723 AudioSilenceSettings *AudioSilenceFailoverSettings `locationName:"audioSilenceSettings" type:"structure"` 14724 14725 // MediaLive will perform a failover if content is not detected in this input 14726 // for the specified period. 14727 InputLossSettings *InputLossFailoverSettings `locationName:"inputLossSettings" type:"structure"` 14728 14729 // MediaLive will perform a failover if content is considered black for the 14730 // specified period. 14731 VideoBlackSettings *VideoBlackFailoverSettings `locationName:"videoBlackSettings" type:"structure"` 14732 } 14733 14734 // String returns the string representation. 14735 // 14736 // API parameter values that are decorated as "sensitive" in the API will not 14737 // be included in the string output. The member name will be present, but the 14738 // value will be replaced with "sensitive". 14739 func (s FailoverConditionSettings) String() string { 14740 return awsutil.Prettify(s) 14741 } 14742 14743 // GoString returns the string representation. 14744 // 14745 // API parameter values that are decorated as "sensitive" in the API will not 14746 // be included in the string output. The member name will be present, but the 14747 // value will be replaced with "sensitive". 14748 func (s FailoverConditionSettings) GoString() string { 14749 return s.String() 14750 } 14751 14752 // Validate inspects the fields of the type to determine if they are valid. 14753 func (s *FailoverConditionSettings) Validate() error { 14754 invalidParams := request.ErrInvalidParams{Context: "FailoverConditionSettings"} 14755 if s.AudioSilenceSettings != nil { 14756 if err := s.AudioSilenceSettings.Validate(); err != nil { 14757 invalidParams.AddNested("AudioSilenceSettings", err.(request.ErrInvalidParams)) 14758 } 14759 } 14760 if s.InputLossSettings != nil { 14761 if err := s.InputLossSettings.Validate(); err != nil { 14762 invalidParams.AddNested("InputLossSettings", err.(request.ErrInvalidParams)) 14763 } 14764 } 14765 if s.VideoBlackSettings != nil { 14766 if err := s.VideoBlackSettings.Validate(); err != nil { 14767 invalidParams.AddNested("VideoBlackSettings", err.(request.ErrInvalidParams)) 14768 } 14769 } 14770 14771 if invalidParams.Len() > 0 { 14772 return invalidParams 14773 } 14774 return nil 14775 } 14776 14777 // SetAudioSilenceSettings sets the AudioSilenceSettings field's value. 14778 func (s *FailoverConditionSettings) SetAudioSilenceSettings(v *AudioSilenceFailoverSettings) *FailoverConditionSettings { 14779 s.AudioSilenceSettings = v 14780 return s 14781 } 14782 14783 // SetInputLossSettings sets the InputLossSettings field's value. 14784 func (s *FailoverConditionSettings) SetInputLossSettings(v *InputLossFailoverSettings) *FailoverConditionSettings { 14785 s.InputLossSettings = v 14786 return s 14787 } 14788 14789 // SetVideoBlackSettings sets the VideoBlackSettings field's value. 14790 func (s *FailoverConditionSettings) SetVideoBlackSettings(v *VideoBlackFailoverSettings) *FailoverConditionSettings { 14791 s.VideoBlackSettings = v 14792 return s 14793 } 14794 14795 // Feature Activations 14796 type FeatureActivations struct { 14797 _ struct{} `type:"structure"` 14798 14799 // Enables the Input Prepare feature. You can create Input Prepare actions in 14800 // the schedule only if this feature is enabled.If you disable the feature on 14801 // an existing schedule, make sure that you first delete all input prepare actions 14802 // from the schedule. 14803 InputPrepareScheduleActions *string `locationName:"inputPrepareScheduleActions" type:"string" enum:"FeatureActivationsInputPrepareScheduleActions"` 14804 } 14805 14806 // String returns the string representation. 14807 // 14808 // API parameter values that are decorated as "sensitive" in the API will not 14809 // be included in the string output. The member name will be present, but the 14810 // value will be replaced with "sensitive". 14811 func (s FeatureActivations) String() string { 14812 return awsutil.Prettify(s) 14813 } 14814 14815 // GoString returns the string representation. 14816 // 14817 // API parameter values that are decorated as "sensitive" in the API will not 14818 // be included in the string output. The member name will be present, but the 14819 // value will be replaced with "sensitive". 14820 func (s FeatureActivations) GoString() string { 14821 return s.String() 14822 } 14823 14824 // SetInputPrepareScheduleActions sets the InputPrepareScheduleActions field's value. 14825 func (s *FeatureActivations) SetInputPrepareScheduleActions(v string) *FeatureActivations { 14826 s.InputPrepareScheduleActions = &v 14827 return s 14828 } 14829 14830 // Fec Output Settings 14831 type FecOutputSettings struct { 14832 _ struct{} `type:"structure"` 14833 14834 // Parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The 14835 // number of transport stream packets per column error correction packet. Must 14836 // be between 4 and 20, inclusive. 14837 ColumnDepth *int64 `locationName:"columnDepth" min:"4" type:"integer"` 14838 14839 // Enables column only or column and row based FEC 14840 IncludeFec *string `locationName:"includeFec" type:"string" enum:"FecOutputIncludeFec"` 14841 14842 // Parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must 14843 // be between 1 and 20, inclusive. If only Column FEC is used, then larger values 14844 // increase robustness. If Row FEC is used, then this is the number of transport 14845 // stream packets per row error correction packet, and the value must be between 14846 // 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, 14847 // this value must be 1 to 20, inclusive. 14848 RowLength *int64 `locationName:"rowLength" min:"1" type:"integer"` 14849 } 14850 14851 // String returns the string representation. 14852 // 14853 // API parameter values that are decorated as "sensitive" in the API will not 14854 // be included in the string output. The member name will be present, but the 14855 // value will be replaced with "sensitive". 14856 func (s FecOutputSettings) String() string { 14857 return awsutil.Prettify(s) 14858 } 14859 14860 // GoString returns the string representation. 14861 // 14862 // API parameter values that are decorated as "sensitive" in the API will not 14863 // be included in the string output. The member name will be present, but the 14864 // value will be replaced with "sensitive". 14865 func (s FecOutputSettings) GoString() string { 14866 return s.String() 14867 } 14868 14869 // Validate inspects the fields of the type to determine if they are valid. 14870 func (s *FecOutputSettings) Validate() error { 14871 invalidParams := request.ErrInvalidParams{Context: "FecOutputSettings"} 14872 if s.ColumnDepth != nil && *s.ColumnDepth < 4 { 14873 invalidParams.Add(request.NewErrParamMinValue("ColumnDepth", 4)) 14874 } 14875 if s.RowLength != nil && *s.RowLength < 1 { 14876 invalidParams.Add(request.NewErrParamMinValue("RowLength", 1)) 14877 } 14878 14879 if invalidParams.Len() > 0 { 14880 return invalidParams 14881 } 14882 return nil 14883 } 14884 14885 // SetColumnDepth sets the ColumnDepth field's value. 14886 func (s *FecOutputSettings) SetColumnDepth(v int64) *FecOutputSettings { 14887 s.ColumnDepth = &v 14888 return s 14889 } 14890 14891 // SetIncludeFec sets the IncludeFec field's value. 14892 func (s *FecOutputSettings) SetIncludeFec(v string) *FecOutputSettings { 14893 s.IncludeFec = &v 14894 return s 14895 } 14896 14897 // SetRowLength sets the RowLength field's value. 14898 func (s *FecOutputSettings) SetRowLength(v int64) *FecOutputSettings { 14899 s.RowLength = &v 14900 return s 14901 } 14902 14903 // Start time for the action. 14904 type FixedModeScheduleActionStartSettings struct { 14905 _ struct{} `type:"structure"` 14906 14907 // Start time for the action to start in the channel. (Not the time for the 14908 // action to be added to the schedule: actions are always added to the schedule 14909 // immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits 14910 // (for example, mm might be 01) except for the two constants "T" for time and 14911 // "Z" for "UTC format". 14912 // 14913 // Time is a required field 14914 Time *string `locationName:"time" type:"string" required:"true"` 14915 } 14916 14917 // String returns the string representation. 14918 // 14919 // API parameter values that are decorated as "sensitive" in the API will not 14920 // be included in the string output. The member name will be present, but the 14921 // value will be replaced with "sensitive". 14922 func (s FixedModeScheduleActionStartSettings) String() string { 14923 return awsutil.Prettify(s) 14924 } 14925 14926 // GoString returns the string representation. 14927 // 14928 // API parameter values that are decorated as "sensitive" in the API will not 14929 // be included in the string output. The member name will be present, but the 14930 // value will be replaced with "sensitive". 14931 func (s FixedModeScheduleActionStartSettings) GoString() string { 14932 return s.String() 14933 } 14934 14935 // Validate inspects the fields of the type to determine if they are valid. 14936 func (s *FixedModeScheduleActionStartSettings) Validate() error { 14937 invalidParams := request.ErrInvalidParams{Context: "FixedModeScheduleActionStartSettings"} 14938 if s.Time == nil { 14939 invalidParams.Add(request.NewErrParamRequired("Time")) 14940 } 14941 14942 if invalidParams.Len() > 0 { 14943 return invalidParams 14944 } 14945 return nil 14946 } 14947 14948 // SetTime sets the Time field's value. 14949 func (s *FixedModeScheduleActionStartSettings) SetTime(v string) *FixedModeScheduleActionStartSettings { 14950 s.Time = &v 14951 return s 14952 } 14953 14954 // Fmp4 Hls Settings 14955 type Fmp4HlsSettings struct { 14956 _ struct{} `type:"structure"` 14957 14958 // List all the audio groups that are used with the video output stream. Input 14959 // all the audio GROUP-IDs that are associated to the video, separate by ','. 14960 AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` 14961 14962 // If set to passthrough, Nielsen inaudible tones for media tracking will be 14963 // detected in the input audio and an equivalent ID3 tag will be inserted in 14964 // the output. 14965 NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"Fmp4NielsenId3Behavior"` 14966 14967 // When set to passthrough, timed metadata is passed through from input to output. 14968 TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"Fmp4TimedMetadataBehavior"` 14969 } 14970 14971 // String returns the string representation. 14972 // 14973 // API parameter values that are decorated as "sensitive" in the API will not 14974 // be included in the string output. The member name will be present, but the 14975 // value will be replaced with "sensitive". 14976 func (s Fmp4HlsSettings) String() string { 14977 return awsutil.Prettify(s) 14978 } 14979 14980 // GoString returns the string representation. 14981 // 14982 // API parameter values that are decorated as "sensitive" in the API will not 14983 // be included in the string output. The member name will be present, but the 14984 // value will be replaced with "sensitive". 14985 func (s Fmp4HlsSettings) GoString() string { 14986 return s.String() 14987 } 14988 14989 // SetAudioRenditionSets sets the AudioRenditionSets field's value. 14990 func (s *Fmp4HlsSettings) SetAudioRenditionSets(v string) *Fmp4HlsSettings { 14991 s.AudioRenditionSets = &v 14992 return s 14993 } 14994 14995 // SetNielsenId3Behavior sets the NielsenId3Behavior field's value. 14996 func (s *Fmp4HlsSettings) SetNielsenId3Behavior(v string) *Fmp4HlsSettings { 14997 s.NielsenId3Behavior = &v 14998 return s 14999 } 15000 15001 // SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. 15002 func (s *Fmp4HlsSettings) SetTimedMetadataBehavior(v string) *Fmp4HlsSettings { 15003 s.TimedMetadataBehavior = &v 15004 return s 15005 } 15006 15007 // Settings to specify if an action follows another. 15008 type FollowModeScheduleActionStartSettings struct { 15009 _ struct{} `type:"structure"` 15010 15011 // Identifies whether this action starts relative to the start or relative to 15012 // the end of the reference action. 15013 // 15014 // FollowPoint is a required field 15015 FollowPoint *string `locationName:"followPoint" type:"string" required:"true" enum:"FollowPoint"` 15016 15017 // The action name of another action that this one refers to. 15018 // 15019 // ReferenceActionName is a required field 15020 ReferenceActionName *string `locationName:"referenceActionName" type:"string" required:"true"` 15021 } 15022 15023 // String returns the string representation. 15024 // 15025 // API parameter values that are decorated as "sensitive" in the API will not 15026 // be included in the string output. The member name will be present, but the 15027 // value will be replaced with "sensitive". 15028 func (s FollowModeScheduleActionStartSettings) String() string { 15029 return awsutil.Prettify(s) 15030 } 15031 15032 // GoString returns the string representation. 15033 // 15034 // API parameter values that are decorated as "sensitive" in the API will not 15035 // be included in the string output. The member name will be present, but the 15036 // value will be replaced with "sensitive". 15037 func (s FollowModeScheduleActionStartSettings) GoString() string { 15038 return s.String() 15039 } 15040 15041 // Validate inspects the fields of the type to determine if they are valid. 15042 func (s *FollowModeScheduleActionStartSettings) Validate() error { 15043 invalidParams := request.ErrInvalidParams{Context: "FollowModeScheduleActionStartSettings"} 15044 if s.FollowPoint == nil { 15045 invalidParams.Add(request.NewErrParamRequired("FollowPoint")) 15046 } 15047 if s.ReferenceActionName == nil { 15048 invalidParams.Add(request.NewErrParamRequired("ReferenceActionName")) 15049 } 15050 15051 if invalidParams.Len() > 0 { 15052 return invalidParams 15053 } 15054 return nil 15055 } 15056 15057 // SetFollowPoint sets the FollowPoint field's value. 15058 func (s *FollowModeScheduleActionStartSettings) SetFollowPoint(v string) *FollowModeScheduleActionStartSettings { 15059 s.FollowPoint = &v 15060 return s 15061 } 15062 15063 // SetReferenceActionName sets the ReferenceActionName field's value. 15064 func (s *FollowModeScheduleActionStartSettings) SetReferenceActionName(v string) *FollowModeScheduleActionStartSettings { 15065 s.ReferenceActionName = &v 15066 return s 15067 } 15068 15069 type ForbiddenException struct { 15070 _ struct{} `type:"structure"` 15071 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 15072 15073 Message_ *string `locationName:"message" type:"string"` 15074 } 15075 15076 // String returns the string representation. 15077 // 15078 // API parameter values that are decorated as "sensitive" in the API will not 15079 // be included in the string output. The member name will be present, but the 15080 // value will be replaced with "sensitive". 15081 func (s ForbiddenException) String() string { 15082 return awsutil.Prettify(s) 15083 } 15084 15085 // GoString returns the string representation. 15086 // 15087 // API parameter values that are decorated as "sensitive" in the API will not 15088 // be included in the string output. The member name will be present, but the 15089 // value will be replaced with "sensitive". 15090 func (s ForbiddenException) GoString() string { 15091 return s.String() 15092 } 15093 15094 func newErrorForbiddenException(v protocol.ResponseMetadata) error { 15095 return &ForbiddenException{ 15096 RespMetadata: v, 15097 } 15098 } 15099 15100 // Code returns the exception type name. 15101 func (s *ForbiddenException) Code() string { 15102 return "ForbiddenException" 15103 } 15104 15105 // Message returns the exception's message. 15106 func (s *ForbiddenException) Message() string { 15107 if s.Message_ != nil { 15108 return *s.Message_ 15109 } 15110 return "" 15111 } 15112 15113 // OrigErr always returns nil, satisfies awserr.Error interface. 15114 func (s *ForbiddenException) OrigErr() error { 15115 return nil 15116 } 15117 15118 func (s *ForbiddenException) Error() string { 15119 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 15120 } 15121 15122 // Status code returns the HTTP status code for the request's response error. 15123 func (s *ForbiddenException) StatusCode() int { 15124 return s.RespMetadata.StatusCode 15125 } 15126 15127 // RequestID returns the service's response RequestID for request. 15128 func (s *ForbiddenException) RequestID() string { 15129 return s.RespMetadata.RequestID 15130 } 15131 15132 // Frame Capture Cdn Settings 15133 type FrameCaptureCdnSettings struct { 15134 _ struct{} `type:"structure"` 15135 15136 // Frame Capture S3 Settings 15137 FrameCaptureS3Settings *FrameCaptureS3Settings `locationName:"frameCaptureS3Settings" type:"structure"` 15138 } 15139 15140 // String returns the string representation. 15141 // 15142 // API parameter values that are decorated as "sensitive" in the API will not 15143 // be included in the string output. The member name will be present, but the 15144 // value will be replaced with "sensitive". 15145 func (s FrameCaptureCdnSettings) String() string { 15146 return awsutil.Prettify(s) 15147 } 15148 15149 // GoString returns the string representation. 15150 // 15151 // API parameter values that are decorated as "sensitive" in the API will not 15152 // be included in the string output. The member name will be present, but the 15153 // value will be replaced with "sensitive". 15154 func (s FrameCaptureCdnSettings) GoString() string { 15155 return s.String() 15156 } 15157 15158 // SetFrameCaptureS3Settings sets the FrameCaptureS3Settings field's value. 15159 func (s *FrameCaptureCdnSettings) SetFrameCaptureS3Settings(v *FrameCaptureS3Settings) *FrameCaptureCdnSettings { 15160 s.FrameCaptureS3Settings = v 15161 return s 15162 } 15163 15164 // Frame Capture Group Settings 15165 type FrameCaptureGroupSettings struct { 15166 _ struct{} `type:"structure"` 15167 15168 // The destination for the frame capture files. Either the URI for an Amazon 15169 // S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling-) 15170 // or the URI for a MediaStore container, plus a file name prefix (for example, 15171 // mediastoressl://sportsDelivery/20180820/curling-). The final file names consist 15172 // of the prefix from the destination field (for example, "curling-") + name 15173 // modifier + the counter (5 digits, starting from 00001) + extension (which 15174 // is always .jpg). For example, curling-low.00001.jpg 15175 // 15176 // Destination is a required field 15177 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 15178 15179 // Parameters that control interactions with the CDN. 15180 FrameCaptureCdnSettings *FrameCaptureCdnSettings `locationName:"frameCaptureCdnSettings" type:"structure"` 15181 } 15182 15183 // String returns the string representation. 15184 // 15185 // API parameter values that are decorated as "sensitive" in the API will not 15186 // be included in the string output. The member name will be present, but the 15187 // value will be replaced with "sensitive". 15188 func (s FrameCaptureGroupSettings) String() string { 15189 return awsutil.Prettify(s) 15190 } 15191 15192 // GoString returns the string representation. 15193 // 15194 // API parameter values that are decorated as "sensitive" in the API will not 15195 // be included in the string output. The member name will be present, but the 15196 // value will be replaced with "sensitive". 15197 func (s FrameCaptureGroupSettings) GoString() string { 15198 return s.String() 15199 } 15200 15201 // Validate inspects the fields of the type to determine if they are valid. 15202 func (s *FrameCaptureGroupSettings) Validate() error { 15203 invalidParams := request.ErrInvalidParams{Context: "FrameCaptureGroupSettings"} 15204 if s.Destination == nil { 15205 invalidParams.Add(request.NewErrParamRequired("Destination")) 15206 } 15207 15208 if invalidParams.Len() > 0 { 15209 return invalidParams 15210 } 15211 return nil 15212 } 15213 15214 // SetDestination sets the Destination field's value. 15215 func (s *FrameCaptureGroupSettings) SetDestination(v *OutputLocationRef) *FrameCaptureGroupSettings { 15216 s.Destination = v 15217 return s 15218 } 15219 15220 // SetFrameCaptureCdnSettings sets the FrameCaptureCdnSettings field's value. 15221 func (s *FrameCaptureGroupSettings) SetFrameCaptureCdnSettings(v *FrameCaptureCdnSettings) *FrameCaptureGroupSettings { 15222 s.FrameCaptureCdnSettings = v 15223 return s 15224 } 15225 15226 // Frame Capture Hls Settings 15227 type FrameCaptureHlsSettings struct { 15228 _ struct{} `type:"structure" nopayload:"true"` 15229 } 15230 15231 // String returns the string representation. 15232 // 15233 // API parameter values that are decorated as "sensitive" in the API will not 15234 // be included in the string output. The member name will be present, but the 15235 // value will be replaced with "sensitive". 15236 func (s FrameCaptureHlsSettings) String() string { 15237 return awsutil.Prettify(s) 15238 } 15239 15240 // GoString returns the string representation. 15241 // 15242 // API parameter values that are decorated as "sensitive" in the API will not 15243 // be included in the string output. The member name will be present, but the 15244 // value will be replaced with "sensitive". 15245 func (s FrameCaptureHlsSettings) GoString() string { 15246 return s.String() 15247 } 15248 15249 // Frame Capture Output Settings 15250 type FrameCaptureOutputSettings struct { 15251 _ struct{} `type:"structure"` 15252 15253 // Required if the output group contains more than one output. This modifier 15254 // forms part of the output file name. 15255 NameModifier *string `locationName:"nameModifier" type:"string"` 15256 } 15257 15258 // String returns the string representation. 15259 // 15260 // API parameter values that are decorated as "sensitive" in the API will not 15261 // be included in the string output. The member name will be present, but the 15262 // value will be replaced with "sensitive". 15263 func (s FrameCaptureOutputSettings) String() string { 15264 return awsutil.Prettify(s) 15265 } 15266 15267 // GoString returns the string representation. 15268 // 15269 // API parameter values that are decorated as "sensitive" in the API will not 15270 // be included in the string output. The member name will be present, but the 15271 // value will be replaced with "sensitive". 15272 func (s FrameCaptureOutputSettings) GoString() string { 15273 return s.String() 15274 } 15275 15276 // SetNameModifier sets the NameModifier field's value. 15277 func (s *FrameCaptureOutputSettings) SetNameModifier(v string) *FrameCaptureOutputSettings { 15278 s.NameModifier = &v 15279 return s 15280 } 15281 15282 // Frame Capture S3 Settings 15283 type FrameCaptureS3Settings struct { 15284 _ struct{} `type:"structure"` 15285 15286 // Specify the canned ACL to apply to each S3 request. Defaults to none. 15287 CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` 15288 } 15289 15290 // String returns the string representation. 15291 // 15292 // API parameter values that are decorated as "sensitive" in the API will not 15293 // be included in the string output. The member name will be present, but the 15294 // value will be replaced with "sensitive". 15295 func (s FrameCaptureS3Settings) String() string { 15296 return awsutil.Prettify(s) 15297 } 15298 15299 // GoString returns the string representation. 15300 // 15301 // API parameter values that are decorated as "sensitive" in the API will not 15302 // be included in the string output. The member name will be present, but the 15303 // value will be replaced with "sensitive". 15304 func (s FrameCaptureS3Settings) GoString() string { 15305 return s.String() 15306 } 15307 15308 // SetCannedAcl sets the CannedAcl field's value. 15309 func (s *FrameCaptureS3Settings) SetCannedAcl(v string) *FrameCaptureS3Settings { 15310 s.CannedAcl = &v 15311 return s 15312 } 15313 15314 // Frame Capture Settings 15315 type FrameCaptureSettings struct { 15316 _ struct{} `type:"structure"` 15317 15318 // The frequency at which to capture frames for inclusion in the output. May 15319 // be specified in either seconds or milliseconds, as specified by captureIntervalUnits. 15320 CaptureInterval *int64 `locationName:"captureInterval" min:"1" type:"integer"` 15321 15322 // Unit for the frame capture interval. 15323 CaptureIntervalUnits *string `locationName:"captureIntervalUnits" type:"string" enum:"FrameCaptureIntervalUnit"` 15324 } 15325 15326 // String returns the string representation. 15327 // 15328 // API parameter values that are decorated as "sensitive" in the API will not 15329 // be included in the string output. The member name will be present, but the 15330 // value will be replaced with "sensitive". 15331 func (s FrameCaptureSettings) String() string { 15332 return awsutil.Prettify(s) 15333 } 15334 15335 // GoString returns the string representation. 15336 // 15337 // API parameter values that are decorated as "sensitive" in the API will not 15338 // be included in the string output. The member name will be present, but the 15339 // value will be replaced with "sensitive". 15340 func (s FrameCaptureSettings) GoString() string { 15341 return s.String() 15342 } 15343 15344 // Validate inspects the fields of the type to determine if they are valid. 15345 func (s *FrameCaptureSettings) Validate() error { 15346 invalidParams := request.ErrInvalidParams{Context: "FrameCaptureSettings"} 15347 if s.CaptureInterval != nil && *s.CaptureInterval < 1 { 15348 invalidParams.Add(request.NewErrParamMinValue("CaptureInterval", 1)) 15349 } 15350 15351 if invalidParams.Len() > 0 { 15352 return invalidParams 15353 } 15354 return nil 15355 } 15356 15357 // SetCaptureInterval sets the CaptureInterval field's value. 15358 func (s *FrameCaptureSettings) SetCaptureInterval(v int64) *FrameCaptureSettings { 15359 s.CaptureInterval = &v 15360 return s 15361 } 15362 15363 // SetCaptureIntervalUnits sets the CaptureIntervalUnits field's value. 15364 func (s *FrameCaptureSettings) SetCaptureIntervalUnits(v string) *FrameCaptureSettings { 15365 s.CaptureIntervalUnits = &v 15366 return s 15367 } 15368 15369 type GatewayTimeoutException struct { 15370 _ struct{} `type:"structure"` 15371 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 15372 15373 Message_ *string `locationName:"message" type:"string"` 15374 } 15375 15376 // String returns the string representation. 15377 // 15378 // API parameter values that are decorated as "sensitive" in the API will not 15379 // be included in the string output. The member name will be present, but the 15380 // value will be replaced with "sensitive". 15381 func (s GatewayTimeoutException) String() string { 15382 return awsutil.Prettify(s) 15383 } 15384 15385 // GoString returns the string representation. 15386 // 15387 // API parameter values that are decorated as "sensitive" in the API will not 15388 // be included in the string output. The member name will be present, but the 15389 // value will be replaced with "sensitive". 15390 func (s GatewayTimeoutException) GoString() string { 15391 return s.String() 15392 } 15393 15394 func newErrorGatewayTimeoutException(v protocol.ResponseMetadata) error { 15395 return &GatewayTimeoutException{ 15396 RespMetadata: v, 15397 } 15398 } 15399 15400 // Code returns the exception type name. 15401 func (s *GatewayTimeoutException) Code() string { 15402 return "GatewayTimeoutException" 15403 } 15404 15405 // Message returns the exception's message. 15406 func (s *GatewayTimeoutException) Message() string { 15407 if s.Message_ != nil { 15408 return *s.Message_ 15409 } 15410 return "" 15411 } 15412 15413 // OrigErr always returns nil, satisfies awserr.Error interface. 15414 func (s *GatewayTimeoutException) OrigErr() error { 15415 return nil 15416 } 15417 15418 func (s *GatewayTimeoutException) Error() string { 15419 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 15420 } 15421 15422 // Status code returns the HTTP status code for the request's response error. 15423 func (s *GatewayTimeoutException) StatusCode() int { 15424 return s.RespMetadata.StatusCode 15425 } 15426 15427 // RequestID returns the service's response RequestID for request. 15428 func (s *GatewayTimeoutException) RequestID() string { 15429 return s.RespMetadata.RequestID 15430 } 15431 15432 // Global Configuration 15433 type GlobalConfiguration struct { 15434 _ struct{} `type:"structure"` 15435 15436 // Value to set the initial audio gain for the Live Event. 15437 InitialAudioGain *int64 `locationName:"initialAudioGain" type:"integer"` 15438 15439 // Indicates the action to take when the current input completes (e.g. end-of-file). 15440 // When switchAndLoopInputs is configured the encoder will restart at the beginning 15441 // of the first input. When "none" is configured the encoder will transcode 15442 // either black, a solid color, or a user specified slate images per the "Input 15443 // Loss Behavior" configuration until the next input switch occurs (which is 15444 // controlled through the Channel Schedule API). 15445 InputEndAction *string `locationName:"inputEndAction" type:"string" enum:"GlobalConfigurationInputEndAction"` 15446 15447 // Settings for system actions when input is lost. 15448 InputLossBehavior *InputLossBehavior `locationName:"inputLossBehavior" type:"structure"` 15449 15450 // Indicates how MediaLive pipelines are synchronized.PIPELINE_LOCKING - MediaLive 15451 // will attempt to synchronize the output of each pipeline to the other.EPOCH_LOCKING 15452 // - MediaLive will attempt to synchronize the output of each pipeline to the 15453 // Unix epoch. 15454 OutputLockingMode *string `locationName:"outputLockingMode" type:"string" enum:"GlobalConfigurationOutputLockingMode"` 15455 15456 // Indicates whether the rate of frames emitted by the Live encoder should be 15457 // paced by its system clock (which optionally may be locked to another source 15458 // via NTP) or should be locked to the clock of the source that is providing 15459 // the input stream. 15460 OutputTimingSource *string `locationName:"outputTimingSource" type:"string" enum:"GlobalConfigurationOutputTimingSource"` 15461 15462 // Adjusts video input buffer for streams with very low video framerates. This 15463 // is commonly set to enabled for music channels with less than one video frame 15464 // per second. 15465 SupportLowFramerateInputs *string `locationName:"supportLowFramerateInputs" type:"string" enum:"GlobalConfigurationLowFramerateInputs"` 15466 } 15467 15468 // String returns the string representation. 15469 // 15470 // API parameter values that are decorated as "sensitive" in the API will not 15471 // be included in the string output. The member name will be present, but the 15472 // value will be replaced with "sensitive". 15473 func (s GlobalConfiguration) String() string { 15474 return awsutil.Prettify(s) 15475 } 15476 15477 // GoString returns the string representation. 15478 // 15479 // API parameter values that are decorated as "sensitive" in the API will not 15480 // be included in the string output. The member name will be present, but the 15481 // value will be replaced with "sensitive". 15482 func (s GlobalConfiguration) GoString() string { 15483 return s.String() 15484 } 15485 15486 // Validate inspects the fields of the type to determine if they are valid. 15487 func (s *GlobalConfiguration) Validate() error { 15488 invalidParams := request.ErrInvalidParams{Context: "GlobalConfiguration"} 15489 if s.InitialAudioGain != nil && *s.InitialAudioGain < -60 { 15490 invalidParams.Add(request.NewErrParamMinValue("InitialAudioGain", -60)) 15491 } 15492 if s.InputLossBehavior != nil { 15493 if err := s.InputLossBehavior.Validate(); err != nil { 15494 invalidParams.AddNested("InputLossBehavior", err.(request.ErrInvalidParams)) 15495 } 15496 } 15497 15498 if invalidParams.Len() > 0 { 15499 return invalidParams 15500 } 15501 return nil 15502 } 15503 15504 // SetInitialAudioGain sets the InitialAudioGain field's value. 15505 func (s *GlobalConfiguration) SetInitialAudioGain(v int64) *GlobalConfiguration { 15506 s.InitialAudioGain = &v 15507 return s 15508 } 15509 15510 // SetInputEndAction sets the InputEndAction field's value. 15511 func (s *GlobalConfiguration) SetInputEndAction(v string) *GlobalConfiguration { 15512 s.InputEndAction = &v 15513 return s 15514 } 15515 15516 // SetInputLossBehavior sets the InputLossBehavior field's value. 15517 func (s *GlobalConfiguration) SetInputLossBehavior(v *InputLossBehavior) *GlobalConfiguration { 15518 s.InputLossBehavior = v 15519 return s 15520 } 15521 15522 // SetOutputLockingMode sets the OutputLockingMode field's value. 15523 func (s *GlobalConfiguration) SetOutputLockingMode(v string) *GlobalConfiguration { 15524 s.OutputLockingMode = &v 15525 return s 15526 } 15527 15528 // SetOutputTimingSource sets the OutputTimingSource field's value. 15529 func (s *GlobalConfiguration) SetOutputTimingSource(v string) *GlobalConfiguration { 15530 s.OutputTimingSource = &v 15531 return s 15532 } 15533 15534 // SetSupportLowFramerateInputs sets the SupportLowFramerateInputs field's value. 15535 func (s *GlobalConfiguration) SetSupportLowFramerateInputs(v string) *GlobalConfiguration { 15536 s.SupportLowFramerateInputs = &v 15537 return s 15538 } 15539 15540 // H264 Color Space Settings 15541 type H264ColorSpaceSettings struct { 15542 _ struct{} `type:"structure"` 15543 15544 // Passthrough applies no color space conversion to the output 15545 ColorSpacePassthroughSettings *ColorSpacePassthroughSettings `locationName:"colorSpacePassthroughSettings" type:"structure"` 15546 15547 // Rec601 Settings 15548 Rec601Settings *Rec601Settings `locationName:"rec601Settings" type:"structure"` 15549 15550 // Rec709 Settings 15551 Rec709Settings *Rec709Settings `locationName:"rec709Settings" type:"structure"` 15552 } 15553 15554 // String returns the string representation. 15555 // 15556 // API parameter values that are decorated as "sensitive" in the API will not 15557 // be included in the string output. The member name will be present, but the 15558 // value will be replaced with "sensitive". 15559 func (s H264ColorSpaceSettings) String() string { 15560 return awsutil.Prettify(s) 15561 } 15562 15563 // GoString returns the string representation. 15564 // 15565 // API parameter values that are decorated as "sensitive" in the API will not 15566 // be included in the string output. The member name will be present, but the 15567 // value will be replaced with "sensitive". 15568 func (s H264ColorSpaceSettings) GoString() string { 15569 return s.String() 15570 } 15571 15572 // SetColorSpacePassthroughSettings sets the ColorSpacePassthroughSettings field's value. 15573 func (s *H264ColorSpaceSettings) SetColorSpacePassthroughSettings(v *ColorSpacePassthroughSettings) *H264ColorSpaceSettings { 15574 s.ColorSpacePassthroughSettings = v 15575 return s 15576 } 15577 15578 // SetRec601Settings sets the Rec601Settings field's value. 15579 func (s *H264ColorSpaceSettings) SetRec601Settings(v *Rec601Settings) *H264ColorSpaceSettings { 15580 s.Rec601Settings = v 15581 return s 15582 } 15583 15584 // SetRec709Settings sets the Rec709Settings field's value. 15585 func (s *H264ColorSpaceSettings) SetRec709Settings(v *Rec709Settings) *H264ColorSpaceSettings { 15586 s.Rec709Settings = v 15587 return s 15588 } 15589 15590 // H264 Filter Settings 15591 type H264FilterSettings struct { 15592 _ struct{} `type:"structure"` 15593 15594 // Temporal Filter Settings 15595 TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` 15596 } 15597 15598 // String returns the string representation. 15599 // 15600 // API parameter values that are decorated as "sensitive" in the API will not 15601 // be included in the string output. The member name will be present, but the 15602 // value will be replaced with "sensitive". 15603 func (s H264FilterSettings) String() string { 15604 return awsutil.Prettify(s) 15605 } 15606 15607 // GoString returns the string representation. 15608 // 15609 // API parameter values that are decorated as "sensitive" in the API will not 15610 // be included in the string output. The member name will be present, but the 15611 // value will be replaced with "sensitive". 15612 func (s H264FilterSettings) GoString() string { 15613 return s.String() 15614 } 15615 15616 // SetTemporalFilterSettings sets the TemporalFilterSettings field's value. 15617 func (s *H264FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *H264FilterSettings { 15618 s.TemporalFilterSettings = v 15619 return s 15620 } 15621 15622 // H264 Settings 15623 type H264Settings struct { 15624 _ struct{} `type:"structure"` 15625 15626 // Enables or disables adaptive quantization, which is a technique MediaLive 15627 // can apply to video on a frame-by-frame basis to produce more compression 15628 // without losing quality. There are three types of adaptive quantization: flicker, 15629 // spatial, and temporal. Set the field in one of these ways: Set to Auto. Recommended. 15630 // For each type of AQ, MediaLive will determine if AQ is needed, and if so, 15631 // the appropriate strength. Set a strength (a value other than Auto or Disable). 15632 // This strength will apply to any of the AQ fields that you choose to enable. 15633 // Set to Disabled to disable all types of adaptive quantization. 15634 AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H264AdaptiveQuantization"` 15635 15636 // Indicates that AFD values will be written into the output stream. If afdSignaling 15637 // is "auto", the system will try to preserve the input AFD value (in cases 15638 // where multiple AFD values are valid). If set to "fixed", the AFD value will 15639 // be the value configured in the fixedAfd parameter. 15640 AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` 15641 15642 // Average bitrate in bits/second. Required when the rate control mode is VBR 15643 // or CBR. Not used for QVBR. In an MS Smooth output group, each output must 15644 // have a unique value when its bitrate is rounded down to the nearest multiple 15645 // of 1000. 15646 Bitrate *int64 `locationName:"bitrate" min:"1000" type:"integer"` 15647 15648 // Percentage of the buffer that should initially be filled (HRD buffer model). 15649 BufFillPct *int64 `locationName:"bufFillPct" type:"integer"` 15650 15651 // Size of buffer (HRD buffer model) in bits. 15652 BufSize *int64 `locationName:"bufSize" type:"integer"` 15653 15654 // Includes colorspace metadata in the output. 15655 ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H264ColorMetadata"` 15656 15657 // Color Space settings 15658 ColorSpaceSettings *H264ColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` 15659 15660 // Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc. 15661 EntropyEncoding *string `locationName:"entropyEncoding" type:"string" enum:"H264EntropyEncoding"` 15662 15663 // Optional filters that you can apply to an encode. 15664 FilterSettings *H264FilterSettings `locationName:"filterSettings" type:"structure"` 15665 15666 // Four bit AFD value to write on all frames of video in the output stream. 15667 // Only valid when afdSignaling is set to 'Fixed'. 15668 FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` 15669 15670 // Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' 15671 // on I-frames. The value to enter in this field depends on the value in the 15672 // Adaptive quantization field: If you have set the Adaptive quantization field 15673 // to Auto, MediaLive ignores any value in this field. MediaLive will determine 15674 // if flicker AQ is appropriate and will apply the appropriate strength. If 15675 // you have set the Adaptive quantization field to a strength, you can set this 15676 // field to Enabled or Disabled. Enabled: MediaLive will apply flicker AQ using 15677 // the specified strength. Disabled: MediaLive won't apply flicker AQ. If you 15678 // have set the Adaptive quantization to Disabled, MediaLive ignores any value 15679 // in this field and doesn't apply flicker AQ. 15680 FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H264FlickerAq"` 15681 15682 // This setting applies only when scan type is "interlaced." It controls whether 15683 // coding is performed on a field basis or on a frame basis. (When the video 15684 // is progressive, the coding is always performed on a frame basis.)enabled: 15685 // Force MediaLive to code on a field basis, so that odd and even sets of fields 15686 // are coded separately.disabled: Code the two sets of fields separately (on 15687 // a field basis) or together (on a frame basis using PAFF), depending on what 15688 // is most appropriate for the content. 15689 ForceFieldPictures *string `locationName:"forceFieldPictures" type:"string" enum:"H264ForceFieldPictures"` 15690 15691 // This field indicates how the output video frame rate is specified. If "specified" 15692 // is selected then the output video frame rate is determined by framerateNumerator 15693 // and framerateDenominator, else if "initializeFromSource" is selected then 15694 // the output video frame rate will be set equal to the input video frame rate 15695 // of the first input. 15696 FramerateControl *string `locationName:"framerateControl" type:"string" enum:"H264FramerateControl"` 15697 15698 // Framerate denominator. 15699 FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer"` 15700 15701 // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 15702 // fps. 15703 FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer"` 15704 15705 // If enabled, use reference B frames for GOP structures that have B frames 15706 // > 1. 15707 GopBReference *string `locationName:"gopBReference" type:"string" enum:"H264GopBReference"` 15708 15709 // Frequency of closed GOPs. In streaming applications, it is recommended that 15710 // this be set to 1 so a decoder joining mid-stream will receive an IDR frame 15711 // as quickly as possible. Setting this value to 0 will break output segmenting. 15712 GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` 15713 15714 // Number of B-frames between reference frames. 15715 GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` 15716 15717 // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.If 15718 // gopSizeUnits is frames, gopSize must be an integer and must be greater than 15719 // or equal to 1.If gopSizeUnits is seconds, gopSize must be greater than 0, 15720 // but need not be an integer. 15721 GopSize *float64 `locationName:"gopSize" type:"double"` 15722 15723 // Indicates if the gopSize is specified in frames or seconds. If seconds the 15724 // system will convert the gopSize into a frame count at run time. 15725 GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H264GopSizeUnits"` 15726 15727 // H.264 Level. 15728 Level *string `locationName:"level" type:"string" enum:"H264Level"` 15729 15730 // Amount of lookahead. A value of low can decrease latency and memory usage, 15731 // while high can produce better quality for certain content. 15732 LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H264LookAheadRateControl"` 15733 15734 // For QVBR: See the tooltip for Quality levelFor VBR: Set the maximum bitrate 15735 // in order to accommodate expected spikes in the complexity of the video. 15736 MaxBitrate *int64 `locationName:"maxBitrate" min:"1000" type:"integer"` 15737 15738 // Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if 15739 // multiplex rate control is used. Enforces separation between repeated (cadence) 15740 // I-frames and I-frames inserted by Scene Change Detection. If a scene change 15741 // I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk 15742 // and/or stretched to the scene change I-frame. GOP stretch requires enabling 15743 // lookahead as well as setting I-interval. The normal cadence resumes for the 15744 // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 15745 MinIInterval *int64 `locationName:"minIInterval" type:"integer"` 15746 15747 // Number of reference frames to use. The encoder may use more than requested 15748 // if using B-frames and/or interlaced encoding. 15749 NumRefFrames *int64 `locationName:"numRefFrames" min:"1" type:"integer"` 15750 15751 // This field indicates how the output pixel aspect ratio is specified. If "specified" 15752 // is selected then the output video pixel aspect ratio is determined by parNumerator 15753 // and parDenominator, else if "initializeFromSource" is selected then the output 15754 // pixsel aspect ratio will be set equal to the input video pixel aspect ratio 15755 // of the first input. 15756 ParControl *string `locationName:"parControl" type:"string" enum:"H264ParControl"` 15757 15758 // Pixel Aspect Ratio denominator. 15759 ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` 15760 15761 // Pixel Aspect Ratio numerator. 15762 ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` 15763 15764 // H.264 Profile. 15765 Profile *string `locationName:"profile" type:"string" enum:"H264Profile"` 15766 15767 // Leave as STANDARD_QUALITY or choose a different value (which might result 15768 // in additional costs to run the channel).- ENHANCED_QUALITY: Produces a slightly 15769 // better video quality without an increase in the bitrate. Has an effect only 15770 // when the Rate control mode is QVBR or CBR. If this channel is in a MediaLive 15771 // multiplex, the value must be ENHANCED_QUALITY.- STANDARD_QUALITY: Valid for 15772 // any Rate control mode. 15773 QualityLevel *string `locationName:"qualityLevel" type:"string" enum:"H264QualityLevel"` 15774 15775 // Controls the target quality for the video encode. Applies only when the rate 15776 // control mode is QVBR. You can set a target quality or you can let MediaLive 15777 // determine the best quality. To set a target quality, enter values in the 15778 // QVBR quality level field and the Max bitrate field. Enter values that suit 15779 // your most important viewing devices. Recommended values are:- Primary screen: 15780 // Quality level: 8 to 10. Max bitrate: 4M- PC or tablet: Quality level: 7. 15781 // Max bitrate: 1.5M to 3M- Smartphone: Quality level: 6. Max bitrate: 1M to 15782 // 1.5MTo let MediaLive decide, leave the QVBR quality level field empty, and 15783 // in Max bitrate enter the maximum rate you want in the video. For more information, 15784 // see the section called "Video - rate control mode" in the MediaLive user 15785 // guide 15786 QvbrQualityLevel *int64 `locationName:"qvbrQualityLevel" min:"1" type:"integer"` 15787 15788 // Rate control mode.QVBR: Quality will match the specified quality level except 15789 // when it is constrained by themaximum bitrate. Recommended if you or your 15790 // viewers pay for bandwidth.VBR: Quality and bitrate vary, depending on the 15791 // video complexity. Recommended instead of QVBRif you want to maintain a specific 15792 // average bitrate over the duration of the channel.CBR: Quality varies, depending 15793 // on the video complexity. Recommended only if you distributeyour assets to 15794 // devices that cannot handle variable bitrates.Multiplex: This rate control 15795 // mode is only supported (and is required) when the video is beingdelivered 15796 // to a MediaLive Multiplex in which case the rate control configuration is 15797 // controlledby the properties within the Multiplex Program. 15798 RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H264RateControlMode"` 15799 15800 // Sets the scan type of the output to progressive or top-field-first interlaced. 15801 ScanType *string `locationName:"scanType" type:"string" enum:"H264ScanType"` 15802 15803 // Scene change detection.- On: inserts I-frames when scene change is detected.- 15804 // Off: does not force an I-frame when scene change is detected. 15805 SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H264SceneChangeDetect"` 15806 15807 // Number of slices per picture. Must be less than or equal to the number of 15808 // macroblock rows for progressive pictures, and less than or equal to half 15809 // the number of macroblock rows for interlaced pictures.This field is optional; 15810 // when no value is specified the encoder will choose the number of slices based 15811 // on encode resolution. 15812 Slices *int64 `locationName:"slices" min:"1" type:"integer"` 15813 15814 // Softness. Selects quantizer matrix, larger values reduce high-frequency content 15815 // in the encoded image. If not set to zero, must be greater than 15. 15816 Softness *int64 `locationName:"softness" type:"integer"` 15817 15818 // Spatial AQ makes adjustments within each frame based on spatial variation 15819 // of content complexity. The value to enter in this field depends on the value 15820 // in the Adaptive quantization field: If you have set the Adaptive quantization 15821 // field to Auto, MediaLive ignores any value in this field. MediaLive will 15822 // determine if spatial AQ is appropriate and will apply the appropriate strength. 15823 // If you have set the Adaptive quantization field to a strength, you can set 15824 // this field to Enabled or Disabled. Enabled: MediaLive will apply spatial 15825 // AQ using the specified strength. Disabled: MediaLive won't apply spatial 15826 // AQ. If you have set the Adaptive quantization to Disabled, MediaLive ignores 15827 // any value in this field and doesn't apply spatial AQ. 15828 SpatialAq *string `locationName:"spatialAq" type:"string" enum:"H264SpatialAq"` 15829 15830 // If set to fixed, use gopNumBFrames B-frames per sub-GOP. If set to dynamic, 15831 // optimize the number of B-frames used for each sub-GOP to improve visual quality. 15832 SubgopLength *string `locationName:"subgopLength" type:"string" enum:"H264SubGopLength"` 15833 15834 // Produces a bitstream compliant with SMPTE RP-2027. 15835 Syntax *string `locationName:"syntax" type:"string" enum:"H264Syntax"` 15836 15837 // Temporal makes adjustments within each frame based on temporal variation 15838 // of content complexity. The value to enter in this field depends on the value 15839 // in the Adaptive quantization field: If you have set the Adaptive quantization 15840 // field to Auto, MediaLive ignores any value in this field. MediaLive will 15841 // determine if temporal AQ is appropriate and will apply the appropriate strength. 15842 // If you have set the Adaptive quantization field to a strength, you can set 15843 // this field to Enabled or Disabled. Enabled: MediaLive will apply temporal 15844 // AQ using the specified strength. Disabled: MediaLive won't apply temporal 15845 // AQ. If you have set the Adaptive quantization to Disabled, MediaLive ignores 15846 // any value in this field and doesn't apply temporal AQ. 15847 TemporalAq *string `locationName:"temporalAq" type:"string" enum:"H264TemporalAq"` 15848 15849 // Determines how timecodes should be inserted into the video elementary stream.- 15850 // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture 15851 // timing SEI messages from the source specified in Timecode Config 15852 TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H264TimecodeInsertionBehavior"` 15853 } 15854 15855 // String returns the string representation. 15856 // 15857 // API parameter values that are decorated as "sensitive" in the API will not 15858 // be included in the string output. The member name will be present, but the 15859 // value will be replaced with "sensitive". 15860 func (s H264Settings) String() string { 15861 return awsutil.Prettify(s) 15862 } 15863 15864 // GoString returns the string representation. 15865 // 15866 // API parameter values that are decorated as "sensitive" in the API will not 15867 // be included in the string output. The member name will be present, but the 15868 // value will be replaced with "sensitive". 15869 func (s H264Settings) GoString() string { 15870 return s.String() 15871 } 15872 15873 // Validate inspects the fields of the type to determine if they are valid. 15874 func (s *H264Settings) Validate() error { 15875 invalidParams := request.ErrInvalidParams{Context: "H264Settings"} 15876 if s.Bitrate != nil && *s.Bitrate < 1000 { 15877 invalidParams.Add(request.NewErrParamMinValue("Bitrate", 1000)) 15878 } 15879 if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { 15880 invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) 15881 } 15882 if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { 15883 invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) 15884 } 15885 if s.MaxBitrate != nil && *s.MaxBitrate < 1000 { 15886 invalidParams.Add(request.NewErrParamMinValue("MaxBitrate", 1000)) 15887 } 15888 if s.NumRefFrames != nil && *s.NumRefFrames < 1 { 15889 invalidParams.Add(request.NewErrParamMinValue("NumRefFrames", 1)) 15890 } 15891 if s.ParDenominator != nil && *s.ParDenominator < 1 { 15892 invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) 15893 } 15894 if s.ParNumerator != nil && *s.ParNumerator < 1 { 15895 invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) 15896 } 15897 if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { 15898 invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) 15899 } 15900 if s.Slices != nil && *s.Slices < 1 { 15901 invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) 15902 } 15903 15904 if invalidParams.Len() > 0 { 15905 return invalidParams 15906 } 15907 return nil 15908 } 15909 15910 // SetAdaptiveQuantization sets the AdaptiveQuantization field's value. 15911 func (s *H264Settings) SetAdaptiveQuantization(v string) *H264Settings { 15912 s.AdaptiveQuantization = &v 15913 return s 15914 } 15915 15916 // SetAfdSignaling sets the AfdSignaling field's value. 15917 func (s *H264Settings) SetAfdSignaling(v string) *H264Settings { 15918 s.AfdSignaling = &v 15919 return s 15920 } 15921 15922 // SetBitrate sets the Bitrate field's value. 15923 func (s *H264Settings) SetBitrate(v int64) *H264Settings { 15924 s.Bitrate = &v 15925 return s 15926 } 15927 15928 // SetBufFillPct sets the BufFillPct field's value. 15929 func (s *H264Settings) SetBufFillPct(v int64) *H264Settings { 15930 s.BufFillPct = &v 15931 return s 15932 } 15933 15934 // SetBufSize sets the BufSize field's value. 15935 func (s *H264Settings) SetBufSize(v int64) *H264Settings { 15936 s.BufSize = &v 15937 return s 15938 } 15939 15940 // SetColorMetadata sets the ColorMetadata field's value. 15941 func (s *H264Settings) SetColorMetadata(v string) *H264Settings { 15942 s.ColorMetadata = &v 15943 return s 15944 } 15945 15946 // SetColorSpaceSettings sets the ColorSpaceSettings field's value. 15947 func (s *H264Settings) SetColorSpaceSettings(v *H264ColorSpaceSettings) *H264Settings { 15948 s.ColorSpaceSettings = v 15949 return s 15950 } 15951 15952 // SetEntropyEncoding sets the EntropyEncoding field's value. 15953 func (s *H264Settings) SetEntropyEncoding(v string) *H264Settings { 15954 s.EntropyEncoding = &v 15955 return s 15956 } 15957 15958 // SetFilterSettings sets the FilterSettings field's value. 15959 func (s *H264Settings) SetFilterSettings(v *H264FilterSettings) *H264Settings { 15960 s.FilterSettings = v 15961 return s 15962 } 15963 15964 // SetFixedAfd sets the FixedAfd field's value. 15965 func (s *H264Settings) SetFixedAfd(v string) *H264Settings { 15966 s.FixedAfd = &v 15967 return s 15968 } 15969 15970 // SetFlickerAq sets the FlickerAq field's value. 15971 func (s *H264Settings) SetFlickerAq(v string) *H264Settings { 15972 s.FlickerAq = &v 15973 return s 15974 } 15975 15976 // SetForceFieldPictures sets the ForceFieldPictures field's value. 15977 func (s *H264Settings) SetForceFieldPictures(v string) *H264Settings { 15978 s.ForceFieldPictures = &v 15979 return s 15980 } 15981 15982 // SetFramerateControl sets the FramerateControl field's value. 15983 func (s *H264Settings) SetFramerateControl(v string) *H264Settings { 15984 s.FramerateControl = &v 15985 return s 15986 } 15987 15988 // SetFramerateDenominator sets the FramerateDenominator field's value. 15989 func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { 15990 s.FramerateDenominator = &v 15991 return s 15992 } 15993 15994 // SetFramerateNumerator sets the FramerateNumerator field's value. 15995 func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { 15996 s.FramerateNumerator = &v 15997 return s 15998 } 15999 16000 // SetGopBReference sets the GopBReference field's value. 16001 func (s *H264Settings) SetGopBReference(v string) *H264Settings { 16002 s.GopBReference = &v 16003 return s 16004 } 16005 16006 // SetGopClosedCadence sets the GopClosedCadence field's value. 16007 func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { 16008 s.GopClosedCadence = &v 16009 return s 16010 } 16011 16012 // SetGopNumBFrames sets the GopNumBFrames field's value. 16013 func (s *H264Settings) SetGopNumBFrames(v int64) *H264Settings { 16014 s.GopNumBFrames = &v 16015 return s 16016 } 16017 16018 // SetGopSize sets the GopSize field's value. 16019 func (s *H264Settings) SetGopSize(v float64) *H264Settings { 16020 s.GopSize = &v 16021 return s 16022 } 16023 16024 // SetGopSizeUnits sets the GopSizeUnits field's value. 16025 func (s *H264Settings) SetGopSizeUnits(v string) *H264Settings { 16026 s.GopSizeUnits = &v 16027 return s 16028 } 16029 16030 // SetLevel sets the Level field's value. 16031 func (s *H264Settings) SetLevel(v string) *H264Settings { 16032 s.Level = &v 16033 return s 16034 } 16035 16036 // SetLookAheadRateControl sets the LookAheadRateControl field's value. 16037 func (s *H264Settings) SetLookAheadRateControl(v string) *H264Settings { 16038 s.LookAheadRateControl = &v 16039 return s 16040 } 16041 16042 // SetMaxBitrate sets the MaxBitrate field's value. 16043 func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { 16044 s.MaxBitrate = &v 16045 return s 16046 } 16047 16048 // SetMinIInterval sets the MinIInterval field's value. 16049 func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { 16050 s.MinIInterval = &v 16051 return s 16052 } 16053 16054 // SetNumRefFrames sets the NumRefFrames field's value. 16055 func (s *H264Settings) SetNumRefFrames(v int64) *H264Settings { 16056 s.NumRefFrames = &v 16057 return s 16058 } 16059 16060 // SetParControl sets the ParControl field's value. 16061 func (s *H264Settings) SetParControl(v string) *H264Settings { 16062 s.ParControl = &v 16063 return s 16064 } 16065 16066 // SetParDenominator sets the ParDenominator field's value. 16067 func (s *H264Settings) SetParDenominator(v int64) *H264Settings { 16068 s.ParDenominator = &v 16069 return s 16070 } 16071 16072 // SetParNumerator sets the ParNumerator field's value. 16073 func (s *H264Settings) SetParNumerator(v int64) *H264Settings { 16074 s.ParNumerator = &v 16075 return s 16076 } 16077 16078 // SetProfile sets the Profile field's value. 16079 func (s *H264Settings) SetProfile(v string) *H264Settings { 16080 s.Profile = &v 16081 return s 16082 } 16083 16084 // SetQualityLevel sets the QualityLevel field's value. 16085 func (s *H264Settings) SetQualityLevel(v string) *H264Settings { 16086 s.QualityLevel = &v 16087 return s 16088 } 16089 16090 // SetQvbrQualityLevel sets the QvbrQualityLevel field's value. 16091 func (s *H264Settings) SetQvbrQualityLevel(v int64) *H264Settings { 16092 s.QvbrQualityLevel = &v 16093 return s 16094 } 16095 16096 // SetRateControlMode sets the RateControlMode field's value. 16097 func (s *H264Settings) SetRateControlMode(v string) *H264Settings { 16098 s.RateControlMode = &v 16099 return s 16100 } 16101 16102 // SetScanType sets the ScanType field's value. 16103 func (s *H264Settings) SetScanType(v string) *H264Settings { 16104 s.ScanType = &v 16105 return s 16106 } 16107 16108 // SetSceneChangeDetect sets the SceneChangeDetect field's value. 16109 func (s *H264Settings) SetSceneChangeDetect(v string) *H264Settings { 16110 s.SceneChangeDetect = &v 16111 return s 16112 } 16113 16114 // SetSlices sets the Slices field's value. 16115 func (s *H264Settings) SetSlices(v int64) *H264Settings { 16116 s.Slices = &v 16117 return s 16118 } 16119 16120 // SetSoftness sets the Softness field's value. 16121 func (s *H264Settings) SetSoftness(v int64) *H264Settings { 16122 s.Softness = &v 16123 return s 16124 } 16125 16126 // SetSpatialAq sets the SpatialAq field's value. 16127 func (s *H264Settings) SetSpatialAq(v string) *H264Settings { 16128 s.SpatialAq = &v 16129 return s 16130 } 16131 16132 // SetSubgopLength sets the SubgopLength field's value. 16133 func (s *H264Settings) SetSubgopLength(v string) *H264Settings { 16134 s.SubgopLength = &v 16135 return s 16136 } 16137 16138 // SetSyntax sets the Syntax field's value. 16139 func (s *H264Settings) SetSyntax(v string) *H264Settings { 16140 s.Syntax = &v 16141 return s 16142 } 16143 16144 // SetTemporalAq sets the TemporalAq field's value. 16145 func (s *H264Settings) SetTemporalAq(v string) *H264Settings { 16146 s.TemporalAq = &v 16147 return s 16148 } 16149 16150 // SetTimecodeInsertion sets the TimecodeInsertion field's value. 16151 func (s *H264Settings) SetTimecodeInsertion(v string) *H264Settings { 16152 s.TimecodeInsertion = &v 16153 return s 16154 } 16155 16156 // H265 Color Space Settings 16157 type H265ColorSpaceSettings struct { 16158 _ struct{} `type:"structure"` 16159 16160 // Passthrough applies no color space conversion to the output 16161 ColorSpacePassthroughSettings *ColorSpacePassthroughSettings `locationName:"colorSpacePassthroughSettings" type:"structure"` 16162 16163 // Hdr10 Settings 16164 Hdr10Settings *Hdr10Settings `locationName:"hdr10Settings" type:"structure"` 16165 16166 // Rec601 Settings 16167 Rec601Settings *Rec601Settings `locationName:"rec601Settings" type:"structure"` 16168 16169 // Rec709 Settings 16170 Rec709Settings *Rec709Settings `locationName:"rec709Settings" type:"structure"` 16171 } 16172 16173 // String returns the string representation. 16174 // 16175 // API parameter values that are decorated as "sensitive" in the API will not 16176 // be included in the string output. The member name will be present, but the 16177 // value will be replaced with "sensitive". 16178 func (s H265ColorSpaceSettings) String() string { 16179 return awsutil.Prettify(s) 16180 } 16181 16182 // GoString returns the string representation. 16183 // 16184 // API parameter values that are decorated as "sensitive" in the API will not 16185 // be included in the string output. The member name will be present, but the 16186 // value will be replaced with "sensitive". 16187 func (s H265ColorSpaceSettings) GoString() string { 16188 return s.String() 16189 } 16190 16191 // SetColorSpacePassthroughSettings sets the ColorSpacePassthroughSettings field's value. 16192 func (s *H265ColorSpaceSettings) SetColorSpacePassthroughSettings(v *ColorSpacePassthroughSettings) *H265ColorSpaceSettings { 16193 s.ColorSpacePassthroughSettings = v 16194 return s 16195 } 16196 16197 // SetHdr10Settings sets the Hdr10Settings field's value. 16198 func (s *H265ColorSpaceSettings) SetHdr10Settings(v *Hdr10Settings) *H265ColorSpaceSettings { 16199 s.Hdr10Settings = v 16200 return s 16201 } 16202 16203 // SetRec601Settings sets the Rec601Settings field's value. 16204 func (s *H265ColorSpaceSettings) SetRec601Settings(v *Rec601Settings) *H265ColorSpaceSettings { 16205 s.Rec601Settings = v 16206 return s 16207 } 16208 16209 // SetRec709Settings sets the Rec709Settings field's value. 16210 func (s *H265ColorSpaceSettings) SetRec709Settings(v *Rec709Settings) *H265ColorSpaceSettings { 16211 s.Rec709Settings = v 16212 return s 16213 } 16214 16215 // H265 Filter Settings 16216 type H265FilterSettings struct { 16217 _ struct{} `type:"structure"` 16218 16219 // Temporal Filter Settings 16220 TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` 16221 } 16222 16223 // String returns the string representation. 16224 // 16225 // API parameter values that are decorated as "sensitive" in the API will not 16226 // be included in the string output. The member name will be present, but the 16227 // value will be replaced with "sensitive". 16228 func (s H265FilterSettings) String() string { 16229 return awsutil.Prettify(s) 16230 } 16231 16232 // GoString returns the string representation. 16233 // 16234 // API parameter values that are decorated as "sensitive" in the API will not 16235 // be included in the string output. The member name will be present, but the 16236 // value will be replaced with "sensitive". 16237 func (s H265FilterSettings) GoString() string { 16238 return s.String() 16239 } 16240 16241 // SetTemporalFilterSettings sets the TemporalFilterSettings field's value. 16242 func (s *H265FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *H265FilterSettings { 16243 s.TemporalFilterSettings = v 16244 return s 16245 } 16246 16247 // H265 Settings 16248 type H265Settings struct { 16249 _ struct{} `type:"structure"` 16250 16251 // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual 16252 // quality. 16253 AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H265AdaptiveQuantization"` 16254 16255 // Indicates that AFD values will be written into the output stream. If afdSignaling 16256 // is "auto", the system will try to preserve the input AFD value (in cases 16257 // where multiple AFD values are valid). If set to "fixed", the AFD value will 16258 // be the value configured in the fixedAfd parameter. 16259 AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` 16260 16261 // Whether or not EML should insert an Alternative Transfer Function SEI message 16262 // to support backwards compatibility with non-HDR decoders and displays. 16263 AlternativeTransferFunction *string `locationName:"alternativeTransferFunction" type:"string" enum:"H265AlternativeTransferFunction"` 16264 16265 // Average bitrate in bits/second. Required when the rate control mode is VBR 16266 // or CBR. Not used for QVBR. In an MS Smooth output group, each output must 16267 // have a unique value when its bitrate is rounded down to the nearest multiple 16268 // of 1000. 16269 Bitrate *int64 `locationName:"bitrate" min:"100000" type:"integer"` 16270 16271 // Size of buffer (HRD buffer model) in bits. 16272 BufSize *int64 `locationName:"bufSize" min:"100000" type:"integer"` 16273 16274 // Includes colorspace metadata in the output. 16275 ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H265ColorMetadata"` 16276 16277 // Color Space settings 16278 ColorSpaceSettings *H265ColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` 16279 16280 // Optional filters that you can apply to an encode. 16281 FilterSettings *H265FilterSettings `locationName:"filterSettings" type:"structure"` 16282 16283 // Four bit AFD value to write on all frames of video in the output stream. 16284 // Only valid when afdSignaling is set to 'Fixed'. 16285 FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` 16286 16287 // If set to enabled, adjust quantization within each frame to reduce flicker 16288 // or 'pop' on I-frames. 16289 FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H265FlickerAq"` 16290 16291 // Framerate denominator. 16292 // 16293 // FramerateDenominator is a required field 16294 FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer" required:"true"` 16295 16296 // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 16297 // fps. 16298 // 16299 // FramerateNumerator is a required field 16300 FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer" required:"true"` 16301 16302 // Frequency of closed GOPs. In streaming applications, it is recommended that 16303 // this be set to 1 so a decoder joining mid-stream will receive an IDR frame 16304 // as quickly as possible. Setting this value to 0 will break output segmenting. 16305 GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` 16306 16307 // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.If 16308 // gopSizeUnits is frames, gopSize must be an integer and must be greater than 16309 // or equal to 1.If gopSizeUnits is seconds, gopSize must be greater than 0, 16310 // but need not be an integer. 16311 GopSize *float64 `locationName:"gopSize" type:"double"` 16312 16313 // Indicates if the gopSize is specified in frames or seconds. If seconds the 16314 // system will convert the gopSize into a frame count at run time. 16315 GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H265GopSizeUnits"` 16316 16317 // H.265 Level. 16318 Level *string `locationName:"level" type:"string" enum:"H265Level"` 16319 16320 // Amount of lookahead. A value of low can decrease latency and memory usage, 16321 // while high can produce better quality for certain content. 16322 LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H265LookAheadRateControl"` 16323 16324 // For QVBR: See the tooltip for Quality level 16325 MaxBitrate *int64 `locationName:"maxBitrate" min:"100000" type:"integer"` 16326 16327 // Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if 16328 // multiplex rate control is used. Enforces separation between repeated (cadence) 16329 // I-frames and I-frames inserted by Scene Change Detection. If a scene change 16330 // I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk 16331 // and/or stretched to the scene change I-frame. GOP stretch requires enabling 16332 // lookahead as well as setting I-interval. The normal cadence resumes for the 16333 // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 16334 MinIInterval *int64 `locationName:"minIInterval" type:"integer"` 16335 16336 // Pixel Aspect Ratio denominator. 16337 ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` 16338 16339 // Pixel Aspect Ratio numerator. 16340 ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` 16341 16342 // H.265 Profile. 16343 Profile *string `locationName:"profile" type:"string" enum:"H265Profile"` 16344 16345 // Controls the target quality for the video encode. Applies only when the rate 16346 // control mode is QVBR. Set values for the QVBR quality level field and Max 16347 // bitrate field that suit your most important viewing devices. Recommended 16348 // values are:- Primary screen: Quality level: 8 to 10. Max bitrate: 4M- PC 16349 // or tablet: Quality level: 7. Max bitrate: 1.5M to 3M- Smartphone: Quality 16350 // level: 6. Max bitrate: 1M to 1.5M 16351 QvbrQualityLevel *int64 `locationName:"qvbrQualityLevel" min:"1" type:"integer"` 16352 16353 // Rate control mode.QVBR: Quality will match the specified quality level except 16354 // when it is constrained by themaximum bitrate. Recommended if you or your 16355 // viewers pay for bandwidth.CBR: Quality varies, depending on the video complexity. 16356 // Recommended only if you distributeyour assets to devices that cannot handle 16357 // variable bitrates.Multiplex: This rate control mode is only supported (and 16358 // is required) when the video is beingdelivered to a MediaLive Multiplex in 16359 // which case the rate control configuration is controlledby the properties 16360 // within the Multiplex Program. 16361 RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H265RateControlMode"` 16362 16363 // Sets the scan type of the output to progressive or top-field-first interlaced. 16364 ScanType *string `locationName:"scanType" type:"string" enum:"H265ScanType"` 16365 16366 // Scene change detection. 16367 SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H265SceneChangeDetect"` 16368 16369 // Number of slices per picture. Must be less than or equal to the number of 16370 // macroblock rows for progressive pictures, and less than or equal to half 16371 // the number of macroblock rows for interlaced pictures.This field is optional; 16372 // when no value is specified the encoder will choose the number of slices based 16373 // on encode resolution. 16374 Slices *int64 `locationName:"slices" min:"1" type:"integer"` 16375 16376 // H.265 Tier. 16377 Tier *string `locationName:"tier" type:"string" enum:"H265Tier"` 16378 16379 // Determines how timecodes should be inserted into the video elementary stream.- 16380 // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture 16381 // timing SEI messages from the source specified in Timecode Config 16382 TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H265TimecodeInsertionBehavior"` 16383 } 16384 16385 // String returns the string representation. 16386 // 16387 // API parameter values that are decorated as "sensitive" in the API will not 16388 // be included in the string output. The member name will be present, but the 16389 // value will be replaced with "sensitive". 16390 func (s H265Settings) String() string { 16391 return awsutil.Prettify(s) 16392 } 16393 16394 // GoString returns the string representation. 16395 // 16396 // API parameter values that are decorated as "sensitive" in the API will not 16397 // be included in the string output. The member name will be present, but the 16398 // value will be replaced with "sensitive". 16399 func (s H265Settings) GoString() string { 16400 return s.String() 16401 } 16402 16403 // Validate inspects the fields of the type to determine if they are valid. 16404 func (s *H265Settings) Validate() error { 16405 invalidParams := request.ErrInvalidParams{Context: "H265Settings"} 16406 if s.Bitrate != nil && *s.Bitrate < 100000 { 16407 invalidParams.Add(request.NewErrParamMinValue("Bitrate", 100000)) 16408 } 16409 if s.BufSize != nil && *s.BufSize < 100000 { 16410 invalidParams.Add(request.NewErrParamMinValue("BufSize", 100000)) 16411 } 16412 if s.FramerateDenominator == nil { 16413 invalidParams.Add(request.NewErrParamRequired("FramerateDenominator")) 16414 } 16415 if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { 16416 invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) 16417 } 16418 if s.FramerateNumerator == nil { 16419 invalidParams.Add(request.NewErrParamRequired("FramerateNumerator")) 16420 } 16421 if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { 16422 invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) 16423 } 16424 if s.MaxBitrate != nil && *s.MaxBitrate < 100000 { 16425 invalidParams.Add(request.NewErrParamMinValue("MaxBitrate", 100000)) 16426 } 16427 if s.ParDenominator != nil && *s.ParDenominator < 1 { 16428 invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) 16429 } 16430 if s.ParNumerator != nil && *s.ParNumerator < 1 { 16431 invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) 16432 } 16433 if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { 16434 invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) 16435 } 16436 if s.Slices != nil && *s.Slices < 1 { 16437 invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) 16438 } 16439 16440 if invalidParams.Len() > 0 { 16441 return invalidParams 16442 } 16443 return nil 16444 } 16445 16446 // SetAdaptiveQuantization sets the AdaptiveQuantization field's value. 16447 func (s *H265Settings) SetAdaptiveQuantization(v string) *H265Settings { 16448 s.AdaptiveQuantization = &v 16449 return s 16450 } 16451 16452 // SetAfdSignaling sets the AfdSignaling field's value. 16453 func (s *H265Settings) SetAfdSignaling(v string) *H265Settings { 16454 s.AfdSignaling = &v 16455 return s 16456 } 16457 16458 // SetAlternativeTransferFunction sets the AlternativeTransferFunction field's value. 16459 func (s *H265Settings) SetAlternativeTransferFunction(v string) *H265Settings { 16460 s.AlternativeTransferFunction = &v 16461 return s 16462 } 16463 16464 // SetBitrate sets the Bitrate field's value. 16465 func (s *H265Settings) SetBitrate(v int64) *H265Settings { 16466 s.Bitrate = &v 16467 return s 16468 } 16469 16470 // SetBufSize sets the BufSize field's value. 16471 func (s *H265Settings) SetBufSize(v int64) *H265Settings { 16472 s.BufSize = &v 16473 return s 16474 } 16475 16476 // SetColorMetadata sets the ColorMetadata field's value. 16477 func (s *H265Settings) SetColorMetadata(v string) *H265Settings { 16478 s.ColorMetadata = &v 16479 return s 16480 } 16481 16482 // SetColorSpaceSettings sets the ColorSpaceSettings field's value. 16483 func (s *H265Settings) SetColorSpaceSettings(v *H265ColorSpaceSettings) *H265Settings { 16484 s.ColorSpaceSettings = v 16485 return s 16486 } 16487 16488 // SetFilterSettings sets the FilterSettings field's value. 16489 func (s *H265Settings) SetFilterSettings(v *H265FilterSettings) *H265Settings { 16490 s.FilterSettings = v 16491 return s 16492 } 16493 16494 // SetFixedAfd sets the FixedAfd field's value. 16495 func (s *H265Settings) SetFixedAfd(v string) *H265Settings { 16496 s.FixedAfd = &v 16497 return s 16498 } 16499 16500 // SetFlickerAq sets the FlickerAq field's value. 16501 func (s *H265Settings) SetFlickerAq(v string) *H265Settings { 16502 s.FlickerAq = &v 16503 return s 16504 } 16505 16506 // SetFramerateDenominator sets the FramerateDenominator field's value. 16507 func (s *H265Settings) SetFramerateDenominator(v int64) *H265Settings { 16508 s.FramerateDenominator = &v 16509 return s 16510 } 16511 16512 // SetFramerateNumerator sets the FramerateNumerator field's value. 16513 func (s *H265Settings) SetFramerateNumerator(v int64) *H265Settings { 16514 s.FramerateNumerator = &v 16515 return s 16516 } 16517 16518 // SetGopClosedCadence sets the GopClosedCadence field's value. 16519 func (s *H265Settings) SetGopClosedCadence(v int64) *H265Settings { 16520 s.GopClosedCadence = &v 16521 return s 16522 } 16523 16524 // SetGopSize sets the GopSize field's value. 16525 func (s *H265Settings) SetGopSize(v float64) *H265Settings { 16526 s.GopSize = &v 16527 return s 16528 } 16529 16530 // SetGopSizeUnits sets the GopSizeUnits field's value. 16531 func (s *H265Settings) SetGopSizeUnits(v string) *H265Settings { 16532 s.GopSizeUnits = &v 16533 return s 16534 } 16535 16536 // SetLevel sets the Level field's value. 16537 func (s *H265Settings) SetLevel(v string) *H265Settings { 16538 s.Level = &v 16539 return s 16540 } 16541 16542 // SetLookAheadRateControl sets the LookAheadRateControl field's value. 16543 func (s *H265Settings) SetLookAheadRateControl(v string) *H265Settings { 16544 s.LookAheadRateControl = &v 16545 return s 16546 } 16547 16548 // SetMaxBitrate sets the MaxBitrate field's value. 16549 func (s *H265Settings) SetMaxBitrate(v int64) *H265Settings { 16550 s.MaxBitrate = &v 16551 return s 16552 } 16553 16554 // SetMinIInterval sets the MinIInterval field's value. 16555 func (s *H265Settings) SetMinIInterval(v int64) *H265Settings { 16556 s.MinIInterval = &v 16557 return s 16558 } 16559 16560 // SetParDenominator sets the ParDenominator field's value. 16561 func (s *H265Settings) SetParDenominator(v int64) *H265Settings { 16562 s.ParDenominator = &v 16563 return s 16564 } 16565 16566 // SetParNumerator sets the ParNumerator field's value. 16567 func (s *H265Settings) SetParNumerator(v int64) *H265Settings { 16568 s.ParNumerator = &v 16569 return s 16570 } 16571 16572 // SetProfile sets the Profile field's value. 16573 func (s *H265Settings) SetProfile(v string) *H265Settings { 16574 s.Profile = &v 16575 return s 16576 } 16577 16578 // SetQvbrQualityLevel sets the QvbrQualityLevel field's value. 16579 func (s *H265Settings) SetQvbrQualityLevel(v int64) *H265Settings { 16580 s.QvbrQualityLevel = &v 16581 return s 16582 } 16583 16584 // SetRateControlMode sets the RateControlMode field's value. 16585 func (s *H265Settings) SetRateControlMode(v string) *H265Settings { 16586 s.RateControlMode = &v 16587 return s 16588 } 16589 16590 // SetScanType sets the ScanType field's value. 16591 func (s *H265Settings) SetScanType(v string) *H265Settings { 16592 s.ScanType = &v 16593 return s 16594 } 16595 16596 // SetSceneChangeDetect sets the SceneChangeDetect field's value. 16597 func (s *H265Settings) SetSceneChangeDetect(v string) *H265Settings { 16598 s.SceneChangeDetect = &v 16599 return s 16600 } 16601 16602 // SetSlices sets the Slices field's value. 16603 func (s *H265Settings) SetSlices(v int64) *H265Settings { 16604 s.Slices = &v 16605 return s 16606 } 16607 16608 // SetTier sets the Tier field's value. 16609 func (s *H265Settings) SetTier(v string) *H265Settings { 16610 s.Tier = &v 16611 return s 16612 } 16613 16614 // SetTimecodeInsertion sets the TimecodeInsertion field's value. 16615 func (s *H265Settings) SetTimecodeInsertion(v string) *H265Settings { 16616 s.TimecodeInsertion = &v 16617 return s 16618 } 16619 16620 // Hdr10 Settings 16621 type Hdr10Settings struct { 16622 _ struct{} `type:"structure"` 16623 16624 // Maximum Content Light LevelAn integer metadata value defining the maximum 16625 // light level, in nits,of any single pixel within an encoded HDR video stream 16626 // or file. 16627 MaxCll *int64 `locationName:"maxCll" type:"integer"` 16628 16629 // Maximum Frame Average Light LevelAn integer metadata value defining the maximum 16630 // average light level, in nits,for any single frame within an encoded HDR video 16631 // stream or file. 16632 MaxFall *int64 `locationName:"maxFall" type:"integer"` 16633 } 16634 16635 // String returns the string representation. 16636 // 16637 // API parameter values that are decorated as "sensitive" in the API will not 16638 // be included in the string output. The member name will be present, but the 16639 // value will be replaced with "sensitive". 16640 func (s Hdr10Settings) String() string { 16641 return awsutil.Prettify(s) 16642 } 16643 16644 // GoString returns the string representation. 16645 // 16646 // API parameter values that are decorated as "sensitive" in the API will not 16647 // be included in the string output. The member name will be present, but the 16648 // value will be replaced with "sensitive". 16649 func (s Hdr10Settings) GoString() string { 16650 return s.String() 16651 } 16652 16653 // SetMaxCll sets the MaxCll field's value. 16654 func (s *Hdr10Settings) SetMaxCll(v int64) *Hdr10Settings { 16655 s.MaxCll = &v 16656 return s 16657 } 16658 16659 // SetMaxFall sets the MaxFall field's value. 16660 func (s *Hdr10Settings) SetMaxFall(v int64) *Hdr10Settings { 16661 s.MaxFall = &v 16662 return s 16663 } 16664 16665 // Hls Akamai Settings 16666 type HlsAkamaiSettings struct { 16667 _ struct{} `type:"structure"` 16668 16669 // Number of seconds to wait before retrying connection to the CDN if the connection 16670 // is lost. 16671 ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` 16672 16673 // Size in seconds of file cache for streaming outputs. 16674 FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` 16675 16676 // Specify whether or not to use chunked transfer encoding to Akamai. User should 16677 // contact Akamai to enable this feature. 16678 HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsAkamaiHttpTransferMode"` 16679 16680 // Number of retry attempts that will be made before the Live Event is put into 16681 // an error state. 16682 NumRetries *int64 `locationName:"numRetries" type:"integer"` 16683 16684 // If a streaming output fails, number of seconds to wait until a restart is 16685 // initiated. A value of 0 means never restart. 16686 RestartDelay *int64 `locationName:"restartDelay" type:"integer"` 16687 16688 // Salt for authenticated Akamai. 16689 Salt *string `locationName:"salt" type:"string"` 16690 16691 // Token parameter for authenticated akamai. If not specified, _gda_ is used. 16692 Token *string `locationName:"token" type:"string"` 16693 } 16694 16695 // String returns the string representation. 16696 // 16697 // API parameter values that are decorated as "sensitive" in the API will not 16698 // be included in the string output. The member name will be present, but the 16699 // value will be replaced with "sensitive". 16700 func (s HlsAkamaiSettings) String() string { 16701 return awsutil.Prettify(s) 16702 } 16703 16704 // GoString returns the string representation. 16705 // 16706 // API parameter values that are decorated as "sensitive" in the API will not 16707 // be included in the string output. The member name will be present, but the 16708 // value will be replaced with "sensitive". 16709 func (s HlsAkamaiSettings) GoString() string { 16710 return s.String() 16711 } 16712 16713 // SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. 16714 func (s *HlsAkamaiSettings) SetConnectionRetryInterval(v int64) *HlsAkamaiSettings { 16715 s.ConnectionRetryInterval = &v 16716 return s 16717 } 16718 16719 // SetFilecacheDuration sets the FilecacheDuration field's value. 16720 func (s *HlsAkamaiSettings) SetFilecacheDuration(v int64) *HlsAkamaiSettings { 16721 s.FilecacheDuration = &v 16722 return s 16723 } 16724 16725 // SetHttpTransferMode sets the HttpTransferMode field's value. 16726 func (s *HlsAkamaiSettings) SetHttpTransferMode(v string) *HlsAkamaiSettings { 16727 s.HttpTransferMode = &v 16728 return s 16729 } 16730 16731 // SetNumRetries sets the NumRetries field's value. 16732 func (s *HlsAkamaiSettings) SetNumRetries(v int64) *HlsAkamaiSettings { 16733 s.NumRetries = &v 16734 return s 16735 } 16736 16737 // SetRestartDelay sets the RestartDelay field's value. 16738 func (s *HlsAkamaiSettings) SetRestartDelay(v int64) *HlsAkamaiSettings { 16739 s.RestartDelay = &v 16740 return s 16741 } 16742 16743 // SetSalt sets the Salt field's value. 16744 func (s *HlsAkamaiSettings) SetSalt(v string) *HlsAkamaiSettings { 16745 s.Salt = &v 16746 return s 16747 } 16748 16749 // SetToken sets the Token field's value. 16750 func (s *HlsAkamaiSettings) SetToken(v string) *HlsAkamaiSettings { 16751 s.Token = &v 16752 return s 16753 } 16754 16755 // Hls Basic Put Settings 16756 type HlsBasicPutSettings struct { 16757 _ struct{} `type:"structure"` 16758 16759 // Number of seconds to wait before retrying connection to the CDN if the connection 16760 // is lost. 16761 ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` 16762 16763 // Size in seconds of file cache for streaming outputs. 16764 FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` 16765 16766 // Number of retry attempts that will be made before the Live Event is put into 16767 // an error state. 16768 NumRetries *int64 `locationName:"numRetries" type:"integer"` 16769 16770 // If a streaming output fails, number of seconds to wait until a restart is 16771 // initiated. A value of 0 means never restart. 16772 RestartDelay *int64 `locationName:"restartDelay" type:"integer"` 16773 } 16774 16775 // String returns the string representation. 16776 // 16777 // API parameter values that are decorated as "sensitive" in the API will not 16778 // be included in the string output. The member name will be present, but the 16779 // value will be replaced with "sensitive". 16780 func (s HlsBasicPutSettings) String() string { 16781 return awsutil.Prettify(s) 16782 } 16783 16784 // GoString returns the string representation. 16785 // 16786 // API parameter values that are decorated as "sensitive" in the API will not 16787 // be included in the string output. The member name will be present, but the 16788 // value will be replaced with "sensitive". 16789 func (s HlsBasicPutSettings) GoString() string { 16790 return s.String() 16791 } 16792 16793 // SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. 16794 func (s *HlsBasicPutSettings) SetConnectionRetryInterval(v int64) *HlsBasicPutSettings { 16795 s.ConnectionRetryInterval = &v 16796 return s 16797 } 16798 16799 // SetFilecacheDuration sets the FilecacheDuration field's value. 16800 func (s *HlsBasicPutSettings) SetFilecacheDuration(v int64) *HlsBasicPutSettings { 16801 s.FilecacheDuration = &v 16802 return s 16803 } 16804 16805 // SetNumRetries sets the NumRetries field's value. 16806 func (s *HlsBasicPutSettings) SetNumRetries(v int64) *HlsBasicPutSettings { 16807 s.NumRetries = &v 16808 return s 16809 } 16810 16811 // SetRestartDelay sets the RestartDelay field's value. 16812 func (s *HlsBasicPutSettings) SetRestartDelay(v int64) *HlsBasicPutSettings { 16813 s.RestartDelay = &v 16814 return s 16815 } 16816 16817 // Hls Cdn Settings 16818 type HlsCdnSettings struct { 16819 _ struct{} `type:"structure"` 16820 16821 // Hls Akamai Settings 16822 HlsAkamaiSettings *HlsAkamaiSettings `locationName:"hlsAkamaiSettings" type:"structure"` 16823 16824 // Hls Basic Put Settings 16825 HlsBasicPutSettings *HlsBasicPutSettings `locationName:"hlsBasicPutSettings" type:"structure"` 16826 16827 // Hls Media Store Settings 16828 HlsMediaStoreSettings *HlsMediaStoreSettings `locationName:"hlsMediaStoreSettings" type:"structure"` 16829 16830 // Hls S3 Settings 16831 HlsS3Settings *HlsS3Settings `locationName:"hlsS3Settings" type:"structure"` 16832 16833 // Hls Webdav Settings 16834 HlsWebdavSettings *HlsWebdavSettings `locationName:"hlsWebdavSettings" type:"structure"` 16835 } 16836 16837 // String returns the string representation. 16838 // 16839 // API parameter values that are decorated as "sensitive" in the API will not 16840 // be included in the string output. The member name will be present, but the 16841 // value will be replaced with "sensitive". 16842 func (s HlsCdnSettings) String() string { 16843 return awsutil.Prettify(s) 16844 } 16845 16846 // GoString returns the string representation. 16847 // 16848 // API parameter values that are decorated as "sensitive" in the API will not 16849 // be included in the string output. The member name will be present, but the 16850 // value will be replaced with "sensitive". 16851 func (s HlsCdnSettings) GoString() string { 16852 return s.String() 16853 } 16854 16855 // SetHlsAkamaiSettings sets the HlsAkamaiSettings field's value. 16856 func (s *HlsCdnSettings) SetHlsAkamaiSettings(v *HlsAkamaiSettings) *HlsCdnSettings { 16857 s.HlsAkamaiSettings = v 16858 return s 16859 } 16860 16861 // SetHlsBasicPutSettings sets the HlsBasicPutSettings field's value. 16862 func (s *HlsCdnSettings) SetHlsBasicPutSettings(v *HlsBasicPutSettings) *HlsCdnSettings { 16863 s.HlsBasicPutSettings = v 16864 return s 16865 } 16866 16867 // SetHlsMediaStoreSettings sets the HlsMediaStoreSettings field's value. 16868 func (s *HlsCdnSettings) SetHlsMediaStoreSettings(v *HlsMediaStoreSettings) *HlsCdnSettings { 16869 s.HlsMediaStoreSettings = v 16870 return s 16871 } 16872 16873 // SetHlsS3Settings sets the HlsS3Settings field's value. 16874 func (s *HlsCdnSettings) SetHlsS3Settings(v *HlsS3Settings) *HlsCdnSettings { 16875 s.HlsS3Settings = v 16876 return s 16877 } 16878 16879 // SetHlsWebdavSettings sets the HlsWebdavSettings field's value. 16880 func (s *HlsCdnSettings) SetHlsWebdavSettings(v *HlsWebdavSettings) *HlsCdnSettings { 16881 s.HlsWebdavSettings = v 16882 return s 16883 } 16884 16885 // Hls Group Settings 16886 type HlsGroupSettings struct { 16887 _ struct{} `type:"structure"` 16888 16889 // Choose one or more ad marker types to pass SCTE35 signals through to this 16890 // group of Apple HLS outputs. 16891 AdMarkers []*string `locationName:"adMarkers" type:"list"` 16892 16893 // A partial URI prefix that will be prepended to each output in the media .m3u8 16894 // file. Can be used if base manifest is delivered from a different URL than 16895 // the main .m3u8 file. 16896 BaseUrlContent *string `locationName:"baseUrlContent" type:"string"` 16897 16898 // Optional. One value per output group.This field is required only if you are 16899 // completing Base URL content A, and the downstream system has notified you 16900 // that the media files for pipeline 1 of all outputs are in a location different 16901 // from the media files for pipeline 0. 16902 BaseUrlContent1 *string `locationName:"baseUrlContent1" type:"string"` 16903 16904 // A partial URI prefix that will be prepended to each output in the media .m3u8 16905 // file. Can be used if base manifest is delivered from a different URL than 16906 // the main .m3u8 file. 16907 BaseUrlManifest *string `locationName:"baseUrlManifest" type:"string"` 16908 16909 // Optional. One value per output group.Complete this field only if you are 16910 // completing Base URL manifest A, and the downstream system has notified you 16911 // that the child manifest files for pipeline 1 of all outputs are in a location 16912 // different from the child manifest files for pipeline 0. 16913 BaseUrlManifest1 *string `locationName:"baseUrlManifest1" type:"string"` 16914 16915 // Mapping of up to 4 caption channels to caption languages. Is only meaningful 16916 // if captionLanguageSetting is set to "insert". 16917 CaptionLanguageMappings []*CaptionLanguageMapping `locationName:"captionLanguageMappings" type:"list"` 16918 16919 // Applies only to 608 Embedded output captions.insert: Include CLOSED-CAPTIONS 16920 // lines in the manifest. Specify at least one language in the CC1 Language 16921 // Code field. One CLOSED-CAPTION line is added for each Language Code you specify. 16922 // Make sure to specify the languages in the order in which they appear in the 16923 // original source (if the source is embedded format) or the order of the caption 16924 // selectors (if the source is other than embedded). Otherwise, languages in 16925 // the manifest will not match up properly with the output captions.none: Include 16926 // CLOSED-CAPTIONS=NONE line in the manifest.omit: Omit any CLOSED-CAPTIONS 16927 // line from the manifest. 16928 CaptionLanguageSetting *string `locationName:"captionLanguageSetting" type:"string" enum:"HlsCaptionLanguageSetting"` 16929 16930 // When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, 16931 // which prevents clients from saving media segments for later replay. 16932 ClientCache *string `locationName:"clientCache" type:"string" enum:"HlsClientCache"` 16933 16934 // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist 16935 // generation. 16936 CodecSpecification *string `locationName:"codecSpecification" type:"string" enum:"HlsCodecSpecification"` 16937 16938 // For use with encryptionType. This is a 128-bit, 16-byte hex value represented 16939 // by a 32-character text string. If ivSource is set to "explicit" then this 16940 // parameter is required and is used as the IV for encryption. 16941 ConstantIv *string `locationName:"constantIv" min:"32" type:"string"` 16942 16943 // A directory or HTTP destination for the HLS segments, manifest files, and 16944 // encryption keys (if enabled). 16945 // 16946 // Destination is a required field 16947 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 16948 16949 // Place segments in subdirectories. 16950 DirectoryStructure *string `locationName:"directoryStructure" type:"string" enum:"HlsDirectoryStructure"` 16951 16952 // Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests 16953 // for this output group.Typically, choose Insert because these tags are required 16954 // in the manifest (according to the HLS specification) and serve an important 16955 // purpose.Choose Never Insert only if the downstream system is doing real-time 16956 // failover (without using the MediaLive automatic failover feature) and only 16957 // if that downstream system has advised you to exclude the tags. 16958 DiscontinuityTags *string `locationName:"discontinuityTags" type:"string" enum:"HlsDiscontinuityTags"` 16959 16960 // Encrypts the segments with the given encryption scheme. Exclude this parameter 16961 // if no encryption is desired. 16962 EncryptionType *string `locationName:"encryptionType" type:"string" enum:"HlsEncryptionType"` 16963 16964 // Parameters that control interactions with the CDN. 16965 HlsCdnSettings *HlsCdnSettings `locationName:"hlsCdnSettings" type:"structure"` 16966 16967 // State of HLS ID3 Segment Tagging 16968 HlsId3SegmentTagging *string `locationName:"hlsId3SegmentTagging" type:"string" enum:"HlsId3SegmentTaggingState"` 16969 16970 // DISABLED: Do not create an I-frame-only manifest, but do create the master 16971 // and media manifests (according to the Output Selection field).STANDARD: Create 16972 // an I-frame-only manifest for each output that contains video, as well as 16973 // the other manifests (according to the Output Selection field). The I-frame 16974 // manifest contains a #EXT-X-I-FRAMES-ONLY tag to indicate it is I-frame only, 16975 // and one or more #EXT-X-BYTERANGE entries identifying the I-frame position. 16976 // For example, #EXT-X-BYTERANGE:160364@1461888" 16977 IFrameOnlyPlaylists *string `locationName:"iFrameOnlyPlaylists" type:"string" enum:"IFrameOnlyPlaylistType"` 16978 16979 // Specifies whether to include the final (incomplete) segment in the media 16980 // output when the pipeline stops producing output because of a channel stop, 16981 // a channel pause or a loss of input to the pipeline.Auto means that MediaLive 16982 // decides whether to include the final segment, depending on the channel class 16983 // and the types of output groups.Suppress means to never include the incomplete 16984 // segment. We recommend you choose Auto and let MediaLive control the behavior. 16985 IncompleteSegmentBehavior *string `locationName:"incompleteSegmentBehavior" type:"string" enum:"HlsIncompleteSegmentBehavior"` 16986 16987 // Applies only if Mode field is LIVE.Specifies the maximum number of segments 16988 // in the media manifest file. After this maximum, older segments are removed 16989 // from the media manifest. This number must be smaller than the number in the 16990 // Keep Segments field. 16991 IndexNSegments *int64 `locationName:"indexNSegments" min:"3" type:"integer"` 16992 16993 // Parameter that control output group behavior on input loss. 16994 InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForHlsOut"` 16995 16996 // For use with encryptionType. The IV (Initialization Vector) is a 128-bit 16997 // number used in conjunction with the key for encrypting blocks. If set to 16998 // "include", IV is listed in the manifest, otherwise the IV is not in the manifest. 16999 IvInManifest *string `locationName:"ivInManifest" type:"string" enum:"HlsIvInManifest"` 17000 17001 // For use with encryptionType. The IV (Initialization Vector) is a 128-bit 17002 // number used in conjunction with the key for encrypting blocks. If this setting 17003 // is "followsSegmentNumber", it will cause the IV to change every segment (to 17004 // match the segment number). If this is set to "explicit", you must enter a 17005 // constantIv value. 17006 IvSource *string `locationName:"ivSource" type:"string" enum:"HlsIvSource"` 17007 17008 // Applies only if Mode field is LIVE.Specifies the number of media segments 17009 // to retain in the destination directory. This number should be bigger than 17010 // indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) 17011 // + 1).If this "keep segments" number is too low, the following might happen: 17012 // the player is still reading a media manifest file that lists this segment, 17013 // but that segment has been removed from the destination directory (as directed 17014 // by indexNSegments). This situation would result in a 404 HTTP error on the 17015 // player. 17016 KeepSegments *int64 `locationName:"keepSegments" min:"1" type:"integer"` 17017 17018 // The value specifies how the key is represented in the resource identified 17019 // by the URI. If parameter is absent, an implicit value of "identity" is used. 17020 // A reverse DNS string can also be given. 17021 KeyFormat *string `locationName:"keyFormat" type:"string"` 17022 17023 // Either a single positive integer version value or a slash delimited list 17024 // of version values (1/2/3). 17025 KeyFormatVersions *string `locationName:"keyFormatVersions" type:"string"` 17026 17027 // The key provider settings. 17028 KeyProviderSettings *KeyProviderSettings `locationName:"keyProviderSettings" type:"structure"` 17029 17030 // When set to gzip, compresses HLS playlist. 17031 ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"HlsManifestCompression"` 17032 17033 // Indicates whether the output manifest should use floating point or integer 17034 // values for segment duration. 17035 ManifestDurationFormat *string `locationName:"manifestDurationFormat" type:"string" enum:"HlsManifestDurationFormat"` 17036 17037 // When set, minimumSegmentLength is enforced by looking ahead and back within 17038 // the specified range for a nearby avail and extending the segment size if 17039 // needed. 17040 MinSegmentLength *int64 `locationName:"minSegmentLength" type:"integer"` 17041 17042 // If "vod", all segments are indexed and kept permanently in the destination 17043 // and manifest. If "live", only the number segments specified in keepSegments 17044 // and indexNSegments are kept; newer segments replace older segments, which 17045 // may prevent players from rewinding all the way to the beginning of the event.VOD 17046 // mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, 17047 // converting it to a "VOD" type manifest on completion of the stream. 17048 Mode *string `locationName:"mode" type:"string" enum:"HlsMode"` 17049 17050 // MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, 17051 // and media manifests) for this output group.VARIANT_MANIFESTS_AND_SEGMENTS: 17052 // Generates media manifests for this output group, but not a master manifest.SEGMENTS_ONLY: 17053 // Does not generate any manifests for this output group. 17054 OutputSelection *string `locationName:"outputSelection" type:"string" enum:"HlsOutputSelection"` 17055 17056 // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. 17057 // The value is calculated as follows: either the program date and time are 17058 // initialized using the input timecode source, or the time is initialized using 17059 // the input timecode source and the date is initialized using the timestampOffset. 17060 ProgramDateTime *string `locationName:"programDateTime" type:"string" enum:"HlsProgramDateTime"` 17061 17062 // Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. 17063 ProgramDateTimePeriod *int64 `locationName:"programDateTimePeriod" type:"integer"` 17064 17065 // ENABLED: The master manifest (.m3u8 file) for each pipeline includes information 17066 // about both pipelines: first its own media files, then the media files of 17067 // the other pipeline. This feature allows playout device that support stale 17068 // manifest detection to switch from one manifest to the other, when the current 17069 // manifest seems to be stale. There are still two destinations and two master 17070 // manifests, but both master manifests reference the media files from both 17071 // pipelines.DISABLED: The master manifest (.m3u8 file) for each pipeline includes 17072 // information about its own pipeline only.For an HLS output group with MediaPackage 17073 // as the destination, the DISABLED behavior is always followed. MediaPackage 17074 // regenerates the manifests it serves to players so a redundant manifest from 17075 // MediaLive is irrelevant. 17076 RedundantManifest *string `locationName:"redundantManifest" type:"string" enum:"HlsRedundantManifest"` 17077 17078 // Length of MPEG-2 Transport Stream segments to create (in seconds). Note that 17079 // segments will end on the next keyframe after this number of seconds, so actual 17080 // segment length may be longer. 17081 SegmentLength *int64 `locationName:"segmentLength" min:"1" type:"integer"` 17082 17083 // useInputSegmentation has been deprecated. The configured segment size is 17084 // always used. 17085 SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"HlsSegmentationMode"` 17086 17087 // Number of segments to write to a subdirectory before starting a new one. 17088 // directoryStructure must be subdirectoryPerStream for this setting to have 17089 // an effect. 17090 SegmentsPerSubdirectory *int64 `locationName:"segmentsPerSubdirectory" min:"1" type:"integer"` 17091 17092 // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag 17093 // of variant manifest. 17094 StreamInfResolution *string `locationName:"streamInfResolution" type:"string" enum:"HlsStreamInfResolution"` 17095 17096 // Indicates ID3 frame that has the timecode. 17097 TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"HlsTimedMetadataId3Frame"` 17098 17099 // Timed Metadata interval in seconds. 17100 TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` 17101 17102 // Provides an extra millisecond delta offset to fine tune the timestamps. 17103 TimestampDeltaMilliseconds *int64 `locationName:"timestampDeltaMilliseconds" type:"integer"` 17104 17105 // SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.SINGLE_FILE: 17106 // Applies only if Mode field is VOD. Emit the program as a single .ts media 17107 // file. The media manifest includes #EXT-X-BYTERANGE tags to index segments 17108 // for playback. A typical use for this value is when sending the output to 17109 // AWS Elemental MediaConvert, which can accept only a single media file. Playback 17110 // while the channel is running is not guaranteed due to HTTP server caching. 17111 TsFileMode *string `locationName:"tsFileMode" type:"string" enum:"HlsTsFileMode"` 17112 } 17113 17114 // String returns the string representation. 17115 // 17116 // API parameter values that are decorated as "sensitive" in the API will not 17117 // be included in the string output. The member name will be present, but the 17118 // value will be replaced with "sensitive". 17119 func (s HlsGroupSettings) String() string { 17120 return awsutil.Prettify(s) 17121 } 17122 17123 // GoString returns the string representation. 17124 // 17125 // API parameter values that are decorated as "sensitive" in the API will not 17126 // be included in the string output. The member name will be present, but the 17127 // value will be replaced with "sensitive". 17128 func (s HlsGroupSettings) GoString() string { 17129 return s.String() 17130 } 17131 17132 // Validate inspects the fields of the type to determine if they are valid. 17133 func (s *HlsGroupSettings) Validate() error { 17134 invalidParams := request.ErrInvalidParams{Context: "HlsGroupSettings"} 17135 if s.ConstantIv != nil && len(*s.ConstantIv) < 32 { 17136 invalidParams.Add(request.NewErrParamMinLen("ConstantIv", 32)) 17137 } 17138 if s.Destination == nil { 17139 invalidParams.Add(request.NewErrParamRequired("Destination")) 17140 } 17141 if s.IndexNSegments != nil && *s.IndexNSegments < 3 { 17142 invalidParams.Add(request.NewErrParamMinValue("IndexNSegments", 3)) 17143 } 17144 if s.KeepSegments != nil && *s.KeepSegments < 1 { 17145 invalidParams.Add(request.NewErrParamMinValue("KeepSegments", 1)) 17146 } 17147 if s.SegmentLength != nil && *s.SegmentLength < 1 { 17148 invalidParams.Add(request.NewErrParamMinValue("SegmentLength", 1)) 17149 } 17150 if s.SegmentsPerSubdirectory != nil && *s.SegmentsPerSubdirectory < 1 { 17151 invalidParams.Add(request.NewErrParamMinValue("SegmentsPerSubdirectory", 1)) 17152 } 17153 if s.CaptionLanguageMappings != nil { 17154 for i, v := range s.CaptionLanguageMappings { 17155 if v == nil { 17156 continue 17157 } 17158 if err := v.Validate(); err != nil { 17159 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionLanguageMappings", i), err.(request.ErrInvalidParams)) 17160 } 17161 } 17162 } 17163 if s.KeyProviderSettings != nil { 17164 if err := s.KeyProviderSettings.Validate(); err != nil { 17165 invalidParams.AddNested("KeyProviderSettings", err.(request.ErrInvalidParams)) 17166 } 17167 } 17168 17169 if invalidParams.Len() > 0 { 17170 return invalidParams 17171 } 17172 return nil 17173 } 17174 17175 // SetAdMarkers sets the AdMarkers field's value. 17176 func (s *HlsGroupSettings) SetAdMarkers(v []*string) *HlsGroupSettings { 17177 s.AdMarkers = v 17178 return s 17179 } 17180 17181 // SetBaseUrlContent sets the BaseUrlContent field's value. 17182 func (s *HlsGroupSettings) SetBaseUrlContent(v string) *HlsGroupSettings { 17183 s.BaseUrlContent = &v 17184 return s 17185 } 17186 17187 // SetBaseUrlContent1 sets the BaseUrlContent1 field's value. 17188 func (s *HlsGroupSettings) SetBaseUrlContent1(v string) *HlsGroupSettings { 17189 s.BaseUrlContent1 = &v 17190 return s 17191 } 17192 17193 // SetBaseUrlManifest sets the BaseUrlManifest field's value. 17194 func (s *HlsGroupSettings) SetBaseUrlManifest(v string) *HlsGroupSettings { 17195 s.BaseUrlManifest = &v 17196 return s 17197 } 17198 17199 // SetBaseUrlManifest1 sets the BaseUrlManifest1 field's value. 17200 func (s *HlsGroupSettings) SetBaseUrlManifest1(v string) *HlsGroupSettings { 17201 s.BaseUrlManifest1 = &v 17202 return s 17203 } 17204 17205 // SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. 17206 func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []*CaptionLanguageMapping) *HlsGroupSettings { 17207 s.CaptionLanguageMappings = v 17208 return s 17209 } 17210 17211 // SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. 17212 func (s *HlsGroupSettings) SetCaptionLanguageSetting(v string) *HlsGroupSettings { 17213 s.CaptionLanguageSetting = &v 17214 return s 17215 } 17216 17217 // SetClientCache sets the ClientCache field's value. 17218 func (s *HlsGroupSettings) SetClientCache(v string) *HlsGroupSettings { 17219 s.ClientCache = &v 17220 return s 17221 } 17222 17223 // SetCodecSpecification sets the CodecSpecification field's value. 17224 func (s *HlsGroupSettings) SetCodecSpecification(v string) *HlsGroupSettings { 17225 s.CodecSpecification = &v 17226 return s 17227 } 17228 17229 // SetConstantIv sets the ConstantIv field's value. 17230 func (s *HlsGroupSettings) SetConstantIv(v string) *HlsGroupSettings { 17231 s.ConstantIv = &v 17232 return s 17233 } 17234 17235 // SetDestination sets the Destination field's value. 17236 func (s *HlsGroupSettings) SetDestination(v *OutputLocationRef) *HlsGroupSettings { 17237 s.Destination = v 17238 return s 17239 } 17240 17241 // SetDirectoryStructure sets the DirectoryStructure field's value. 17242 func (s *HlsGroupSettings) SetDirectoryStructure(v string) *HlsGroupSettings { 17243 s.DirectoryStructure = &v 17244 return s 17245 } 17246 17247 // SetDiscontinuityTags sets the DiscontinuityTags field's value. 17248 func (s *HlsGroupSettings) SetDiscontinuityTags(v string) *HlsGroupSettings { 17249 s.DiscontinuityTags = &v 17250 return s 17251 } 17252 17253 // SetEncryptionType sets the EncryptionType field's value. 17254 func (s *HlsGroupSettings) SetEncryptionType(v string) *HlsGroupSettings { 17255 s.EncryptionType = &v 17256 return s 17257 } 17258 17259 // SetHlsCdnSettings sets the HlsCdnSettings field's value. 17260 func (s *HlsGroupSettings) SetHlsCdnSettings(v *HlsCdnSettings) *HlsGroupSettings { 17261 s.HlsCdnSettings = v 17262 return s 17263 } 17264 17265 // SetHlsId3SegmentTagging sets the HlsId3SegmentTagging field's value. 17266 func (s *HlsGroupSettings) SetHlsId3SegmentTagging(v string) *HlsGroupSettings { 17267 s.HlsId3SegmentTagging = &v 17268 return s 17269 } 17270 17271 // SetIFrameOnlyPlaylists sets the IFrameOnlyPlaylists field's value. 17272 func (s *HlsGroupSettings) SetIFrameOnlyPlaylists(v string) *HlsGroupSettings { 17273 s.IFrameOnlyPlaylists = &v 17274 return s 17275 } 17276 17277 // SetIncompleteSegmentBehavior sets the IncompleteSegmentBehavior field's value. 17278 func (s *HlsGroupSettings) SetIncompleteSegmentBehavior(v string) *HlsGroupSettings { 17279 s.IncompleteSegmentBehavior = &v 17280 return s 17281 } 17282 17283 // SetIndexNSegments sets the IndexNSegments field's value. 17284 func (s *HlsGroupSettings) SetIndexNSegments(v int64) *HlsGroupSettings { 17285 s.IndexNSegments = &v 17286 return s 17287 } 17288 17289 // SetInputLossAction sets the InputLossAction field's value. 17290 func (s *HlsGroupSettings) SetInputLossAction(v string) *HlsGroupSettings { 17291 s.InputLossAction = &v 17292 return s 17293 } 17294 17295 // SetIvInManifest sets the IvInManifest field's value. 17296 func (s *HlsGroupSettings) SetIvInManifest(v string) *HlsGroupSettings { 17297 s.IvInManifest = &v 17298 return s 17299 } 17300 17301 // SetIvSource sets the IvSource field's value. 17302 func (s *HlsGroupSettings) SetIvSource(v string) *HlsGroupSettings { 17303 s.IvSource = &v 17304 return s 17305 } 17306 17307 // SetKeepSegments sets the KeepSegments field's value. 17308 func (s *HlsGroupSettings) SetKeepSegments(v int64) *HlsGroupSettings { 17309 s.KeepSegments = &v 17310 return s 17311 } 17312 17313 // SetKeyFormat sets the KeyFormat field's value. 17314 func (s *HlsGroupSettings) SetKeyFormat(v string) *HlsGroupSettings { 17315 s.KeyFormat = &v 17316 return s 17317 } 17318 17319 // SetKeyFormatVersions sets the KeyFormatVersions field's value. 17320 func (s *HlsGroupSettings) SetKeyFormatVersions(v string) *HlsGroupSettings { 17321 s.KeyFormatVersions = &v 17322 return s 17323 } 17324 17325 // SetKeyProviderSettings sets the KeyProviderSettings field's value. 17326 func (s *HlsGroupSettings) SetKeyProviderSettings(v *KeyProviderSettings) *HlsGroupSettings { 17327 s.KeyProviderSettings = v 17328 return s 17329 } 17330 17331 // SetManifestCompression sets the ManifestCompression field's value. 17332 func (s *HlsGroupSettings) SetManifestCompression(v string) *HlsGroupSettings { 17333 s.ManifestCompression = &v 17334 return s 17335 } 17336 17337 // SetManifestDurationFormat sets the ManifestDurationFormat field's value. 17338 func (s *HlsGroupSettings) SetManifestDurationFormat(v string) *HlsGroupSettings { 17339 s.ManifestDurationFormat = &v 17340 return s 17341 } 17342 17343 // SetMinSegmentLength sets the MinSegmentLength field's value. 17344 func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { 17345 s.MinSegmentLength = &v 17346 return s 17347 } 17348 17349 // SetMode sets the Mode field's value. 17350 func (s *HlsGroupSettings) SetMode(v string) *HlsGroupSettings { 17351 s.Mode = &v 17352 return s 17353 } 17354 17355 // SetOutputSelection sets the OutputSelection field's value. 17356 func (s *HlsGroupSettings) SetOutputSelection(v string) *HlsGroupSettings { 17357 s.OutputSelection = &v 17358 return s 17359 } 17360 17361 // SetProgramDateTime sets the ProgramDateTime field's value. 17362 func (s *HlsGroupSettings) SetProgramDateTime(v string) *HlsGroupSettings { 17363 s.ProgramDateTime = &v 17364 return s 17365 } 17366 17367 // SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. 17368 func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { 17369 s.ProgramDateTimePeriod = &v 17370 return s 17371 } 17372 17373 // SetRedundantManifest sets the RedundantManifest field's value. 17374 func (s *HlsGroupSettings) SetRedundantManifest(v string) *HlsGroupSettings { 17375 s.RedundantManifest = &v 17376 return s 17377 } 17378 17379 // SetSegmentLength sets the SegmentLength field's value. 17380 func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { 17381 s.SegmentLength = &v 17382 return s 17383 } 17384 17385 // SetSegmentationMode sets the SegmentationMode field's value. 17386 func (s *HlsGroupSettings) SetSegmentationMode(v string) *HlsGroupSettings { 17387 s.SegmentationMode = &v 17388 return s 17389 } 17390 17391 // SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. 17392 func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { 17393 s.SegmentsPerSubdirectory = &v 17394 return s 17395 } 17396 17397 // SetStreamInfResolution sets the StreamInfResolution field's value. 17398 func (s *HlsGroupSettings) SetStreamInfResolution(v string) *HlsGroupSettings { 17399 s.StreamInfResolution = &v 17400 return s 17401 } 17402 17403 // SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. 17404 func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v string) *HlsGroupSettings { 17405 s.TimedMetadataId3Frame = &v 17406 return s 17407 } 17408 17409 // SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. 17410 func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { 17411 s.TimedMetadataId3Period = &v 17412 return s 17413 } 17414 17415 // SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. 17416 func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { 17417 s.TimestampDeltaMilliseconds = &v 17418 return s 17419 } 17420 17421 // SetTsFileMode sets the TsFileMode field's value. 17422 func (s *HlsGroupSettings) SetTsFileMode(v string) *HlsGroupSettings { 17423 s.TsFileMode = &v 17424 return s 17425 } 17426 17427 // Settings for the action to insert a user-defined ID3 tag in each HLS segment 17428 type HlsId3SegmentTaggingScheduleActionSettings struct { 17429 _ struct{} `type:"structure"` 17430 17431 // ID3 tag to insert into each segment. Supports special keyword identifiers 17432 // to substitute in segment-related values.\nSupported keyword identifiers: 17433 // https://docs.aws.amazon.com/medialive/latest/ug/variable-data-identifiers.html 17434 // 17435 // Tag is a required field 17436 Tag *string `locationName:"tag" type:"string" required:"true"` 17437 } 17438 17439 // String returns the string representation. 17440 // 17441 // API parameter values that are decorated as "sensitive" in the API will not 17442 // be included in the string output. The member name will be present, but the 17443 // value will be replaced with "sensitive". 17444 func (s HlsId3SegmentTaggingScheduleActionSettings) String() string { 17445 return awsutil.Prettify(s) 17446 } 17447 17448 // GoString returns the string representation. 17449 // 17450 // API parameter values that are decorated as "sensitive" in the API will not 17451 // be included in the string output. The member name will be present, but the 17452 // value will be replaced with "sensitive". 17453 func (s HlsId3SegmentTaggingScheduleActionSettings) GoString() string { 17454 return s.String() 17455 } 17456 17457 // Validate inspects the fields of the type to determine if they are valid. 17458 func (s *HlsId3SegmentTaggingScheduleActionSettings) Validate() error { 17459 invalidParams := request.ErrInvalidParams{Context: "HlsId3SegmentTaggingScheduleActionSettings"} 17460 if s.Tag == nil { 17461 invalidParams.Add(request.NewErrParamRequired("Tag")) 17462 } 17463 17464 if invalidParams.Len() > 0 { 17465 return invalidParams 17466 } 17467 return nil 17468 } 17469 17470 // SetTag sets the Tag field's value. 17471 func (s *HlsId3SegmentTaggingScheduleActionSettings) SetTag(v string) *HlsId3SegmentTaggingScheduleActionSettings { 17472 s.Tag = &v 17473 return s 17474 } 17475 17476 // Hls Input Settings 17477 type HlsInputSettings struct { 17478 _ struct{} `type:"structure"` 17479 17480 // When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches 17481 // this value will be chosen, otherwise the highest bandwidth stream in the 17482 // m3u8 will be chosen. The bitrate is specified in bits per second, as in an 17483 // HLS manifest. 17484 Bandwidth *int64 `locationName:"bandwidth" type:"integer"` 17485 17486 // When specified, reading of the HLS input will begin this many buffer segments 17487 // from the end (most recently written segment). When not specified, the HLS 17488 // input will begin with the first segment specified in the m3u8. 17489 BufferSegments *int64 `locationName:"bufferSegments" type:"integer"` 17490 17491 // The number of consecutive times that attempts to read a manifest or segment 17492 // must fail before the input is considered unavailable. 17493 Retries *int64 `locationName:"retries" type:"integer"` 17494 17495 // The number of seconds between retries when an attempt to read a manifest 17496 // or segment fails. 17497 RetryInterval *int64 `locationName:"retryInterval" type:"integer"` 17498 17499 // Identifies the source for the SCTE-35 messages that MediaLive will ingest. 17500 // Messages can be ingested from the content segments (in the stream) or from 17501 // tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information 17502 // in the source that is not selected. 17503 Scte35Source *string `locationName:"scte35Source" type:"string" enum:"HlsScte35SourceType"` 17504 } 17505 17506 // String returns the string representation. 17507 // 17508 // API parameter values that are decorated as "sensitive" in the API will not 17509 // be included in the string output. The member name will be present, but the 17510 // value will be replaced with "sensitive". 17511 func (s HlsInputSettings) String() string { 17512 return awsutil.Prettify(s) 17513 } 17514 17515 // GoString returns the string representation. 17516 // 17517 // API parameter values that are decorated as "sensitive" in the API will not 17518 // be included in the string output. The member name will be present, but the 17519 // value will be replaced with "sensitive". 17520 func (s HlsInputSettings) GoString() string { 17521 return s.String() 17522 } 17523 17524 // SetBandwidth sets the Bandwidth field's value. 17525 func (s *HlsInputSettings) SetBandwidth(v int64) *HlsInputSettings { 17526 s.Bandwidth = &v 17527 return s 17528 } 17529 17530 // SetBufferSegments sets the BufferSegments field's value. 17531 func (s *HlsInputSettings) SetBufferSegments(v int64) *HlsInputSettings { 17532 s.BufferSegments = &v 17533 return s 17534 } 17535 17536 // SetRetries sets the Retries field's value. 17537 func (s *HlsInputSettings) SetRetries(v int64) *HlsInputSettings { 17538 s.Retries = &v 17539 return s 17540 } 17541 17542 // SetRetryInterval sets the RetryInterval field's value. 17543 func (s *HlsInputSettings) SetRetryInterval(v int64) *HlsInputSettings { 17544 s.RetryInterval = &v 17545 return s 17546 } 17547 17548 // SetScte35Source sets the Scte35Source field's value. 17549 func (s *HlsInputSettings) SetScte35Source(v string) *HlsInputSettings { 17550 s.Scte35Source = &v 17551 return s 17552 } 17553 17554 // Hls Media Store Settings 17555 type HlsMediaStoreSettings struct { 17556 _ struct{} `type:"structure"` 17557 17558 // Number of seconds to wait before retrying connection to the CDN if the connection 17559 // is lost. 17560 ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` 17561 17562 // Size in seconds of file cache for streaming outputs. 17563 FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` 17564 17565 // When set to temporal, output files are stored in non-persistent memory for 17566 // faster reading and writing. 17567 MediaStoreStorageClass *string `locationName:"mediaStoreStorageClass" type:"string" enum:"HlsMediaStoreStorageClass"` 17568 17569 // Number of retry attempts that will be made before the Live Event is put into 17570 // an error state. 17571 NumRetries *int64 `locationName:"numRetries" type:"integer"` 17572 17573 // If a streaming output fails, number of seconds to wait until a restart is 17574 // initiated. A value of 0 means never restart. 17575 RestartDelay *int64 `locationName:"restartDelay" type:"integer"` 17576 } 17577 17578 // String returns the string representation. 17579 // 17580 // API parameter values that are decorated as "sensitive" in the API will not 17581 // be included in the string output. The member name will be present, but the 17582 // value will be replaced with "sensitive". 17583 func (s HlsMediaStoreSettings) String() string { 17584 return awsutil.Prettify(s) 17585 } 17586 17587 // GoString returns the string representation. 17588 // 17589 // API parameter values that are decorated as "sensitive" in the API will not 17590 // be included in the string output. The member name will be present, but the 17591 // value will be replaced with "sensitive". 17592 func (s HlsMediaStoreSettings) GoString() string { 17593 return s.String() 17594 } 17595 17596 // SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. 17597 func (s *HlsMediaStoreSettings) SetConnectionRetryInterval(v int64) *HlsMediaStoreSettings { 17598 s.ConnectionRetryInterval = &v 17599 return s 17600 } 17601 17602 // SetFilecacheDuration sets the FilecacheDuration field's value. 17603 func (s *HlsMediaStoreSettings) SetFilecacheDuration(v int64) *HlsMediaStoreSettings { 17604 s.FilecacheDuration = &v 17605 return s 17606 } 17607 17608 // SetMediaStoreStorageClass sets the MediaStoreStorageClass field's value. 17609 func (s *HlsMediaStoreSettings) SetMediaStoreStorageClass(v string) *HlsMediaStoreSettings { 17610 s.MediaStoreStorageClass = &v 17611 return s 17612 } 17613 17614 // SetNumRetries sets the NumRetries field's value. 17615 func (s *HlsMediaStoreSettings) SetNumRetries(v int64) *HlsMediaStoreSettings { 17616 s.NumRetries = &v 17617 return s 17618 } 17619 17620 // SetRestartDelay sets the RestartDelay field's value. 17621 func (s *HlsMediaStoreSettings) SetRestartDelay(v int64) *HlsMediaStoreSettings { 17622 s.RestartDelay = &v 17623 return s 17624 } 17625 17626 // Hls Output Settings 17627 type HlsOutputSettings struct { 17628 _ struct{} `type:"structure"` 17629 17630 // Only applicable when this output is referencing an H.265 video description.Specifies 17631 // whether MP4 segments should be packaged as HEV1 or HVC1. 17632 H265PackagingType *string `locationName:"h265PackagingType" type:"string" enum:"HlsH265PackagingType"` 17633 17634 // Settings regarding the underlying stream. These settings are different for 17635 // audio-only outputs. 17636 // 17637 // HlsSettings is a required field 17638 HlsSettings *HlsSettings `locationName:"hlsSettings" type:"structure" required:"true"` 17639 17640 // String concatenated to the end of the destination filename. Accepts \"Format 17641 // Identifiers\":#formatIdentifierParameters. 17642 NameModifier *string `locationName:"nameModifier" min:"1" type:"string"` 17643 17644 // String concatenated to end of segment filenames. 17645 SegmentModifier *string `locationName:"segmentModifier" type:"string"` 17646 } 17647 17648 // String returns the string representation. 17649 // 17650 // API parameter values that are decorated as "sensitive" in the API will not 17651 // be included in the string output. The member name will be present, but the 17652 // value will be replaced with "sensitive". 17653 func (s HlsOutputSettings) String() string { 17654 return awsutil.Prettify(s) 17655 } 17656 17657 // GoString returns the string representation. 17658 // 17659 // API parameter values that are decorated as "sensitive" in the API will not 17660 // be included in the string output. The member name will be present, but the 17661 // value will be replaced with "sensitive". 17662 func (s HlsOutputSettings) GoString() string { 17663 return s.String() 17664 } 17665 17666 // Validate inspects the fields of the type to determine if they are valid. 17667 func (s *HlsOutputSettings) Validate() error { 17668 invalidParams := request.ErrInvalidParams{Context: "HlsOutputSettings"} 17669 if s.HlsSettings == nil { 17670 invalidParams.Add(request.NewErrParamRequired("HlsSettings")) 17671 } 17672 if s.NameModifier != nil && len(*s.NameModifier) < 1 { 17673 invalidParams.Add(request.NewErrParamMinLen("NameModifier", 1)) 17674 } 17675 if s.HlsSettings != nil { 17676 if err := s.HlsSettings.Validate(); err != nil { 17677 invalidParams.AddNested("HlsSettings", err.(request.ErrInvalidParams)) 17678 } 17679 } 17680 17681 if invalidParams.Len() > 0 { 17682 return invalidParams 17683 } 17684 return nil 17685 } 17686 17687 // SetH265PackagingType sets the H265PackagingType field's value. 17688 func (s *HlsOutputSettings) SetH265PackagingType(v string) *HlsOutputSettings { 17689 s.H265PackagingType = &v 17690 return s 17691 } 17692 17693 // SetHlsSettings sets the HlsSettings field's value. 17694 func (s *HlsOutputSettings) SetHlsSettings(v *HlsSettings) *HlsOutputSettings { 17695 s.HlsSettings = v 17696 return s 17697 } 17698 17699 // SetNameModifier sets the NameModifier field's value. 17700 func (s *HlsOutputSettings) SetNameModifier(v string) *HlsOutputSettings { 17701 s.NameModifier = &v 17702 return s 17703 } 17704 17705 // SetSegmentModifier sets the SegmentModifier field's value. 17706 func (s *HlsOutputSettings) SetSegmentModifier(v string) *HlsOutputSettings { 17707 s.SegmentModifier = &v 17708 return s 17709 } 17710 17711 // Hls S3 Settings 17712 type HlsS3Settings struct { 17713 _ struct{} `type:"structure"` 17714 17715 // Specify the canned ACL to apply to each S3 request. Defaults to none. 17716 CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` 17717 } 17718 17719 // String returns the string representation. 17720 // 17721 // API parameter values that are decorated as "sensitive" in the API will not 17722 // be included in the string output. The member name will be present, but the 17723 // value will be replaced with "sensitive". 17724 func (s HlsS3Settings) String() string { 17725 return awsutil.Prettify(s) 17726 } 17727 17728 // GoString returns the string representation. 17729 // 17730 // API parameter values that are decorated as "sensitive" in the API will not 17731 // be included in the string output. The member name will be present, but the 17732 // value will be replaced with "sensitive". 17733 func (s HlsS3Settings) GoString() string { 17734 return s.String() 17735 } 17736 17737 // SetCannedAcl sets the CannedAcl field's value. 17738 func (s *HlsS3Settings) SetCannedAcl(v string) *HlsS3Settings { 17739 s.CannedAcl = &v 17740 return s 17741 } 17742 17743 // Hls Settings 17744 type HlsSettings struct { 17745 _ struct{} `type:"structure"` 17746 17747 // Audio Only Hls Settings 17748 AudioOnlyHlsSettings *AudioOnlyHlsSettings `locationName:"audioOnlyHlsSettings" type:"structure"` 17749 17750 // Fmp4 Hls Settings 17751 Fmp4HlsSettings *Fmp4HlsSettings `locationName:"fmp4HlsSettings" type:"structure"` 17752 17753 // Frame Capture Hls Settings 17754 FrameCaptureHlsSettings *FrameCaptureHlsSettings `locationName:"frameCaptureHlsSettings" type:"structure"` 17755 17756 // Standard Hls Settings 17757 StandardHlsSettings *StandardHlsSettings `locationName:"standardHlsSettings" type:"structure"` 17758 } 17759 17760 // String returns the string representation. 17761 // 17762 // API parameter values that are decorated as "sensitive" in the API will not 17763 // be included in the string output. The member name will be present, but the 17764 // value will be replaced with "sensitive". 17765 func (s HlsSettings) String() string { 17766 return awsutil.Prettify(s) 17767 } 17768 17769 // GoString returns the string representation. 17770 // 17771 // API parameter values that are decorated as "sensitive" in the API will not 17772 // be included in the string output. The member name will be present, but the 17773 // value will be replaced with "sensitive". 17774 func (s HlsSettings) GoString() string { 17775 return s.String() 17776 } 17777 17778 // Validate inspects the fields of the type to determine if they are valid. 17779 func (s *HlsSettings) Validate() error { 17780 invalidParams := request.ErrInvalidParams{Context: "HlsSettings"} 17781 if s.AudioOnlyHlsSettings != nil { 17782 if err := s.AudioOnlyHlsSettings.Validate(); err != nil { 17783 invalidParams.AddNested("AudioOnlyHlsSettings", err.(request.ErrInvalidParams)) 17784 } 17785 } 17786 if s.StandardHlsSettings != nil { 17787 if err := s.StandardHlsSettings.Validate(); err != nil { 17788 invalidParams.AddNested("StandardHlsSettings", err.(request.ErrInvalidParams)) 17789 } 17790 } 17791 17792 if invalidParams.Len() > 0 { 17793 return invalidParams 17794 } 17795 return nil 17796 } 17797 17798 // SetAudioOnlyHlsSettings sets the AudioOnlyHlsSettings field's value. 17799 func (s *HlsSettings) SetAudioOnlyHlsSettings(v *AudioOnlyHlsSettings) *HlsSettings { 17800 s.AudioOnlyHlsSettings = v 17801 return s 17802 } 17803 17804 // SetFmp4HlsSettings sets the Fmp4HlsSettings field's value. 17805 func (s *HlsSettings) SetFmp4HlsSettings(v *Fmp4HlsSettings) *HlsSettings { 17806 s.Fmp4HlsSettings = v 17807 return s 17808 } 17809 17810 // SetFrameCaptureHlsSettings sets the FrameCaptureHlsSettings field's value. 17811 func (s *HlsSettings) SetFrameCaptureHlsSettings(v *FrameCaptureHlsSettings) *HlsSettings { 17812 s.FrameCaptureHlsSettings = v 17813 return s 17814 } 17815 17816 // SetStandardHlsSettings sets the StandardHlsSettings field's value. 17817 func (s *HlsSettings) SetStandardHlsSettings(v *StandardHlsSettings) *HlsSettings { 17818 s.StandardHlsSettings = v 17819 return s 17820 } 17821 17822 // Settings for the action to emit HLS metadata 17823 type HlsTimedMetadataScheduleActionSettings struct { 17824 _ struct{} `type:"structure"` 17825 17826 // Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure 17827 // 17828 // Id3 is a required field 17829 Id3 *string `locationName:"id3" type:"string" required:"true"` 17830 } 17831 17832 // String returns the string representation. 17833 // 17834 // API parameter values that are decorated as "sensitive" in the API will not 17835 // be included in the string output. The member name will be present, but the 17836 // value will be replaced with "sensitive". 17837 func (s HlsTimedMetadataScheduleActionSettings) String() string { 17838 return awsutil.Prettify(s) 17839 } 17840 17841 // GoString returns the string representation. 17842 // 17843 // API parameter values that are decorated as "sensitive" in the API will not 17844 // be included in the string output. The member name will be present, but the 17845 // value will be replaced with "sensitive". 17846 func (s HlsTimedMetadataScheduleActionSettings) GoString() string { 17847 return s.String() 17848 } 17849 17850 // Validate inspects the fields of the type to determine if they are valid. 17851 func (s *HlsTimedMetadataScheduleActionSettings) Validate() error { 17852 invalidParams := request.ErrInvalidParams{Context: "HlsTimedMetadataScheduleActionSettings"} 17853 if s.Id3 == nil { 17854 invalidParams.Add(request.NewErrParamRequired("Id3")) 17855 } 17856 17857 if invalidParams.Len() > 0 { 17858 return invalidParams 17859 } 17860 return nil 17861 } 17862 17863 // SetId3 sets the Id3 field's value. 17864 func (s *HlsTimedMetadataScheduleActionSettings) SetId3(v string) *HlsTimedMetadataScheduleActionSettings { 17865 s.Id3 = &v 17866 return s 17867 } 17868 17869 // Hls Webdav Settings 17870 type HlsWebdavSettings struct { 17871 _ struct{} `type:"structure"` 17872 17873 // Number of seconds to wait before retrying connection to the CDN if the connection 17874 // is lost. 17875 ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` 17876 17877 // Size in seconds of file cache for streaming outputs. 17878 FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` 17879 17880 // Specify whether or not to use chunked transfer encoding to WebDAV. 17881 HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsWebdavHttpTransferMode"` 17882 17883 // Number of retry attempts that will be made before the Live Event is put into 17884 // an error state. 17885 NumRetries *int64 `locationName:"numRetries" type:"integer"` 17886 17887 // If a streaming output fails, number of seconds to wait until a restart is 17888 // initiated. A value of 0 means never restart. 17889 RestartDelay *int64 `locationName:"restartDelay" type:"integer"` 17890 } 17891 17892 // String returns the string representation. 17893 // 17894 // API parameter values that are decorated as "sensitive" in the API will not 17895 // be included in the string output. The member name will be present, but the 17896 // value will be replaced with "sensitive". 17897 func (s HlsWebdavSettings) String() string { 17898 return awsutil.Prettify(s) 17899 } 17900 17901 // GoString returns the string representation. 17902 // 17903 // API parameter values that are decorated as "sensitive" in the API will not 17904 // be included in the string output. The member name will be present, but the 17905 // value will be replaced with "sensitive". 17906 func (s HlsWebdavSettings) GoString() string { 17907 return s.String() 17908 } 17909 17910 // SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. 17911 func (s *HlsWebdavSettings) SetConnectionRetryInterval(v int64) *HlsWebdavSettings { 17912 s.ConnectionRetryInterval = &v 17913 return s 17914 } 17915 17916 // SetFilecacheDuration sets the FilecacheDuration field's value. 17917 func (s *HlsWebdavSettings) SetFilecacheDuration(v int64) *HlsWebdavSettings { 17918 s.FilecacheDuration = &v 17919 return s 17920 } 17921 17922 // SetHttpTransferMode sets the HttpTransferMode field's value. 17923 func (s *HlsWebdavSettings) SetHttpTransferMode(v string) *HlsWebdavSettings { 17924 s.HttpTransferMode = &v 17925 return s 17926 } 17927 17928 // SetNumRetries sets the NumRetries field's value. 17929 func (s *HlsWebdavSettings) SetNumRetries(v int64) *HlsWebdavSettings { 17930 s.NumRetries = &v 17931 return s 17932 } 17933 17934 // SetRestartDelay sets the RestartDelay field's value. 17935 func (s *HlsWebdavSettings) SetRestartDelay(v int64) *HlsWebdavSettings { 17936 s.RestartDelay = &v 17937 return s 17938 } 17939 17940 // Html Motion Graphics Settings 17941 type HtmlMotionGraphicsSettings struct { 17942 _ struct{} `type:"structure" nopayload:"true"` 17943 } 17944 17945 // String returns the string representation. 17946 // 17947 // API parameter values that are decorated as "sensitive" in the API will not 17948 // be included in the string output. The member name will be present, but the 17949 // value will be replaced with "sensitive". 17950 func (s HtmlMotionGraphicsSettings) String() string { 17951 return awsutil.Prettify(s) 17952 } 17953 17954 // GoString returns the string representation. 17955 // 17956 // API parameter values that are decorated as "sensitive" in the API will not 17957 // be included in the string output. The member name will be present, but the 17958 // value will be replaced with "sensitive". 17959 func (s HtmlMotionGraphicsSettings) GoString() string { 17960 return s.String() 17961 } 17962 17963 // Settings to configure an action so that it occurs as soon as possible. 17964 type ImmediateModeScheduleActionStartSettings struct { 17965 _ struct{} `type:"structure" nopayload:"true"` 17966 } 17967 17968 // String returns the string representation. 17969 // 17970 // API parameter values that are decorated as "sensitive" in the API will not 17971 // be included in the string output. The member name will be present, but the 17972 // value will be replaced with "sensitive". 17973 func (s ImmediateModeScheduleActionStartSettings) String() string { 17974 return awsutil.Prettify(s) 17975 } 17976 17977 // GoString returns the string representation. 17978 // 17979 // API parameter values that are decorated as "sensitive" in the API will not 17980 // be included in the string output. The member name will be present, but the 17981 // value will be replaced with "sensitive". 17982 func (s ImmediateModeScheduleActionStartSettings) GoString() string { 17983 return s.String() 17984 } 17985 17986 type Input struct { 17987 _ struct{} `type:"structure"` 17988 17989 // The Unique ARN of the input (generated, immutable). 17990 Arn *string `locationName:"arn" type:"string"` 17991 17992 // A list of channel IDs that that input is attached to (currently an input 17993 // can only be attached to one channel). 17994 AttachedChannels []*string `locationName:"attachedChannels" type:"list"` 17995 17996 // A list of the destinations of the input (PUSH-type). 17997 Destinations []*InputDestination `locationName:"destinations" type:"list"` 17998 17999 // The generated ID of the input (unique for user account, immutable). 18000 Id *string `locationName:"id" type:"string"` 18001 18002 // STANDARD - MediaLive expects two sources to be connected to this input. If 18003 // the channel is also STANDARD, both sources will be ingested. If the channel 18004 // is SINGLE_PIPELINE, only the first source will be ingested; the second source 18005 // will always be ignored, even if the first source fails.SINGLE_PIPELINE - 18006 // You can connect only one source to this input. If the ChannelClass is also 18007 // SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this 18008 // value is not valid because the channel requires two sources in the input. 18009 InputClass *string `locationName:"inputClass" type:"string" enum:"InputClass"` 18010 18011 // Settings for the input devices. 18012 InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` 18013 18014 // A list of IDs for all Inputs which are partners of this one. 18015 InputPartnerIds []*string `locationName:"inputPartnerIds" type:"list"` 18016 18017 // Certain pull input sources can be dynamic, meaning that they can have their 18018 // URL's dynamically changesduring input switch actions. Presently, this functionality 18019 // only works with MP4_FILE and TS_FILE inputs. 18020 InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` 18021 18022 // A list of MediaConnect Flows for this input. 18023 MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` 18024 18025 // The user-assigned name (This is a mutable value). 18026 Name *string `locationName:"name" type:"string"` 18027 18028 // The Amazon Resource Name (ARN) of the role this input assumes during and 18029 // after creation. 18030 RoleArn *string `locationName:"roleArn" type:"string"` 18031 18032 // A list of IDs for all the Input Security Groups attached to the input. 18033 SecurityGroups []*string `locationName:"securityGroups" type:"list"` 18034 18035 // A list of the sources of the input (PULL-type). 18036 Sources []*InputSource `locationName:"sources" type:"list"` 18037 18038 State *string `locationName:"state" type:"string" enum:"InputState"` 18039 18040 // A collection of key-value pairs. 18041 Tags map[string]*string `locationName:"tags" type:"map"` 18042 18043 // The different types of inputs that AWS Elemental MediaLive supports. 18044 Type *string `locationName:"type" type:"string" enum:"InputType"` 18045 } 18046 18047 // String returns the string representation. 18048 // 18049 // API parameter values that are decorated as "sensitive" in the API will not 18050 // be included in the string output. The member name will be present, but the 18051 // value will be replaced with "sensitive". 18052 func (s Input) String() string { 18053 return awsutil.Prettify(s) 18054 } 18055 18056 // GoString returns the string representation. 18057 // 18058 // API parameter values that are decorated as "sensitive" in the API will not 18059 // be included in the string output. The member name will be present, but the 18060 // value will be replaced with "sensitive". 18061 func (s Input) GoString() string { 18062 return s.String() 18063 } 18064 18065 // SetArn sets the Arn field's value. 18066 func (s *Input) SetArn(v string) *Input { 18067 s.Arn = &v 18068 return s 18069 } 18070 18071 // SetAttachedChannels sets the AttachedChannels field's value. 18072 func (s *Input) SetAttachedChannels(v []*string) *Input { 18073 s.AttachedChannels = v 18074 return s 18075 } 18076 18077 // SetDestinations sets the Destinations field's value. 18078 func (s *Input) SetDestinations(v []*InputDestination) *Input { 18079 s.Destinations = v 18080 return s 18081 } 18082 18083 // SetId sets the Id field's value. 18084 func (s *Input) SetId(v string) *Input { 18085 s.Id = &v 18086 return s 18087 } 18088 18089 // SetInputClass sets the InputClass field's value. 18090 func (s *Input) SetInputClass(v string) *Input { 18091 s.InputClass = &v 18092 return s 18093 } 18094 18095 // SetInputDevices sets the InputDevices field's value. 18096 func (s *Input) SetInputDevices(v []*InputDeviceSettings) *Input { 18097 s.InputDevices = v 18098 return s 18099 } 18100 18101 // SetInputPartnerIds sets the InputPartnerIds field's value. 18102 func (s *Input) SetInputPartnerIds(v []*string) *Input { 18103 s.InputPartnerIds = v 18104 return s 18105 } 18106 18107 // SetInputSourceType sets the InputSourceType field's value. 18108 func (s *Input) SetInputSourceType(v string) *Input { 18109 s.InputSourceType = &v 18110 return s 18111 } 18112 18113 // SetMediaConnectFlows sets the MediaConnectFlows field's value. 18114 func (s *Input) SetMediaConnectFlows(v []*MediaConnectFlow) *Input { 18115 s.MediaConnectFlows = v 18116 return s 18117 } 18118 18119 // SetName sets the Name field's value. 18120 func (s *Input) SetName(v string) *Input { 18121 s.Name = &v 18122 return s 18123 } 18124 18125 // SetRoleArn sets the RoleArn field's value. 18126 func (s *Input) SetRoleArn(v string) *Input { 18127 s.RoleArn = &v 18128 return s 18129 } 18130 18131 // SetSecurityGroups sets the SecurityGroups field's value. 18132 func (s *Input) SetSecurityGroups(v []*string) *Input { 18133 s.SecurityGroups = v 18134 return s 18135 } 18136 18137 // SetSources sets the Sources field's value. 18138 func (s *Input) SetSources(v []*InputSource) *Input { 18139 s.Sources = v 18140 return s 18141 } 18142 18143 // SetState sets the State field's value. 18144 func (s *Input) SetState(v string) *Input { 18145 s.State = &v 18146 return s 18147 } 18148 18149 // SetTags sets the Tags field's value. 18150 func (s *Input) SetTags(v map[string]*string) *Input { 18151 s.Tags = v 18152 return s 18153 } 18154 18155 // SetType sets the Type field's value. 18156 func (s *Input) SetType(v string) *Input { 18157 s.Type = &v 18158 return s 18159 } 18160 18161 type InputAttachment struct { 18162 _ struct{} `type:"structure"` 18163 18164 // User-specified settings for defining what the conditions are for declaring 18165 // the input unhealthy and failing over to a different input. 18166 AutomaticInputFailoverSettings *AutomaticInputFailoverSettings `locationName:"automaticInputFailoverSettings" type:"structure"` 18167 18168 // User-specified name for the attachment. This is required if the user wants 18169 // to use this input in an input switch action. 18170 InputAttachmentName *string `locationName:"inputAttachmentName" type:"string"` 18171 18172 // The ID of the input 18173 InputId *string `locationName:"inputId" type:"string"` 18174 18175 // Settings of an input (caption selector, etc.) 18176 InputSettings *InputSettings `locationName:"inputSettings" type:"structure"` 18177 } 18178 18179 // String returns the string representation. 18180 // 18181 // API parameter values that are decorated as "sensitive" in the API will not 18182 // be included in the string output. The member name will be present, but the 18183 // value will be replaced with "sensitive". 18184 func (s InputAttachment) String() string { 18185 return awsutil.Prettify(s) 18186 } 18187 18188 // GoString returns the string representation. 18189 // 18190 // API parameter values that are decorated as "sensitive" in the API will not 18191 // be included in the string output. The member name will be present, but the 18192 // value will be replaced with "sensitive". 18193 func (s InputAttachment) GoString() string { 18194 return s.String() 18195 } 18196 18197 // Validate inspects the fields of the type to determine if they are valid. 18198 func (s *InputAttachment) Validate() error { 18199 invalidParams := request.ErrInvalidParams{Context: "InputAttachment"} 18200 if s.AutomaticInputFailoverSettings != nil { 18201 if err := s.AutomaticInputFailoverSettings.Validate(); err != nil { 18202 invalidParams.AddNested("AutomaticInputFailoverSettings", err.(request.ErrInvalidParams)) 18203 } 18204 } 18205 if s.InputSettings != nil { 18206 if err := s.InputSettings.Validate(); err != nil { 18207 invalidParams.AddNested("InputSettings", err.(request.ErrInvalidParams)) 18208 } 18209 } 18210 18211 if invalidParams.Len() > 0 { 18212 return invalidParams 18213 } 18214 return nil 18215 } 18216 18217 // SetAutomaticInputFailoverSettings sets the AutomaticInputFailoverSettings field's value. 18218 func (s *InputAttachment) SetAutomaticInputFailoverSettings(v *AutomaticInputFailoverSettings) *InputAttachment { 18219 s.AutomaticInputFailoverSettings = v 18220 return s 18221 } 18222 18223 // SetInputAttachmentName sets the InputAttachmentName field's value. 18224 func (s *InputAttachment) SetInputAttachmentName(v string) *InputAttachment { 18225 s.InputAttachmentName = &v 18226 return s 18227 } 18228 18229 // SetInputId sets the InputId field's value. 18230 func (s *InputAttachment) SetInputId(v string) *InputAttachment { 18231 s.InputId = &v 18232 return s 18233 } 18234 18235 // SetInputSettings sets the InputSettings field's value. 18236 func (s *InputAttachment) SetInputSettings(v *InputSettings) *InputAttachment { 18237 s.InputSettings = v 18238 return s 18239 } 18240 18241 // Input Channel Level 18242 type InputChannelLevel struct { 18243 _ struct{} `type:"structure"` 18244 18245 // Remixing value. Units are in dB and acceptable values are within the range 18246 // from -60 (mute) and 6 dB. 18247 // 18248 // Gain is a required field 18249 Gain *int64 `locationName:"gain" type:"integer" required:"true"` 18250 18251 // The index of the input channel used as a source. 18252 // 18253 // InputChannel is a required field 18254 InputChannel *int64 `locationName:"inputChannel" type:"integer" required:"true"` 18255 } 18256 18257 // String returns the string representation. 18258 // 18259 // API parameter values that are decorated as "sensitive" in the API will not 18260 // be included in the string output. The member name will be present, but the 18261 // value will be replaced with "sensitive". 18262 func (s InputChannelLevel) String() string { 18263 return awsutil.Prettify(s) 18264 } 18265 18266 // GoString returns the string representation. 18267 // 18268 // API parameter values that are decorated as "sensitive" in the API will not 18269 // be included in the string output. The member name will be present, but the 18270 // value will be replaced with "sensitive". 18271 func (s InputChannelLevel) GoString() string { 18272 return s.String() 18273 } 18274 18275 // Validate inspects the fields of the type to determine if they are valid. 18276 func (s *InputChannelLevel) Validate() error { 18277 invalidParams := request.ErrInvalidParams{Context: "InputChannelLevel"} 18278 if s.Gain == nil { 18279 invalidParams.Add(request.NewErrParamRequired("Gain")) 18280 } 18281 if s.Gain != nil && *s.Gain < -60 { 18282 invalidParams.Add(request.NewErrParamMinValue("Gain", -60)) 18283 } 18284 if s.InputChannel == nil { 18285 invalidParams.Add(request.NewErrParamRequired("InputChannel")) 18286 } 18287 18288 if invalidParams.Len() > 0 { 18289 return invalidParams 18290 } 18291 return nil 18292 } 18293 18294 // SetGain sets the Gain field's value. 18295 func (s *InputChannelLevel) SetGain(v int64) *InputChannelLevel { 18296 s.Gain = &v 18297 return s 18298 } 18299 18300 // SetInputChannel sets the InputChannel field's value. 18301 func (s *InputChannelLevel) SetInputChannel(v int64) *InputChannelLevel { 18302 s.InputChannel = &v 18303 return s 18304 } 18305 18306 // Settings to let you create a clip of the file input, in order to set up the 18307 // input to ingest only a portion of the file. 18308 type InputClippingSettings struct { 18309 _ struct{} `type:"structure"` 18310 18311 // The source of the timecodes in the source being clipped. 18312 // 18313 // InputTimecodeSource is a required field 18314 InputTimecodeSource *string `locationName:"inputTimecodeSource" type:"string" required:"true" enum:"InputTimecodeSource"` 18315 18316 // Settings to identify the start of the clip. 18317 StartTimecode *StartTimecode `locationName:"startTimecode" type:"structure"` 18318 18319 // Settings to identify the end of the clip. 18320 StopTimecode *StopTimecode `locationName:"stopTimecode" type:"structure"` 18321 } 18322 18323 // String returns the string representation. 18324 // 18325 // API parameter values that are decorated as "sensitive" in the API will not 18326 // be included in the string output. The member name will be present, but the 18327 // value will be replaced with "sensitive". 18328 func (s InputClippingSettings) String() string { 18329 return awsutil.Prettify(s) 18330 } 18331 18332 // GoString returns the string representation. 18333 // 18334 // API parameter values that are decorated as "sensitive" in the API will not 18335 // be included in the string output. The member name will be present, but the 18336 // value will be replaced with "sensitive". 18337 func (s InputClippingSettings) GoString() string { 18338 return s.String() 18339 } 18340 18341 // Validate inspects the fields of the type to determine if they are valid. 18342 func (s *InputClippingSettings) Validate() error { 18343 invalidParams := request.ErrInvalidParams{Context: "InputClippingSettings"} 18344 if s.InputTimecodeSource == nil { 18345 invalidParams.Add(request.NewErrParamRequired("InputTimecodeSource")) 18346 } 18347 18348 if invalidParams.Len() > 0 { 18349 return invalidParams 18350 } 18351 return nil 18352 } 18353 18354 // SetInputTimecodeSource sets the InputTimecodeSource field's value. 18355 func (s *InputClippingSettings) SetInputTimecodeSource(v string) *InputClippingSettings { 18356 s.InputTimecodeSource = &v 18357 return s 18358 } 18359 18360 // SetStartTimecode sets the StartTimecode field's value. 18361 func (s *InputClippingSettings) SetStartTimecode(v *StartTimecode) *InputClippingSettings { 18362 s.StartTimecode = v 18363 return s 18364 } 18365 18366 // SetStopTimecode sets the StopTimecode field's value. 18367 func (s *InputClippingSettings) SetStopTimecode(v *StopTimecode) *InputClippingSettings { 18368 s.StopTimecode = v 18369 return s 18370 } 18371 18372 // The settings for a PUSH type input. 18373 type InputDestination struct { 18374 _ struct{} `type:"structure"` 18375 18376 // The system-generated static IP address of endpoint.It remains fixed for the 18377 // lifetime of the input. 18378 Ip *string `locationName:"ip" type:"string"` 18379 18380 // The port number for the input. 18381 Port *string `locationName:"port" type:"string"` 18382 18383 // This represents the endpoint that the customer stream will bepushed to. 18384 Url *string `locationName:"url" type:"string"` 18385 18386 // The properties for a VPC type input destination. 18387 Vpc *InputDestinationVpc `locationName:"vpc" type:"structure"` 18388 } 18389 18390 // String returns the string representation. 18391 // 18392 // API parameter values that are decorated as "sensitive" in the API will not 18393 // be included in the string output. The member name will be present, but the 18394 // value will be replaced with "sensitive". 18395 func (s InputDestination) String() string { 18396 return awsutil.Prettify(s) 18397 } 18398 18399 // GoString returns the string representation. 18400 // 18401 // API parameter values that are decorated as "sensitive" in the API will not 18402 // be included in the string output. The member name will be present, but the 18403 // value will be replaced with "sensitive". 18404 func (s InputDestination) GoString() string { 18405 return s.String() 18406 } 18407 18408 // SetIp sets the Ip field's value. 18409 func (s *InputDestination) SetIp(v string) *InputDestination { 18410 s.Ip = &v 18411 return s 18412 } 18413 18414 // SetPort sets the Port field's value. 18415 func (s *InputDestination) SetPort(v string) *InputDestination { 18416 s.Port = &v 18417 return s 18418 } 18419 18420 // SetUrl sets the Url field's value. 18421 func (s *InputDestination) SetUrl(v string) *InputDestination { 18422 s.Url = &v 18423 return s 18424 } 18425 18426 // SetVpc sets the Vpc field's value. 18427 func (s *InputDestination) SetVpc(v *InputDestinationVpc) *InputDestination { 18428 s.Vpc = v 18429 return s 18430 } 18431 18432 // Endpoint settings for a PUSH type input. 18433 type InputDestinationRequest struct { 18434 _ struct{} `type:"structure"` 18435 18436 // A unique name for the location the RTMP stream is being pushedto. 18437 StreamName *string `locationName:"streamName" type:"string"` 18438 } 18439 18440 // String returns the string representation. 18441 // 18442 // API parameter values that are decorated as "sensitive" in the API will not 18443 // be included in the string output. The member name will be present, but the 18444 // value will be replaced with "sensitive". 18445 func (s InputDestinationRequest) String() string { 18446 return awsutil.Prettify(s) 18447 } 18448 18449 // GoString returns the string representation. 18450 // 18451 // API parameter values that are decorated as "sensitive" in the API will not 18452 // be included in the string output. The member name will be present, but the 18453 // value will be replaced with "sensitive". 18454 func (s InputDestinationRequest) GoString() string { 18455 return s.String() 18456 } 18457 18458 // SetStreamName sets the StreamName field's value. 18459 func (s *InputDestinationRequest) SetStreamName(v string) *InputDestinationRequest { 18460 s.StreamName = &v 18461 return s 18462 } 18463 18464 // The properties for a VPC type input destination. 18465 type InputDestinationVpc struct { 18466 _ struct{} `type:"structure"` 18467 18468 // The availability zone of the Input destination. 18469 AvailabilityZone *string `locationName:"availabilityZone" type:"string"` 18470 18471 // The network interface ID of the Input destination in the VPC. 18472 NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` 18473 } 18474 18475 // String returns the string representation. 18476 // 18477 // API parameter values that are decorated as "sensitive" in the API will not 18478 // be included in the string output. The member name will be present, but the 18479 // value will be replaced with "sensitive". 18480 func (s InputDestinationVpc) String() string { 18481 return awsutil.Prettify(s) 18482 } 18483 18484 // GoString returns the string representation. 18485 // 18486 // API parameter values that are decorated as "sensitive" in the API will not 18487 // be included in the string output. The member name will be present, but the 18488 // value will be replaced with "sensitive". 18489 func (s InputDestinationVpc) GoString() string { 18490 return s.String() 18491 } 18492 18493 // SetAvailabilityZone sets the AvailabilityZone field's value. 18494 func (s *InputDestinationVpc) SetAvailabilityZone(v string) *InputDestinationVpc { 18495 s.AvailabilityZone = &v 18496 return s 18497 } 18498 18499 // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. 18500 func (s *InputDestinationVpc) SetNetworkInterfaceId(v string) *InputDestinationVpc { 18501 s.NetworkInterfaceId = &v 18502 return s 18503 } 18504 18505 // Configurable settings for the input device. 18506 type InputDeviceConfigurableSettings struct { 18507 _ struct{} `type:"structure"` 18508 18509 // The input source that you want to use. If the device has a source connected 18510 // to only one of its input ports, or if you don't care which source the device 18511 // sends, specify Auto. If the device has sources connected to both its input 18512 // ports, and you want to use a specific source, specify the source. 18513 ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` 18514 18515 // The maximum bitrate in bits per second. Set a value here to throttle the 18516 // bitrate of the source video. 18517 MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` 18518 } 18519 18520 // String returns the string representation. 18521 // 18522 // API parameter values that are decorated as "sensitive" in the API will not 18523 // be included in the string output. The member name will be present, but the 18524 // value will be replaced with "sensitive". 18525 func (s InputDeviceConfigurableSettings) String() string { 18526 return awsutil.Prettify(s) 18527 } 18528 18529 // GoString returns the string representation. 18530 // 18531 // API parameter values that are decorated as "sensitive" in the API will not 18532 // be included in the string output. The member name will be present, but the 18533 // value will be replaced with "sensitive". 18534 func (s InputDeviceConfigurableSettings) GoString() string { 18535 return s.String() 18536 } 18537 18538 // SetConfiguredInput sets the ConfiguredInput field's value. 18539 func (s *InputDeviceConfigurableSettings) SetConfiguredInput(v string) *InputDeviceConfigurableSettings { 18540 s.ConfiguredInput = &v 18541 return s 18542 } 18543 18544 // SetMaxBitrate sets the MaxBitrate field's value. 18545 func (s *InputDeviceConfigurableSettings) SetMaxBitrate(v int64) *InputDeviceConfigurableSettings { 18546 s.MaxBitrate = &v 18547 return s 18548 } 18549 18550 // Settings that describe the active source from the input device, and the video 18551 // characteristics of that source. 18552 type InputDeviceHdSettings struct { 18553 _ struct{} `type:"structure"` 18554 18555 // If you specified Auto as the configured input, specifies which of the sources 18556 // is currently active (SDI or HDMI). 18557 ActiveInput *string `locationName:"activeInput" type:"string" enum:"InputDeviceActiveInput"` 18558 18559 // The source at the input device that is currently active. You can specify 18560 // this source. 18561 ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` 18562 18563 // The state of the input device. 18564 DeviceState *string `locationName:"deviceState" type:"string" enum:"InputDeviceState"` 18565 18566 // The frame rate of the video source. 18567 Framerate *float64 `locationName:"framerate" type:"double"` 18568 18569 // The height of the video source, in pixels. 18570 Height *int64 `locationName:"height" type:"integer"` 18571 18572 // The current maximum bitrate for ingesting this source, in bits per second. 18573 // You can specify this maximum. 18574 MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` 18575 18576 // The scan type of the video source. 18577 ScanType *string `locationName:"scanType" type:"string" enum:"InputDeviceScanType"` 18578 18579 // The width of the video source, in pixels. 18580 Width *int64 `locationName:"width" type:"integer"` 18581 } 18582 18583 // String returns the string representation. 18584 // 18585 // API parameter values that are decorated as "sensitive" in the API will not 18586 // be included in the string output. The member name will be present, but the 18587 // value will be replaced with "sensitive". 18588 func (s InputDeviceHdSettings) String() string { 18589 return awsutil.Prettify(s) 18590 } 18591 18592 // GoString returns the string representation. 18593 // 18594 // API parameter values that are decorated as "sensitive" in the API will not 18595 // be included in the string output. The member name will be present, but the 18596 // value will be replaced with "sensitive". 18597 func (s InputDeviceHdSettings) GoString() string { 18598 return s.String() 18599 } 18600 18601 // SetActiveInput sets the ActiveInput field's value. 18602 func (s *InputDeviceHdSettings) SetActiveInput(v string) *InputDeviceHdSettings { 18603 s.ActiveInput = &v 18604 return s 18605 } 18606 18607 // SetConfiguredInput sets the ConfiguredInput field's value. 18608 func (s *InputDeviceHdSettings) SetConfiguredInput(v string) *InputDeviceHdSettings { 18609 s.ConfiguredInput = &v 18610 return s 18611 } 18612 18613 // SetDeviceState sets the DeviceState field's value. 18614 func (s *InputDeviceHdSettings) SetDeviceState(v string) *InputDeviceHdSettings { 18615 s.DeviceState = &v 18616 return s 18617 } 18618 18619 // SetFramerate sets the Framerate field's value. 18620 func (s *InputDeviceHdSettings) SetFramerate(v float64) *InputDeviceHdSettings { 18621 s.Framerate = &v 18622 return s 18623 } 18624 18625 // SetHeight sets the Height field's value. 18626 func (s *InputDeviceHdSettings) SetHeight(v int64) *InputDeviceHdSettings { 18627 s.Height = &v 18628 return s 18629 } 18630 18631 // SetMaxBitrate sets the MaxBitrate field's value. 18632 func (s *InputDeviceHdSettings) SetMaxBitrate(v int64) *InputDeviceHdSettings { 18633 s.MaxBitrate = &v 18634 return s 18635 } 18636 18637 // SetScanType sets the ScanType field's value. 18638 func (s *InputDeviceHdSettings) SetScanType(v string) *InputDeviceHdSettings { 18639 s.ScanType = &v 18640 return s 18641 } 18642 18643 // SetWidth sets the Width field's value. 18644 func (s *InputDeviceHdSettings) SetWidth(v int64) *InputDeviceHdSettings { 18645 s.Width = &v 18646 return s 18647 } 18648 18649 // The network settings for the input device. 18650 type InputDeviceNetworkSettings struct { 18651 _ struct{} `type:"structure"` 18652 18653 // The DNS addresses of the input device. 18654 DnsAddresses []*string `locationName:"dnsAddresses" type:"list"` 18655 18656 // The network gateway IP address. 18657 Gateway *string `locationName:"gateway" type:"string"` 18658 18659 // The IP address of the input device. 18660 IpAddress *string `locationName:"ipAddress" type:"string"` 18661 18662 // Specifies whether the input device has been configured (outside of MediaLive) 18663 // to use a dynamic IP address assignment (DHCP) or a static IP address. 18664 IpScheme *string `locationName:"ipScheme" type:"string" enum:"InputDeviceIpScheme"` 18665 18666 // The subnet mask of the input device. 18667 SubnetMask *string `locationName:"subnetMask" type:"string"` 18668 } 18669 18670 // String returns the string representation. 18671 // 18672 // API parameter values that are decorated as "sensitive" in the API will not 18673 // be included in the string output. The member name will be present, but the 18674 // value will be replaced with "sensitive". 18675 func (s InputDeviceNetworkSettings) String() string { 18676 return awsutil.Prettify(s) 18677 } 18678 18679 // GoString returns the string representation. 18680 // 18681 // API parameter values that are decorated as "sensitive" in the API will not 18682 // be included in the string output. The member name will be present, but the 18683 // value will be replaced with "sensitive". 18684 func (s InputDeviceNetworkSettings) GoString() string { 18685 return s.String() 18686 } 18687 18688 // SetDnsAddresses sets the DnsAddresses field's value. 18689 func (s *InputDeviceNetworkSettings) SetDnsAddresses(v []*string) *InputDeviceNetworkSettings { 18690 s.DnsAddresses = v 18691 return s 18692 } 18693 18694 // SetGateway sets the Gateway field's value. 18695 func (s *InputDeviceNetworkSettings) SetGateway(v string) *InputDeviceNetworkSettings { 18696 s.Gateway = &v 18697 return s 18698 } 18699 18700 // SetIpAddress sets the IpAddress field's value. 18701 func (s *InputDeviceNetworkSettings) SetIpAddress(v string) *InputDeviceNetworkSettings { 18702 s.IpAddress = &v 18703 return s 18704 } 18705 18706 // SetIpScheme sets the IpScheme field's value. 18707 func (s *InputDeviceNetworkSettings) SetIpScheme(v string) *InputDeviceNetworkSettings { 18708 s.IpScheme = &v 18709 return s 18710 } 18711 18712 // SetSubnetMask sets the SubnetMask field's value. 18713 func (s *InputDeviceNetworkSettings) SetSubnetMask(v string) *InputDeviceNetworkSettings { 18714 s.SubnetMask = &v 18715 return s 18716 } 18717 18718 // Settings for an input device. 18719 type InputDeviceRequest struct { 18720 _ struct{} `type:"structure"` 18721 18722 // The unique ID for the device. 18723 Id *string `locationName:"id" type:"string"` 18724 } 18725 18726 // String returns the string representation. 18727 // 18728 // API parameter values that are decorated as "sensitive" in the API will not 18729 // be included in the string output. The member name will be present, but the 18730 // value will be replaced with "sensitive". 18731 func (s InputDeviceRequest) String() string { 18732 return awsutil.Prettify(s) 18733 } 18734 18735 // GoString returns the string representation. 18736 // 18737 // API parameter values that are decorated as "sensitive" in the API will not 18738 // be included in the string output. The member name will be present, but the 18739 // value will be replaced with "sensitive". 18740 func (s InputDeviceRequest) GoString() string { 18741 return s.String() 18742 } 18743 18744 // SetId sets the Id field's value. 18745 func (s *InputDeviceRequest) SetId(v string) *InputDeviceRequest { 18746 s.Id = &v 18747 return s 18748 } 18749 18750 // Settings for an input device. 18751 type InputDeviceSettings struct { 18752 _ struct{} `type:"structure"` 18753 18754 // The unique ID for the device. 18755 Id *string `locationName:"id" type:"string"` 18756 } 18757 18758 // String returns the string representation. 18759 // 18760 // API parameter values that are decorated as "sensitive" in the API will not 18761 // be included in the string output. The member name will be present, but the 18762 // value will be replaced with "sensitive". 18763 func (s InputDeviceSettings) String() string { 18764 return awsutil.Prettify(s) 18765 } 18766 18767 // GoString returns the string representation. 18768 // 18769 // API parameter values that are decorated as "sensitive" in the API will not 18770 // be included in the string output. The member name will be present, but the 18771 // value will be replaced with "sensitive". 18772 func (s InputDeviceSettings) GoString() string { 18773 return s.String() 18774 } 18775 18776 // SetId sets the Id field's value. 18777 func (s *InputDeviceSettings) SetId(v string) *InputDeviceSettings { 18778 s.Id = &v 18779 return s 18780 } 18781 18782 // Details of the input device. 18783 type InputDeviceSummary struct { 18784 _ struct{} `type:"structure"` 18785 18786 // The unique ARN of the input device. 18787 Arn *string `locationName:"arn" type:"string"` 18788 18789 // The state of the connection between the input device and AWS. 18790 ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` 18791 18792 // The status of the action to synchronize the device configuration. If you 18793 // change the configuration of the input device (for example, the maximum bitrate), 18794 // MediaLive sends the new data to the device. The device might not update itself 18795 // immediately. SYNCED means the device has updated its configuration. SYNCING 18796 // means that it has not updated its configuration. 18797 DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` 18798 18799 // The status of software on the input device. 18800 DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` 18801 18802 // Settings that describe an input device that is type HD. 18803 HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` 18804 18805 // The unique ID of the input device. 18806 Id *string `locationName:"id" type:"string"` 18807 18808 // The network MAC address of the input device. 18809 MacAddress *string `locationName:"macAddress" type:"string"` 18810 18811 // A name that you specify for the input device. 18812 Name *string `locationName:"name" type:"string"` 18813 18814 // Network settings for the input device. 18815 NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` 18816 18817 // The unique serial number of the input device. 18818 SerialNumber *string `locationName:"serialNumber" type:"string"` 18819 18820 // The type of the input device. 18821 Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` 18822 18823 // Settings that describe an input device that is type UHD. 18824 UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` 18825 } 18826 18827 // String returns the string representation. 18828 // 18829 // API parameter values that are decorated as "sensitive" in the API will not 18830 // be included in the string output. The member name will be present, but the 18831 // value will be replaced with "sensitive". 18832 func (s InputDeviceSummary) String() string { 18833 return awsutil.Prettify(s) 18834 } 18835 18836 // GoString returns the string representation. 18837 // 18838 // API parameter values that are decorated as "sensitive" in the API will not 18839 // be included in the string output. The member name will be present, but the 18840 // value will be replaced with "sensitive". 18841 func (s InputDeviceSummary) GoString() string { 18842 return s.String() 18843 } 18844 18845 // SetArn sets the Arn field's value. 18846 func (s *InputDeviceSummary) SetArn(v string) *InputDeviceSummary { 18847 s.Arn = &v 18848 return s 18849 } 18850 18851 // SetConnectionState sets the ConnectionState field's value. 18852 func (s *InputDeviceSummary) SetConnectionState(v string) *InputDeviceSummary { 18853 s.ConnectionState = &v 18854 return s 18855 } 18856 18857 // SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. 18858 func (s *InputDeviceSummary) SetDeviceSettingsSyncState(v string) *InputDeviceSummary { 18859 s.DeviceSettingsSyncState = &v 18860 return s 18861 } 18862 18863 // SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. 18864 func (s *InputDeviceSummary) SetDeviceUpdateStatus(v string) *InputDeviceSummary { 18865 s.DeviceUpdateStatus = &v 18866 return s 18867 } 18868 18869 // SetHdDeviceSettings sets the HdDeviceSettings field's value. 18870 func (s *InputDeviceSummary) SetHdDeviceSettings(v *InputDeviceHdSettings) *InputDeviceSummary { 18871 s.HdDeviceSettings = v 18872 return s 18873 } 18874 18875 // SetId sets the Id field's value. 18876 func (s *InputDeviceSummary) SetId(v string) *InputDeviceSummary { 18877 s.Id = &v 18878 return s 18879 } 18880 18881 // SetMacAddress sets the MacAddress field's value. 18882 func (s *InputDeviceSummary) SetMacAddress(v string) *InputDeviceSummary { 18883 s.MacAddress = &v 18884 return s 18885 } 18886 18887 // SetName sets the Name field's value. 18888 func (s *InputDeviceSummary) SetName(v string) *InputDeviceSummary { 18889 s.Name = &v 18890 return s 18891 } 18892 18893 // SetNetworkSettings sets the NetworkSettings field's value. 18894 func (s *InputDeviceSummary) SetNetworkSettings(v *InputDeviceNetworkSettings) *InputDeviceSummary { 18895 s.NetworkSettings = v 18896 return s 18897 } 18898 18899 // SetSerialNumber sets the SerialNumber field's value. 18900 func (s *InputDeviceSummary) SetSerialNumber(v string) *InputDeviceSummary { 18901 s.SerialNumber = &v 18902 return s 18903 } 18904 18905 // SetType sets the Type field's value. 18906 func (s *InputDeviceSummary) SetType(v string) *InputDeviceSummary { 18907 s.Type = &v 18908 return s 18909 } 18910 18911 // SetUhdDeviceSettings sets the UhdDeviceSettings field's value. 18912 func (s *InputDeviceSummary) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *InputDeviceSummary { 18913 s.UhdDeviceSettings = v 18914 return s 18915 } 18916 18917 // Settings that describe the active source from the input device, and the video 18918 // characteristics of that source. 18919 type InputDeviceUhdSettings struct { 18920 _ struct{} `type:"structure"` 18921 18922 // If you specified Auto as the configured input, specifies which of the sources 18923 // is currently active (SDI or HDMI). 18924 ActiveInput *string `locationName:"activeInput" type:"string" enum:"InputDeviceActiveInput"` 18925 18926 // The source at the input device that is currently active. You can specify 18927 // this source. 18928 ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` 18929 18930 // The state of the input device. 18931 DeviceState *string `locationName:"deviceState" type:"string" enum:"InputDeviceState"` 18932 18933 // The frame rate of the video source. 18934 Framerate *float64 `locationName:"framerate" type:"double"` 18935 18936 // The height of the video source, in pixels. 18937 Height *int64 `locationName:"height" type:"integer"` 18938 18939 // The current maximum bitrate for ingesting this source, in bits per second. 18940 // You can specify this maximum. 18941 MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` 18942 18943 // The scan type of the video source. 18944 ScanType *string `locationName:"scanType" type:"string" enum:"InputDeviceScanType"` 18945 18946 // The width of the video source, in pixels. 18947 Width *int64 `locationName:"width" type:"integer"` 18948 } 18949 18950 // String returns the string representation. 18951 // 18952 // API parameter values that are decorated as "sensitive" in the API will not 18953 // be included in the string output. The member name will be present, but the 18954 // value will be replaced with "sensitive". 18955 func (s InputDeviceUhdSettings) String() string { 18956 return awsutil.Prettify(s) 18957 } 18958 18959 // GoString returns the string representation. 18960 // 18961 // API parameter values that are decorated as "sensitive" in the API will not 18962 // be included in the string output. The member name will be present, but the 18963 // value will be replaced with "sensitive". 18964 func (s InputDeviceUhdSettings) GoString() string { 18965 return s.String() 18966 } 18967 18968 // SetActiveInput sets the ActiveInput field's value. 18969 func (s *InputDeviceUhdSettings) SetActiveInput(v string) *InputDeviceUhdSettings { 18970 s.ActiveInput = &v 18971 return s 18972 } 18973 18974 // SetConfiguredInput sets the ConfiguredInput field's value. 18975 func (s *InputDeviceUhdSettings) SetConfiguredInput(v string) *InputDeviceUhdSettings { 18976 s.ConfiguredInput = &v 18977 return s 18978 } 18979 18980 // SetDeviceState sets the DeviceState field's value. 18981 func (s *InputDeviceUhdSettings) SetDeviceState(v string) *InputDeviceUhdSettings { 18982 s.DeviceState = &v 18983 return s 18984 } 18985 18986 // SetFramerate sets the Framerate field's value. 18987 func (s *InputDeviceUhdSettings) SetFramerate(v float64) *InputDeviceUhdSettings { 18988 s.Framerate = &v 18989 return s 18990 } 18991 18992 // SetHeight sets the Height field's value. 18993 func (s *InputDeviceUhdSettings) SetHeight(v int64) *InputDeviceUhdSettings { 18994 s.Height = &v 18995 return s 18996 } 18997 18998 // SetMaxBitrate sets the MaxBitrate field's value. 18999 func (s *InputDeviceUhdSettings) SetMaxBitrate(v int64) *InputDeviceUhdSettings { 19000 s.MaxBitrate = &v 19001 return s 19002 } 19003 19004 // SetScanType sets the ScanType field's value. 19005 func (s *InputDeviceUhdSettings) SetScanType(v string) *InputDeviceUhdSettings { 19006 s.ScanType = &v 19007 return s 19008 } 19009 19010 // SetWidth sets the Width field's value. 19011 func (s *InputDeviceUhdSettings) SetWidth(v int64) *InputDeviceUhdSettings { 19012 s.Width = &v 19013 return s 19014 } 19015 19016 // Input Location 19017 type InputLocation struct { 19018 _ struct{} `type:"structure"` 19019 19020 // key used to extract the password from EC2 Parameter store 19021 PasswordParam *string `locationName:"passwordParam" type:"string"` 19022 19023 // Uniform Resource Identifier - This should be a path to a file accessible 19024 // to the Live system (eg. a http:// URI) depending on the output type. For 19025 // example, a RTMP destination should have a uri simliar to: "rtmp://fmsserver/live". 19026 // 19027 // Uri is a required field 19028 Uri *string `locationName:"uri" type:"string" required:"true"` 19029 19030 // Username if credentials are required to access a file or publishing point. 19031 // This can be either a plaintext username, or a reference to an AWS parameter 19032 // store name from which the username can be retrieved. AWS Parameter store 19033 // format: "ssm://" 19034 Username *string `locationName:"username" type:"string"` 19035 } 19036 19037 // String returns the string representation. 19038 // 19039 // API parameter values that are decorated as "sensitive" in the API will not 19040 // be included in the string output. The member name will be present, but the 19041 // value will be replaced with "sensitive". 19042 func (s InputLocation) String() string { 19043 return awsutil.Prettify(s) 19044 } 19045 19046 // GoString returns the string representation. 19047 // 19048 // API parameter values that are decorated as "sensitive" in the API will not 19049 // be included in the string output. The member name will be present, but the 19050 // value will be replaced with "sensitive". 19051 func (s InputLocation) GoString() string { 19052 return s.String() 19053 } 19054 19055 // Validate inspects the fields of the type to determine if they are valid. 19056 func (s *InputLocation) Validate() error { 19057 invalidParams := request.ErrInvalidParams{Context: "InputLocation"} 19058 if s.Uri == nil { 19059 invalidParams.Add(request.NewErrParamRequired("Uri")) 19060 } 19061 19062 if invalidParams.Len() > 0 { 19063 return invalidParams 19064 } 19065 return nil 19066 } 19067 19068 // SetPasswordParam sets the PasswordParam field's value. 19069 func (s *InputLocation) SetPasswordParam(v string) *InputLocation { 19070 s.PasswordParam = &v 19071 return s 19072 } 19073 19074 // SetUri sets the Uri field's value. 19075 func (s *InputLocation) SetUri(v string) *InputLocation { 19076 s.Uri = &v 19077 return s 19078 } 19079 19080 // SetUsername sets the Username field's value. 19081 func (s *InputLocation) SetUsername(v string) *InputLocation { 19082 s.Username = &v 19083 return s 19084 } 19085 19086 // Input Loss Behavior 19087 type InputLossBehavior struct { 19088 _ struct{} `type:"structure"` 19089 19090 // On input loss, the number of milliseconds to substitute black into the output 19091 // before switching to the frame specified by inputLossImageType. A value x, 19092 // where 0 <= x <= 1,000,000 and a value of 1,000,000 will be interpreted as 19093 // infinite. 19094 BlackFrameMsec *int64 `locationName:"blackFrameMsec" type:"integer"` 19095 19096 // When input loss image type is "color" this field specifies the color to use. 19097 // Value: 6 hex characters representing the values of RGB. 19098 InputLossImageColor *string `locationName:"inputLossImageColor" min:"6" type:"string"` 19099 19100 // When input loss image type is "slate" these fields specify the parameters 19101 // for accessing the slate. 19102 InputLossImageSlate *InputLocation `locationName:"inputLossImageSlate" type:"structure"` 19103 19104 // Indicates whether to substitute a solid color or a slate into the output 19105 // after input loss exceeds blackFrameMsec. 19106 InputLossImageType *string `locationName:"inputLossImageType" type:"string" enum:"InputLossImageType"` 19107 19108 // On input loss, the number of milliseconds to repeat the previous picture 19109 // before substituting black into the output. A value x, where 0 <= x <= 1,000,000 19110 // and a value of 1,000,000 will be interpreted as infinite. 19111 RepeatFrameMsec *int64 `locationName:"repeatFrameMsec" type:"integer"` 19112 } 19113 19114 // String returns the string representation. 19115 // 19116 // API parameter values that are decorated as "sensitive" in the API will not 19117 // be included in the string output. The member name will be present, but the 19118 // value will be replaced with "sensitive". 19119 func (s InputLossBehavior) String() string { 19120 return awsutil.Prettify(s) 19121 } 19122 19123 // GoString returns the string representation. 19124 // 19125 // API parameter values that are decorated as "sensitive" in the API will not 19126 // be included in the string output. The member name will be present, but the 19127 // value will be replaced with "sensitive". 19128 func (s InputLossBehavior) GoString() string { 19129 return s.String() 19130 } 19131 19132 // Validate inspects the fields of the type to determine if they are valid. 19133 func (s *InputLossBehavior) Validate() error { 19134 invalidParams := request.ErrInvalidParams{Context: "InputLossBehavior"} 19135 if s.InputLossImageColor != nil && len(*s.InputLossImageColor) < 6 { 19136 invalidParams.Add(request.NewErrParamMinLen("InputLossImageColor", 6)) 19137 } 19138 if s.InputLossImageSlate != nil { 19139 if err := s.InputLossImageSlate.Validate(); err != nil { 19140 invalidParams.AddNested("InputLossImageSlate", err.(request.ErrInvalidParams)) 19141 } 19142 } 19143 19144 if invalidParams.Len() > 0 { 19145 return invalidParams 19146 } 19147 return nil 19148 } 19149 19150 // SetBlackFrameMsec sets the BlackFrameMsec field's value. 19151 func (s *InputLossBehavior) SetBlackFrameMsec(v int64) *InputLossBehavior { 19152 s.BlackFrameMsec = &v 19153 return s 19154 } 19155 19156 // SetInputLossImageColor sets the InputLossImageColor field's value. 19157 func (s *InputLossBehavior) SetInputLossImageColor(v string) *InputLossBehavior { 19158 s.InputLossImageColor = &v 19159 return s 19160 } 19161 19162 // SetInputLossImageSlate sets the InputLossImageSlate field's value. 19163 func (s *InputLossBehavior) SetInputLossImageSlate(v *InputLocation) *InputLossBehavior { 19164 s.InputLossImageSlate = v 19165 return s 19166 } 19167 19168 // SetInputLossImageType sets the InputLossImageType field's value. 19169 func (s *InputLossBehavior) SetInputLossImageType(v string) *InputLossBehavior { 19170 s.InputLossImageType = &v 19171 return s 19172 } 19173 19174 // SetRepeatFrameMsec sets the RepeatFrameMsec field's value. 19175 func (s *InputLossBehavior) SetRepeatFrameMsec(v int64) *InputLossBehavior { 19176 s.RepeatFrameMsec = &v 19177 return s 19178 } 19179 19180 // MediaLive will perform a failover if content is not detected in this input 19181 // for the specified period. 19182 type InputLossFailoverSettings struct { 19183 _ struct{} `type:"structure"` 19184 19185 // The amount of time (in milliseconds) that no input is detected. After that 19186 // time, an input failover will occur. 19187 InputLossThresholdMsec *int64 `locationName:"inputLossThresholdMsec" min:"100" type:"integer"` 19188 } 19189 19190 // String returns the string representation. 19191 // 19192 // API parameter values that are decorated as "sensitive" in the API will not 19193 // be included in the string output. The member name will be present, but the 19194 // value will be replaced with "sensitive". 19195 func (s InputLossFailoverSettings) String() string { 19196 return awsutil.Prettify(s) 19197 } 19198 19199 // GoString returns the string representation. 19200 // 19201 // API parameter values that are decorated as "sensitive" in the API will not 19202 // be included in the string output. The member name will be present, but the 19203 // value will be replaced with "sensitive". 19204 func (s InputLossFailoverSettings) GoString() string { 19205 return s.String() 19206 } 19207 19208 // Validate inspects the fields of the type to determine if they are valid. 19209 func (s *InputLossFailoverSettings) Validate() error { 19210 invalidParams := request.ErrInvalidParams{Context: "InputLossFailoverSettings"} 19211 if s.InputLossThresholdMsec != nil && *s.InputLossThresholdMsec < 100 { 19212 invalidParams.Add(request.NewErrParamMinValue("InputLossThresholdMsec", 100)) 19213 } 19214 19215 if invalidParams.Len() > 0 { 19216 return invalidParams 19217 } 19218 return nil 19219 } 19220 19221 // SetInputLossThresholdMsec sets the InputLossThresholdMsec field's value. 19222 func (s *InputLossFailoverSettings) SetInputLossThresholdMsec(v int64) *InputLossFailoverSettings { 19223 s.InputLossThresholdMsec = &v 19224 return s 19225 } 19226 19227 // Action to prepare an input for a future immediate input switch. 19228 type InputPrepareScheduleActionSettings struct { 19229 _ struct{} `type:"structure"` 19230 19231 // The name of the input attachment that should be prepared by this action. 19232 // If no name is provided, the action will stop the most recent prepare (if 19233 // any) when activated. 19234 InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string"` 19235 19236 // Settings to let you create a clip of the file input, in order to set up the 19237 // input to ingest only a portion of the file. 19238 InputClippingSettings *InputClippingSettings `locationName:"inputClippingSettings" type:"structure"` 19239 19240 // The value for the variable portion of the URL for the dynamic input, for 19241 // this instance of the input. Each time you use the same dynamic input in an 19242 // input switch action, you can provide a different value, in order to connect 19243 // the input to a different content source. 19244 UrlPath []*string `locationName:"urlPath" type:"list"` 19245 } 19246 19247 // String returns the string representation. 19248 // 19249 // API parameter values that are decorated as "sensitive" in the API will not 19250 // be included in the string output. The member name will be present, but the 19251 // value will be replaced with "sensitive". 19252 func (s InputPrepareScheduleActionSettings) String() string { 19253 return awsutil.Prettify(s) 19254 } 19255 19256 // GoString returns the string representation. 19257 // 19258 // API parameter values that are decorated as "sensitive" in the API will not 19259 // be included in the string output. The member name will be present, but the 19260 // value will be replaced with "sensitive". 19261 func (s InputPrepareScheduleActionSettings) GoString() string { 19262 return s.String() 19263 } 19264 19265 // Validate inspects the fields of the type to determine if they are valid. 19266 func (s *InputPrepareScheduleActionSettings) Validate() error { 19267 invalidParams := request.ErrInvalidParams{Context: "InputPrepareScheduleActionSettings"} 19268 if s.InputClippingSettings != nil { 19269 if err := s.InputClippingSettings.Validate(); err != nil { 19270 invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) 19271 } 19272 } 19273 19274 if invalidParams.Len() > 0 { 19275 return invalidParams 19276 } 19277 return nil 19278 } 19279 19280 // SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. 19281 func (s *InputPrepareScheduleActionSettings) SetInputAttachmentNameReference(v string) *InputPrepareScheduleActionSettings { 19282 s.InputAttachmentNameReference = &v 19283 return s 19284 } 19285 19286 // SetInputClippingSettings sets the InputClippingSettings field's value. 19287 func (s *InputPrepareScheduleActionSettings) SetInputClippingSettings(v *InputClippingSettings) *InputPrepareScheduleActionSettings { 19288 s.InputClippingSettings = v 19289 return s 19290 } 19291 19292 // SetUrlPath sets the UrlPath field's value. 19293 func (s *InputPrepareScheduleActionSettings) SetUrlPath(v []*string) *InputPrepareScheduleActionSettings { 19294 s.UrlPath = v 19295 return s 19296 } 19297 19298 // An Input Security Group 19299 type InputSecurityGroup struct { 19300 _ struct{} `type:"structure"` 19301 19302 // Unique ARN of Input Security Group 19303 Arn *string `locationName:"arn" type:"string"` 19304 19305 // The Id of the Input Security Group 19306 Id *string `locationName:"id" type:"string"` 19307 19308 // The list of inputs currently using this Input Security Group. 19309 Inputs []*string `locationName:"inputs" type:"list"` 19310 19311 // The current state of the Input Security Group. 19312 State *string `locationName:"state" type:"string" enum:"InputSecurityGroupState"` 19313 19314 // A collection of key-value pairs. 19315 Tags map[string]*string `locationName:"tags" type:"map"` 19316 19317 // Whitelist rules and their sync status 19318 WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` 19319 } 19320 19321 // String returns the string representation. 19322 // 19323 // API parameter values that are decorated as "sensitive" in the API will not 19324 // be included in the string output. The member name will be present, but the 19325 // value will be replaced with "sensitive". 19326 func (s InputSecurityGroup) String() string { 19327 return awsutil.Prettify(s) 19328 } 19329 19330 // GoString returns the string representation. 19331 // 19332 // API parameter values that are decorated as "sensitive" in the API will not 19333 // be included in the string output. The member name will be present, but the 19334 // value will be replaced with "sensitive". 19335 func (s InputSecurityGroup) GoString() string { 19336 return s.String() 19337 } 19338 19339 // SetArn sets the Arn field's value. 19340 func (s *InputSecurityGroup) SetArn(v string) *InputSecurityGroup { 19341 s.Arn = &v 19342 return s 19343 } 19344 19345 // SetId sets the Id field's value. 19346 func (s *InputSecurityGroup) SetId(v string) *InputSecurityGroup { 19347 s.Id = &v 19348 return s 19349 } 19350 19351 // SetInputs sets the Inputs field's value. 19352 func (s *InputSecurityGroup) SetInputs(v []*string) *InputSecurityGroup { 19353 s.Inputs = v 19354 return s 19355 } 19356 19357 // SetState sets the State field's value. 19358 func (s *InputSecurityGroup) SetState(v string) *InputSecurityGroup { 19359 s.State = &v 19360 return s 19361 } 19362 19363 // SetTags sets the Tags field's value. 19364 func (s *InputSecurityGroup) SetTags(v map[string]*string) *InputSecurityGroup { 19365 s.Tags = v 19366 return s 19367 } 19368 19369 // SetWhitelistRules sets the WhitelistRules field's value. 19370 func (s *InputSecurityGroup) SetWhitelistRules(v []*InputWhitelistRule) *InputSecurityGroup { 19371 s.WhitelistRules = v 19372 return s 19373 } 19374 19375 // Live Event input parameters. There can be multiple inputs in a single Live 19376 // Event. 19377 type InputSettings struct { 19378 _ struct{} `type:"structure"` 19379 19380 // Used to select the audio stream to decode for inputs that have multiple available. 19381 AudioSelectors []*AudioSelector `locationName:"audioSelectors" type:"list"` 19382 19383 // Used to select the caption input to use for inputs that have multiple available. 19384 CaptionSelectors []*CaptionSelector `locationName:"captionSelectors" type:"list"` 19385 19386 // Enable or disable the deblock filter when filtering. 19387 DeblockFilter *string `locationName:"deblockFilter" type:"string" enum:"InputDeblockFilter"` 19388 19389 // Enable or disable the denoise filter when filtering. 19390 DenoiseFilter *string `locationName:"denoiseFilter" type:"string" enum:"InputDenoiseFilter"` 19391 19392 // Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest). 19393 FilterStrength *int64 `locationName:"filterStrength" min:"1" type:"integer"` 19394 19395 // Turns on the filter for this input. MPEG-2 inputs have the deblocking filter 19396 // enabled by default.1) auto - filtering will be applied depending on input 19397 // type/quality2) disabled - no filtering will be applied to the input3) forced 19398 // - filtering will be applied regardless of input type 19399 InputFilter *string `locationName:"inputFilter" type:"string" enum:"InputFilter"` 19400 19401 // Input settings. 19402 NetworkInputSettings *NetworkInputSettings `locationName:"networkInputSettings" type:"structure"` 19403 19404 // Specifies whether to extract applicable ancillary data from a SMPTE-2038 19405 // source in this input. Applicable data types are captions, timecode, AFD, 19406 // and SCTE-104 messages.- PREFER: Extract from SMPTE-2038 if present in this 19407 // input, otherwise extract from another source (if any).- IGNORE: Never extract 19408 // any ancillary data from SMPTE-2038. 19409 Smpte2038DataPreference *string `locationName:"smpte2038DataPreference" type:"string" enum:"Smpte2038DataPreference"` 19410 19411 // Loop input if it is a file. This allows a file input to be streamed indefinitely. 19412 SourceEndBehavior *string `locationName:"sourceEndBehavior" type:"string" enum:"InputSourceEndBehavior"` 19413 19414 // Informs which video elementary stream to decode for input types that have 19415 // multiple available. 19416 VideoSelector *VideoSelector `locationName:"videoSelector" type:"structure"` 19417 } 19418 19419 // String returns the string representation. 19420 // 19421 // API parameter values that are decorated as "sensitive" in the API will not 19422 // be included in the string output. The member name will be present, but the 19423 // value will be replaced with "sensitive". 19424 func (s InputSettings) String() string { 19425 return awsutil.Prettify(s) 19426 } 19427 19428 // GoString returns the string representation. 19429 // 19430 // API parameter values that are decorated as "sensitive" in the API will not 19431 // be included in the string output. The member name will be present, but the 19432 // value will be replaced with "sensitive". 19433 func (s InputSettings) GoString() string { 19434 return s.String() 19435 } 19436 19437 // Validate inspects the fields of the type to determine if they are valid. 19438 func (s *InputSettings) Validate() error { 19439 invalidParams := request.ErrInvalidParams{Context: "InputSettings"} 19440 if s.FilterStrength != nil && *s.FilterStrength < 1 { 19441 invalidParams.Add(request.NewErrParamMinValue("FilterStrength", 1)) 19442 } 19443 if s.AudioSelectors != nil { 19444 for i, v := range s.AudioSelectors { 19445 if v == nil { 19446 continue 19447 } 19448 if err := v.Validate(); err != nil { 19449 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AudioSelectors", i), err.(request.ErrInvalidParams)) 19450 } 19451 } 19452 } 19453 if s.CaptionSelectors != nil { 19454 for i, v := range s.CaptionSelectors { 19455 if v == nil { 19456 continue 19457 } 19458 if err := v.Validate(); err != nil { 19459 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionSelectors", i), err.(request.ErrInvalidParams)) 19460 } 19461 } 19462 } 19463 19464 if invalidParams.Len() > 0 { 19465 return invalidParams 19466 } 19467 return nil 19468 } 19469 19470 // SetAudioSelectors sets the AudioSelectors field's value. 19471 func (s *InputSettings) SetAudioSelectors(v []*AudioSelector) *InputSettings { 19472 s.AudioSelectors = v 19473 return s 19474 } 19475 19476 // SetCaptionSelectors sets the CaptionSelectors field's value. 19477 func (s *InputSettings) SetCaptionSelectors(v []*CaptionSelector) *InputSettings { 19478 s.CaptionSelectors = v 19479 return s 19480 } 19481 19482 // SetDeblockFilter sets the DeblockFilter field's value. 19483 func (s *InputSettings) SetDeblockFilter(v string) *InputSettings { 19484 s.DeblockFilter = &v 19485 return s 19486 } 19487 19488 // SetDenoiseFilter sets the DenoiseFilter field's value. 19489 func (s *InputSettings) SetDenoiseFilter(v string) *InputSettings { 19490 s.DenoiseFilter = &v 19491 return s 19492 } 19493 19494 // SetFilterStrength sets the FilterStrength field's value. 19495 func (s *InputSettings) SetFilterStrength(v int64) *InputSettings { 19496 s.FilterStrength = &v 19497 return s 19498 } 19499 19500 // SetInputFilter sets the InputFilter field's value. 19501 func (s *InputSettings) SetInputFilter(v string) *InputSettings { 19502 s.InputFilter = &v 19503 return s 19504 } 19505 19506 // SetNetworkInputSettings sets the NetworkInputSettings field's value. 19507 func (s *InputSettings) SetNetworkInputSettings(v *NetworkInputSettings) *InputSettings { 19508 s.NetworkInputSettings = v 19509 return s 19510 } 19511 19512 // SetSmpte2038DataPreference sets the Smpte2038DataPreference field's value. 19513 func (s *InputSettings) SetSmpte2038DataPreference(v string) *InputSettings { 19514 s.Smpte2038DataPreference = &v 19515 return s 19516 } 19517 19518 // SetSourceEndBehavior sets the SourceEndBehavior field's value. 19519 func (s *InputSettings) SetSourceEndBehavior(v string) *InputSettings { 19520 s.SourceEndBehavior = &v 19521 return s 19522 } 19523 19524 // SetVideoSelector sets the VideoSelector field's value. 19525 func (s *InputSettings) SetVideoSelector(v *VideoSelector) *InputSettings { 19526 s.VideoSelector = v 19527 return s 19528 } 19529 19530 // The settings for a PULL type input. 19531 type InputSource struct { 19532 _ struct{} `type:"structure"` 19533 19534 // The key used to extract the password from EC2 Parameter store. 19535 PasswordParam *string `locationName:"passwordParam" type:"string"` 19536 19537 // This represents the customer's source URL where stream ispulled from. 19538 Url *string `locationName:"url" type:"string"` 19539 19540 // The username for the input source. 19541 Username *string `locationName:"username" type:"string"` 19542 } 19543 19544 // String returns the string representation. 19545 // 19546 // API parameter values that are decorated as "sensitive" in the API will not 19547 // be included in the string output. The member name will be present, but the 19548 // value will be replaced with "sensitive". 19549 func (s InputSource) String() string { 19550 return awsutil.Prettify(s) 19551 } 19552 19553 // GoString returns the string representation. 19554 // 19555 // API parameter values that are decorated as "sensitive" in the API will not 19556 // be included in the string output. The member name will be present, but the 19557 // value will be replaced with "sensitive". 19558 func (s InputSource) GoString() string { 19559 return s.String() 19560 } 19561 19562 // SetPasswordParam sets the PasswordParam field's value. 19563 func (s *InputSource) SetPasswordParam(v string) *InputSource { 19564 s.PasswordParam = &v 19565 return s 19566 } 19567 19568 // SetUrl sets the Url field's value. 19569 func (s *InputSource) SetUrl(v string) *InputSource { 19570 s.Url = &v 19571 return s 19572 } 19573 19574 // SetUsername sets the Username field's value. 19575 func (s *InputSource) SetUsername(v string) *InputSource { 19576 s.Username = &v 19577 return s 19578 } 19579 19580 // Settings for for a PULL type input. 19581 type InputSourceRequest struct { 19582 _ struct{} `type:"structure"` 19583 19584 // The key used to extract the password from EC2 Parameter store. 19585 PasswordParam *string `locationName:"passwordParam" type:"string"` 19586 19587 // This represents the customer's source URL where stream ispulled from. 19588 Url *string `locationName:"url" type:"string"` 19589 19590 // The username for the input source. 19591 Username *string `locationName:"username" type:"string"` 19592 } 19593 19594 // String returns the string representation. 19595 // 19596 // API parameter values that are decorated as "sensitive" in the API will not 19597 // be included in the string output. The member name will be present, but the 19598 // value will be replaced with "sensitive". 19599 func (s InputSourceRequest) String() string { 19600 return awsutil.Prettify(s) 19601 } 19602 19603 // GoString returns the string representation. 19604 // 19605 // API parameter values that are decorated as "sensitive" in the API will not 19606 // be included in the string output. The member name will be present, but the 19607 // value will be replaced with "sensitive". 19608 func (s InputSourceRequest) GoString() string { 19609 return s.String() 19610 } 19611 19612 // SetPasswordParam sets the PasswordParam field's value. 19613 func (s *InputSourceRequest) SetPasswordParam(v string) *InputSourceRequest { 19614 s.PasswordParam = &v 19615 return s 19616 } 19617 19618 // SetUrl sets the Url field's value. 19619 func (s *InputSourceRequest) SetUrl(v string) *InputSourceRequest { 19620 s.Url = &v 19621 return s 19622 } 19623 19624 // SetUsername sets the Username field's value. 19625 func (s *InputSourceRequest) SetUsername(v string) *InputSourceRequest { 19626 s.Username = &v 19627 return s 19628 } 19629 19630 type InputSpecification struct { 19631 _ struct{} `type:"structure"` 19632 19633 // Input codec 19634 Codec *string `locationName:"codec" type:"string" enum:"InputCodec"` 19635 19636 // Maximum input bitrate, categorized coarsely 19637 MaximumBitrate *string `locationName:"maximumBitrate" type:"string" enum:"InputMaximumBitrate"` 19638 19639 // Input resolution, categorized coarsely 19640 Resolution *string `locationName:"resolution" type:"string" enum:"InputResolution"` 19641 } 19642 19643 // String returns the string representation. 19644 // 19645 // API parameter values that are decorated as "sensitive" in the API will not 19646 // be included in the string output. The member name will be present, but the 19647 // value will be replaced with "sensitive". 19648 func (s InputSpecification) String() string { 19649 return awsutil.Prettify(s) 19650 } 19651 19652 // GoString returns the string representation. 19653 // 19654 // API parameter values that are decorated as "sensitive" in the API will not 19655 // be included in the string output. The member name will be present, but the 19656 // value will be replaced with "sensitive". 19657 func (s InputSpecification) GoString() string { 19658 return s.String() 19659 } 19660 19661 // SetCodec sets the Codec field's value. 19662 func (s *InputSpecification) SetCodec(v string) *InputSpecification { 19663 s.Codec = &v 19664 return s 19665 } 19666 19667 // SetMaximumBitrate sets the MaximumBitrate field's value. 19668 func (s *InputSpecification) SetMaximumBitrate(v string) *InputSpecification { 19669 s.MaximumBitrate = &v 19670 return s 19671 } 19672 19673 // SetResolution sets the Resolution field's value. 19674 func (s *InputSpecification) SetResolution(v string) *InputSpecification { 19675 s.Resolution = &v 19676 return s 19677 } 19678 19679 // Settings for the "switch input" action: to switch from ingesting one input 19680 // to ingesting another input. 19681 type InputSwitchScheduleActionSettings struct { 19682 _ struct{} `type:"structure"` 19683 19684 // The name of the input attachment (not the name of the input!) to switch to. 19685 // The name is specified in the channel configuration. 19686 // 19687 // InputAttachmentNameReference is a required field 19688 InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string" required:"true"` 19689 19690 // Settings to let you create a clip of the file input, in order to set up the 19691 // input to ingest only a portion of the file. 19692 InputClippingSettings *InputClippingSettings `locationName:"inputClippingSettings" type:"structure"` 19693 19694 // The value for the variable portion of the URL for the dynamic input, for 19695 // this instance of the input. Each time you use the same dynamic input in an 19696 // input switch action, you can provide a different value, in order to connect 19697 // the input to a different content source. 19698 UrlPath []*string `locationName:"urlPath" type:"list"` 19699 } 19700 19701 // String returns the string representation. 19702 // 19703 // API parameter values that are decorated as "sensitive" in the API will not 19704 // be included in the string output. The member name will be present, but the 19705 // value will be replaced with "sensitive". 19706 func (s InputSwitchScheduleActionSettings) String() string { 19707 return awsutil.Prettify(s) 19708 } 19709 19710 // GoString returns the string representation. 19711 // 19712 // API parameter values that are decorated as "sensitive" in the API will not 19713 // be included in the string output. The member name will be present, but the 19714 // value will be replaced with "sensitive". 19715 func (s InputSwitchScheduleActionSettings) GoString() string { 19716 return s.String() 19717 } 19718 19719 // Validate inspects the fields of the type to determine if they are valid. 19720 func (s *InputSwitchScheduleActionSettings) Validate() error { 19721 invalidParams := request.ErrInvalidParams{Context: "InputSwitchScheduleActionSettings"} 19722 if s.InputAttachmentNameReference == nil { 19723 invalidParams.Add(request.NewErrParamRequired("InputAttachmentNameReference")) 19724 } 19725 if s.InputClippingSettings != nil { 19726 if err := s.InputClippingSettings.Validate(); err != nil { 19727 invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) 19728 } 19729 } 19730 19731 if invalidParams.Len() > 0 { 19732 return invalidParams 19733 } 19734 return nil 19735 } 19736 19737 // SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. 19738 func (s *InputSwitchScheduleActionSettings) SetInputAttachmentNameReference(v string) *InputSwitchScheduleActionSettings { 19739 s.InputAttachmentNameReference = &v 19740 return s 19741 } 19742 19743 // SetInputClippingSettings sets the InputClippingSettings field's value. 19744 func (s *InputSwitchScheduleActionSettings) SetInputClippingSettings(v *InputClippingSettings) *InputSwitchScheduleActionSettings { 19745 s.InputClippingSettings = v 19746 return s 19747 } 19748 19749 // SetUrlPath sets the UrlPath field's value. 19750 func (s *InputSwitchScheduleActionSettings) SetUrlPath(v []*string) *InputSwitchScheduleActionSettings { 19751 s.UrlPath = v 19752 return s 19753 } 19754 19755 // Settings for a private VPC Input.When this property is specified, the input 19756 // destination addresses will be created in a VPC rather than with public Internet 19757 // addresses.This property requires setting the roleArn property on Input creation.Not 19758 // compatible with the inputSecurityGroups property. 19759 type InputVpcRequest struct { 19760 _ struct{} `type:"structure"` 19761 19762 // A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network 19763 // interfaces.Requires subnetIds. If none are specified then the VPC default 19764 // security group will be used. 19765 SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` 19766 19767 // A list of 2 VPC subnet IDs from the same VPC.Subnet IDs must be mapped to 19768 // two unique availability zones (AZ). 19769 // 19770 // SubnetIds is a required field 19771 SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` 19772 } 19773 19774 // String returns the string representation. 19775 // 19776 // API parameter values that are decorated as "sensitive" in the API will not 19777 // be included in the string output. The member name will be present, but the 19778 // value will be replaced with "sensitive". 19779 func (s InputVpcRequest) String() string { 19780 return awsutil.Prettify(s) 19781 } 19782 19783 // GoString returns the string representation. 19784 // 19785 // API parameter values that are decorated as "sensitive" in the API will not 19786 // be included in the string output. The member name will be present, but the 19787 // value will be replaced with "sensitive". 19788 func (s InputVpcRequest) GoString() string { 19789 return s.String() 19790 } 19791 19792 // Validate inspects the fields of the type to determine if they are valid. 19793 func (s *InputVpcRequest) Validate() error { 19794 invalidParams := request.ErrInvalidParams{Context: "InputVpcRequest"} 19795 if s.SubnetIds == nil { 19796 invalidParams.Add(request.NewErrParamRequired("SubnetIds")) 19797 } 19798 19799 if invalidParams.Len() > 0 { 19800 return invalidParams 19801 } 19802 return nil 19803 } 19804 19805 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 19806 func (s *InputVpcRequest) SetSecurityGroupIds(v []*string) *InputVpcRequest { 19807 s.SecurityGroupIds = v 19808 return s 19809 } 19810 19811 // SetSubnetIds sets the SubnetIds field's value. 19812 func (s *InputVpcRequest) SetSubnetIds(v []*string) *InputVpcRequest { 19813 s.SubnetIds = v 19814 return s 19815 } 19816 19817 // Whitelist rule 19818 type InputWhitelistRule struct { 19819 _ struct{} `type:"structure"` 19820 19821 // The IPv4 CIDR that's whitelisted. 19822 Cidr *string `locationName:"cidr" type:"string"` 19823 } 19824 19825 // String returns the string representation. 19826 // 19827 // API parameter values that are decorated as "sensitive" in the API will not 19828 // be included in the string output. The member name will be present, but the 19829 // value will be replaced with "sensitive". 19830 func (s InputWhitelistRule) String() string { 19831 return awsutil.Prettify(s) 19832 } 19833 19834 // GoString returns the string representation. 19835 // 19836 // API parameter values that are decorated as "sensitive" in the API will not 19837 // be included in the string output. The member name will be present, but the 19838 // value will be replaced with "sensitive". 19839 func (s InputWhitelistRule) GoString() string { 19840 return s.String() 19841 } 19842 19843 // SetCidr sets the Cidr field's value. 19844 func (s *InputWhitelistRule) SetCidr(v string) *InputWhitelistRule { 19845 s.Cidr = &v 19846 return s 19847 } 19848 19849 // An IPv4 CIDR to whitelist. 19850 type InputWhitelistRuleCidr struct { 19851 _ struct{} `type:"structure"` 19852 19853 // The IPv4 CIDR to whitelist. 19854 Cidr *string `locationName:"cidr" type:"string"` 19855 } 19856 19857 // String returns the string representation. 19858 // 19859 // API parameter values that are decorated as "sensitive" in the API will not 19860 // be included in the string output. The member name will be present, but the 19861 // value will be replaced with "sensitive". 19862 func (s InputWhitelistRuleCidr) String() string { 19863 return awsutil.Prettify(s) 19864 } 19865 19866 // GoString returns the string representation. 19867 // 19868 // API parameter values that are decorated as "sensitive" in the API will not 19869 // be included in the string output. The member name will be present, but the 19870 // value will be replaced with "sensitive". 19871 func (s InputWhitelistRuleCidr) GoString() string { 19872 return s.String() 19873 } 19874 19875 // SetCidr sets the Cidr field's value. 19876 func (s *InputWhitelistRuleCidr) SetCidr(v string) *InputWhitelistRuleCidr { 19877 s.Cidr = &v 19878 return s 19879 } 19880 19881 type InternalServerErrorException struct { 19882 _ struct{} `type:"structure"` 19883 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 19884 19885 Message_ *string `locationName:"message" type:"string"` 19886 } 19887 19888 // String returns the string representation. 19889 // 19890 // API parameter values that are decorated as "sensitive" in the API will not 19891 // be included in the string output. The member name will be present, but the 19892 // value will be replaced with "sensitive". 19893 func (s InternalServerErrorException) String() string { 19894 return awsutil.Prettify(s) 19895 } 19896 19897 // GoString returns the string representation. 19898 // 19899 // API parameter values that are decorated as "sensitive" in the API will not 19900 // be included in the string output. The member name will be present, but the 19901 // value will be replaced with "sensitive". 19902 func (s InternalServerErrorException) GoString() string { 19903 return s.String() 19904 } 19905 19906 func newErrorInternalServerErrorException(v protocol.ResponseMetadata) error { 19907 return &InternalServerErrorException{ 19908 RespMetadata: v, 19909 } 19910 } 19911 19912 // Code returns the exception type name. 19913 func (s *InternalServerErrorException) Code() string { 19914 return "InternalServerErrorException" 19915 } 19916 19917 // Message returns the exception's message. 19918 func (s *InternalServerErrorException) Message() string { 19919 if s.Message_ != nil { 19920 return *s.Message_ 19921 } 19922 return "" 19923 } 19924 19925 // OrigErr always returns nil, satisfies awserr.Error interface. 19926 func (s *InternalServerErrorException) OrigErr() error { 19927 return nil 19928 } 19929 19930 func (s *InternalServerErrorException) Error() string { 19931 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 19932 } 19933 19934 // Status code returns the HTTP status code for the request's response error. 19935 func (s *InternalServerErrorException) StatusCode() int { 19936 return s.RespMetadata.StatusCode 19937 } 19938 19939 // RequestID returns the service's response RequestID for request. 19940 func (s *InternalServerErrorException) RequestID() string { 19941 return s.RespMetadata.RequestID 19942 } 19943 19944 // Key Provider Settings 19945 type KeyProviderSettings struct { 19946 _ struct{} `type:"structure"` 19947 19948 // Static Key Settings 19949 StaticKeySettings *StaticKeySettings `locationName:"staticKeySettings" type:"structure"` 19950 } 19951 19952 // String returns the string representation. 19953 // 19954 // API parameter values that are decorated as "sensitive" in the API will not 19955 // be included in the string output. The member name will be present, but the 19956 // value will be replaced with "sensitive". 19957 func (s KeyProviderSettings) String() string { 19958 return awsutil.Prettify(s) 19959 } 19960 19961 // GoString returns the string representation. 19962 // 19963 // API parameter values that are decorated as "sensitive" in the API will not 19964 // be included in the string output. The member name will be present, but the 19965 // value will be replaced with "sensitive". 19966 func (s KeyProviderSettings) GoString() string { 19967 return s.String() 19968 } 19969 19970 // Validate inspects the fields of the type to determine if they are valid. 19971 func (s *KeyProviderSettings) Validate() error { 19972 invalidParams := request.ErrInvalidParams{Context: "KeyProviderSettings"} 19973 if s.StaticKeySettings != nil { 19974 if err := s.StaticKeySettings.Validate(); err != nil { 19975 invalidParams.AddNested("StaticKeySettings", err.(request.ErrInvalidParams)) 19976 } 19977 } 19978 19979 if invalidParams.Len() > 0 { 19980 return invalidParams 19981 } 19982 return nil 19983 } 19984 19985 // SetStaticKeySettings sets the StaticKeySettings field's value. 19986 func (s *KeyProviderSettings) SetStaticKeySettings(v *StaticKeySettings) *KeyProviderSettings { 19987 s.StaticKeySettings = v 19988 return s 19989 } 19990 19991 type ListChannelsInput struct { 19992 _ struct{} `type:"structure" nopayload:"true"` 19993 19994 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 19995 19996 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 19997 } 19998 19999 // String returns the string representation. 20000 // 20001 // API parameter values that are decorated as "sensitive" in the API will not 20002 // be included in the string output. The member name will be present, but the 20003 // value will be replaced with "sensitive". 20004 func (s ListChannelsInput) String() string { 20005 return awsutil.Prettify(s) 20006 } 20007 20008 // GoString returns the string representation. 20009 // 20010 // API parameter values that are decorated as "sensitive" in the API will not 20011 // be included in the string output. The member name will be present, but the 20012 // value will be replaced with "sensitive". 20013 func (s ListChannelsInput) GoString() string { 20014 return s.String() 20015 } 20016 20017 // Validate inspects the fields of the type to determine if they are valid. 20018 func (s *ListChannelsInput) Validate() error { 20019 invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"} 20020 if s.MaxResults != nil && *s.MaxResults < 1 { 20021 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20022 } 20023 20024 if invalidParams.Len() > 0 { 20025 return invalidParams 20026 } 20027 return nil 20028 } 20029 20030 // SetMaxResults sets the MaxResults field's value. 20031 func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { 20032 s.MaxResults = &v 20033 return s 20034 } 20035 20036 // SetNextToken sets the NextToken field's value. 20037 func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { 20038 s.NextToken = &v 20039 return s 20040 } 20041 20042 type ListChannelsOutput struct { 20043 _ struct{} `type:"structure"` 20044 20045 Channels []*ChannelSummary `locationName:"channels" type:"list"` 20046 20047 NextToken *string `locationName:"nextToken" type:"string"` 20048 } 20049 20050 // String returns the string representation. 20051 // 20052 // API parameter values that are decorated as "sensitive" in the API will not 20053 // be included in the string output. The member name will be present, but the 20054 // value will be replaced with "sensitive". 20055 func (s ListChannelsOutput) String() string { 20056 return awsutil.Prettify(s) 20057 } 20058 20059 // GoString returns the string representation. 20060 // 20061 // API parameter values that are decorated as "sensitive" in the API will not 20062 // be included in the string output. The member name will be present, but the 20063 // value will be replaced with "sensitive". 20064 func (s ListChannelsOutput) GoString() string { 20065 return s.String() 20066 } 20067 20068 // SetChannels sets the Channels field's value. 20069 func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput { 20070 s.Channels = v 20071 return s 20072 } 20073 20074 // SetNextToken sets the NextToken field's value. 20075 func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { 20076 s.NextToken = &v 20077 return s 20078 } 20079 20080 type ListInputDeviceTransfersInput struct { 20081 _ struct{} `type:"structure" nopayload:"true"` 20082 20083 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20084 20085 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20086 20087 // TransferType is a required field 20088 TransferType *string `location:"querystring" locationName:"transferType" type:"string" required:"true"` 20089 } 20090 20091 // String returns the string representation. 20092 // 20093 // API parameter values that are decorated as "sensitive" in the API will not 20094 // be included in the string output. The member name will be present, but the 20095 // value will be replaced with "sensitive". 20096 func (s ListInputDeviceTransfersInput) String() string { 20097 return awsutil.Prettify(s) 20098 } 20099 20100 // GoString returns the string representation. 20101 // 20102 // API parameter values that are decorated as "sensitive" in the API will not 20103 // be included in the string output. The member name will be present, but the 20104 // value will be replaced with "sensitive". 20105 func (s ListInputDeviceTransfersInput) GoString() string { 20106 return s.String() 20107 } 20108 20109 // Validate inspects the fields of the type to determine if they are valid. 20110 func (s *ListInputDeviceTransfersInput) Validate() error { 20111 invalidParams := request.ErrInvalidParams{Context: "ListInputDeviceTransfersInput"} 20112 if s.MaxResults != nil && *s.MaxResults < 1 { 20113 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20114 } 20115 if s.TransferType == nil { 20116 invalidParams.Add(request.NewErrParamRequired("TransferType")) 20117 } 20118 20119 if invalidParams.Len() > 0 { 20120 return invalidParams 20121 } 20122 return nil 20123 } 20124 20125 // SetMaxResults sets the MaxResults field's value. 20126 func (s *ListInputDeviceTransfersInput) SetMaxResults(v int64) *ListInputDeviceTransfersInput { 20127 s.MaxResults = &v 20128 return s 20129 } 20130 20131 // SetNextToken sets the NextToken field's value. 20132 func (s *ListInputDeviceTransfersInput) SetNextToken(v string) *ListInputDeviceTransfersInput { 20133 s.NextToken = &v 20134 return s 20135 } 20136 20137 // SetTransferType sets the TransferType field's value. 20138 func (s *ListInputDeviceTransfersInput) SetTransferType(v string) *ListInputDeviceTransfersInput { 20139 s.TransferType = &v 20140 return s 20141 } 20142 20143 type ListInputDeviceTransfersOutput struct { 20144 _ struct{} `type:"structure"` 20145 20146 InputDeviceTransfers []*TransferringInputDeviceSummary `locationName:"inputDeviceTransfers" type:"list"` 20147 20148 NextToken *string `locationName:"nextToken" type:"string"` 20149 } 20150 20151 // String returns the string representation. 20152 // 20153 // API parameter values that are decorated as "sensitive" in the API will not 20154 // be included in the string output. The member name will be present, but the 20155 // value will be replaced with "sensitive". 20156 func (s ListInputDeviceTransfersOutput) String() string { 20157 return awsutil.Prettify(s) 20158 } 20159 20160 // GoString returns the string representation. 20161 // 20162 // API parameter values that are decorated as "sensitive" in the API will not 20163 // be included in the string output. The member name will be present, but the 20164 // value will be replaced with "sensitive". 20165 func (s ListInputDeviceTransfersOutput) GoString() string { 20166 return s.String() 20167 } 20168 20169 // SetInputDeviceTransfers sets the InputDeviceTransfers field's value. 20170 func (s *ListInputDeviceTransfersOutput) SetInputDeviceTransfers(v []*TransferringInputDeviceSummary) *ListInputDeviceTransfersOutput { 20171 s.InputDeviceTransfers = v 20172 return s 20173 } 20174 20175 // SetNextToken sets the NextToken field's value. 20176 func (s *ListInputDeviceTransfersOutput) SetNextToken(v string) *ListInputDeviceTransfersOutput { 20177 s.NextToken = &v 20178 return s 20179 } 20180 20181 type ListInputDevicesInput struct { 20182 _ struct{} `type:"structure" nopayload:"true"` 20183 20184 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20185 20186 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20187 } 20188 20189 // String returns the string representation. 20190 // 20191 // API parameter values that are decorated as "sensitive" in the API will not 20192 // be included in the string output. The member name will be present, but the 20193 // value will be replaced with "sensitive". 20194 func (s ListInputDevicesInput) String() string { 20195 return awsutil.Prettify(s) 20196 } 20197 20198 // GoString returns the string representation. 20199 // 20200 // API parameter values that are decorated as "sensitive" in the API will not 20201 // be included in the string output. The member name will be present, but the 20202 // value will be replaced with "sensitive". 20203 func (s ListInputDevicesInput) GoString() string { 20204 return s.String() 20205 } 20206 20207 // Validate inspects the fields of the type to determine if they are valid. 20208 func (s *ListInputDevicesInput) Validate() error { 20209 invalidParams := request.ErrInvalidParams{Context: "ListInputDevicesInput"} 20210 if s.MaxResults != nil && *s.MaxResults < 1 { 20211 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20212 } 20213 20214 if invalidParams.Len() > 0 { 20215 return invalidParams 20216 } 20217 return nil 20218 } 20219 20220 // SetMaxResults sets the MaxResults field's value. 20221 func (s *ListInputDevicesInput) SetMaxResults(v int64) *ListInputDevicesInput { 20222 s.MaxResults = &v 20223 return s 20224 } 20225 20226 // SetNextToken sets the NextToken field's value. 20227 func (s *ListInputDevicesInput) SetNextToken(v string) *ListInputDevicesInput { 20228 s.NextToken = &v 20229 return s 20230 } 20231 20232 type ListInputDevicesOutput struct { 20233 _ struct{} `type:"structure"` 20234 20235 InputDevices []*InputDeviceSummary `locationName:"inputDevices" type:"list"` 20236 20237 NextToken *string `locationName:"nextToken" type:"string"` 20238 } 20239 20240 // String returns the string representation. 20241 // 20242 // API parameter values that are decorated as "sensitive" in the API will not 20243 // be included in the string output. The member name will be present, but the 20244 // value will be replaced with "sensitive". 20245 func (s ListInputDevicesOutput) String() string { 20246 return awsutil.Prettify(s) 20247 } 20248 20249 // GoString returns the string representation. 20250 // 20251 // API parameter values that are decorated as "sensitive" in the API will not 20252 // be included in the string output. The member name will be present, but the 20253 // value will be replaced with "sensitive". 20254 func (s ListInputDevicesOutput) GoString() string { 20255 return s.String() 20256 } 20257 20258 // SetInputDevices sets the InputDevices field's value. 20259 func (s *ListInputDevicesOutput) SetInputDevices(v []*InputDeviceSummary) *ListInputDevicesOutput { 20260 s.InputDevices = v 20261 return s 20262 } 20263 20264 // SetNextToken sets the NextToken field's value. 20265 func (s *ListInputDevicesOutput) SetNextToken(v string) *ListInputDevicesOutput { 20266 s.NextToken = &v 20267 return s 20268 } 20269 20270 type ListInputSecurityGroupsInput struct { 20271 _ struct{} `type:"structure" nopayload:"true"` 20272 20273 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20274 20275 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20276 } 20277 20278 // String returns the string representation. 20279 // 20280 // API parameter values that are decorated as "sensitive" in the API will not 20281 // be included in the string output. The member name will be present, but the 20282 // value will be replaced with "sensitive". 20283 func (s ListInputSecurityGroupsInput) String() string { 20284 return awsutil.Prettify(s) 20285 } 20286 20287 // GoString returns the string representation. 20288 // 20289 // API parameter values that are decorated as "sensitive" in the API will not 20290 // be included in the string output. The member name will be present, but the 20291 // value will be replaced with "sensitive". 20292 func (s ListInputSecurityGroupsInput) GoString() string { 20293 return s.String() 20294 } 20295 20296 // Validate inspects the fields of the type to determine if they are valid. 20297 func (s *ListInputSecurityGroupsInput) Validate() error { 20298 invalidParams := request.ErrInvalidParams{Context: "ListInputSecurityGroupsInput"} 20299 if s.MaxResults != nil && *s.MaxResults < 1 { 20300 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20301 } 20302 20303 if invalidParams.Len() > 0 { 20304 return invalidParams 20305 } 20306 return nil 20307 } 20308 20309 // SetMaxResults sets the MaxResults field's value. 20310 func (s *ListInputSecurityGroupsInput) SetMaxResults(v int64) *ListInputSecurityGroupsInput { 20311 s.MaxResults = &v 20312 return s 20313 } 20314 20315 // SetNextToken sets the NextToken field's value. 20316 func (s *ListInputSecurityGroupsInput) SetNextToken(v string) *ListInputSecurityGroupsInput { 20317 s.NextToken = &v 20318 return s 20319 } 20320 20321 type ListInputSecurityGroupsOutput struct { 20322 _ struct{} `type:"structure"` 20323 20324 InputSecurityGroups []*InputSecurityGroup `locationName:"inputSecurityGroups" type:"list"` 20325 20326 NextToken *string `locationName:"nextToken" type:"string"` 20327 } 20328 20329 // String returns the string representation. 20330 // 20331 // API parameter values that are decorated as "sensitive" in the API will not 20332 // be included in the string output. The member name will be present, but the 20333 // value will be replaced with "sensitive". 20334 func (s ListInputSecurityGroupsOutput) String() string { 20335 return awsutil.Prettify(s) 20336 } 20337 20338 // GoString returns the string representation. 20339 // 20340 // API parameter values that are decorated as "sensitive" in the API will not 20341 // be included in the string output. The member name will be present, but the 20342 // value will be replaced with "sensitive". 20343 func (s ListInputSecurityGroupsOutput) GoString() string { 20344 return s.String() 20345 } 20346 20347 // SetInputSecurityGroups sets the InputSecurityGroups field's value. 20348 func (s *ListInputSecurityGroupsOutput) SetInputSecurityGroups(v []*InputSecurityGroup) *ListInputSecurityGroupsOutput { 20349 s.InputSecurityGroups = v 20350 return s 20351 } 20352 20353 // SetNextToken sets the NextToken field's value. 20354 func (s *ListInputSecurityGroupsOutput) SetNextToken(v string) *ListInputSecurityGroupsOutput { 20355 s.NextToken = &v 20356 return s 20357 } 20358 20359 type ListInputsInput struct { 20360 _ struct{} `type:"structure" nopayload:"true"` 20361 20362 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20363 20364 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20365 } 20366 20367 // String returns the string representation. 20368 // 20369 // API parameter values that are decorated as "sensitive" in the API will not 20370 // be included in the string output. The member name will be present, but the 20371 // value will be replaced with "sensitive". 20372 func (s ListInputsInput) String() string { 20373 return awsutil.Prettify(s) 20374 } 20375 20376 // GoString returns the string representation. 20377 // 20378 // API parameter values that are decorated as "sensitive" in the API will not 20379 // be included in the string output. The member name will be present, but the 20380 // value will be replaced with "sensitive". 20381 func (s ListInputsInput) GoString() string { 20382 return s.String() 20383 } 20384 20385 // Validate inspects the fields of the type to determine if they are valid. 20386 func (s *ListInputsInput) Validate() error { 20387 invalidParams := request.ErrInvalidParams{Context: "ListInputsInput"} 20388 if s.MaxResults != nil && *s.MaxResults < 1 { 20389 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20390 } 20391 20392 if invalidParams.Len() > 0 { 20393 return invalidParams 20394 } 20395 return nil 20396 } 20397 20398 // SetMaxResults sets the MaxResults field's value. 20399 func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput { 20400 s.MaxResults = &v 20401 return s 20402 } 20403 20404 // SetNextToken sets the NextToken field's value. 20405 func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput { 20406 s.NextToken = &v 20407 return s 20408 } 20409 20410 type ListInputsOutput struct { 20411 _ struct{} `type:"structure"` 20412 20413 Inputs []*Input `locationName:"inputs" type:"list"` 20414 20415 NextToken *string `locationName:"nextToken" type:"string"` 20416 } 20417 20418 // String returns the string representation. 20419 // 20420 // API parameter values that are decorated as "sensitive" in the API will not 20421 // be included in the string output. The member name will be present, but the 20422 // value will be replaced with "sensitive". 20423 func (s ListInputsOutput) String() string { 20424 return awsutil.Prettify(s) 20425 } 20426 20427 // GoString returns the string representation. 20428 // 20429 // API parameter values that are decorated as "sensitive" in the API will not 20430 // be included in the string output. The member name will be present, but the 20431 // value will be replaced with "sensitive". 20432 func (s ListInputsOutput) GoString() string { 20433 return s.String() 20434 } 20435 20436 // SetInputs sets the Inputs field's value. 20437 func (s *ListInputsOutput) SetInputs(v []*Input) *ListInputsOutput { 20438 s.Inputs = v 20439 return s 20440 } 20441 20442 // SetNextToken sets the NextToken field's value. 20443 func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput { 20444 s.NextToken = &v 20445 return s 20446 } 20447 20448 type ListMultiplexProgramsInput struct { 20449 _ struct{} `type:"structure" nopayload:"true"` 20450 20451 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20452 20453 // MultiplexId is a required field 20454 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 20455 20456 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20457 } 20458 20459 // String returns the string representation. 20460 // 20461 // API parameter values that are decorated as "sensitive" in the API will not 20462 // be included in the string output. The member name will be present, but the 20463 // value will be replaced with "sensitive". 20464 func (s ListMultiplexProgramsInput) String() string { 20465 return awsutil.Prettify(s) 20466 } 20467 20468 // GoString returns the string representation. 20469 // 20470 // API parameter values that are decorated as "sensitive" in the API will not 20471 // be included in the string output. The member name will be present, but the 20472 // value will be replaced with "sensitive". 20473 func (s ListMultiplexProgramsInput) GoString() string { 20474 return s.String() 20475 } 20476 20477 // Validate inspects the fields of the type to determine if they are valid. 20478 func (s *ListMultiplexProgramsInput) Validate() error { 20479 invalidParams := request.ErrInvalidParams{Context: "ListMultiplexProgramsInput"} 20480 if s.MaxResults != nil && *s.MaxResults < 1 { 20481 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20482 } 20483 if s.MultiplexId == nil { 20484 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 20485 } 20486 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 20487 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 20488 } 20489 20490 if invalidParams.Len() > 0 { 20491 return invalidParams 20492 } 20493 return nil 20494 } 20495 20496 // SetMaxResults sets the MaxResults field's value. 20497 func (s *ListMultiplexProgramsInput) SetMaxResults(v int64) *ListMultiplexProgramsInput { 20498 s.MaxResults = &v 20499 return s 20500 } 20501 20502 // SetMultiplexId sets the MultiplexId field's value. 20503 func (s *ListMultiplexProgramsInput) SetMultiplexId(v string) *ListMultiplexProgramsInput { 20504 s.MultiplexId = &v 20505 return s 20506 } 20507 20508 // SetNextToken sets the NextToken field's value. 20509 func (s *ListMultiplexProgramsInput) SetNextToken(v string) *ListMultiplexProgramsInput { 20510 s.NextToken = &v 20511 return s 20512 } 20513 20514 type ListMultiplexProgramsOutput struct { 20515 _ struct{} `type:"structure"` 20516 20517 MultiplexPrograms []*MultiplexProgramSummary `locationName:"multiplexPrograms" type:"list"` 20518 20519 NextToken *string `locationName:"nextToken" type:"string"` 20520 } 20521 20522 // String returns the string representation. 20523 // 20524 // API parameter values that are decorated as "sensitive" in the API will not 20525 // be included in the string output. The member name will be present, but the 20526 // value will be replaced with "sensitive". 20527 func (s ListMultiplexProgramsOutput) String() string { 20528 return awsutil.Prettify(s) 20529 } 20530 20531 // GoString returns the string representation. 20532 // 20533 // API parameter values that are decorated as "sensitive" in the API will not 20534 // be included in the string output. The member name will be present, but the 20535 // value will be replaced with "sensitive". 20536 func (s ListMultiplexProgramsOutput) GoString() string { 20537 return s.String() 20538 } 20539 20540 // SetMultiplexPrograms sets the MultiplexPrograms field's value. 20541 func (s *ListMultiplexProgramsOutput) SetMultiplexPrograms(v []*MultiplexProgramSummary) *ListMultiplexProgramsOutput { 20542 s.MultiplexPrograms = v 20543 return s 20544 } 20545 20546 // SetNextToken sets the NextToken field's value. 20547 func (s *ListMultiplexProgramsOutput) SetNextToken(v string) *ListMultiplexProgramsOutput { 20548 s.NextToken = &v 20549 return s 20550 } 20551 20552 type ListMultiplexesInput struct { 20553 _ struct{} `type:"structure" nopayload:"true"` 20554 20555 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20556 20557 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20558 } 20559 20560 // String returns the string representation. 20561 // 20562 // API parameter values that are decorated as "sensitive" in the API will not 20563 // be included in the string output. The member name will be present, but the 20564 // value will be replaced with "sensitive". 20565 func (s ListMultiplexesInput) String() string { 20566 return awsutil.Prettify(s) 20567 } 20568 20569 // GoString returns the string representation. 20570 // 20571 // API parameter values that are decorated as "sensitive" in the API will not 20572 // be included in the string output. The member name will be present, but the 20573 // value will be replaced with "sensitive". 20574 func (s ListMultiplexesInput) GoString() string { 20575 return s.String() 20576 } 20577 20578 // Validate inspects the fields of the type to determine if they are valid. 20579 func (s *ListMultiplexesInput) Validate() error { 20580 invalidParams := request.ErrInvalidParams{Context: "ListMultiplexesInput"} 20581 if s.MaxResults != nil && *s.MaxResults < 1 { 20582 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20583 } 20584 20585 if invalidParams.Len() > 0 { 20586 return invalidParams 20587 } 20588 return nil 20589 } 20590 20591 // SetMaxResults sets the MaxResults field's value. 20592 func (s *ListMultiplexesInput) SetMaxResults(v int64) *ListMultiplexesInput { 20593 s.MaxResults = &v 20594 return s 20595 } 20596 20597 // SetNextToken sets the NextToken field's value. 20598 func (s *ListMultiplexesInput) SetNextToken(v string) *ListMultiplexesInput { 20599 s.NextToken = &v 20600 return s 20601 } 20602 20603 type ListMultiplexesOutput struct { 20604 _ struct{} `type:"structure"` 20605 20606 Multiplexes []*MultiplexSummary `locationName:"multiplexes" type:"list"` 20607 20608 NextToken *string `locationName:"nextToken" type:"string"` 20609 } 20610 20611 // String returns the string representation. 20612 // 20613 // API parameter values that are decorated as "sensitive" in the API will not 20614 // be included in the string output. The member name will be present, but the 20615 // value will be replaced with "sensitive". 20616 func (s ListMultiplexesOutput) String() string { 20617 return awsutil.Prettify(s) 20618 } 20619 20620 // GoString returns the string representation. 20621 // 20622 // API parameter values that are decorated as "sensitive" in the API will not 20623 // be included in the string output. The member name will be present, but the 20624 // value will be replaced with "sensitive". 20625 func (s ListMultiplexesOutput) GoString() string { 20626 return s.String() 20627 } 20628 20629 // SetMultiplexes sets the Multiplexes field's value. 20630 func (s *ListMultiplexesOutput) SetMultiplexes(v []*MultiplexSummary) *ListMultiplexesOutput { 20631 s.Multiplexes = v 20632 return s 20633 } 20634 20635 // SetNextToken sets the NextToken field's value. 20636 func (s *ListMultiplexesOutput) SetNextToken(v string) *ListMultiplexesOutput { 20637 s.NextToken = &v 20638 return s 20639 } 20640 20641 type ListOfferingsInput struct { 20642 _ struct{} `type:"structure" nopayload:"true"` 20643 20644 ChannelClass *string `location:"querystring" locationName:"channelClass" type:"string"` 20645 20646 ChannelConfiguration *string `location:"querystring" locationName:"channelConfiguration" type:"string"` 20647 20648 Codec *string `location:"querystring" locationName:"codec" type:"string"` 20649 20650 Duration *string `location:"querystring" locationName:"duration" type:"string"` 20651 20652 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20653 20654 MaximumBitrate *string `location:"querystring" locationName:"maximumBitrate" type:"string"` 20655 20656 MaximumFramerate *string `location:"querystring" locationName:"maximumFramerate" type:"string"` 20657 20658 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20659 20660 Resolution *string `location:"querystring" locationName:"resolution" type:"string"` 20661 20662 ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` 20663 20664 SpecialFeature *string `location:"querystring" locationName:"specialFeature" type:"string"` 20665 20666 VideoQuality *string `location:"querystring" locationName:"videoQuality" type:"string"` 20667 } 20668 20669 // String returns the string representation. 20670 // 20671 // API parameter values that are decorated as "sensitive" in the API will not 20672 // be included in the string output. The member name will be present, but the 20673 // value will be replaced with "sensitive". 20674 func (s ListOfferingsInput) String() string { 20675 return awsutil.Prettify(s) 20676 } 20677 20678 // GoString returns the string representation. 20679 // 20680 // API parameter values that are decorated as "sensitive" in the API will not 20681 // be included in the string output. The member name will be present, but the 20682 // value will be replaced with "sensitive". 20683 func (s ListOfferingsInput) GoString() string { 20684 return s.String() 20685 } 20686 20687 // Validate inspects the fields of the type to determine if they are valid. 20688 func (s *ListOfferingsInput) Validate() error { 20689 invalidParams := request.ErrInvalidParams{Context: "ListOfferingsInput"} 20690 if s.MaxResults != nil && *s.MaxResults < 1 { 20691 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20692 } 20693 20694 if invalidParams.Len() > 0 { 20695 return invalidParams 20696 } 20697 return nil 20698 } 20699 20700 // SetChannelClass sets the ChannelClass field's value. 20701 func (s *ListOfferingsInput) SetChannelClass(v string) *ListOfferingsInput { 20702 s.ChannelClass = &v 20703 return s 20704 } 20705 20706 // SetChannelConfiguration sets the ChannelConfiguration field's value. 20707 func (s *ListOfferingsInput) SetChannelConfiguration(v string) *ListOfferingsInput { 20708 s.ChannelConfiguration = &v 20709 return s 20710 } 20711 20712 // SetCodec sets the Codec field's value. 20713 func (s *ListOfferingsInput) SetCodec(v string) *ListOfferingsInput { 20714 s.Codec = &v 20715 return s 20716 } 20717 20718 // SetDuration sets the Duration field's value. 20719 func (s *ListOfferingsInput) SetDuration(v string) *ListOfferingsInput { 20720 s.Duration = &v 20721 return s 20722 } 20723 20724 // SetMaxResults sets the MaxResults field's value. 20725 func (s *ListOfferingsInput) SetMaxResults(v int64) *ListOfferingsInput { 20726 s.MaxResults = &v 20727 return s 20728 } 20729 20730 // SetMaximumBitrate sets the MaximumBitrate field's value. 20731 func (s *ListOfferingsInput) SetMaximumBitrate(v string) *ListOfferingsInput { 20732 s.MaximumBitrate = &v 20733 return s 20734 } 20735 20736 // SetMaximumFramerate sets the MaximumFramerate field's value. 20737 func (s *ListOfferingsInput) SetMaximumFramerate(v string) *ListOfferingsInput { 20738 s.MaximumFramerate = &v 20739 return s 20740 } 20741 20742 // SetNextToken sets the NextToken field's value. 20743 func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput { 20744 s.NextToken = &v 20745 return s 20746 } 20747 20748 // SetResolution sets the Resolution field's value. 20749 func (s *ListOfferingsInput) SetResolution(v string) *ListOfferingsInput { 20750 s.Resolution = &v 20751 return s 20752 } 20753 20754 // SetResourceType sets the ResourceType field's value. 20755 func (s *ListOfferingsInput) SetResourceType(v string) *ListOfferingsInput { 20756 s.ResourceType = &v 20757 return s 20758 } 20759 20760 // SetSpecialFeature sets the SpecialFeature field's value. 20761 func (s *ListOfferingsInput) SetSpecialFeature(v string) *ListOfferingsInput { 20762 s.SpecialFeature = &v 20763 return s 20764 } 20765 20766 // SetVideoQuality sets the VideoQuality field's value. 20767 func (s *ListOfferingsInput) SetVideoQuality(v string) *ListOfferingsInput { 20768 s.VideoQuality = &v 20769 return s 20770 } 20771 20772 type ListOfferingsOutput struct { 20773 _ struct{} `type:"structure"` 20774 20775 NextToken *string `locationName:"nextToken" type:"string"` 20776 20777 Offerings []*Offering `locationName:"offerings" type:"list"` 20778 } 20779 20780 // String returns the string representation. 20781 // 20782 // API parameter values that are decorated as "sensitive" in the API will not 20783 // be included in the string output. The member name will be present, but the 20784 // value will be replaced with "sensitive". 20785 func (s ListOfferingsOutput) String() string { 20786 return awsutil.Prettify(s) 20787 } 20788 20789 // GoString returns the string representation. 20790 // 20791 // API parameter values that are decorated as "sensitive" in the API will not 20792 // be included in the string output. The member name will be present, but the 20793 // value will be replaced with "sensitive". 20794 func (s ListOfferingsOutput) GoString() string { 20795 return s.String() 20796 } 20797 20798 // SetNextToken sets the NextToken field's value. 20799 func (s *ListOfferingsOutput) SetNextToken(v string) *ListOfferingsOutput { 20800 s.NextToken = &v 20801 return s 20802 } 20803 20804 // SetOfferings sets the Offerings field's value. 20805 func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput { 20806 s.Offerings = v 20807 return s 20808 } 20809 20810 type ListReservationsInput struct { 20811 _ struct{} `type:"structure" nopayload:"true"` 20812 20813 ChannelClass *string `location:"querystring" locationName:"channelClass" type:"string"` 20814 20815 Codec *string `location:"querystring" locationName:"codec" type:"string"` 20816 20817 MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` 20818 20819 MaximumBitrate *string `location:"querystring" locationName:"maximumBitrate" type:"string"` 20820 20821 MaximumFramerate *string `location:"querystring" locationName:"maximumFramerate" type:"string"` 20822 20823 NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` 20824 20825 Resolution *string `location:"querystring" locationName:"resolution" type:"string"` 20826 20827 ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` 20828 20829 SpecialFeature *string `location:"querystring" locationName:"specialFeature" type:"string"` 20830 20831 VideoQuality *string `location:"querystring" locationName:"videoQuality" type:"string"` 20832 } 20833 20834 // String returns the string representation. 20835 // 20836 // API parameter values that are decorated as "sensitive" in the API will not 20837 // be included in the string output. The member name will be present, but the 20838 // value will be replaced with "sensitive". 20839 func (s ListReservationsInput) String() string { 20840 return awsutil.Prettify(s) 20841 } 20842 20843 // GoString returns the string representation. 20844 // 20845 // API parameter values that are decorated as "sensitive" in the API will not 20846 // be included in the string output. The member name will be present, but the 20847 // value will be replaced with "sensitive". 20848 func (s ListReservationsInput) GoString() string { 20849 return s.String() 20850 } 20851 20852 // Validate inspects the fields of the type to determine if they are valid. 20853 func (s *ListReservationsInput) Validate() error { 20854 invalidParams := request.ErrInvalidParams{Context: "ListReservationsInput"} 20855 if s.MaxResults != nil && *s.MaxResults < 1 { 20856 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 20857 } 20858 20859 if invalidParams.Len() > 0 { 20860 return invalidParams 20861 } 20862 return nil 20863 } 20864 20865 // SetChannelClass sets the ChannelClass field's value. 20866 func (s *ListReservationsInput) SetChannelClass(v string) *ListReservationsInput { 20867 s.ChannelClass = &v 20868 return s 20869 } 20870 20871 // SetCodec sets the Codec field's value. 20872 func (s *ListReservationsInput) SetCodec(v string) *ListReservationsInput { 20873 s.Codec = &v 20874 return s 20875 } 20876 20877 // SetMaxResults sets the MaxResults field's value. 20878 func (s *ListReservationsInput) SetMaxResults(v int64) *ListReservationsInput { 20879 s.MaxResults = &v 20880 return s 20881 } 20882 20883 // SetMaximumBitrate sets the MaximumBitrate field's value. 20884 func (s *ListReservationsInput) SetMaximumBitrate(v string) *ListReservationsInput { 20885 s.MaximumBitrate = &v 20886 return s 20887 } 20888 20889 // SetMaximumFramerate sets the MaximumFramerate field's value. 20890 func (s *ListReservationsInput) SetMaximumFramerate(v string) *ListReservationsInput { 20891 s.MaximumFramerate = &v 20892 return s 20893 } 20894 20895 // SetNextToken sets the NextToken field's value. 20896 func (s *ListReservationsInput) SetNextToken(v string) *ListReservationsInput { 20897 s.NextToken = &v 20898 return s 20899 } 20900 20901 // SetResolution sets the Resolution field's value. 20902 func (s *ListReservationsInput) SetResolution(v string) *ListReservationsInput { 20903 s.Resolution = &v 20904 return s 20905 } 20906 20907 // SetResourceType sets the ResourceType field's value. 20908 func (s *ListReservationsInput) SetResourceType(v string) *ListReservationsInput { 20909 s.ResourceType = &v 20910 return s 20911 } 20912 20913 // SetSpecialFeature sets the SpecialFeature field's value. 20914 func (s *ListReservationsInput) SetSpecialFeature(v string) *ListReservationsInput { 20915 s.SpecialFeature = &v 20916 return s 20917 } 20918 20919 // SetVideoQuality sets the VideoQuality field's value. 20920 func (s *ListReservationsInput) SetVideoQuality(v string) *ListReservationsInput { 20921 s.VideoQuality = &v 20922 return s 20923 } 20924 20925 type ListReservationsOutput struct { 20926 _ struct{} `type:"structure"` 20927 20928 NextToken *string `locationName:"nextToken" type:"string"` 20929 20930 Reservations []*Reservation `locationName:"reservations" type:"list"` 20931 } 20932 20933 // String returns the string representation. 20934 // 20935 // API parameter values that are decorated as "sensitive" in the API will not 20936 // be included in the string output. The member name will be present, but the 20937 // value will be replaced with "sensitive". 20938 func (s ListReservationsOutput) String() string { 20939 return awsutil.Prettify(s) 20940 } 20941 20942 // GoString returns the string representation. 20943 // 20944 // API parameter values that are decorated as "sensitive" in the API will not 20945 // be included in the string output. The member name will be present, but the 20946 // value will be replaced with "sensitive". 20947 func (s ListReservationsOutput) GoString() string { 20948 return s.String() 20949 } 20950 20951 // SetNextToken sets the NextToken field's value. 20952 func (s *ListReservationsOutput) SetNextToken(v string) *ListReservationsOutput { 20953 s.NextToken = &v 20954 return s 20955 } 20956 20957 // SetReservations sets the Reservations field's value. 20958 func (s *ListReservationsOutput) SetReservations(v []*Reservation) *ListReservationsOutput { 20959 s.Reservations = v 20960 return s 20961 } 20962 20963 type ListTagsForResourceInput struct { 20964 _ struct{} `type:"structure" nopayload:"true"` 20965 20966 // ResourceArn is a required field 20967 ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` 20968 } 20969 20970 // String returns the string representation. 20971 // 20972 // API parameter values that are decorated as "sensitive" in the API will not 20973 // be included in the string output. The member name will be present, but the 20974 // value will be replaced with "sensitive". 20975 func (s ListTagsForResourceInput) String() string { 20976 return awsutil.Prettify(s) 20977 } 20978 20979 // GoString returns the string representation. 20980 // 20981 // API parameter values that are decorated as "sensitive" in the API will not 20982 // be included in the string output. The member name will be present, but the 20983 // value will be replaced with "sensitive". 20984 func (s ListTagsForResourceInput) GoString() string { 20985 return s.String() 20986 } 20987 20988 // Validate inspects the fields of the type to determine if they are valid. 20989 func (s *ListTagsForResourceInput) Validate() error { 20990 invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} 20991 if s.ResourceArn == nil { 20992 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 20993 } 20994 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 20995 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 20996 } 20997 20998 if invalidParams.Len() > 0 { 20999 return invalidParams 21000 } 21001 return nil 21002 } 21003 21004 // SetResourceArn sets the ResourceArn field's value. 21005 func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { 21006 s.ResourceArn = &v 21007 return s 21008 } 21009 21010 type ListTagsForResourceOutput struct { 21011 _ struct{} `type:"structure"` 21012 21013 Tags map[string]*string `locationName:"tags" type:"map"` 21014 } 21015 21016 // String returns the string representation. 21017 // 21018 // API parameter values that are decorated as "sensitive" in the API will not 21019 // be included in the string output. The member name will be present, but the 21020 // value will be replaced with "sensitive". 21021 func (s ListTagsForResourceOutput) String() string { 21022 return awsutil.Prettify(s) 21023 } 21024 21025 // GoString returns the string representation. 21026 // 21027 // API parameter values that are decorated as "sensitive" in the API will not 21028 // be included in the string output. The member name will be present, but the 21029 // value will be replaced with "sensitive". 21030 func (s ListTagsForResourceOutput) GoString() string { 21031 return s.String() 21032 } 21033 21034 // SetTags sets the Tags field's value. 21035 func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { 21036 s.Tags = v 21037 return s 21038 } 21039 21040 // M2ts Settings 21041 type M2tsSettings struct { 21042 _ struct{} `type:"structure"` 21043 21044 // When set to drop, output audio streams will be removed from the program if 21045 // the selected input audio stream is removed from the input. This allows the 21046 // output audio configuration to dynamically change based on input configuration. 21047 // If this is set to encodeSilence, all output audio streams will output encoded 21048 // silence when not connected to an active input stream. 21049 AbsentInputAudioBehavior *string `locationName:"absentInputAudioBehavior" type:"string" enum:"M2tsAbsentInputAudioBehavior"` 21050 21051 // When set to enabled, uses ARIB-compliant field muxing and removes video descriptor. 21052 Arib *string `locationName:"arib" type:"string" enum:"M2tsArib"` 21053 21054 // Packet Identifier (PID) for ARIB Captions in the transport stream. Can be 21055 // entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 21056 // (or 0x1ff6). 21057 AribCaptionsPid *string `locationName:"aribCaptionsPid" type:"string"` 21058 21059 // If set to auto, pid number used for ARIB Captions will be auto-selected from 21060 // unused pids. If set to useConfigured, ARIB Captions will be on the configured 21061 // pid number. 21062 AribCaptionsPidControl *string `locationName:"aribCaptionsPidControl" type:"string" enum:"M2tsAribCaptionsPidControl"` 21063 21064 // When set to dvb, uses DVB buffer model for Dolby Digital audio. When set 21065 // to atsc, the ATSC model is used. 21066 AudioBufferModel *string `locationName:"audioBufferModel" type:"string" enum:"M2tsAudioBufferModel"` 21067 21068 // The number of audio frames to insert for each PES packet. 21069 AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` 21070 21071 // Packet Identifier (PID) of the elementary audio stream(s) in the transport 21072 // stream. Multiple values are accepted, and can be entered in ranges and/or 21073 // by comma separation. Can be entered as decimal or hexadecimal values. Each 21074 // PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). 21075 AudioPids *string `locationName:"audioPids" type:"string"` 21076 21077 // When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 21078 // for EAC3. When set to dvb, uses stream type = 0x06. 21079 AudioStreamType *string `locationName:"audioStreamType" type:"string" enum:"M2tsAudioStreamType"` 21080 21081 // The output bitrate of the transport stream in bits per second. Setting to 21082 // 0 lets the muxer automatically determine the appropriate bitrate. 21083 Bitrate *int64 `locationName:"bitrate" type:"integer"` 21084 21085 // Controls the timing accuracy for output network traffic. Leave as MULTIPLEX 21086 // to ensure accurate network packet timing. Or set to NONE, which might result 21087 // in lower latency but will result in more variability in output network packet 21088 // timing. This variability might cause interruptions, jitter, or bursty behavior 21089 // in your playback or receiving devices. 21090 BufferModel *string `locationName:"bufferModel" type:"string" enum:"M2tsBufferModel"` 21091 21092 // When set to enabled, generates captionServiceDescriptor in PMT. 21093 CcDescriptor *string `locationName:"ccDescriptor" type:"string" enum:"M2tsCcDescriptor"` 21094 21095 // Inserts DVB Network Information Table (NIT) at the specified table repetition 21096 // interval. 21097 DvbNitSettings *DvbNitSettings `locationName:"dvbNitSettings" type:"structure"` 21098 21099 // Inserts DVB Service Description Table (SDT) at the specified table repetition 21100 // interval. 21101 DvbSdtSettings *DvbSdtSettings `locationName:"dvbSdtSettings" type:"structure"` 21102 21103 // Packet Identifier (PID) for input source DVB Subtitle data to this output. 21104 // Multiple values are accepted, and can be entered in ranges and/or by comma 21105 // separation. Can be entered as decimal or hexadecimal values. Each PID specified 21106 // must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). 21107 DvbSubPids *string `locationName:"dvbSubPids" type:"string"` 21108 21109 // Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. 21110 DvbTdtSettings *DvbTdtSettings `locationName:"dvbTdtSettings" type:"structure"` 21111 21112 // Packet Identifier (PID) for input source DVB Teletext data to this output. 21113 // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 21114 // 0x20)..8182 (or 0x1ff6). 21115 DvbTeletextPid *string `locationName:"dvbTeletextPid" type:"string"` 21116 21117 // If set to passthrough, passes any EBIF data from the input source to this 21118 // output. 21119 Ebif *string `locationName:"ebif" type:"string" enum:"M2tsEbifControl"` 21120 21121 // When videoAndFixedIntervals is selected, audio EBP markers will be added 21122 // to partitions 3 and 4. The interval between these additional markers will 21123 // be fixed, and will be slightly shorter than the video EBP marker interval. 21124 // Only available when EBP Cablelabs segmentation markers are selected. Partitions 21125 // 1 and 2 will always follow the video interval. 21126 EbpAudioInterval *string `locationName:"ebpAudioInterval" type:"string" enum:"M2tsAudioInterval"` 21127 21128 // When set, enforces that Encoder Boundary Points do not come within the specified 21129 // time interval of each other by looking ahead at input video. If another EBP 21130 // is going to come in within the specified time interval, the current EBP is 21131 // not emitted, and the segment is "stretched" to the next marker. The lookahead 21132 // value does not add latency to the system. The Live Event must be configured 21133 // elsewhere to create sufficient latency to make the lookahead accurate. 21134 EbpLookaheadMs *int64 `locationName:"ebpLookaheadMs" type:"integer"` 21135 21136 // Controls placement of EBP on Audio PIDs. If set to videoAndAudioPids, EBP 21137 // markers will be placed on the video PID and all audio PIDs. If set to videoPid, 21138 // EBP markers will be placed on only the video PID. 21139 EbpPlacement *string `locationName:"ebpPlacement" type:"string" enum:"M2tsEbpPlacement"` 21140 21141 // This field is unused and deprecated. 21142 EcmPid *string `locationName:"ecmPid" type:"string"` 21143 21144 // Include or exclude the ES Rate field in the PES header. 21145 EsRateInPes *string `locationName:"esRateInPes" type:"string" enum:"M2tsEsRateInPes"` 21146 21147 // Packet Identifier (PID) for input source ETV Platform data to this output. 21148 // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 21149 // 0x20)..8182 (or 0x1ff6). 21150 EtvPlatformPid *string `locationName:"etvPlatformPid" type:"string"` 21151 21152 // Packet Identifier (PID) for input source ETV Signal data to this output. 21153 // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 21154 // 0x20)..8182 (or 0x1ff6). 21155 EtvSignalPid *string `locationName:"etvSignalPid" type:"string"` 21156 21157 // The length in seconds of each fragment. Only used with EBP markers. 21158 FragmentTime *float64 `locationName:"fragmentTime" type:"double"` 21159 21160 // If set to passthrough, passes any KLV data from the input source to this 21161 // output. 21162 Klv *string `locationName:"klv" type:"string" enum:"M2tsKlv"` 21163 21164 // Packet Identifier (PID) for input source KLV data to this output. Multiple 21165 // values are accepted, and can be entered in ranges and/or by comma separation. 21166 // Can be entered as decimal or hexadecimal values. Each PID specified must 21167 // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). 21168 KlvDataPids *string `locationName:"klvDataPids" type:"string"` 21169 21170 // If set to passthrough, Nielsen inaudible tones for media tracking will be 21171 // detected in the input audio and an equivalent ID3 tag will be inserted in 21172 // the output. 21173 NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"M2tsNielsenId3Behavior"` 21174 21175 // Value in bits per second of extra null packets to insert into the transport 21176 // stream. This can be used if a downstream encryption system requires periodic 21177 // null packets. 21178 NullPacketBitrate *float64 `locationName:"nullPacketBitrate" type:"double"` 21179 21180 // The number of milliseconds between instances of this table in the output 21181 // transport stream. Valid values are 0, 10..1000. 21182 PatInterval *int64 `locationName:"patInterval" type:"integer"` 21183 21184 // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted 21185 // for every Packetized Elementary Stream (PES) header. This parameter is effective 21186 // only when the PCR PID is the same as the video or audio elementary stream. 21187 PcrControl *string `locationName:"pcrControl" type:"string" enum:"M2tsPcrControl"` 21188 21189 // Maximum time in milliseconds between Program Clock Reference (PCRs) inserted 21190 // into the transport stream. 21191 PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` 21192 21193 // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport 21194 // stream. When no value is given, the encoder will assign the same value as 21195 // the Video PID. Can be entered as a decimal or hexadecimal value. Valid values 21196 // are 32 (or 0x20)..8182 (or 0x1ff6). 21197 PcrPid *string `locationName:"pcrPid" type:"string"` 21198 21199 // The number of milliseconds between instances of this table in the output 21200 // transport stream. Valid values are 0, 10..1000. 21201 PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` 21202 21203 // Packet Identifier (PID) for the Program Map Table (PMT) in the transport 21204 // stream. Can be entered as a decimal or hexadecimal value. Valid values are 21205 // 32 (or 0x20)..8182 (or 0x1ff6). 21206 PmtPid *string `locationName:"pmtPid" type:"string"` 21207 21208 // The value of the program number field in the Program Map Table. 21209 ProgramNum *int64 `locationName:"programNum" type:"integer"` 21210 21211 // When vbr, does not insert null packets into transport stream to fill specified 21212 // bitrate. The bitrate setting acts as the maximum bitrate when vbr is set. 21213 RateMode *string `locationName:"rateMode" type:"string" enum:"M2tsRateMode"` 21214 21215 // Packet Identifier (PID) for input source SCTE-27 data to this output. Multiple 21216 // values are accepted, and can be entered in ranges and/or by comma separation. 21217 // Can be entered as decimal or hexadecimal values. Each PID specified must 21218 // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). 21219 Scte27Pids *string `locationName:"scte27Pids" type:"string"` 21220 21221 // Optionally pass SCTE-35 signals from the input source to this output. 21222 Scte35Control *string `locationName:"scte35Control" type:"string" enum:"M2tsScte35Control"` 21223 21224 // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can 21225 // be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 21226 // (or 0x1ff6). 21227 Scte35Pid *string `locationName:"scte35Pid" type:"string"` 21228 21229 // Inserts segmentation markers at each segmentationTime period. raiSegstart 21230 // sets the Random Access Indicator bit in the adaptation field. raiAdapt sets 21231 // the RAI bit and adds the current timecode in the private data bytes. psiSegstart 21232 // inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary 21233 // Point information to the adaptation field as per OpenCable specification 21234 // OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to 21235 // the adaptation field using a legacy proprietary format. 21236 SegmentationMarkers *string `locationName:"segmentationMarkers" type:"string" enum:"M2tsSegmentationMarkers"` 21237 21238 // The segmentation style parameter controls how segmentation markers are inserted 21239 // into the transport stream. With avails, it is possible that segments may 21240 // be truncated, which can influence where future segmentation markers are inserted.When 21241 // a segmentation style of "resetCadence" is selected and a segment is truncated 21242 // due to an avail, we will reset the segmentation cadence. This means the subsequent 21243 // segment will have a duration of $segmentationTime seconds.When a segmentation 21244 // style of "maintainCadence" is selected and a segment is truncated due to 21245 // an avail, we will not reset the segmentation cadence. This means the subsequent 21246 // segment will likely be truncated as well. However, all segments after that 21247 // will have a duration of $segmentationTime seconds. Note that EBP lookahead 21248 // is a slight exception to this rule. 21249 SegmentationStyle *string `locationName:"segmentationStyle" type:"string" enum:"M2tsSegmentationStyle"` 21250 21251 // The length in seconds of each segment. Required unless markers is set to 21252 // _none_. 21253 SegmentationTime *float64 `locationName:"segmentationTime" type:"double"` 21254 21255 // When set to passthrough, timed metadata will be passed through from input 21256 // to output. 21257 TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M2tsTimedMetadataBehavior"` 21258 21259 // Packet Identifier (PID) of the timed metadata stream in the transport stream. 21260 // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 21261 // 0x20)..8182 (or 0x1ff6). 21262 TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` 21263 21264 // The value of the transport stream ID field in the Program Map Table. 21265 TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` 21266 21267 // Packet Identifier (PID) of the elementary video stream in the transport stream. 21268 // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 21269 // 0x20)..8182 (or 0x1ff6). 21270 VideoPid *string `locationName:"videoPid" type:"string"` 21271 } 21272 21273 // String returns the string representation. 21274 // 21275 // API parameter values that are decorated as "sensitive" in the API will not 21276 // be included in the string output. The member name will be present, but the 21277 // value will be replaced with "sensitive". 21278 func (s M2tsSettings) String() string { 21279 return awsutil.Prettify(s) 21280 } 21281 21282 // GoString returns the string representation. 21283 // 21284 // API parameter values that are decorated as "sensitive" in the API will not 21285 // be included in the string output. The member name will be present, but the 21286 // value will be replaced with "sensitive". 21287 func (s M2tsSettings) GoString() string { 21288 return s.String() 21289 } 21290 21291 // Validate inspects the fields of the type to determine if they are valid. 21292 func (s *M2tsSettings) Validate() error { 21293 invalidParams := request.ErrInvalidParams{Context: "M2tsSettings"} 21294 if s.DvbNitSettings != nil { 21295 if err := s.DvbNitSettings.Validate(); err != nil { 21296 invalidParams.AddNested("DvbNitSettings", err.(request.ErrInvalidParams)) 21297 } 21298 } 21299 if s.DvbSdtSettings != nil { 21300 if err := s.DvbSdtSettings.Validate(); err != nil { 21301 invalidParams.AddNested("DvbSdtSettings", err.(request.ErrInvalidParams)) 21302 } 21303 } 21304 if s.DvbTdtSettings != nil { 21305 if err := s.DvbTdtSettings.Validate(); err != nil { 21306 invalidParams.AddNested("DvbTdtSettings", err.(request.ErrInvalidParams)) 21307 } 21308 } 21309 21310 if invalidParams.Len() > 0 { 21311 return invalidParams 21312 } 21313 return nil 21314 } 21315 21316 // SetAbsentInputAudioBehavior sets the AbsentInputAudioBehavior field's value. 21317 func (s *M2tsSettings) SetAbsentInputAudioBehavior(v string) *M2tsSettings { 21318 s.AbsentInputAudioBehavior = &v 21319 return s 21320 } 21321 21322 // SetArib sets the Arib field's value. 21323 func (s *M2tsSettings) SetArib(v string) *M2tsSettings { 21324 s.Arib = &v 21325 return s 21326 } 21327 21328 // SetAribCaptionsPid sets the AribCaptionsPid field's value. 21329 func (s *M2tsSettings) SetAribCaptionsPid(v string) *M2tsSettings { 21330 s.AribCaptionsPid = &v 21331 return s 21332 } 21333 21334 // SetAribCaptionsPidControl sets the AribCaptionsPidControl field's value. 21335 func (s *M2tsSettings) SetAribCaptionsPidControl(v string) *M2tsSettings { 21336 s.AribCaptionsPidControl = &v 21337 return s 21338 } 21339 21340 // SetAudioBufferModel sets the AudioBufferModel field's value. 21341 func (s *M2tsSettings) SetAudioBufferModel(v string) *M2tsSettings { 21342 s.AudioBufferModel = &v 21343 return s 21344 } 21345 21346 // SetAudioFramesPerPes sets the AudioFramesPerPes field's value. 21347 func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { 21348 s.AudioFramesPerPes = &v 21349 return s 21350 } 21351 21352 // SetAudioPids sets the AudioPids field's value. 21353 func (s *M2tsSettings) SetAudioPids(v string) *M2tsSettings { 21354 s.AudioPids = &v 21355 return s 21356 } 21357 21358 // SetAudioStreamType sets the AudioStreamType field's value. 21359 func (s *M2tsSettings) SetAudioStreamType(v string) *M2tsSettings { 21360 s.AudioStreamType = &v 21361 return s 21362 } 21363 21364 // SetBitrate sets the Bitrate field's value. 21365 func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { 21366 s.Bitrate = &v 21367 return s 21368 } 21369 21370 // SetBufferModel sets the BufferModel field's value. 21371 func (s *M2tsSettings) SetBufferModel(v string) *M2tsSettings { 21372 s.BufferModel = &v 21373 return s 21374 } 21375 21376 // SetCcDescriptor sets the CcDescriptor field's value. 21377 func (s *M2tsSettings) SetCcDescriptor(v string) *M2tsSettings { 21378 s.CcDescriptor = &v 21379 return s 21380 } 21381 21382 // SetDvbNitSettings sets the DvbNitSettings field's value. 21383 func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { 21384 s.DvbNitSettings = v 21385 return s 21386 } 21387 21388 // SetDvbSdtSettings sets the DvbSdtSettings field's value. 21389 func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { 21390 s.DvbSdtSettings = v 21391 return s 21392 } 21393 21394 // SetDvbSubPids sets the DvbSubPids field's value. 21395 func (s *M2tsSettings) SetDvbSubPids(v string) *M2tsSettings { 21396 s.DvbSubPids = &v 21397 return s 21398 } 21399 21400 // SetDvbTdtSettings sets the DvbTdtSettings field's value. 21401 func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { 21402 s.DvbTdtSettings = v 21403 return s 21404 } 21405 21406 // SetDvbTeletextPid sets the DvbTeletextPid field's value. 21407 func (s *M2tsSettings) SetDvbTeletextPid(v string) *M2tsSettings { 21408 s.DvbTeletextPid = &v 21409 return s 21410 } 21411 21412 // SetEbif sets the Ebif field's value. 21413 func (s *M2tsSettings) SetEbif(v string) *M2tsSettings { 21414 s.Ebif = &v 21415 return s 21416 } 21417 21418 // SetEbpAudioInterval sets the EbpAudioInterval field's value. 21419 func (s *M2tsSettings) SetEbpAudioInterval(v string) *M2tsSettings { 21420 s.EbpAudioInterval = &v 21421 return s 21422 } 21423 21424 // SetEbpLookaheadMs sets the EbpLookaheadMs field's value. 21425 func (s *M2tsSettings) SetEbpLookaheadMs(v int64) *M2tsSettings { 21426 s.EbpLookaheadMs = &v 21427 return s 21428 } 21429 21430 // SetEbpPlacement sets the EbpPlacement field's value. 21431 func (s *M2tsSettings) SetEbpPlacement(v string) *M2tsSettings { 21432 s.EbpPlacement = &v 21433 return s 21434 } 21435 21436 // SetEcmPid sets the EcmPid field's value. 21437 func (s *M2tsSettings) SetEcmPid(v string) *M2tsSettings { 21438 s.EcmPid = &v 21439 return s 21440 } 21441 21442 // SetEsRateInPes sets the EsRateInPes field's value. 21443 func (s *M2tsSettings) SetEsRateInPes(v string) *M2tsSettings { 21444 s.EsRateInPes = &v 21445 return s 21446 } 21447 21448 // SetEtvPlatformPid sets the EtvPlatformPid field's value. 21449 func (s *M2tsSettings) SetEtvPlatformPid(v string) *M2tsSettings { 21450 s.EtvPlatformPid = &v 21451 return s 21452 } 21453 21454 // SetEtvSignalPid sets the EtvSignalPid field's value. 21455 func (s *M2tsSettings) SetEtvSignalPid(v string) *M2tsSettings { 21456 s.EtvSignalPid = &v 21457 return s 21458 } 21459 21460 // SetFragmentTime sets the FragmentTime field's value. 21461 func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { 21462 s.FragmentTime = &v 21463 return s 21464 } 21465 21466 // SetKlv sets the Klv field's value. 21467 func (s *M2tsSettings) SetKlv(v string) *M2tsSettings { 21468 s.Klv = &v 21469 return s 21470 } 21471 21472 // SetKlvDataPids sets the KlvDataPids field's value. 21473 func (s *M2tsSettings) SetKlvDataPids(v string) *M2tsSettings { 21474 s.KlvDataPids = &v 21475 return s 21476 } 21477 21478 // SetNielsenId3Behavior sets the NielsenId3Behavior field's value. 21479 func (s *M2tsSettings) SetNielsenId3Behavior(v string) *M2tsSettings { 21480 s.NielsenId3Behavior = &v 21481 return s 21482 } 21483 21484 // SetNullPacketBitrate sets the NullPacketBitrate field's value. 21485 func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { 21486 s.NullPacketBitrate = &v 21487 return s 21488 } 21489 21490 // SetPatInterval sets the PatInterval field's value. 21491 func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { 21492 s.PatInterval = &v 21493 return s 21494 } 21495 21496 // SetPcrControl sets the PcrControl field's value. 21497 func (s *M2tsSettings) SetPcrControl(v string) *M2tsSettings { 21498 s.PcrControl = &v 21499 return s 21500 } 21501 21502 // SetPcrPeriod sets the PcrPeriod field's value. 21503 func (s *M2tsSettings) SetPcrPeriod(v int64) *M2tsSettings { 21504 s.PcrPeriod = &v 21505 return s 21506 } 21507 21508 // SetPcrPid sets the PcrPid field's value. 21509 func (s *M2tsSettings) SetPcrPid(v string) *M2tsSettings { 21510 s.PcrPid = &v 21511 return s 21512 } 21513 21514 // SetPmtInterval sets the PmtInterval field's value. 21515 func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { 21516 s.PmtInterval = &v 21517 return s 21518 } 21519 21520 // SetPmtPid sets the PmtPid field's value. 21521 func (s *M2tsSettings) SetPmtPid(v string) *M2tsSettings { 21522 s.PmtPid = &v 21523 return s 21524 } 21525 21526 // SetProgramNum sets the ProgramNum field's value. 21527 func (s *M2tsSettings) SetProgramNum(v int64) *M2tsSettings { 21528 s.ProgramNum = &v 21529 return s 21530 } 21531 21532 // SetRateMode sets the RateMode field's value. 21533 func (s *M2tsSettings) SetRateMode(v string) *M2tsSettings { 21534 s.RateMode = &v 21535 return s 21536 } 21537 21538 // SetScte27Pids sets the Scte27Pids field's value. 21539 func (s *M2tsSettings) SetScte27Pids(v string) *M2tsSettings { 21540 s.Scte27Pids = &v 21541 return s 21542 } 21543 21544 // SetScte35Control sets the Scte35Control field's value. 21545 func (s *M2tsSettings) SetScte35Control(v string) *M2tsSettings { 21546 s.Scte35Control = &v 21547 return s 21548 } 21549 21550 // SetScte35Pid sets the Scte35Pid field's value. 21551 func (s *M2tsSettings) SetScte35Pid(v string) *M2tsSettings { 21552 s.Scte35Pid = &v 21553 return s 21554 } 21555 21556 // SetSegmentationMarkers sets the SegmentationMarkers field's value. 21557 func (s *M2tsSettings) SetSegmentationMarkers(v string) *M2tsSettings { 21558 s.SegmentationMarkers = &v 21559 return s 21560 } 21561 21562 // SetSegmentationStyle sets the SegmentationStyle field's value. 21563 func (s *M2tsSettings) SetSegmentationStyle(v string) *M2tsSettings { 21564 s.SegmentationStyle = &v 21565 return s 21566 } 21567 21568 // SetSegmentationTime sets the SegmentationTime field's value. 21569 func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { 21570 s.SegmentationTime = &v 21571 return s 21572 } 21573 21574 // SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. 21575 func (s *M2tsSettings) SetTimedMetadataBehavior(v string) *M2tsSettings { 21576 s.TimedMetadataBehavior = &v 21577 return s 21578 } 21579 21580 // SetTimedMetadataPid sets the TimedMetadataPid field's value. 21581 func (s *M2tsSettings) SetTimedMetadataPid(v string) *M2tsSettings { 21582 s.TimedMetadataPid = &v 21583 return s 21584 } 21585 21586 // SetTransportStreamId sets the TransportStreamId field's value. 21587 func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { 21588 s.TransportStreamId = &v 21589 return s 21590 } 21591 21592 // SetVideoPid sets the VideoPid field's value. 21593 func (s *M2tsSettings) SetVideoPid(v string) *M2tsSettings { 21594 s.VideoPid = &v 21595 return s 21596 } 21597 21598 // Settings information for the .m3u8 container 21599 type M3u8Settings struct { 21600 _ struct{} `type:"structure"` 21601 21602 // The number of audio frames to insert for each PES packet. 21603 AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` 21604 21605 // Packet Identifier (PID) of the elementary audio stream(s) in the transport 21606 // stream. Multiple values are accepted, and can be entered in ranges and/or 21607 // by comma separation. Can be entered as decimal or hexadecimal values. 21608 AudioPids *string `locationName:"audioPids" type:"string"` 21609 21610 // This parameter is unused and deprecated. 21611 EcmPid *string `locationName:"ecmPid" type:"string"` 21612 21613 // If set to passthrough, Nielsen inaudible tones for media tracking will be 21614 // detected in the input audio and an equivalent ID3 tag will be inserted in 21615 // the output. 21616 NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"M3u8NielsenId3Behavior"` 21617 21618 // The number of milliseconds between instances of this table in the output 21619 // transport stream. A value of \"0\" writes out the PMT once per segment file. 21620 PatInterval *int64 `locationName:"patInterval" type:"integer"` 21621 21622 // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted 21623 // for every Packetized Elementary Stream (PES) header. This parameter is effective 21624 // only when the PCR PID is the same as the video or audio elementary stream. 21625 PcrControl *string `locationName:"pcrControl" type:"string" enum:"M3u8PcrControl"` 21626 21627 // Maximum time in milliseconds between Program Clock References (PCRs) inserted 21628 // into the transport stream. 21629 PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` 21630 21631 // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport 21632 // stream. When no value is given, the encoder will assign the same value as 21633 // the Video PID. Can be entered as a decimal or hexadecimal value. 21634 PcrPid *string `locationName:"pcrPid" type:"string"` 21635 21636 // The number of milliseconds between instances of this table in the output 21637 // transport stream. A value of \"0\" writes out the PMT once per segment file. 21638 PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` 21639 21640 // Packet Identifier (PID) for the Program Map Table (PMT) in the transport 21641 // stream. Can be entered as a decimal or hexadecimal value. 21642 PmtPid *string `locationName:"pmtPid" type:"string"` 21643 21644 // The value of the program number field in the Program Map Table. 21645 ProgramNum *int64 `locationName:"programNum" type:"integer"` 21646 21647 // If set to passthrough, passes any SCTE-35 signals from the input source to 21648 // this output. 21649 Scte35Behavior *string `locationName:"scte35Behavior" type:"string" enum:"M3u8Scte35Behavior"` 21650 21651 // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can 21652 // be entered as a decimal or hexadecimal value. 21653 Scte35Pid *string `locationName:"scte35Pid" type:"string"` 21654 21655 // When set to passthrough, timed metadata is passed through from input to output. 21656 TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M3u8TimedMetadataBehavior"` 21657 21658 // Packet Identifier (PID) of the timed metadata stream in the transport stream. 21659 // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 21660 // 0x20)..8182 (or 0x1ff6). 21661 TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` 21662 21663 // The value of the transport stream ID field in the Program Map Table. 21664 TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` 21665 21666 // Packet Identifier (PID) of the elementary video stream in the transport stream. 21667 // Can be entered as a decimal or hexadecimal value. 21668 VideoPid *string `locationName:"videoPid" type:"string"` 21669 } 21670 21671 // String returns the string representation. 21672 // 21673 // API parameter values that are decorated as "sensitive" in the API will not 21674 // be included in the string output. The member name will be present, but the 21675 // value will be replaced with "sensitive". 21676 func (s M3u8Settings) String() string { 21677 return awsutil.Prettify(s) 21678 } 21679 21680 // GoString returns the string representation. 21681 // 21682 // API parameter values that are decorated as "sensitive" in the API will not 21683 // be included in the string output. The member name will be present, but the 21684 // value will be replaced with "sensitive". 21685 func (s M3u8Settings) GoString() string { 21686 return s.String() 21687 } 21688 21689 // SetAudioFramesPerPes sets the AudioFramesPerPes field's value. 21690 func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { 21691 s.AudioFramesPerPes = &v 21692 return s 21693 } 21694 21695 // SetAudioPids sets the AudioPids field's value. 21696 func (s *M3u8Settings) SetAudioPids(v string) *M3u8Settings { 21697 s.AudioPids = &v 21698 return s 21699 } 21700 21701 // SetEcmPid sets the EcmPid field's value. 21702 func (s *M3u8Settings) SetEcmPid(v string) *M3u8Settings { 21703 s.EcmPid = &v 21704 return s 21705 } 21706 21707 // SetNielsenId3Behavior sets the NielsenId3Behavior field's value. 21708 func (s *M3u8Settings) SetNielsenId3Behavior(v string) *M3u8Settings { 21709 s.NielsenId3Behavior = &v 21710 return s 21711 } 21712 21713 // SetPatInterval sets the PatInterval field's value. 21714 func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { 21715 s.PatInterval = &v 21716 return s 21717 } 21718 21719 // SetPcrControl sets the PcrControl field's value. 21720 func (s *M3u8Settings) SetPcrControl(v string) *M3u8Settings { 21721 s.PcrControl = &v 21722 return s 21723 } 21724 21725 // SetPcrPeriod sets the PcrPeriod field's value. 21726 func (s *M3u8Settings) SetPcrPeriod(v int64) *M3u8Settings { 21727 s.PcrPeriod = &v 21728 return s 21729 } 21730 21731 // SetPcrPid sets the PcrPid field's value. 21732 func (s *M3u8Settings) SetPcrPid(v string) *M3u8Settings { 21733 s.PcrPid = &v 21734 return s 21735 } 21736 21737 // SetPmtInterval sets the PmtInterval field's value. 21738 func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { 21739 s.PmtInterval = &v 21740 return s 21741 } 21742 21743 // SetPmtPid sets the PmtPid field's value. 21744 func (s *M3u8Settings) SetPmtPid(v string) *M3u8Settings { 21745 s.PmtPid = &v 21746 return s 21747 } 21748 21749 // SetProgramNum sets the ProgramNum field's value. 21750 func (s *M3u8Settings) SetProgramNum(v int64) *M3u8Settings { 21751 s.ProgramNum = &v 21752 return s 21753 } 21754 21755 // SetScte35Behavior sets the Scte35Behavior field's value. 21756 func (s *M3u8Settings) SetScte35Behavior(v string) *M3u8Settings { 21757 s.Scte35Behavior = &v 21758 return s 21759 } 21760 21761 // SetScte35Pid sets the Scte35Pid field's value. 21762 func (s *M3u8Settings) SetScte35Pid(v string) *M3u8Settings { 21763 s.Scte35Pid = &v 21764 return s 21765 } 21766 21767 // SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. 21768 func (s *M3u8Settings) SetTimedMetadataBehavior(v string) *M3u8Settings { 21769 s.TimedMetadataBehavior = &v 21770 return s 21771 } 21772 21773 // SetTimedMetadataPid sets the TimedMetadataPid field's value. 21774 func (s *M3u8Settings) SetTimedMetadataPid(v string) *M3u8Settings { 21775 s.TimedMetadataPid = &v 21776 return s 21777 } 21778 21779 // SetTransportStreamId sets the TransportStreamId field's value. 21780 func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { 21781 s.TransportStreamId = &v 21782 return s 21783 } 21784 21785 // SetVideoPid sets the VideoPid field's value. 21786 func (s *M3u8Settings) SetVideoPid(v string) *M3u8Settings { 21787 s.VideoPid = &v 21788 return s 21789 } 21790 21791 // The settings for a MediaConnect Flow. 21792 type MediaConnectFlow struct { 21793 _ struct{} `type:"structure"` 21794 21795 // The unique ARN of the MediaConnect Flow being used as a source. 21796 FlowArn *string `locationName:"flowArn" type:"string"` 21797 } 21798 21799 // String returns the string representation. 21800 // 21801 // API parameter values that are decorated as "sensitive" in the API will not 21802 // be included in the string output. The member name will be present, but the 21803 // value will be replaced with "sensitive". 21804 func (s MediaConnectFlow) String() string { 21805 return awsutil.Prettify(s) 21806 } 21807 21808 // GoString returns the string representation. 21809 // 21810 // API parameter values that are decorated as "sensitive" in the API will not 21811 // be included in the string output. The member name will be present, but the 21812 // value will be replaced with "sensitive". 21813 func (s MediaConnectFlow) GoString() string { 21814 return s.String() 21815 } 21816 21817 // SetFlowArn sets the FlowArn field's value. 21818 func (s *MediaConnectFlow) SetFlowArn(v string) *MediaConnectFlow { 21819 s.FlowArn = &v 21820 return s 21821 } 21822 21823 // The settings for a MediaConnect Flow. 21824 type MediaConnectFlowRequest struct { 21825 _ struct{} `type:"structure"` 21826 21827 // The ARN of the MediaConnect Flow that you want to use as a source. 21828 FlowArn *string `locationName:"flowArn" type:"string"` 21829 } 21830 21831 // String returns the string representation. 21832 // 21833 // API parameter values that are decorated as "sensitive" in the API will not 21834 // be included in the string output. The member name will be present, but the 21835 // value will be replaced with "sensitive". 21836 func (s MediaConnectFlowRequest) String() string { 21837 return awsutil.Prettify(s) 21838 } 21839 21840 // GoString returns the string representation. 21841 // 21842 // API parameter values that are decorated as "sensitive" in the API will not 21843 // be included in the string output. The member name will be present, but the 21844 // value will be replaced with "sensitive". 21845 func (s MediaConnectFlowRequest) GoString() string { 21846 return s.String() 21847 } 21848 21849 // SetFlowArn sets the FlowArn field's value. 21850 func (s *MediaConnectFlowRequest) SetFlowArn(v string) *MediaConnectFlowRequest { 21851 s.FlowArn = &v 21852 return s 21853 } 21854 21855 // Media Package Group Settings 21856 type MediaPackageGroupSettings struct { 21857 _ struct{} `type:"structure"` 21858 21859 // MediaPackage channel destination. 21860 // 21861 // Destination is a required field 21862 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 21863 } 21864 21865 // String returns the string representation. 21866 // 21867 // API parameter values that are decorated as "sensitive" in the API will not 21868 // be included in the string output. The member name will be present, but the 21869 // value will be replaced with "sensitive". 21870 func (s MediaPackageGroupSettings) String() string { 21871 return awsutil.Prettify(s) 21872 } 21873 21874 // GoString returns the string representation. 21875 // 21876 // API parameter values that are decorated as "sensitive" in the API will not 21877 // be included in the string output. The member name will be present, but the 21878 // value will be replaced with "sensitive". 21879 func (s MediaPackageGroupSettings) GoString() string { 21880 return s.String() 21881 } 21882 21883 // Validate inspects the fields of the type to determine if they are valid. 21884 func (s *MediaPackageGroupSettings) Validate() error { 21885 invalidParams := request.ErrInvalidParams{Context: "MediaPackageGroupSettings"} 21886 if s.Destination == nil { 21887 invalidParams.Add(request.NewErrParamRequired("Destination")) 21888 } 21889 21890 if invalidParams.Len() > 0 { 21891 return invalidParams 21892 } 21893 return nil 21894 } 21895 21896 // SetDestination sets the Destination field's value. 21897 func (s *MediaPackageGroupSettings) SetDestination(v *OutputLocationRef) *MediaPackageGroupSettings { 21898 s.Destination = v 21899 return s 21900 } 21901 21902 // MediaPackage Output Destination Settings 21903 type MediaPackageOutputDestinationSettings struct { 21904 _ struct{} `type:"structure"` 21905 21906 // ID of the channel in MediaPackage that is the destination for this output 21907 // group. You do not need to specify the individual inputs in MediaPackage; 21908 // MediaLive will handle the connection of the two MediaLive pipelines to the 21909 // two MediaPackage inputs. The MediaPackage channel and MediaLive channel must 21910 // be in the same region. 21911 ChannelId *string `locationName:"channelId" min:"1" type:"string"` 21912 } 21913 21914 // String returns the string representation. 21915 // 21916 // API parameter values that are decorated as "sensitive" in the API will not 21917 // be included in the string output. The member name will be present, but the 21918 // value will be replaced with "sensitive". 21919 func (s MediaPackageOutputDestinationSettings) String() string { 21920 return awsutil.Prettify(s) 21921 } 21922 21923 // GoString returns the string representation. 21924 // 21925 // API parameter values that are decorated as "sensitive" in the API will not 21926 // be included in the string output. The member name will be present, but the 21927 // value will be replaced with "sensitive". 21928 func (s MediaPackageOutputDestinationSettings) GoString() string { 21929 return s.String() 21930 } 21931 21932 // Validate inspects the fields of the type to determine if they are valid. 21933 func (s *MediaPackageOutputDestinationSettings) Validate() error { 21934 invalidParams := request.ErrInvalidParams{Context: "MediaPackageOutputDestinationSettings"} 21935 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 21936 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 21937 } 21938 21939 if invalidParams.Len() > 0 { 21940 return invalidParams 21941 } 21942 return nil 21943 } 21944 21945 // SetChannelId sets the ChannelId field's value. 21946 func (s *MediaPackageOutputDestinationSettings) SetChannelId(v string) *MediaPackageOutputDestinationSettings { 21947 s.ChannelId = &v 21948 return s 21949 } 21950 21951 // Media Package Output Settings 21952 type MediaPackageOutputSettings struct { 21953 _ struct{} `type:"structure" nopayload:"true"` 21954 } 21955 21956 // String returns the string representation. 21957 // 21958 // API parameter values that are decorated as "sensitive" in the API will not 21959 // be included in the string output. The member name will be present, but the 21960 // value will be replaced with "sensitive". 21961 func (s MediaPackageOutputSettings) String() string { 21962 return awsutil.Prettify(s) 21963 } 21964 21965 // GoString returns the string representation. 21966 // 21967 // API parameter values that are decorated as "sensitive" in the API will not 21968 // be included in the string output. The member name will be present, but the 21969 // value will be replaced with "sensitive". 21970 func (s MediaPackageOutputSettings) GoString() string { 21971 return s.String() 21972 } 21973 21974 // Settings to specify the rendering of motion graphics into the video stream. 21975 type MotionGraphicsActivateScheduleActionSettings struct { 21976 _ struct{} `type:"structure"` 21977 21978 // Duration (in milliseconds) that motion graphics should render on to the video 21979 // stream. Leaving out this property or setting to 0 will result in rendering 21980 // continuing until a deactivate action is processed. 21981 Duration *int64 `locationName:"duration" type:"long"` 21982 21983 // Key used to extract the password from EC2 Parameter store 21984 PasswordParam *string `locationName:"passwordParam" type:"string"` 21985 21986 // URI of the HTML5 content to be rendered into the live stream. 21987 Url *string `locationName:"url" type:"string"` 21988 21989 // Username if credentials are required to access a file. This must be a reference 21990 // to an AWS parameter store name from which the password can be retrieved. 21991 // AWS Parameter store format: \"ssm://\" 21992 Username *string `locationName:"username" type:"string"` 21993 } 21994 21995 // String returns the string representation. 21996 // 21997 // API parameter values that are decorated as "sensitive" in the API will not 21998 // be included in the string output. The member name will be present, but the 21999 // value will be replaced with "sensitive". 22000 func (s MotionGraphicsActivateScheduleActionSettings) String() string { 22001 return awsutil.Prettify(s) 22002 } 22003 22004 // GoString returns the string representation. 22005 // 22006 // API parameter values that are decorated as "sensitive" in the API will not 22007 // be included in the string output. The member name will be present, but the 22008 // value will be replaced with "sensitive". 22009 func (s MotionGraphicsActivateScheduleActionSettings) GoString() string { 22010 return s.String() 22011 } 22012 22013 // SetDuration sets the Duration field's value. 22014 func (s *MotionGraphicsActivateScheduleActionSettings) SetDuration(v int64) *MotionGraphicsActivateScheduleActionSettings { 22015 s.Duration = &v 22016 return s 22017 } 22018 22019 // SetPasswordParam sets the PasswordParam field's value. 22020 func (s *MotionGraphicsActivateScheduleActionSettings) SetPasswordParam(v string) *MotionGraphicsActivateScheduleActionSettings { 22021 s.PasswordParam = &v 22022 return s 22023 } 22024 22025 // SetUrl sets the Url field's value. 22026 func (s *MotionGraphicsActivateScheduleActionSettings) SetUrl(v string) *MotionGraphicsActivateScheduleActionSettings { 22027 s.Url = &v 22028 return s 22029 } 22030 22031 // SetUsername sets the Username field's value. 22032 func (s *MotionGraphicsActivateScheduleActionSettings) SetUsername(v string) *MotionGraphicsActivateScheduleActionSettings { 22033 s.Username = &v 22034 return s 22035 } 22036 22037 // Motion Graphics Configuration 22038 type MotionGraphicsConfiguration struct { 22039 _ struct{} `type:"structure"` 22040 22041 // Motion Graphics Insertion 22042 MotionGraphicsInsertion *string `locationName:"motionGraphicsInsertion" type:"string" enum:"MotionGraphicsInsertion"` 22043 22044 // Motion Graphics Settings 22045 // 22046 // MotionGraphicsSettings is a required field 22047 MotionGraphicsSettings *MotionGraphicsSettings `locationName:"motionGraphicsSettings" type:"structure" required:"true"` 22048 } 22049 22050 // String returns the string representation. 22051 // 22052 // API parameter values that are decorated as "sensitive" in the API will not 22053 // be included in the string output. The member name will be present, but the 22054 // value will be replaced with "sensitive". 22055 func (s MotionGraphicsConfiguration) String() string { 22056 return awsutil.Prettify(s) 22057 } 22058 22059 // GoString returns the string representation. 22060 // 22061 // API parameter values that are decorated as "sensitive" in the API will not 22062 // be included in the string output. The member name will be present, but the 22063 // value will be replaced with "sensitive". 22064 func (s MotionGraphicsConfiguration) GoString() string { 22065 return s.String() 22066 } 22067 22068 // Validate inspects the fields of the type to determine if they are valid. 22069 func (s *MotionGraphicsConfiguration) Validate() error { 22070 invalidParams := request.ErrInvalidParams{Context: "MotionGraphicsConfiguration"} 22071 if s.MotionGraphicsSettings == nil { 22072 invalidParams.Add(request.NewErrParamRequired("MotionGraphicsSettings")) 22073 } 22074 22075 if invalidParams.Len() > 0 { 22076 return invalidParams 22077 } 22078 return nil 22079 } 22080 22081 // SetMotionGraphicsInsertion sets the MotionGraphicsInsertion field's value. 22082 func (s *MotionGraphicsConfiguration) SetMotionGraphicsInsertion(v string) *MotionGraphicsConfiguration { 22083 s.MotionGraphicsInsertion = &v 22084 return s 22085 } 22086 22087 // SetMotionGraphicsSettings sets the MotionGraphicsSettings field's value. 22088 func (s *MotionGraphicsConfiguration) SetMotionGraphicsSettings(v *MotionGraphicsSettings) *MotionGraphicsConfiguration { 22089 s.MotionGraphicsSettings = v 22090 return s 22091 } 22092 22093 // Settings to specify the ending of rendering motion graphics into the video 22094 // stream. 22095 type MotionGraphicsDeactivateScheduleActionSettings struct { 22096 _ struct{} `type:"structure" nopayload:"true"` 22097 } 22098 22099 // String returns the string representation. 22100 // 22101 // API parameter values that are decorated as "sensitive" in the API will not 22102 // be included in the string output. The member name will be present, but the 22103 // value will be replaced with "sensitive". 22104 func (s MotionGraphicsDeactivateScheduleActionSettings) String() string { 22105 return awsutil.Prettify(s) 22106 } 22107 22108 // GoString returns the string representation. 22109 // 22110 // API parameter values that are decorated as "sensitive" in the API will not 22111 // be included in the string output. The member name will be present, but the 22112 // value will be replaced with "sensitive". 22113 func (s MotionGraphicsDeactivateScheduleActionSettings) GoString() string { 22114 return s.String() 22115 } 22116 22117 // Motion Graphics Settings 22118 type MotionGraphicsSettings struct { 22119 _ struct{} `type:"structure"` 22120 22121 // Html Motion Graphics Settings 22122 HtmlMotionGraphicsSettings *HtmlMotionGraphicsSettings `locationName:"htmlMotionGraphicsSettings" type:"structure"` 22123 } 22124 22125 // String returns the string representation. 22126 // 22127 // API parameter values that are decorated as "sensitive" in the API will not 22128 // be included in the string output. The member name will be present, but the 22129 // value will be replaced with "sensitive". 22130 func (s MotionGraphicsSettings) String() string { 22131 return awsutil.Prettify(s) 22132 } 22133 22134 // GoString returns the string representation. 22135 // 22136 // API parameter values that are decorated as "sensitive" in the API will not 22137 // be included in the string output. The member name will be present, but the 22138 // value will be replaced with "sensitive". 22139 func (s MotionGraphicsSettings) GoString() string { 22140 return s.String() 22141 } 22142 22143 // SetHtmlMotionGraphicsSettings sets the HtmlMotionGraphicsSettings field's value. 22144 func (s *MotionGraphicsSettings) SetHtmlMotionGraphicsSettings(v *HtmlMotionGraphicsSettings) *MotionGraphicsSettings { 22145 s.HtmlMotionGraphicsSettings = v 22146 return s 22147 } 22148 22149 // Mp2 Settings 22150 type Mp2Settings struct { 22151 _ struct{} `type:"structure"` 22152 22153 // Average bitrate in bits/second. 22154 Bitrate *float64 `locationName:"bitrate" type:"double"` 22155 22156 // The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or 22157 // codingMode20 (for stereo). 22158 CodingMode *string `locationName:"codingMode" type:"string" enum:"Mp2CodingMode"` 22159 22160 // Sample rate in Hz. 22161 SampleRate *float64 `locationName:"sampleRate" type:"double"` 22162 } 22163 22164 // String returns the string representation. 22165 // 22166 // API parameter values that are decorated as "sensitive" in the API will not 22167 // be included in the string output. The member name will be present, but the 22168 // value will be replaced with "sensitive". 22169 func (s Mp2Settings) String() string { 22170 return awsutil.Prettify(s) 22171 } 22172 22173 // GoString returns the string representation. 22174 // 22175 // API parameter values that are decorated as "sensitive" in the API will not 22176 // be included in the string output. The member name will be present, but the 22177 // value will be replaced with "sensitive". 22178 func (s Mp2Settings) GoString() string { 22179 return s.String() 22180 } 22181 22182 // SetBitrate sets the Bitrate field's value. 22183 func (s *Mp2Settings) SetBitrate(v float64) *Mp2Settings { 22184 s.Bitrate = &v 22185 return s 22186 } 22187 22188 // SetCodingMode sets the CodingMode field's value. 22189 func (s *Mp2Settings) SetCodingMode(v string) *Mp2Settings { 22190 s.CodingMode = &v 22191 return s 22192 } 22193 22194 // SetSampleRate sets the SampleRate field's value. 22195 func (s *Mp2Settings) SetSampleRate(v float64) *Mp2Settings { 22196 s.SampleRate = &v 22197 return s 22198 } 22199 22200 // Mpeg2 Filter Settings 22201 type Mpeg2FilterSettings struct { 22202 _ struct{} `type:"structure"` 22203 22204 // Temporal Filter Settings 22205 TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` 22206 } 22207 22208 // String returns the string representation. 22209 // 22210 // API parameter values that are decorated as "sensitive" in the API will not 22211 // be included in the string output. The member name will be present, but the 22212 // value will be replaced with "sensitive". 22213 func (s Mpeg2FilterSettings) String() string { 22214 return awsutil.Prettify(s) 22215 } 22216 22217 // GoString returns the string representation. 22218 // 22219 // API parameter values that are decorated as "sensitive" in the API will not 22220 // be included in the string output. The member name will be present, but the 22221 // value will be replaced with "sensitive". 22222 func (s Mpeg2FilterSettings) GoString() string { 22223 return s.String() 22224 } 22225 22226 // SetTemporalFilterSettings sets the TemporalFilterSettings field's value. 22227 func (s *Mpeg2FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *Mpeg2FilterSettings { 22228 s.TemporalFilterSettings = v 22229 return s 22230 } 22231 22232 // Mpeg2 Settings 22233 type Mpeg2Settings struct { 22234 _ struct{} `type:"structure"` 22235 22236 // Choose Off to disable adaptive quantization. Or choose another value to enable 22237 // the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, 22238 // High. When you enable this field, MediaLive allows intra-frame quantizers 22239 // to vary, which might improve visual quality. 22240 AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"Mpeg2AdaptiveQuantization"` 22241 22242 // Indicates the AFD values that MediaLive will write into the video encode. 22243 // If you do not know what AFD signaling is, or if your downstream system has 22244 // not given you guidance, choose AUTO.AUTO: MediaLive will try to preserve 22245 // the input AFD value (in cases where multiple AFD values are valid).FIXED: 22246 // MediaLive will use the value you specify in fixedAFD. 22247 AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` 22248 22249 // Specifies whether to include the color space metadata. The metadata describes 22250 // the color space that applies to the video (the colorSpace field). We recommend 22251 // that you insert the metadata. 22252 ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"Mpeg2ColorMetadata"` 22253 22254 // Choose the type of color space conversion to apply to the output. For detailed 22255 // information on setting up both the input and the output to obtain the desired 22256 // color space in the output, see the section on \"MediaLive Features - Video 22257 // - color space\" in the MediaLive User Guide.PASSTHROUGH: Keep the color space 22258 // of the input content - do not convert it.AUTO:Convert all content that is 22259 // SD to rec 601, and convert all content that is HD to rec 709. 22260 ColorSpace *string `locationName:"colorSpace" type:"string" enum:"Mpeg2ColorSpace"` 22261 22262 // Sets the pixel aspect ratio for the encode. 22263 DisplayAspectRatio *string `locationName:"displayAspectRatio" type:"string" enum:"Mpeg2DisplayRatio"` 22264 22265 // Optionally specify a noise reduction filter, which can improve quality of 22266 // compressed content. If you do not choose a filter, no filter will be applied.TEMPORAL: 22267 // This filter is useful for both source content that is noisy (when it has 22268 // excessive digital artifacts) and source content that is clean.When the content 22269 // is noisy, the filter cleans up the source content before the encoding phase, 22270 // with these two effects: First, it improves the output video quality because 22271 // the content has been cleaned up. Secondly, it decreases the bandwidth because 22272 // MediaLive does not waste bits on encoding noise.When the content is reasonably 22273 // clean, the filter tends to decrease the bitrate. 22274 FilterSettings *Mpeg2FilterSettings `locationName:"filterSettings" type:"structure"` 22275 22276 // Complete this field only when afdSignaling is set to FIXED. Enter the AFD 22277 // value (4 bits) to write on all frames of the video encode. 22278 FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` 22279 22280 // description": "The framerate denominator. For example, 1001. The framerate 22281 // is the numerator divided by the denominator. For example, 24000 / 1001 = 22282 // 23.976 FPS. 22283 // 22284 // FramerateDenominator is a required field 22285 FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer" required:"true"` 22286 22287 // The framerate numerator. For example, 24000. The framerate is the numerator 22288 // divided by the denominator. For example, 24000 / 1001 = 23.976 FPS. 22289 // 22290 // FramerateNumerator is a required field 22291 FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer" required:"true"` 22292 22293 // MPEG2: default is open GOP. 22294 GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` 22295 22296 // Relates to the GOP structure. The number of B-frames between reference frames. 22297 // If you do not know what a B-frame is, use the default. 22298 GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` 22299 22300 // Relates to the GOP structure. The GOP size (keyframe interval) in the units 22301 // specified in gopSizeUnits. If you do not know what GOP is, use the default.If 22302 // gopSizeUnits is frames, then the gopSize must be an integer and must be greater 22303 // than or equal to 1.If gopSizeUnits is seconds, the gopSize must be greater 22304 // than 0, but does not need to be an integer. 22305 GopSize *float64 `locationName:"gopSize" type:"double"` 22306 22307 // Relates to the GOP structure. Specifies whether the gopSize is specified 22308 // in frames or seconds. If you do not plan to change the default gopSize, leave 22309 // the default. If you specify SECONDS, MediaLive will internally convert the 22310 // gop size to a frame count. 22311 GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"Mpeg2GopSizeUnits"` 22312 22313 // Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first). 22314 ScanType *string `locationName:"scanType" type:"string" enum:"Mpeg2ScanType"` 22315 22316 // Relates to the GOP structure. If you do not know what GOP is, use the default.FIXED: 22317 // Set the number of B-frames in each sub-GOP to the value in gopNumBFrames.DYNAMIC: 22318 // Let MediaLive optimize the number of B-frames in each sub-GOP, to improve 22319 // visual quality. 22320 SubgopLength *string `locationName:"subgopLength" type:"string" enum:"Mpeg2SubGopLength"` 22321 22322 // Determines how MediaLive inserts timecodes in the output video. For detailed 22323 // information about setting up the input and the output for a timecode, see 22324 // the section on \"MediaLive Features - Timecode configuration\" in the MediaLive 22325 // User Guide.DISABLED: do not include timecodes.GOP_TIMECODE: Include timecode 22326 // metadata in the GOP header. 22327 TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"Mpeg2TimecodeInsertionBehavior"` 22328 } 22329 22330 // String returns the string representation. 22331 // 22332 // API parameter values that are decorated as "sensitive" in the API will not 22333 // be included in the string output. The member name will be present, but the 22334 // value will be replaced with "sensitive". 22335 func (s Mpeg2Settings) String() string { 22336 return awsutil.Prettify(s) 22337 } 22338 22339 // GoString returns the string representation. 22340 // 22341 // API parameter values that are decorated as "sensitive" in the API will not 22342 // be included in the string output. The member name will be present, but the 22343 // value will be replaced with "sensitive". 22344 func (s Mpeg2Settings) GoString() string { 22345 return s.String() 22346 } 22347 22348 // Validate inspects the fields of the type to determine if they are valid. 22349 func (s *Mpeg2Settings) Validate() error { 22350 invalidParams := request.ErrInvalidParams{Context: "Mpeg2Settings"} 22351 if s.FramerateDenominator == nil { 22352 invalidParams.Add(request.NewErrParamRequired("FramerateDenominator")) 22353 } 22354 if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { 22355 invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) 22356 } 22357 if s.FramerateNumerator == nil { 22358 invalidParams.Add(request.NewErrParamRequired("FramerateNumerator")) 22359 } 22360 if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { 22361 invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) 22362 } 22363 22364 if invalidParams.Len() > 0 { 22365 return invalidParams 22366 } 22367 return nil 22368 } 22369 22370 // SetAdaptiveQuantization sets the AdaptiveQuantization field's value. 22371 func (s *Mpeg2Settings) SetAdaptiveQuantization(v string) *Mpeg2Settings { 22372 s.AdaptiveQuantization = &v 22373 return s 22374 } 22375 22376 // SetAfdSignaling sets the AfdSignaling field's value. 22377 func (s *Mpeg2Settings) SetAfdSignaling(v string) *Mpeg2Settings { 22378 s.AfdSignaling = &v 22379 return s 22380 } 22381 22382 // SetColorMetadata sets the ColorMetadata field's value. 22383 func (s *Mpeg2Settings) SetColorMetadata(v string) *Mpeg2Settings { 22384 s.ColorMetadata = &v 22385 return s 22386 } 22387 22388 // SetColorSpace sets the ColorSpace field's value. 22389 func (s *Mpeg2Settings) SetColorSpace(v string) *Mpeg2Settings { 22390 s.ColorSpace = &v 22391 return s 22392 } 22393 22394 // SetDisplayAspectRatio sets the DisplayAspectRatio field's value. 22395 func (s *Mpeg2Settings) SetDisplayAspectRatio(v string) *Mpeg2Settings { 22396 s.DisplayAspectRatio = &v 22397 return s 22398 } 22399 22400 // SetFilterSettings sets the FilterSettings field's value. 22401 func (s *Mpeg2Settings) SetFilterSettings(v *Mpeg2FilterSettings) *Mpeg2Settings { 22402 s.FilterSettings = v 22403 return s 22404 } 22405 22406 // SetFixedAfd sets the FixedAfd field's value. 22407 func (s *Mpeg2Settings) SetFixedAfd(v string) *Mpeg2Settings { 22408 s.FixedAfd = &v 22409 return s 22410 } 22411 22412 // SetFramerateDenominator sets the FramerateDenominator field's value. 22413 func (s *Mpeg2Settings) SetFramerateDenominator(v int64) *Mpeg2Settings { 22414 s.FramerateDenominator = &v 22415 return s 22416 } 22417 22418 // SetFramerateNumerator sets the FramerateNumerator field's value. 22419 func (s *Mpeg2Settings) SetFramerateNumerator(v int64) *Mpeg2Settings { 22420 s.FramerateNumerator = &v 22421 return s 22422 } 22423 22424 // SetGopClosedCadence sets the GopClosedCadence field's value. 22425 func (s *Mpeg2Settings) SetGopClosedCadence(v int64) *Mpeg2Settings { 22426 s.GopClosedCadence = &v 22427 return s 22428 } 22429 22430 // SetGopNumBFrames sets the GopNumBFrames field's value. 22431 func (s *Mpeg2Settings) SetGopNumBFrames(v int64) *Mpeg2Settings { 22432 s.GopNumBFrames = &v 22433 return s 22434 } 22435 22436 // SetGopSize sets the GopSize field's value. 22437 func (s *Mpeg2Settings) SetGopSize(v float64) *Mpeg2Settings { 22438 s.GopSize = &v 22439 return s 22440 } 22441 22442 // SetGopSizeUnits sets the GopSizeUnits field's value. 22443 func (s *Mpeg2Settings) SetGopSizeUnits(v string) *Mpeg2Settings { 22444 s.GopSizeUnits = &v 22445 return s 22446 } 22447 22448 // SetScanType sets the ScanType field's value. 22449 func (s *Mpeg2Settings) SetScanType(v string) *Mpeg2Settings { 22450 s.ScanType = &v 22451 return s 22452 } 22453 22454 // SetSubgopLength sets the SubgopLength field's value. 22455 func (s *Mpeg2Settings) SetSubgopLength(v string) *Mpeg2Settings { 22456 s.SubgopLength = &v 22457 return s 22458 } 22459 22460 // SetTimecodeInsertion sets the TimecodeInsertion field's value. 22461 func (s *Mpeg2Settings) SetTimecodeInsertion(v string) *Mpeg2Settings { 22462 s.TimecodeInsertion = &v 22463 return s 22464 } 22465 22466 // Ms Smooth Group Settings 22467 type MsSmoothGroupSettings struct { 22468 _ struct{} `type:"structure"` 22469 22470 // The ID to include in each message in the sparse track. Ignored if sparseTrackType 22471 // is NONE. 22472 AcquisitionPointId *string `locationName:"acquisitionPointId" type:"string"` 22473 22474 // If set to passthrough for an audio-only MS Smooth output, the fragment absolute 22475 // time will be set to the current timecode. This option does not write timecodes 22476 // to the audio elementary stream. 22477 AudioOnlyTimecodeControl *string `locationName:"audioOnlyTimecodeControl" type:"string" enum:"SmoothGroupAudioOnlyTimecodeControl"` 22478 22479 // If set to verifyAuthenticity, verify the https certificate chain to a trusted 22480 // Certificate Authority (CA). This will cause https outputs to self-signed 22481 // certificates to fail. 22482 CertificateMode *string `locationName:"certificateMode" type:"string" enum:"SmoothGroupCertificateMode"` 22483 22484 // Number of seconds to wait before retrying connection to the IIS server if 22485 // the connection is lost. Content will be cached during this time and the cache 22486 // will be be delivered to the IIS server once the connection is re-established. 22487 ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` 22488 22489 // Smooth Streaming publish point on an IIS server. Elemental Live acts as a 22490 // "Push" encoder to IIS. 22491 // 22492 // Destination is a required field 22493 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 22494 22495 // MS Smooth event ID to be sent to the IIS server.Should only be specified 22496 // if eventIdMode is set to useConfigured. 22497 EventId *string `locationName:"eventId" type:"string"` 22498 22499 // Specifies whether or not to send an event ID to the IIS server. If no event 22500 // ID is sent and the same Live Event is used without changing the publishing 22501 // point, clients might see cached video from the previous run.Options:- "useConfigured" 22502 // - use the value provided in eventId- "useTimestamp" - generate and send an 22503 // event ID based on the current timestamp- "noEventId" - do not send an event 22504 // ID to the IIS server. 22505 EventIdMode *string `locationName:"eventIdMode" type:"string" enum:"SmoothGroupEventIdMode"` 22506 22507 // When set to sendEos, send EOS signal to IIS server when stopping the event 22508 EventStopBehavior *string `locationName:"eventStopBehavior" type:"string" enum:"SmoothGroupEventStopBehavior"` 22509 22510 // Size in seconds of file cache for streaming outputs. 22511 FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` 22512 22513 // Length of mp4 fragments to generate (in seconds). Fragment length must be 22514 // compatible with GOP size and framerate. 22515 FragmentLength *int64 `locationName:"fragmentLength" min:"1" type:"integer"` 22516 22517 // Parameter that control output group behavior on input loss. 22518 InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForMsSmoothOut"` 22519 22520 // Number of retry attempts. 22521 NumRetries *int64 `locationName:"numRetries" type:"integer"` 22522 22523 // Number of seconds before initiating a restart due to output failure, due 22524 // to exhausting the numRetries on one segment, or exceeding filecacheDuration. 22525 RestartDelay *int64 `locationName:"restartDelay" type:"integer"` 22526 22527 // useInputSegmentation has been deprecated. The configured segment size is 22528 // always used. 22529 SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"SmoothGroupSegmentationMode"` 22530 22531 // Number of milliseconds to delay the output from the second pipeline. 22532 SendDelayMs *int64 `locationName:"sendDelayMs" type:"integer"` 22533 22534 // Identifies the type of data to place in the sparse track:- SCTE35: Insert 22535 // SCTE-35 messages from the source content. With each message, insert an IDR 22536 // frame to start a new segment.- SCTE35_WITHOUT_SEGMENTATION: Insert SCTE-35 22537 // messages from the source content. With each message, insert an IDR frame 22538 // but don't start a new segment.- NONE: Don't generate a sparse track for any 22539 // outputs in this output group. 22540 SparseTrackType *string `locationName:"sparseTrackType" type:"string" enum:"SmoothGroupSparseTrackType"` 22541 22542 // When set to send, send stream manifest so publishing point doesn't start 22543 // until all streams start. 22544 StreamManifestBehavior *string `locationName:"streamManifestBehavior" type:"string" enum:"SmoothGroupStreamManifestBehavior"` 22545 22546 // Timestamp offset for the event. Only used if timestampOffsetMode is set to 22547 // useConfiguredOffset. 22548 TimestampOffset *string `locationName:"timestampOffset" type:"string"` 22549 22550 // Type of timestamp date offset to use.- useEventStartDate: Use the date the 22551 // event was started as the offset- useConfiguredOffset: Use an explicitly configured 22552 // date as the offset 22553 TimestampOffsetMode *string `locationName:"timestampOffsetMode" type:"string" enum:"SmoothGroupTimestampOffsetMode"` 22554 } 22555 22556 // String returns the string representation. 22557 // 22558 // API parameter values that are decorated as "sensitive" in the API will not 22559 // be included in the string output. The member name will be present, but the 22560 // value will be replaced with "sensitive". 22561 func (s MsSmoothGroupSettings) String() string { 22562 return awsutil.Prettify(s) 22563 } 22564 22565 // GoString returns the string representation. 22566 // 22567 // API parameter values that are decorated as "sensitive" in the API will not 22568 // be included in the string output. The member name will be present, but the 22569 // value will be replaced with "sensitive". 22570 func (s MsSmoothGroupSettings) GoString() string { 22571 return s.String() 22572 } 22573 22574 // Validate inspects the fields of the type to determine if they are valid. 22575 func (s *MsSmoothGroupSettings) Validate() error { 22576 invalidParams := request.ErrInvalidParams{Context: "MsSmoothGroupSettings"} 22577 if s.Destination == nil { 22578 invalidParams.Add(request.NewErrParamRequired("Destination")) 22579 } 22580 if s.FragmentLength != nil && *s.FragmentLength < 1 { 22581 invalidParams.Add(request.NewErrParamMinValue("FragmentLength", 1)) 22582 } 22583 22584 if invalidParams.Len() > 0 { 22585 return invalidParams 22586 } 22587 return nil 22588 } 22589 22590 // SetAcquisitionPointId sets the AcquisitionPointId field's value. 22591 func (s *MsSmoothGroupSettings) SetAcquisitionPointId(v string) *MsSmoothGroupSettings { 22592 s.AcquisitionPointId = &v 22593 return s 22594 } 22595 22596 // SetAudioOnlyTimecodeControl sets the AudioOnlyTimecodeControl field's value. 22597 func (s *MsSmoothGroupSettings) SetAudioOnlyTimecodeControl(v string) *MsSmoothGroupSettings { 22598 s.AudioOnlyTimecodeControl = &v 22599 return s 22600 } 22601 22602 // SetCertificateMode sets the CertificateMode field's value. 22603 func (s *MsSmoothGroupSettings) SetCertificateMode(v string) *MsSmoothGroupSettings { 22604 s.CertificateMode = &v 22605 return s 22606 } 22607 22608 // SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. 22609 func (s *MsSmoothGroupSettings) SetConnectionRetryInterval(v int64) *MsSmoothGroupSettings { 22610 s.ConnectionRetryInterval = &v 22611 return s 22612 } 22613 22614 // SetDestination sets the Destination field's value. 22615 func (s *MsSmoothGroupSettings) SetDestination(v *OutputLocationRef) *MsSmoothGroupSettings { 22616 s.Destination = v 22617 return s 22618 } 22619 22620 // SetEventId sets the EventId field's value. 22621 func (s *MsSmoothGroupSettings) SetEventId(v string) *MsSmoothGroupSettings { 22622 s.EventId = &v 22623 return s 22624 } 22625 22626 // SetEventIdMode sets the EventIdMode field's value. 22627 func (s *MsSmoothGroupSettings) SetEventIdMode(v string) *MsSmoothGroupSettings { 22628 s.EventIdMode = &v 22629 return s 22630 } 22631 22632 // SetEventStopBehavior sets the EventStopBehavior field's value. 22633 func (s *MsSmoothGroupSettings) SetEventStopBehavior(v string) *MsSmoothGroupSettings { 22634 s.EventStopBehavior = &v 22635 return s 22636 } 22637 22638 // SetFilecacheDuration sets the FilecacheDuration field's value. 22639 func (s *MsSmoothGroupSettings) SetFilecacheDuration(v int64) *MsSmoothGroupSettings { 22640 s.FilecacheDuration = &v 22641 return s 22642 } 22643 22644 // SetFragmentLength sets the FragmentLength field's value. 22645 func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { 22646 s.FragmentLength = &v 22647 return s 22648 } 22649 22650 // SetInputLossAction sets the InputLossAction field's value. 22651 func (s *MsSmoothGroupSettings) SetInputLossAction(v string) *MsSmoothGroupSettings { 22652 s.InputLossAction = &v 22653 return s 22654 } 22655 22656 // SetNumRetries sets the NumRetries field's value. 22657 func (s *MsSmoothGroupSettings) SetNumRetries(v int64) *MsSmoothGroupSettings { 22658 s.NumRetries = &v 22659 return s 22660 } 22661 22662 // SetRestartDelay sets the RestartDelay field's value. 22663 func (s *MsSmoothGroupSettings) SetRestartDelay(v int64) *MsSmoothGroupSettings { 22664 s.RestartDelay = &v 22665 return s 22666 } 22667 22668 // SetSegmentationMode sets the SegmentationMode field's value. 22669 func (s *MsSmoothGroupSettings) SetSegmentationMode(v string) *MsSmoothGroupSettings { 22670 s.SegmentationMode = &v 22671 return s 22672 } 22673 22674 // SetSendDelayMs sets the SendDelayMs field's value. 22675 func (s *MsSmoothGroupSettings) SetSendDelayMs(v int64) *MsSmoothGroupSettings { 22676 s.SendDelayMs = &v 22677 return s 22678 } 22679 22680 // SetSparseTrackType sets the SparseTrackType field's value. 22681 func (s *MsSmoothGroupSettings) SetSparseTrackType(v string) *MsSmoothGroupSettings { 22682 s.SparseTrackType = &v 22683 return s 22684 } 22685 22686 // SetStreamManifestBehavior sets the StreamManifestBehavior field's value. 22687 func (s *MsSmoothGroupSettings) SetStreamManifestBehavior(v string) *MsSmoothGroupSettings { 22688 s.StreamManifestBehavior = &v 22689 return s 22690 } 22691 22692 // SetTimestampOffset sets the TimestampOffset field's value. 22693 func (s *MsSmoothGroupSettings) SetTimestampOffset(v string) *MsSmoothGroupSettings { 22694 s.TimestampOffset = &v 22695 return s 22696 } 22697 22698 // SetTimestampOffsetMode sets the TimestampOffsetMode field's value. 22699 func (s *MsSmoothGroupSettings) SetTimestampOffsetMode(v string) *MsSmoothGroupSettings { 22700 s.TimestampOffsetMode = &v 22701 return s 22702 } 22703 22704 // Ms Smooth Output Settings 22705 type MsSmoothOutputSettings struct { 22706 _ struct{} `type:"structure"` 22707 22708 // Only applicable when this output is referencing an H.265 video description.Specifies 22709 // whether MP4 segments should be packaged as HEV1 or HVC1. 22710 H265PackagingType *string `locationName:"h265PackagingType" type:"string" enum:"MsSmoothH265PackagingType"` 22711 22712 // String concatenated to the end of the destination filename. Required for 22713 // multiple outputs of the same type. 22714 NameModifier *string `locationName:"nameModifier" type:"string"` 22715 } 22716 22717 // String returns the string representation. 22718 // 22719 // API parameter values that are decorated as "sensitive" in the API will not 22720 // be included in the string output. The member name will be present, but the 22721 // value will be replaced with "sensitive". 22722 func (s MsSmoothOutputSettings) String() string { 22723 return awsutil.Prettify(s) 22724 } 22725 22726 // GoString returns the string representation. 22727 // 22728 // API parameter values that are decorated as "sensitive" in the API will not 22729 // be included in the string output. The member name will be present, but the 22730 // value will be replaced with "sensitive". 22731 func (s MsSmoothOutputSettings) GoString() string { 22732 return s.String() 22733 } 22734 22735 // SetH265PackagingType sets the H265PackagingType field's value. 22736 func (s *MsSmoothOutputSettings) SetH265PackagingType(v string) *MsSmoothOutputSettings { 22737 s.H265PackagingType = &v 22738 return s 22739 } 22740 22741 // SetNameModifier sets the NameModifier field's value. 22742 func (s *MsSmoothOutputSettings) SetNameModifier(v string) *MsSmoothOutputSettings { 22743 s.NameModifier = &v 22744 return s 22745 } 22746 22747 // The multiplex object. 22748 type Multiplex struct { 22749 _ struct{} `type:"structure"` 22750 22751 // The unique arn of the multiplex. 22752 Arn *string `locationName:"arn" type:"string"` 22753 22754 // A list of availability zones for the multiplex. 22755 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 22756 22757 // A list of the multiplex output destinations. 22758 Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` 22759 22760 // The unique id of the multiplex. 22761 Id *string `locationName:"id" type:"string"` 22762 22763 // Configuration for a multiplex event. 22764 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` 22765 22766 // The name of the multiplex. 22767 Name *string `locationName:"name" type:"string"` 22768 22769 // The number of currently healthy pipelines. 22770 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 22771 22772 // The number of programs in the multiplex. 22773 ProgramCount *int64 `locationName:"programCount" type:"integer"` 22774 22775 // The current state of the multiplex. 22776 State *string `locationName:"state" type:"string" enum:"MultiplexState"` 22777 22778 // A collection of key-value pairs. 22779 Tags map[string]*string `locationName:"tags" type:"map"` 22780 } 22781 22782 // String returns the string representation. 22783 // 22784 // API parameter values that are decorated as "sensitive" in the API will not 22785 // be included in the string output. The member name will be present, but the 22786 // value will be replaced with "sensitive". 22787 func (s Multiplex) String() string { 22788 return awsutil.Prettify(s) 22789 } 22790 22791 // GoString returns the string representation. 22792 // 22793 // API parameter values that are decorated as "sensitive" in the API will not 22794 // be included in the string output. The member name will be present, but the 22795 // value will be replaced with "sensitive". 22796 func (s Multiplex) GoString() string { 22797 return s.String() 22798 } 22799 22800 // SetArn sets the Arn field's value. 22801 func (s *Multiplex) SetArn(v string) *Multiplex { 22802 s.Arn = &v 22803 return s 22804 } 22805 22806 // SetAvailabilityZones sets the AvailabilityZones field's value. 22807 func (s *Multiplex) SetAvailabilityZones(v []*string) *Multiplex { 22808 s.AvailabilityZones = v 22809 return s 22810 } 22811 22812 // SetDestinations sets the Destinations field's value. 22813 func (s *Multiplex) SetDestinations(v []*MultiplexOutputDestination) *Multiplex { 22814 s.Destinations = v 22815 return s 22816 } 22817 22818 // SetId sets the Id field's value. 22819 func (s *Multiplex) SetId(v string) *Multiplex { 22820 s.Id = &v 22821 return s 22822 } 22823 22824 // SetMultiplexSettings sets the MultiplexSettings field's value. 22825 func (s *Multiplex) SetMultiplexSettings(v *MultiplexSettings) *Multiplex { 22826 s.MultiplexSettings = v 22827 return s 22828 } 22829 22830 // SetName sets the Name field's value. 22831 func (s *Multiplex) SetName(v string) *Multiplex { 22832 s.Name = &v 22833 return s 22834 } 22835 22836 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 22837 func (s *Multiplex) SetPipelinesRunningCount(v int64) *Multiplex { 22838 s.PipelinesRunningCount = &v 22839 return s 22840 } 22841 22842 // SetProgramCount sets the ProgramCount field's value. 22843 func (s *Multiplex) SetProgramCount(v int64) *Multiplex { 22844 s.ProgramCount = &v 22845 return s 22846 } 22847 22848 // SetState sets the State field's value. 22849 func (s *Multiplex) SetState(v string) *Multiplex { 22850 s.State = &v 22851 return s 22852 } 22853 22854 // SetTags sets the Tags field's value. 22855 func (s *Multiplex) SetTags(v map[string]*string) *Multiplex { 22856 s.Tags = v 22857 return s 22858 } 22859 22860 // Multiplex Group Settings 22861 type MultiplexGroupSettings struct { 22862 _ struct{} `type:"structure" nopayload:"true"` 22863 } 22864 22865 // String returns the string representation. 22866 // 22867 // API parameter values that are decorated as "sensitive" in the API will not 22868 // be included in the string output. The member name will be present, but the 22869 // value will be replaced with "sensitive". 22870 func (s MultiplexGroupSettings) String() string { 22871 return awsutil.Prettify(s) 22872 } 22873 22874 // GoString returns the string representation. 22875 // 22876 // API parameter values that are decorated as "sensitive" in the API will not 22877 // be included in the string output. The member name will be present, but the 22878 // value will be replaced with "sensitive". 22879 func (s MultiplexGroupSettings) GoString() string { 22880 return s.String() 22881 } 22882 22883 // Multiplex MediaConnect output destination settings. 22884 type MultiplexMediaConnectOutputDestinationSettings struct { 22885 _ struct{} `type:"structure"` 22886 22887 // The MediaConnect entitlement ARN available as a Flow source. 22888 EntitlementArn *string `locationName:"entitlementArn" min:"1" type:"string"` 22889 } 22890 22891 // String returns the string representation. 22892 // 22893 // API parameter values that are decorated as "sensitive" in the API will not 22894 // be included in the string output. The member name will be present, but the 22895 // value will be replaced with "sensitive". 22896 func (s MultiplexMediaConnectOutputDestinationSettings) String() string { 22897 return awsutil.Prettify(s) 22898 } 22899 22900 // GoString returns the string representation. 22901 // 22902 // API parameter values that are decorated as "sensitive" in the API will not 22903 // be included in the string output. The member name will be present, but the 22904 // value will be replaced with "sensitive". 22905 func (s MultiplexMediaConnectOutputDestinationSettings) GoString() string { 22906 return s.String() 22907 } 22908 22909 // SetEntitlementArn sets the EntitlementArn field's value. 22910 func (s *MultiplexMediaConnectOutputDestinationSettings) SetEntitlementArn(v string) *MultiplexMediaConnectOutputDestinationSettings { 22911 s.EntitlementArn = &v 22912 return s 22913 } 22914 22915 // Multiplex output destination settings 22916 type MultiplexOutputDestination struct { 22917 _ struct{} `type:"structure"` 22918 22919 // Multiplex MediaConnect output destination settings. 22920 MediaConnectSettings *MultiplexMediaConnectOutputDestinationSettings `locationName:"mediaConnectSettings" type:"structure"` 22921 } 22922 22923 // String returns the string representation. 22924 // 22925 // API parameter values that are decorated as "sensitive" in the API will not 22926 // be included in the string output. The member name will be present, but the 22927 // value will be replaced with "sensitive". 22928 func (s MultiplexOutputDestination) String() string { 22929 return awsutil.Prettify(s) 22930 } 22931 22932 // GoString returns the string representation. 22933 // 22934 // API parameter values that are decorated as "sensitive" in the API will not 22935 // be included in the string output. The member name will be present, but the 22936 // value will be replaced with "sensitive". 22937 func (s MultiplexOutputDestination) GoString() string { 22938 return s.String() 22939 } 22940 22941 // SetMediaConnectSettings sets the MediaConnectSettings field's value. 22942 func (s *MultiplexOutputDestination) SetMediaConnectSettings(v *MultiplexMediaConnectOutputDestinationSettings) *MultiplexOutputDestination { 22943 s.MediaConnectSettings = v 22944 return s 22945 } 22946 22947 // Multiplex Output Settings 22948 type MultiplexOutputSettings struct { 22949 _ struct{} `type:"structure"` 22950 22951 // Destination is a Multiplex. 22952 // 22953 // Destination is a required field 22954 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 22955 } 22956 22957 // String returns the string representation. 22958 // 22959 // API parameter values that are decorated as "sensitive" in the API will not 22960 // be included in the string output. The member name will be present, but the 22961 // value will be replaced with "sensitive". 22962 func (s MultiplexOutputSettings) String() string { 22963 return awsutil.Prettify(s) 22964 } 22965 22966 // GoString returns the string representation. 22967 // 22968 // API parameter values that are decorated as "sensitive" in the API will not 22969 // be included in the string output. The member name will be present, but the 22970 // value will be replaced with "sensitive". 22971 func (s MultiplexOutputSettings) GoString() string { 22972 return s.String() 22973 } 22974 22975 // Validate inspects the fields of the type to determine if they are valid. 22976 func (s *MultiplexOutputSettings) Validate() error { 22977 invalidParams := request.ErrInvalidParams{Context: "MultiplexOutputSettings"} 22978 if s.Destination == nil { 22979 invalidParams.Add(request.NewErrParamRequired("Destination")) 22980 } 22981 22982 if invalidParams.Len() > 0 { 22983 return invalidParams 22984 } 22985 return nil 22986 } 22987 22988 // SetDestination sets the Destination field's value. 22989 func (s *MultiplexOutputSettings) SetDestination(v *OutputLocationRef) *MultiplexOutputSettings { 22990 s.Destination = v 22991 return s 22992 } 22993 22994 // The multiplex program object. 22995 type MultiplexProgram struct { 22996 _ struct{} `type:"structure"` 22997 22998 // The MediaLive channel associated with the program. 22999 ChannelId *string `locationName:"channelId" type:"string"` 23000 23001 // The settings for this multiplex program. 23002 MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` 23003 23004 // The packet identifier map for this multiplex program. 23005 PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` 23006 23007 // Contains information about the current sources for the specified program 23008 // in the specified multiplex. Keep in mind that each multiplex pipeline connects 23009 // to both pipelines in a given source channel (the channel identified by the 23010 // program). But only one of those channel pipelines is ever active at one time. 23011 PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` 23012 23013 // The name of the multiplex program. 23014 ProgramName *string `locationName:"programName" type:"string"` 23015 } 23016 23017 // String returns the string representation. 23018 // 23019 // API parameter values that are decorated as "sensitive" in the API will not 23020 // be included in the string output. The member name will be present, but the 23021 // value will be replaced with "sensitive". 23022 func (s MultiplexProgram) String() string { 23023 return awsutil.Prettify(s) 23024 } 23025 23026 // GoString returns the string representation. 23027 // 23028 // API parameter values that are decorated as "sensitive" in the API will not 23029 // be included in the string output. The member name will be present, but the 23030 // value will be replaced with "sensitive". 23031 func (s MultiplexProgram) GoString() string { 23032 return s.String() 23033 } 23034 23035 // SetChannelId sets the ChannelId field's value. 23036 func (s *MultiplexProgram) SetChannelId(v string) *MultiplexProgram { 23037 s.ChannelId = &v 23038 return s 23039 } 23040 23041 // SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. 23042 func (s *MultiplexProgram) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *MultiplexProgram { 23043 s.MultiplexProgramSettings = v 23044 return s 23045 } 23046 23047 // SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. 23048 func (s *MultiplexProgram) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *MultiplexProgram { 23049 s.PacketIdentifiersMap = v 23050 return s 23051 } 23052 23053 // SetPipelineDetails sets the PipelineDetails field's value. 23054 func (s *MultiplexProgram) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *MultiplexProgram { 23055 s.PipelineDetails = v 23056 return s 23057 } 23058 23059 // SetProgramName sets the ProgramName field's value. 23060 func (s *MultiplexProgram) SetProgramName(v string) *MultiplexProgram { 23061 s.ProgramName = &v 23062 return s 23063 } 23064 23065 // Multiplex Program Input Destination Settings for outputting a Channel to 23066 // a Multiplex 23067 type MultiplexProgramChannelDestinationSettings struct { 23068 _ struct{} `type:"structure"` 23069 23070 // The ID of the Multiplex that the encoder is providing output to. You do not 23071 // need to specify the individual inputs to the Multiplex; MediaLive will handle 23072 // the connection of the two MediaLive pipelines to the two Multiplex instances.The 23073 // Multiplex must be in the same region as the Channel. 23074 MultiplexId *string `locationName:"multiplexId" min:"1" type:"string"` 23075 23076 // The program name of the Multiplex program that the encoder is providing output 23077 // to. 23078 ProgramName *string `locationName:"programName" min:"1" type:"string"` 23079 } 23080 23081 // String returns the string representation. 23082 // 23083 // API parameter values that are decorated as "sensitive" in the API will not 23084 // be included in the string output. The member name will be present, but the 23085 // value will be replaced with "sensitive". 23086 func (s MultiplexProgramChannelDestinationSettings) String() string { 23087 return awsutil.Prettify(s) 23088 } 23089 23090 // GoString returns the string representation. 23091 // 23092 // API parameter values that are decorated as "sensitive" in the API will not 23093 // be included in the string output. The member name will be present, but the 23094 // value will be replaced with "sensitive". 23095 func (s MultiplexProgramChannelDestinationSettings) GoString() string { 23096 return s.String() 23097 } 23098 23099 // Validate inspects the fields of the type to determine if they are valid. 23100 func (s *MultiplexProgramChannelDestinationSettings) Validate() error { 23101 invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramChannelDestinationSettings"} 23102 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 23103 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 23104 } 23105 if s.ProgramName != nil && len(*s.ProgramName) < 1 { 23106 invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) 23107 } 23108 23109 if invalidParams.Len() > 0 { 23110 return invalidParams 23111 } 23112 return nil 23113 } 23114 23115 // SetMultiplexId sets the MultiplexId field's value. 23116 func (s *MultiplexProgramChannelDestinationSettings) SetMultiplexId(v string) *MultiplexProgramChannelDestinationSettings { 23117 s.MultiplexId = &v 23118 return s 23119 } 23120 23121 // SetProgramName sets the ProgramName field's value. 23122 func (s *MultiplexProgramChannelDestinationSettings) SetProgramName(v string) *MultiplexProgramChannelDestinationSettings { 23123 s.ProgramName = &v 23124 return s 23125 } 23126 23127 // Packet identifiers map for a given Multiplex program. 23128 type MultiplexProgramPacketIdentifiersMap struct { 23129 _ struct{} `type:"structure"` 23130 23131 AudioPids []*int64 `locationName:"audioPids" type:"list"` 23132 23133 DvbSubPids []*int64 `locationName:"dvbSubPids" type:"list"` 23134 23135 DvbTeletextPid *int64 `locationName:"dvbTeletextPid" type:"integer"` 23136 23137 EtvPlatformPid *int64 `locationName:"etvPlatformPid" type:"integer"` 23138 23139 EtvSignalPid *int64 `locationName:"etvSignalPid" type:"integer"` 23140 23141 KlvDataPids []*int64 `locationName:"klvDataPids" type:"list"` 23142 23143 PcrPid *int64 `locationName:"pcrPid" type:"integer"` 23144 23145 PmtPid *int64 `locationName:"pmtPid" type:"integer"` 23146 23147 PrivateMetadataPid *int64 `locationName:"privateMetadataPid" type:"integer"` 23148 23149 Scte27Pids []*int64 `locationName:"scte27Pids" type:"list"` 23150 23151 Scte35Pid *int64 `locationName:"scte35Pid" type:"integer"` 23152 23153 TimedMetadataPid *int64 `locationName:"timedMetadataPid" type:"integer"` 23154 23155 VideoPid *int64 `locationName:"videoPid" type:"integer"` 23156 } 23157 23158 // String returns the string representation. 23159 // 23160 // API parameter values that are decorated as "sensitive" in the API will not 23161 // be included in the string output. The member name will be present, but the 23162 // value will be replaced with "sensitive". 23163 func (s MultiplexProgramPacketIdentifiersMap) String() string { 23164 return awsutil.Prettify(s) 23165 } 23166 23167 // GoString returns the string representation. 23168 // 23169 // API parameter values that are decorated as "sensitive" in the API will not 23170 // be included in the string output. The member name will be present, but the 23171 // value will be replaced with "sensitive". 23172 func (s MultiplexProgramPacketIdentifiersMap) GoString() string { 23173 return s.String() 23174 } 23175 23176 // SetAudioPids sets the AudioPids field's value. 23177 func (s *MultiplexProgramPacketIdentifiersMap) SetAudioPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { 23178 s.AudioPids = v 23179 return s 23180 } 23181 23182 // SetDvbSubPids sets the DvbSubPids field's value. 23183 func (s *MultiplexProgramPacketIdentifiersMap) SetDvbSubPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { 23184 s.DvbSubPids = v 23185 return s 23186 } 23187 23188 // SetDvbTeletextPid sets the DvbTeletextPid field's value. 23189 func (s *MultiplexProgramPacketIdentifiersMap) SetDvbTeletextPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23190 s.DvbTeletextPid = &v 23191 return s 23192 } 23193 23194 // SetEtvPlatformPid sets the EtvPlatformPid field's value. 23195 func (s *MultiplexProgramPacketIdentifiersMap) SetEtvPlatformPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23196 s.EtvPlatformPid = &v 23197 return s 23198 } 23199 23200 // SetEtvSignalPid sets the EtvSignalPid field's value. 23201 func (s *MultiplexProgramPacketIdentifiersMap) SetEtvSignalPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23202 s.EtvSignalPid = &v 23203 return s 23204 } 23205 23206 // SetKlvDataPids sets the KlvDataPids field's value. 23207 func (s *MultiplexProgramPacketIdentifiersMap) SetKlvDataPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { 23208 s.KlvDataPids = v 23209 return s 23210 } 23211 23212 // SetPcrPid sets the PcrPid field's value. 23213 func (s *MultiplexProgramPacketIdentifiersMap) SetPcrPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23214 s.PcrPid = &v 23215 return s 23216 } 23217 23218 // SetPmtPid sets the PmtPid field's value. 23219 func (s *MultiplexProgramPacketIdentifiersMap) SetPmtPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23220 s.PmtPid = &v 23221 return s 23222 } 23223 23224 // SetPrivateMetadataPid sets the PrivateMetadataPid field's value. 23225 func (s *MultiplexProgramPacketIdentifiersMap) SetPrivateMetadataPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23226 s.PrivateMetadataPid = &v 23227 return s 23228 } 23229 23230 // SetScte27Pids sets the Scte27Pids field's value. 23231 func (s *MultiplexProgramPacketIdentifiersMap) SetScte27Pids(v []*int64) *MultiplexProgramPacketIdentifiersMap { 23232 s.Scte27Pids = v 23233 return s 23234 } 23235 23236 // SetScte35Pid sets the Scte35Pid field's value. 23237 func (s *MultiplexProgramPacketIdentifiersMap) SetScte35Pid(v int64) *MultiplexProgramPacketIdentifiersMap { 23238 s.Scte35Pid = &v 23239 return s 23240 } 23241 23242 // SetTimedMetadataPid sets the TimedMetadataPid field's value. 23243 func (s *MultiplexProgramPacketIdentifiersMap) SetTimedMetadataPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23244 s.TimedMetadataPid = &v 23245 return s 23246 } 23247 23248 // SetVideoPid sets the VideoPid field's value. 23249 func (s *MultiplexProgramPacketIdentifiersMap) SetVideoPid(v int64) *MultiplexProgramPacketIdentifiersMap { 23250 s.VideoPid = &v 23251 return s 23252 } 23253 23254 // The current source for one of the pipelines in the multiplex. 23255 type MultiplexProgramPipelineDetail struct { 23256 _ struct{} `type:"structure"` 23257 23258 // Identifies the channel pipeline that is currently active for the pipeline 23259 // (identified by PipelineId) in the multiplex. 23260 ActiveChannelPipeline *string `locationName:"activeChannelPipeline" type:"string"` 23261 23262 // Identifies a specific pipeline in the multiplex. 23263 PipelineId *string `locationName:"pipelineId" type:"string"` 23264 } 23265 23266 // String returns the string representation. 23267 // 23268 // API parameter values that are decorated as "sensitive" in the API will not 23269 // be included in the string output. The member name will be present, but the 23270 // value will be replaced with "sensitive". 23271 func (s MultiplexProgramPipelineDetail) String() string { 23272 return awsutil.Prettify(s) 23273 } 23274 23275 // GoString returns the string representation. 23276 // 23277 // API parameter values that are decorated as "sensitive" in the API will not 23278 // be included in the string output. The member name will be present, but the 23279 // value will be replaced with "sensitive". 23280 func (s MultiplexProgramPipelineDetail) GoString() string { 23281 return s.String() 23282 } 23283 23284 // SetActiveChannelPipeline sets the ActiveChannelPipeline field's value. 23285 func (s *MultiplexProgramPipelineDetail) SetActiveChannelPipeline(v string) *MultiplexProgramPipelineDetail { 23286 s.ActiveChannelPipeline = &v 23287 return s 23288 } 23289 23290 // SetPipelineId sets the PipelineId field's value. 23291 func (s *MultiplexProgramPipelineDetail) SetPipelineId(v string) *MultiplexProgramPipelineDetail { 23292 s.PipelineId = &v 23293 return s 23294 } 23295 23296 // Transport stream service descriptor configuration for the Multiplex program. 23297 type MultiplexProgramServiceDescriptor struct { 23298 _ struct{} `type:"structure"` 23299 23300 // Name of the provider. 23301 // 23302 // ProviderName is a required field 23303 ProviderName *string `locationName:"providerName" type:"string" required:"true"` 23304 23305 // Name of the service. 23306 // 23307 // ServiceName is a required field 23308 ServiceName *string `locationName:"serviceName" type:"string" required:"true"` 23309 } 23310 23311 // String returns the string representation. 23312 // 23313 // API parameter values that are decorated as "sensitive" in the API will not 23314 // be included in the string output. The member name will be present, but the 23315 // value will be replaced with "sensitive". 23316 func (s MultiplexProgramServiceDescriptor) String() string { 23317 return awsutil.Prettify(s) 23318 } 23319 23320 // GoString returns the string representation. 23321 // 23322 // API parameter values that are decorated as "sensitive" in the API will not 23323 // be included in the string output. The member name will be present, but the 23324 // value will be replaced with "sensitive". 23325 func (s MultiplexProgramServiceDescriptor) GoString() string { 23326 return s.String() 23327 } 23328 23329 // Validate inspects the fields of the type to determine if they are valid. 23330 func (s *MultiplexProgramServiceDescriptor) Validate() error { 23331 invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramServiceDescriptor"} 23332 if s.ProviderName == nil { 23333 invalidParams.Add(request.NewErrParamRequired("ProviderName")) 23334 } 23335 if s.ServiceName == nil { 23336 invalidParams.Add(request.NewErrParamRequired("ServiceName")) 23337 } 23338 23339 if invalidParams.Len() > 0 { 23340 return invalidParams 23341 } 23342 return nil 23343 } 23344 23345 // SetProviderName sets the ProviderName field's value. 23346 func (s *MultiplexProgramServiceDescriptor) SetProviderName(v string) *MultiplexProgramServiceDescriptor { 23347 s.ProviderName = &v 23348 return s 23349 } 23350 23351 // SetServiceName sets the ServiceName field's value. 23352 func (s *MultiplexProgramServiceDescriptor) SetServiceName(v string) *MultiplexProgramServiceDescriptor { 23353 s.ServiceName = &v 23354 return s 23355 } 23356 23357 // Multiplex Program settings configuration. 23358 type MultiplexProgramSettings struct { 23359 _ struct{} `type:"structure"` 23360 23361 // Indicates which pipeline is preferred by the multiplex for program ingest. 23362 PreferredChannelPipeline *string `locationName:"preferredChannelPipeline" type:"string" enum:"PreferredChannelPipeline"` 23363 23364 // Unique program number. 23365 // 23366 // ProgramNumber is a required field 23367 ProgramNumber *int64 `locationName:"programNumber" type:"integer" required:"true"` 23368 23369 // Transport stream service descriptor configuration for the Multiplex program. 23370 ServiceDescriptor *MultiplexProgramServiceDescriptor `locationName:"serviceDescriptor" type:"structure"` 23371 23372 // Program video settings configuration. 23373 VideoSettings *MultiplexVideoSettings `locationName:"videoSettings" type:"structure"` 23374 } 23375 23376 // String returns the string representation. 23377 // 23378 // API parameter values that are decorated as "sensitive" in the API will not 23379 // be included in the string output. The member name will be present, but the 23380 // value will be replaced with "sensitive". 23381 func (s MultiplexProgramSettings) String() string { 23382 return awsutil.Prettify(s) 23383 } 23384 23385 // GoString returns the string representation. 23386 // 23387 // API parameter values that are decorated as "sensitive" in the API will not 23388 // be included in the string output. The member name will be present, but the 23389 // value will be replaced with "sensitive". 23390 func (s MultiplexProgramSettings) GoString() string { 23391 return s.String() 23392 } 23393 23394 // Validate inspects the fields of the type to determine if they are valid. 23395 func (s *MultiplexProgramSettings) Validate() error { 23396 invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramSettings"} 23397 if s.ProgramNumber == nil { 23398 invalidParams.Add(request.NewErrParamRequired("ProgramNumber")) 23399 } 23400 if s.ServiceDescriptor != nil { 23401 if err := s.ServiceDescriptor.Validate(); err != nil { 23402 invalidParams.AddNested("ServiceDescriptor", err.(request.ErrInvalidParams)) 23403 } 23404 } 23405 if s.VideoSettings != nil { 23406 if err := s.VideoSettings.Validate(); err != nil { 23407 invalidParams.AddNested("VideoSettings", err.(request.ErrInvalidParams)) 23408 } 23409 } 23410 23411 if invalidParams.Len() > 0 { 23412 return invalidParams 23413 } 23414 return nil 23415 } 23416 23417 // SetPreferredChannelPipeline sets the PreferredChannelPipeline field's value. 23418 func (s *MultiplexProgramSettings) SetPreferredChannelPipeline(v string) *MultiplexProgramSettings { 23419 s.PreferredChannelPipeline = &v 23420 return s 23421 } 23422 23423 // SetProgramNumber sets the ProgramNumber field's value. 23424 func (s *MultiplexProgramSettings) SetProgramNumber(v int64) *MultiplexProgramSettings { 23425 s.ProgramNumber = &v 23426 return s 23427 } 23428 23429 // SetServiceDescriptor sets the ServiceDescriptor field's value. 23430 func (s *MultiplexProgramSettings) SetServiceDescriptor(v *MultiplexProgramServiceDescriptor) *MultiplexProgramSettings { 23431 s.ServiceDescriptor = v 23432 return s 23433 } 23434 23435 // SetVideoSettings sets the VideoSettings field's value. 23436 func (s *MultiplexProgramSettings) SetVideoSettings(v *MultiplexVideoSettings) *MultiplexProgramSettings { 23437 s.VideoSettings = v 23438 return s 23439 } 23440 23441 type MultiplexProgramSummary struct { 23442 _ struct{} `type:"structure"` 23443 23444 // The MediaLive Channel associated with the program. 23445 ChannelId *string `locationName:"channelId" type:"string"` 23446 23447 // The name of the multiplex program. 23448 ProgramName *string `locationName:"programName" type:"string"` 23449 } 23450 23451 // String returns the string representation. 23452 // 23453 // API parameter values that are decorated as "sensitive" in the API will not 23454 // be included in the string output. The member name will be present, but the 23455 // value will be replaced with "sensitive". 23456 func (s MultiplexProgramSummary) String() string { 23457 return awsutil.Prettify(s) 23458 } 23459 23460 // GoString returns the string representation. 23461 // 23462 // API parameter values that are decorated as "sensitive" in the API will not 23463 // be included in the string output. The member name will be present, but the 23464 // value will be replaced with "sensitive". 23465 func (s MultiplexProgramSummary) GoString() string { 23466 return s.String() 23467 } 23468 23469 // SetChannelId sets the ChannelId field's value. 23470 func (s *MultiplexProgramSummary) SetChannelId(v string) *MultiplexProgramSummary { 23471 s.ChannelId = &v 23472 return s 23473 } 23474 23475 // SetProgramName sets the ProgramName field's value. 23476 func (s *MultiplexProgramSummary) SetProgramName(v string) *MultiplexProgramSummary { 23477 s.ProgramName = &v 23478 return s 23479 } 23480 23481 // Contains configuration for a Multiplex event 23482 type MultiplexSettings struct { 23483 _ struct{} `type:"structure"` 23484 23485 // Maximum video buffer delay in milliseconds. 23486 MaximumVideoBufferDelayMilliseconds *int64 `locationName:"maximumVideoBufferDelayMilliseconds" min:"800" type:"integer"` 23487 23488 // Transport stream bit rate. 23489 // 23490 // TransportStreamBitrate is a required field 23491 TransportStreamBitrate *int64 `locationName:"transportStreamBitrate" min:"1e+06" type:"integer" required:"true"` 23492 23493 // Transport stream ID. 23494 // 23495 // TransportStreamId is a required field 23496 TransportStreamId *int64 `locationName:"transportStreamId" type:"integer" required:"true"` 23497 23498 // Transport stream reserved bit rate. 23499 TransportStreamReservedBitrate *int64 `locationName:"transportStreamReservedBitrate" type:"integer"` 23500 } 23501 23502 // String returns the string representation. 23503 // 23504 // API parameter values that are decorated as "sensitive" in the API will not 23505 // be included in the string output. The member name will be present, but the 23506 // value will be replaced with "sensitive". 23507 func (s MultiplexSettings) String() string { 23508 return awsutil.Prettify(s) 23509 } 23510 23511 // GoString returns the string representation. 23512 // 23513 // API parameter values that are decorated as "sensitive" in the API will not 23514 // be included in the string output. The member name will be present, but the 23515 // value will be replaced with "sensitive". 23516 func (s MultiplexSettings) GoString() string { 23517 return s.String() 23518 } 23519 23520 // Validate inspects the fields of the type to determine if they are valid. 23521 func (s *MultiplexSettings) Validate() error { 23522 invalidParams := request.ErrInvalidParams{Context: "MultiplexSettings"} 23523 if s.MaximumVideoBufferDelayMilliseconds != nil && *s.MaximumVideoBufferDelayMilliseconds < 800 { 23524 invalidParams.Add(request.NewErrParamMinValue("MaximumVideoBufferDelayMilliseconds", 800)) 23525 } 23526 if s.TransportStreamBitrate == nil { 23527 invalidParams.Add(request.NewErrParamRequired("TransportStreamBitrate")) 23528 } 23529 if s.TransportStreamBitrate != nil && *s.TransportStreamBitrate < 1e+06 { 23530 invalidParams.Add(request.NewErrParamMinValue("TransportStreamBitrate", 1e+06)) 23531 } 23532 if s.TransportStreamId == nil { 23533 invalidParams.Add(request.NewErrParamRequired("TransportStreamId")) 23534 } 23535 23536 if invalidParams.Len() > 0 { 23537 return invalidParams 23538 } 23539 return nil 23540 } 23541 23542 // SetMaximumVideoBufferDelayMilliseconds sets the MaximumVideoBufferDelayMilliseconds field's value. 23543 func (s *MultiplexSettings) SetMaximumVideoBufferDelayMilliseconds(v int64) *MultiplexSettings { 23544 s.MaximumVideoBufferDelayMilliseconds = &v 23545 return s 23546 } 23547 23548 // SetTransportStreamBitrate sets the TransportStreamBitrate field's value. 23549 func (s *MultiplexSettings) SetTransportStreamBitrate(v int64) *MultiplexSettings { 23550 s.TransportStreamBitrate = &v 23551 return s 23552 } 23553 23554 // SetTransportStreamId sets the TransportStreamId field's value. 23555 func (s *MultiplexSettings) SetTransportStreamId(v int64) *MultiplexSettings { 23556 s.TransportStreamId = &v 23557 return s 23558 } 23559 23560 // SetTransportStreamReservedBitrate sets the TransportStreamReservedBitrate field's value. 23561 func (s *MultiplexSettings) SetTransportStreamReservedBitrate(v int64) *MultiplexSettings { 23562 s.TransportStreamReservedBitrate = &v 23563 return s 23564 } 23565 23566 // Contains summary configuration for a Multiplex event. 23567 type MultiplexSettingsSummary struct { 23568 _ struct{} `type:"structure"` 23569 23570 // Transport stream bit rate. 23571 TransportStreamBitrate *int64 `locationName:"transportStreamBitrate" min:"1e+06" type:"integer"` 23572 } 23573 23574 // String returns the string representation. 23575 // 23576 // API parameter values that are decorated as "sensitive" in the API will not 23577 // be included in the string output. The member name will be present, but the 23578 // value will be replaced with "sensitive". 23579 func (s MultiplexSettingsSummary) String() string { 23580 return awsutil.Prettify(s) 23581 } 23582 23583 // GoString returns the string representation. 23584 // 23585 // API parameter values that are decorated as "sensitive" in the API will not 23586 // be included in the string output. The member name will be present, but the 23587 // value will be replaced with "sensitive". 23588 func (s MultiplexSettingsSummary) GoString() string { 23589 return s.String() 23590 } 23591 23592 // SetTransportStreamBitrate sets the TransportStreamBitrate field's value. 23593 func (s *MultiplexSettingsSummary) SetTransportStreamBitrate(v int64) *MultiplexSettingsSummary { 23594 s.TransportStreamBitrate = &v 23595 return s 23596 } 23597 23598 // Statmux rate control settings 23599 type MultiplexStatmuxVideoSettings struct { 23600 _ struct{} `type:"structure"` 23601 23602 // Maximum statmux bitrate. 23603 MaximumBitrate *int64 `locationName:"maximumBitrate" min:"100000" type:"integer"` 23604 23605 // Minimum statmux bitrate. 23606 MinimumBitrate *int64 `locationName:"minimumBitrate" min:"100000" type:"integer"` 23607 23608 // The purpose of the priority is to use a combination of the\nmultiplex rate 23609 // control algorithm and the QVBR capability of the\nencoder to prioritize the 23610 // video quality of some channels in a\nmultiplex over others. Channels that 23611 // have a higher priority will\nget higher video quality at the expense of the 23612 // video quality of\nother channels in the multiplex with lower priority. 23613 Priority *int64 `locationName:"priority" type:"integer"` 23614 } 23615 23616 // String returns the string representation. 23617 // 23618 // API parameter values that are decorated as "sensitive" in the API will not 23619 // be included in the string output. The member name will be present, but the 23620 // value will be replaced with "sensitive". 23621 func (s MultiplexStatmuxVideoSettings) String() string { 23622 return awsutil.Prettify(s) 23623 } 23624 23625 // GoString returns the string representation. 23626 // 23627 // API parameter values that are decorated as "sensitive" in the API will not 23628 // be included in the string output. The member name will be present, but the 23629 // value will be replaced with "sensitive". 23630 func (s MultiplexStatmuxVideoSettings) GoString() string { 23631 return s.String() 23632 } 23633 23634 // Validate inspects the fields of the type to determine if they are valid. 23635 func (s *MultiplexStatmuxVideoSettings) Validate() error { 23636 invalidParams := request.ErrInvalidParams{Context: "MultiplexStatmuxVideoSettings"} 23637 if s.MaximumBitrate != nil && *s.MaximumBitrate < 100000 { 23638 invalidParams.Add(request.NewErrParamMinValue("MaximumBitrate", 100000)) 23639 } 23640 if s.MinimumBitrate != nil && *s.MinimumBitrate < 100000 { 23641 invalidParams.Add(request.NewErrParamMinValue("MinimumBitrate", 100000)) 23642 } 23643 if s.Priority != nil && *s.Priority < -5 { 23644 invalidParams.Add(request.NewErrParamMinValue("Priority", -5)) 23645 } 23646 23647 if invalidParams.Len() > 0 { 23648 return invalidParams 23649 } 23650 return nil 23651 } 23652 23653 // SetMaximumBitrate sets the MaximumBitrate field's value. 23654 func (s *MultiplexStatmuxVideoSettings) SetMaximumBitrate(v int64) *MultiplexStatmuxVideoSettings { 23655 s.MaximumBitrate = &v 23656 return s 23657 } 23658 23659 // SetMinimumBitrate sets the MinimumBitrate field's value. 23660 func (s *MultiplexStatmuxVideoSettings) SetMinimumBitrate(v int64) *MultiplexStatmuxVideoSettings { 23661 s.MinimumBitrate = &v 23662 return s 23663 } 23664 23665 // SetPriority sets the Priority field's value. 23666 func (s *MultiplexStatmuxVideoSettings) SetPriority(v int64) *MultiplexStatmuxVideoSettings { 23667 s.Priority = &v 23668 return s 23669 } 23670 23671 type MultiplexSummary struct { 23672 _ struct{} `type:"structure"` 23673 23674 // The unique arn of the multiplex. 23675 Arn *string `locationName:"arn" type:"string"` 23676 23677 // A list of availability zones for the multiplex. 23678 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 23679 23680 // The unique id of the multiplex. 23681 Id *string `locationName:"id" type:"string"` 23682 23683 // Configuration for a multiplex event. 23684 MultiplexSettings *MultiplexSettingsSummary `locationName:"multiplexSettings" type:"structure"` 23685 23686 // The name of the multiplex. 23687 Name *string `locationName:"name" type:"string"` 23688 23689 // The number of currently healthy pipelines. 23690 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 23691 23692 // The number of programs in the multiplex. 23693 ProgramCount *int64 `locationName:"programCount" type:"integer"` 23694 23695 // The current state of the multiplex. 23696 State *string `locationName:"state" type:"string" enum:"MultiplexState"` 23697 23698 // A collection of key-value pairs. 23699 Tags map[string]*string `locationName:"tags" type:"map"` 23700 } 23701 23702 // String returns the string representation. 23703 // 23704 // API parameter values that are decorated as "sensitive" in the API will not 23705 // be included in the string output. The member name will be present, but the 23706 // value will be replaced with "sensitive". 23707 func (s MultiplexSummary) String() string { 23708 return awsutil.Prettify(s) 23709 } 23710 23711 // GoString returns the string representation. 23712 // 23713 // API parameter values that are decorated as "sensitive" in the API will not 23714 // be included in the string output. The member name will be present, but the 23715 // value will be replaced with "sensitive". 23716 func (s MultiplexSummary) GoString() string { 23717 return s.String() 23718 } 23719 23720 // SetArn sets the Arn field's value. 23721 func (s *MultiplexSummary) SetArn(v string) *MultiplexSummary { 23722 s.Arn = &v 23723 return s 23724 } 23725 23726 // SetAvailabilityZones sets the AvailabilityZones field's value. 23727 func (s *MultiplexSummary) SetAvailabilityZones(v []*string) *MultiplexSummary { 23728 s.AvailabilityZones = v 23729 return s 23730 } 23731 23732 // SetId sets the Id field's value. 23733 func (s *MultiplexSummary) SetId(v string) *MultiplexSummary { 23734 s.Id = &v 23735 return s 23736 } 23737 23738 // SetMultiplexSettings sets the MultiplexSettings field's value. 23739 func (s *MultiplexSummary) SetMultiplexSettings(v *MultiplexSettingsSummary) *MultiplexSummary { 23740 s.MultiplexSettings = v 23741 return s 23742 } 23743 23744 // SetName sets the Name field's value. 23745 func (s *MultiplexSummary) SetName(v string) *MultiplexSummary { 23746 s.Name = &v 23747 return s 23748 } 23749 23750 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 23751 func (s *MultiplexSummary) SetPipelinesRunningCount(v int64) *MultiplexSummary { 23752 s.PipelinesRunningCount = &v 23753 return s 23754 } 23755 23756 // SetProgramCount sets the ProgramCount field's value. 23757 func (s *MultiplexSummary) SetProgramCount(v int64) *MultiplexSummary { 23758 s.ProgramCount = &v 23759 return s 23760 } 23761 23762 // SetState sets the State field's value. 23763 func (s *MultiplexSummary) SetState(v string) *MultiplexSummary { 23764 s.State = &v 23765 return s 23766 } 23767 23768 // SetTags sets the Tags field's value. 23769 func (s *MultiplexSummary) SetTags(v map[string]*string) *MultiplexSummary { 23770 s.Tags = v 23771 return s 23772 } 23773 23774 // The video configuration for each program in a multiplex. 23775 type MultiplexVideoSettings struct { 23776 _ struct{} `type:"structure"` 23777 23778 // The constant bitrate configuration for the video encode.When this field is 23779 // defined, StatmuxSettings must be undefined. 23780 ConstantBitrate *int64 `locationName:"constantBitrate" min:"100000" type:"integer"` 23781 23782 // Statmux rate control settings.When this field is defined, ConstantBitrate 23783 // must be undefined. 23784 StatmuxSettings *MultiplexStatmuxVideoSettings `locationName:"statmuxSettings" type:"structure"` 23785 } 23786 23787 // String returns the string representation. 23788 // 23789 // API parameter values that are decorated as "sensitive" in the API will not 23790 // be included in the string output. The member name will be present, but the 23791 // value will be replaced with "sensitive". 23792 func (s MultiplexVideoSettings) String() string { 23793 return awsutil.Prettify(s) 23794 } 23795 23796 // GoString returns the string representation. 23797 // 23798 // API parameter values that are decorated as "sensitive" in the API will not 23799 // be included in the string output. The member name will be present, but the 23800 // value will be replaced with "sensitive". 23801 func (s MultiplexVideoSettings) GoString() string { 23802 return s.String() 23803 } 23804 23805 // Validate inspects the fields of the type to determine if they are valid. 23806 func (s *MultiplexVideoSettings) Validate() error { 23807 invalidParams := request.ErrInvalidParams{Context: "MultiplexVideoSettings"} 23808 if s.ConstantBitrate != nil && *s.ConstantBitrate < 100000 { 23809 invalidParams.Add(request.NewErrParamMinValue("ConstantBitrate", 100000)) 23810 } 23811 if s.StatmuxSettings != nil { 23812 if err := s.StatmuxSettings.Validate(); err != nil { 23813 invalidParams.AddNested("StatmuxSettings", err.(request.ErrInvalidParams)) 23814 } 23815 } 23816 23817 if invalidParams.Len() > 0 { 23818 return invalidParams 23819 } 23820 return nil 23821 } 23822 23823 // SetConstantBitrate sets the ConstantBitrate field's value. 23824 func (s *MultiplexVideoSettings) SetConstantBitrate(v int64) *MultiplexVideoSettings { 23825 s.ConstantBitrate = &v 23826 return s 23827 } 23828 23829 // SetStatmuxSettings sets the StatmuxSettings field's value. 23830 func (s *MultiplexVideoSettings) SetStatmuxSettings(v *MultiplexStatmuxVideoSettings) *MultiplexVideoSettings { 23831 s.StatmuxSettings = v 23832 return s 23833 } 23834 23835 // Network source to transcode. Must be accessible to the Elemental Live node 23836 // that is running the live event through a network connection. 23837 type NetworkInputSettings struct { 23838 _ struct{} `type:"structure"` 23839 23840 // Specifies HLS input settings when the uri is for a HLS manifest. 23841 HlsInputSettings *HlsInputSettings `locationName:"hlsInputSettings" type:"structure"` 23842 23843 // Check HTTPS server certificates. When set to checkCryptographyOnly, cryptography 23844 // in the certificate will be checked, but not the server's name. Certain subdomains 23845 // (notably S3 buckets that use dots in the bucket name) do not strictly match 23846 // the corresponding certificate's wildcard pattern and would otherwise cause 23847 // the event to error. This setting is ignored for protocols that do not use 23848 // https. 23849 ServerValidation *string `locationName:"serverValidation" type:"string" enum:"NetworkInputServerValidation"` 23850 } 23851 23852 // String returns the string representation. 23853 // 23854 // API parameter values that are decorated as "sensitive" in the API will not 23855 // be included in the string output. The member name will be present, but the 23856 // value will be replaced with "sensitive". 23857 func (s NetworkInputSettings) String() string { 23858 return awsutil.Prettify(s) 23859 } 23860 23861 // GoString returns the string representation. 23862 // 23863 // API parameter values that are decorated as "sensitive" in the API will not 23864 // be included in the string output. The member name will be present, but the 23865 // value will be replaced with "sensitive". 23866 func (s NetworkInputSettings) GoString() string { 23867 return s.String() 23868 } 23869 23870 // SetHlsInputSettings sets the HlsInputSettings field's value. 23871 func (s *NetworkInputSettings) SetHlsInputSettings(v *HlsInputSettings) *NetworkInputSettings { 23872 s.HlsInputSettings = v 23873 return s 23874 } 23875 23876 // SetServerValidation sets the ServerValidation field's value. 23877 func (s *NetworkInputSettings) SetServerValidation(v string) *NetworkInputSettings { 23878 s.ServerValidation = &v 23879 return s 23880 } 23881 23882 // Nielsen CBET 23883 type NielsenCBET struct { 23884 _ struct{} `type:"structure"` 23885 23886 // Enter the CBET check digits to use in the watermark. 23887 // 23888 // CbetCheckDigitString is a required field 23889 CbetCheckDigitString *string `locationName:"cbetCheckDigitString" min:"2" type:"string" required:"true"` 23890 23891 // Determines the method of CBET insertion mode when prior encoding is detected 23892 // on the same layer. 23893 // 23894 // CbetStepaside is a required field 23895 CbetStepaside *string `locationName:"cbetStepaside" type:"string" required:"true" enum:"NielsenWatermarksCbetStepaside"` 23896 23897 // Enter the CBET Source ID (CSID) to use in the watermark 23898 // 23899 // Csid is a required field 23900 Csid *string `locationName:"csid" min:"1" type:"string" required:"true"` 23901 } 23902 23903 // String returns the string representation. 23904 // 23905 // API parameter values that are decorated as "sensitive" in the API will not 23906 // be included in the string output. The member name will be present, but the 23907 // value will be replaced with "sensitive". 23908 func (s NielsenCBET) String() string { 23909 return awsutil.Prettify(s) 23910 } 23911 23912 // GoString returns the string representation. 23913 // 23914 // API parameter values that are decorated as "sensitive" in the API will not 23915 // be included in the string output. The member name will be present, but the 23916 // value will be replaced with "sensitive". 23917 func (s NielsenCBET) GoString() string { 23918 return s.String() 23919 } 23920 23921 // Validate inspects the fields of the type to determine if they are valid. 23922 func (s *NielsenCBET) Validate() error { 23923 invalidParams := request.ErrInvalidParams{Context: "NielsenCBET"} 23924 if s.CbetCheckDigitString == nil { 23925 invalidParams.Add(request.NewErrParamRequired("CbetCheckDigitString")) 23926 } 23927 if s.CbetCheckDigitString != nil && len(*s.CbetCheckDigitString) < 2 { 23928 invalidParams.Add(request.NewErrParamMinLen("CbetCheckDigitString", 2)) 23929 } 23930 if s.CbetStepaside == nil { 23931 invalidParams.Add(request.NewErrParamRequired("CbetStepaside")) 23932 } 23933 if s.Csid == nil { 23934 invalidParams.Add(request.NewErrParamRequired("Csid")) 23935 } 23936 if s.Csid != nil && len(*s.Csid) < 1 { 23937 invalidParams.Add(request.NewErrParamMinLen("Csid", 1)) 23938 } 23939 23940 if invalidParams.Len() > 0 { 23941 return invalidParams 23942 } 23943 return nil 23944 } 23945 23946 // SetCbetCheckDigitString sets the CbetCheckDigitString field's value. 23947 func (s *NielsenCBET) SetCbetCheckDigitString(v string) *NielsenCBET { 23948 s.CbetCheckDigitString = &v 23949 return s 23950 } 23951 23952 // SetCbetStepaside sets the CbetStepaside field's value. 23953 func (s *NielsenCBET) SetCbetStepaside(v string) *NielsenCBET { 23954 s.CbetStepaside = &v 23955 return s 23956 } 23957 23958 // SetCsid sets the Csid field's value. 23959 func (s *NielsenCBET) SetCsid(v string) *NielsenCBET { 23960 s.Csid = &v 23961 return s 23962 } 23963 23964 // Nielsen Configuration 23965 type NielsenConfiguration struct { 23966 _ struct{} `type:"structure"` 23967 23968 // Enter the Distributor ID assigned to your organization by Nielsen. 23969 DistributorId *string `locationName:"distributorId" type:"string"` 23970 23971 // Enables Nielsen PCM to ID3 tagging 23972 NielsenPcmToId3Tagging *string `locationName:"nielsenPcmToId3Tagging" type:"string" enum:"NielsenPcmToId3TaggingState"` 23973 } 23974 23975 // String returns the string representation. 23976 // 23977 // API parameter values that are decorated as "sensitive" in the API will not 23978 // be included in the string output. The member name will be present, but the 23979 // value will be replaced with "sensitive". 23980 func (s NielsenConfiguration) String() string { 23981 return awsutil.Prettify(s) 23982 } 23983 23984 // GoString returns the string representation. 23985 // 23986 // API parameter values that are decorated as "sensitive" in the API will not 23987 // be included in the string output. The member name will be present, but the 23988 // value will be replaced with "sensitive". 23989 func (s NielsenConfiguration) GoString() string { 23990 return s.String() 23991 } 23992 23993 // SetDistributorId sets the DistributorId field's value. 23994 func (s *NielsenConfiguration) SetDistributorId(v string) *NielsenConfiguration { 23995 s.DistributorId = &v 23996 return s 23997 } 23998 23999 // SetNielsenPcmToId3Tagging sets the NielsenPcmToId3Tagging field's value. 24000 func (s *NielsenConfiguration) SetNielsenPcmToId3Tagging(v string) *NielsenConfiguration { 24001 s.NielsenPcmToId3Tagging = &v 24002 return s 24003 } 24004 24005 // Nielsen Naes Ii Nw 24006 type NielsenNaesIiNw struct { 24007 _ struct{} `type:"structure"` 24008 24009 // Enter the check digit string for the watermark 24010 // 24011 // CheckDigitString is a required field 24012 CheckDigitString *string `locationName:"checkDigitString" min:"2" type:"string" required:"true"` 24013 24014 // Enter the Nielsen Source ID (SID) to include in the watermark 24015 // 24016 // Sid is a required field 24017 Sid *float64 `locationName:"sid" type:"double" required:"true"` 24018 } 24019 24020 // String returns the string representation. 24021 // 24022 // API parameter values that are decorated as "sensitive" in the API will not 24023 // be included in the string output. The member name will be present, but the 24024 // value will be replaced with "sensitive". 24025 func (s NielsenNaesIiNw) String() string { 24026 return awsutil.Prettify(s) 24027 } 24028 24029 // GoString returns the string representation. 24030 // 24031 // API parameter values that are decorated as "sensitive" in the API will not 24032 // be included in the string output. The member name will be present, but the 24033 // value will be replaced with "sensitive". 24034 func (s NielsenNaesIiNw) GoString() string { 24035 return s.String() 24036 } 24037 24038 // Validate inspects the fields of the type to determine if they are valid. 24039 func (s *NielsenNaesIiNw) Validate() error { 24040 invalidParams := request.ErrInvalidParams{Context: "NielsenNaesIiNw"} 24041 if s.CheckDigitString == nil { 24042 invalidParams.Add(request.NewErrParamRequired("CheckDigitString")) 24043 } 24044 if s.CheckDigitString != nil && len(*s.CheckDigitString) < 2 { 24045 invalidParams.Add(request.NewErrParamMinLen("CheckDigitString", 2)) 24046 } 24047 if s.Sid == nil { 24048 invalidParams.Add(request.NewErrParamRequired("Sid")) 24049 } 24050 24051 if invalidParams.Len() > 0 { 24052 return invalidParams 24053 } 24054 return nil 24055 } 24056 24057 // SetCheckDigitString sets the CheckDigitString field's value. 24058 func (s *NielsenNaesIiNw) SetCheckDigitString(v string) *NielsenNaesIiNw { 24059 s.CheckDigitString = &v 24060 return s 24061 } 24062 24063 // SetSid sets the Sid field's value. 24064 func (s *NielsenNaesIiNw) SetSid(v float64) *NielsenNaesIiNw { 24065 s.Sid = &v 24066 return s 24067 } 24068 24069 // Nielsen Watermarks Settings 24070 type NielsenWatermarksSettings struct { 24071 _ struct{} `type:"structure"` 24072 24073 // Complete these fields only if you want to insert watermarks of type Nielsen 24074 // CBET 24075 NielsenCbetSettings *NielsenCBET `locationName:"nielsenCbetSettings" type:"structure"` 24076 24077 // Choose the distribution types that you want to assign to the watermarks:- 24078 // PROGRAM_CONTENT- FINAL_DISTRIBUTOR 24079 NielsenDistributionType *string `locationName:"nielsenDistributionType" type:"string" enum:"NielsenWatermarksDistributionTypes"` 24080 24081 // Complete these fields only if you want to insert watermarks of type Nielsen 24082 // NAES II (N2) and Nielsen NAES VI (NW). 24083 NielsenNaesIiNwSettings *NielsenNaesIiNw `locationName:"nielsenNaesIiNwSettings" type:"structure"` 24084 } 24085 24086 // String returns the string representation. 24087 // 24088 // API parameter values that are decorated as "sensitive" in the API will not 24089 // be included in the string output. The member name will be present, but the 24090 // value will be replaced with "sensitive". 24091 func (s NielsenWatermarksSettings) String() string { 24092 return awsutil.Prettify(s) 24093 } 24094 24095 // GoString returns the string representation. 24096 // 24097 // API parameter values that are decorated as "sensitive" in the API will not 24098 // be included in the string output. The member name will be present, but the 24099 // value will be replaced with "sensitive". 24100 func (s NielsenWatermarksSettings) GoString() string { 24101 return s.String() 24102 } 24103 24104 // Validate inspects the fields of the type to determine if they are valid. 24105 func (s *NielsenWatermarksSettings) Validate() error { 24106 invalidParams := request.ErrInvalidParams{Context: "NielsenWatermarksSettings"} 24107 if s.NielsenCbetSettings != nil { 24108 if err := s.NielsenCbetSettings.Validate(); err != nil { 24109 invalidParams.AddNested("NielsenCbetSettings", err.(request.ErrInvalidParams)) 24110 } 24111 } 24112 if s.NielsenNaesIiNwSettings != nil { 24113 if err := s.NielsenNaesIiNwSettings.Validate(); err != nil { 24114 invalidParams.AddNested("NielsenNaesIiNwSettings", err.(request.ErrInvalidParams)) 24115 } 24116 } 24117 24118 if invalidParams.Len() > 0 { 24119 return invalidParams 24120 } 24121 return nil 24122 } 24123 24124 // SetNielsenCbetSettings sets the NielsenCbetSettings field's value. 24125 func (s *NielsenWatermarksSettings) SetNielsenCbetSettings(v *NielsenCBET) *NielsenWatermarksSettings { 24126 s.NielsenCbetSettings = v 24127 return s 24128 } 24129 24130 // SetNielsenDistributionType sets the NielsenDistributionType field's value. 24131 func (s *NielsenWatermarksSettings) SetNielsenDistributionType(v string) *NielsenWatermarksSettings { 24132 s.NielsenDistributionType = &v 24133 return s 24134 } 24135 24136 // SetNielsenNaesIiNwSettings sets the NielsenNaesIiNwSettings field's value. 24137 func (s *NielsenWatermarksSettings) SetNielsenNaesIiNwSettings(v *NielsenNaesIiNw) *NielsenWatermarksSettings { 24138 s.NielsenNaesIiNwSettings = v 24139 return s 24140 } 24141 24142 type NotFoundException struct { 24143 _ struct{} `type:"structure"` 24144 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 24145 24146 Message_ *string `locationName:"message" type:"string"` 24147 } 24148 24149 // String returns the string representation. 24150 // 24151 // API parameter values that are decorated as "sensitive" in the API will not 24152 // be included in the string output. The member name will be present, but the 24153 // value will be replaced with "sensitive". 24154 func (s NotFoundException) String() string { 24155 return awsutil.Prettify(s) 24156 } 24157 24158 // GoString returns the string representation. 24159 // 24160 // API parameter values that are decorated as "sensitive" in the API will not 24161 // be included in the string output. The member name will be present, but the 24162 // value will be replaced with "sensitive". 24163 func (s NotFoundException) GoString() string { 24164 return s.String() 24165 } 24166 24167 func newErrorNotFoundException(v protocol.ResponseMetadata) error { 24168 return &NotFoundException{ 24169 RespMetadata: v, 24170 } 24171 } 24172 24173 // Code returns the exception type name. 24174 func (s *NotFoundException) Code() string { 24175 return "NotFoundException" 24176 } 24177 24178 // Message returns the exception's message. 24179 func (s *NotFoundException) Message() string { 24180 if s.Message_ != nil { 24181 return *s.Message_ 24182 } 24183 return "" 24184 } 24185 24186 // OrigErr always returns nil, satisfies awserr.Error interface. 24187 func (s *NotFoundException) OrigErr() error { 24188 return nil 24189 } 24190 24191 func (s *NotFoundException) Error() string { 24192 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 24193 } 24194 24195 // Status code returns the HTTP status code for the request's response error. 24196 func (s *NotFoundException) StatusCode() int { 24197 return s.RespMetadata.StatusCode 24198 } 24199 24200 // RequestID returns the service's response RequestID for request. 24201 func (s *NotFoundException) RequestID() string { 24202 return s.RespMetadata.RequestID 24203 } 24204 24205 // Reserved resources available for purchase 24206 type Offering struct { 24207 _ struct{} `type:"structure"` 24208 24209 // Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321' 24210 Arn *string `locationName:"arn" type:"string"` 24211 24212 // Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD' 24213 CurrencyCode *string `locationName:"currencyCode" type:"string"` 24214 24215 // Lease duration, e.g. '12' 24216 Duration *int64 `locationName:"duration" type:"integer"` 24217 24218 // Units for duration, e.g. 'MONTHS' 24219 DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` 24220 24221 // One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering 24222 FixedPrice *float64 `locationName:"fixedPrice" type:"double"` 24223 24224 // Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard 24225 // VQ in US West (Oregon)' 24226 OfferingDescription *string `locationName:"offeringDescription" type:"string"` 24227 24228 // Unique offering ID, e.g. '87654321' 24229 OfferingId *string `locationName:"offeringId" type:"string"` 24230 24231 // Offering type, e.g. 'NO_UPFRONT' 24232 OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` 24233 24234 // AWS region, e.g. 'us-west-2' 24235 Region *string `locationName:"region" type:"string"` 24236 24237 // Resource configuration details 24238 ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` 24239 24240 // Recurring usage charge for each reserved resource, e.g. '157.0' 24241 UsagePrice *float64 `locationName:"usagePrice" type:"double"` 24242 } 24243 24244 // String returns the string representation. 24245 // 24246 // API parameter values that are decorated as "sensitive" in the API will not 24247 // be included in the string output. The member name will be present, but the 24248 // value will be replaced with "sensitive". 24249 func (s Offering) String() string { 24250 return awsutil.Prettify(s) 24251 } 24252 24253 // GoString returns the string representation. 24254 // 24255 // API parameter values that are decorated as "sensitive" in the API will not 24256 // be included in the string output. The member name will be present, but the 24257 // value will be replaced with "sensitive". 24258 func (s Offering) GoString() string { 24259 return s.String() 24260 } 24261 24262 // SetArn sets the Arn field's value. 24263 func (s *Offering) SetArn(v string) *Offering { 24264 s.Arn = &v 24265 return s 24266 } 24267 24268 // SetCurrencyCode sets the CurrencyCode field's value. 24269 func (s *Offering) SetCurrencyCode(v string) *Offering { 24270 s.CurrencyCode = &v 24271 return s 24272 } 24273 24274 // SetDuration sets the Duration field's value. 24275 func (s *Offering) SetDuration(v int64) *Offering { 24276 s.Duration = &v 24277 return s 24278 } 24279 24280 // SetDurationUnits sets the DurationUnits field's value. 24281 func (s *Offering) SetDurationUnits(v string) *Offering { 24282 s.DurationUnits = &v 24283 return s 24284 } 24285 24286 // SetFixedPrice sets the FixedPrice field's value. 24287 func (s *Offering) SetFixedPrice(v float64) *Offering { 24288 s.FixedPrice = &v 24289 return s 24290 } 24291 24292 // SetOfferingDescription sets the OfferingDescription field's value. 24293 func (s *Offering) SetOfferingDescription(v string) *Offering { 24294 s.OfferingDescription = &v 24295 return s 24296 } 24297 24298 // SetOfferingId sets the OfferingId field's value. 24299 func (s *Offering) SetOfferingId(v string) *Offering { 24300 s.OfferingId = &v 24301 return s 24302 } 24303 24304 // SetOfferingType sets the OfferingType field's value. 24305 func (s *Offering) SetOfferingType(v string) *Offering { 24306 s.OfferingType = &v 24307 return s 24308 } 24309 24310 // SetRegion sets the Region field's value. 24311 func (s *Offering) SetRegion(v string) *Offering { 24312 s.Region = &v 24313 return s 24314 } 24315 24316 // SetResourceSpecification sets the ResourceSpecification field's value. 24317 func (s *Offering) SetResourceSpecification(v *ReservationResourceSpecification) *Offering { 24318 s.ResourceSpecification = v 24319 return s 24320 } 24321 24322 // SetUsagePrice sets the UsagePrice field's value. 24323 func (s *Offering) SetUsagePrice(v float64) *Offering { 24324 s.UsagePrice = &v 24325 return s 24326 } 24327 24328 // Output settings. There can be multiple outputs within a group. 24329 type Output struct { 24330 _ struct{} `type:"structure"` 24331 24332 // The names of the AudioDescriptions used as audio sources for this output. 24333 AudioDescriptionNames []*string `locationName:"audioDescriptionNames" type:"list"` 24334 24335 // The names of the CaptionDescriptions used as caption sources for this output. 24336 CaptionDescriptionNames []*string `locationName:"captionDescriptionNames" type:"list"` 24337 24338 // The name used to identify an output. 24339 OutputName *string `locationName:"outputName" min:"1" type:"string"` 24340 24341 // Output type-specific settings. 24342 // 24343 // OutputSettings is a required field 24344 OutputSettings *OutputSettings `locationName:"outputSettings" type:"structure" required:"true"` 24345 24346 // The name of the VideoDescription used as the source for this output. 24347 VideoDescriptionName *string `locationName:"videoDescriptionName" type:"string"` 24348 } 24349 24350 // String returns the string representation. 24351 // 24352 // API parameter values that are decorated as "sensitive" in the API will not 24353 // be included in the string output. The member name will be present, but the 24354 // value will be replaced with "sensitive". 24355 func (s Output) String() string { 24356 return awsutil.Prettify(s) 24357 } 24358 24359 // GoString returns the string representation. 24360 // 24361 // API parameter values that are decorated as "sensitive" in the API will not 24362 // be included in the string output. The member name will be present, but the 24363 // value will be replaced with "sensitive". 24364 func (s Output) GoString() string { 24365 return s.String() 24366 } 24367 24368 // Validate inspects the fields of the type to determine if they are valid. 24369 func (s *Output) Validate() error { 24370 invalidParams := request.ErrInvalidParams{Context: "Output"} 24371 if s.OutputName != nil && len(*s.OutputName) < 1 { 24372 invalidParams.Add(request.NewErrParamMinLen("OutputName", 1)) 24373 } 24374 if s.OutputSettings == nil { 24375 invalidParams.Add(request.NewErrParamRequired("OutputSettings")) 24376 } 24377 if s.OutputSettings != nil { 24378 if err := s.OutputSettings.Validate(); err != nil { 24379 invalidParams.AddNested("OutputSettings", err.(request.ErrInvalidParams)) 24380 } 24381 } 24382 24383 if invalidParams.Len() > 0 { 24384 return invalidParams 24385 } 24386 return nil 24387 } 24388 24389 // SetAudioDescriptionNames sets the AudioDescriptionNames field's value. 24390 func (s *Output) SetAudioDescriptionNames(v []*string) *Output { 24391 s.AudioDescriptionNames = v 24392 return s 24393 } 24394 24395 // SetCaptionDescriptionNames sets the CaptionDescriptionNames field's value. 24396 func (s *Output) SetCaptionDescriptionNames(v []*string) *Output { 24397 s.CaptionDescriptionNames = v 24398 return s 24399 } 24400 24401 // SetOutputName sets the OutputName field's value. 24402 func (s *Output) SetOutputName(v string) *Output { 24403 s.OutputName = &v 24404 return s 24405 } 24406 24407 // SetOutputSettings sets the OutputSettings field's value. 24408 func (s *Output) SetOutputSettings(v *OutputSettings) *Output { 24409 s.OutputSettings = v 24410 return s 24411 } 24412 24413 // SetVideoDescriptionName sets the VideoDescriptionName field's value. 24414 func (s *Output) SetVideoDescriptionName(v string) *Output { 24415 s.VideoDescriptionName = &v 24416 return s 24417 } 24418 24419 type OutputDestination struct { 24420 _ struct{} `type:"structure"` 24421 24422 // User-specified id. This is used in an output group or an output. 24423 Id *string `locationName:"id" type:"string"` 24424 24425 // Destination settings for a MediaPackage output; one destination for both 24426 // encoders. 24427 MediaPackageSettings []*MediaPackageOutputDestinationSettings `locationName:"mediaPackageSettings" type:"list"` 24428 24429 // Destination settings for a Multiplex output; one destination for both encoders. 24430 MultiplexSettings *MultiplexProgramChannelDestinationSettings `locationName:"multiplexSettings" type:"structure"` 24431 24432 // Destination settings for a standard output; one destination for each redundant 24433 // encoder. 24434 Settings []*OutputDestinationSettings `locationName:"settings" type:"list"` 24435 } 24436 24437 // String returns the string representation. 24438 // 24439 // API parameter values that are decorated as "sensitive" in the API will not 24440 // be included in the string output. The member name will be present, but the 24441 // value will be replaced with "sensitive". 24442 func (s OutputDestination) String() string { 24443 return awsutil.Prettify(s) 24444 } 24445 24446 // GoString returns the string representation. 24447 // 24448 // API parameter values that are decorated as "sensitive" in the API will not 24449 // be included in the string output. The member name will be present, but the 24450 // value will be replaced with "sensitive". 24451 func (s OutputDestination) GoString() string { 24452 return s.String() 24453 } 24454 24455 // Validate inspects the fields of the type to determine if they are valid. 24456 func (s *OutputDestination) Validate() error { 24457 invalidParams := request.ErrInvalidParams{Context: "OutputDestination"} 24458 if s.MediaPackageSettings != nil { 24459 for i, v := range s.MediaPackageSettings { 24460 if v == nil { 24461 continue 24462 } 24463 if err := v.Validate(); err != nil { 24464 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MediaPackageSettings", i), err.(request.ErrInvalidParams)) 24465 } 24466 } 24467 } 24468 if s.MultiplexSettings != nil { 24469 if err := s.MultiplexSettings.Validate(); err != nil { 24470 invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) 24471 } 24472 } 24473 24474 if invalidParams.Len() > 0 { 24475 return invalidParams 24476 } 24477 return nil 24478 } 24479 24480 // SetId sets the Id field's value. 24481 func (s *OutputDestination) SetId(v string) *OutputDestination { 24482 s.Id = &v 24483 return s 24484 } 24485 24486 // SetMediaPackageSettings sets the MediaPackageSettings field's value. 24487 func (s *OutputDestination) SetMediaPackageSettings(v []*MediaPackageOutputDestinationSettings) *OutputDestination { 24488 s.MediaPackageSettings = v 24489 return s 24490 } 24491 24492 // SetMultiplexSettings sets the MultiplexSettings field's value. 24493 func (s *OutputDestination) SetMultiplexSettings(v *MultiplexProgramChannelDestinationSettings) *OutputDestination { 24494 s.MultiplexSettings = v 24495 return s 24496 } 24497 24498 // SetSettings sets the Settings field's value. 24499 func (s *OutputDestination) SetSettings(v []*OutputDestinationSettings) *OutputDestination { 24500 s.Settings = v 24501 return s 24502 } 24503 24504 type OutputDestinationSettings struct { 24505 _ struct{} `type:"structure"` 24506 24507 // key used to extract the password from EC2 Parameter store 24508 PasswordParam *string `locationName:"passwordParam" type:"string"` 24509 24510 // Stream name for RTMP destinations (URLs of type rtmp://) 24511 StreamName *string `locationName:"streamName" type:"string"` 24512 24513 // A URL specifying a destination 24514 Url *string `locationName:"url" type:"string"` 24515 24516 // username for destination 24517 Username *string `locationName:"username" type:"string"` 24518 } 24519 24520 // String returns the string representation. 24521 // 24522 // API parameter values that are decorated as "sensitive" in the API will not 24523 // be included in the string output. The member name will be present, but the 24524 // value will be replaced with "sensitive". 24525 func (s OutputDestinationSettings) String() string { 24526 return awsutil.Prettify(s) 24527 } 24528 24529 // GoString returns the string representation. 24530 // 24531 // API parameter values that are decorated as "sensitive" in the API will not 24532 // be included in the string output. The member name will be present, but the 24533 // value will be replaced with "sensitive". 24534 func (s OutputDestinationSettings) GoString() string { 24535 return s.String() 24536 } 24537 24538 // SetPasswordParam sets the PasswordParam field's value. 24539 func (s *OutputDestinationSettings) SetPasswordParam(v string) *OutputDestinationSettings { 24540 s.PasswordParam = &v 24541 return s 24542 } 24543 24544 // SetStreamName sets the StreamName field's value. 24545 func (s *OutputDestinationSettings) SetStreamName(v string) *OutputDestinationSettings { 24546 s.StreamName = &v 24547 return s 24548 } 24549 24550 // SetUrl sets the Url field's value. 24551 func (s *OutputDestinationSettings) SetUrl(v string) *OutputDestinationSettings { 24552 s.Url = &v 24553 return s 24554 } 24555 24556 // SetUsername sets the Username field's value. 24557 func (s *OutputDestinationSettings) SetUsername(v string) *OutputDestinationSettings { 24558 s.Username = &v 24559 return s 24560 } 24561 24562 // Output groups for this Live Event. Output groups contain information about 24563 // where streams should be distributed. 24564 type OutputGroup struct { 24565 _ struct{} `type:"structure"` 24566 24567 // Custom output group name optionally defined by the user. Only letters, numbers, 24568 // and the underscore character allowed; only 32 characters allowed. 24569 Name *string `locationName:"name" type:"string"` 24570 24571 // Settings associated with the output group. 24572 // 24573 // OutputGroupSettings is a required field 24574 OutputGroupSettings *OutputGroupSettings `locationName:"outputGroupSettings" type:"structure" required:"true"` 24575 24576 // Outputs is a required field 24577 Outputs []*Output `locationName:"outputs" type:"list" required:"true"` 24578 } 24579 24580 // String returns the string representation. 24581 // 24582 // API parameter values that are decorated as "sensitive" in the API will not 24583 // be included in the string output. The member name will be present, but the 24584 // value will be replaced with "sensitive". 24585 func (s OutputGroup) String() string { 24586 return awsutil.Prettify(s) 24587 } 24588 24589 // GoString returns the string representation. 24590 // 24591 // API parameter values that are decorated as "sensitive" in the API will not 24592 // be included in the string output. The member name will be present, but the 24593 // value will be replaced with "sensitive". 24594 func (s OutputGroup) GoString() string { 24595 return s.String() 24596 } 24597 24598 // Validate inspects the fields of the type to determine if they are valid. 24599 func (s *OutputGroup) Validate() error { 24600 invalidParams := request.ErrInvalidParams{Context: "OutputGroup"} 24601 if s.OutputGroupSettings == nil { 24602 invalidParams.Add(request.NewErrParamRequired("OutputGroupSettings")) 24603 } 24604 if s.Outputs == nil { 24605 invalidParams.Add(request.NewErrParamRequired("Outputs")) 24606 } 24607 if s.OutputGroupSettings != nil { 24608 if err := s.OutputGroupSettings.Validate(); err != nil { 24609 invalidParams.AddNested("OutputGroupSettings", err.(request.ErrInvalidParams)) 24610 } 24611 } 24612 if s.Outputs != nil { 24613 for i, v := range s.Outputs { 24614 if v == nil { 24615 continue 24616 } 24617 if err := v.Validate(); err != nil { 24618 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams)) 24619 } 24620 } 24621 } 24622 24623 if invalidParams.Len() > 0 { 24624 return invalidParams 24625 } 24626 return nil 24627 } 24628 24629 // SetName sets the Name field's value. 24630 func (s *OutputGroup) SetName(v string) *OutputGroup { 24631 s.Name = &v 24632 return s 24633 } 24634 24635 // SetOutputGroupSettings sets the OutputGroupSettings field's value. 24636 func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { 24637 s.OutputGroupSettings = v 24638 return s 24639 } 24640 24641 // SetOutputs sets the Outputs field's value. 24642 func (s *OutputGroup) SetOutputs(v []*Output) *OutputGroup { 24643 s.Outputs = v 24644 return s 24645 } 24646 24647 // Output Group Settings 24648 type OutputGroupSettings struct { 24649 _ struct{} `type:"structure"` 24650 24651 // Archive Group Settings 24652 ArchiveGroupSettings *ArchiveGroupSettings `locationName:"archiveGroupSettings" type:"structure"` 24653 24654 // Frame Capture Group Settings 24655 FrameCaptureGroupSettings *FrameCaptureGroupSettings `locationName:"frameCaptureGroupSettings" type:"structure"` 24656 24657 // Hls Group Settings 24658 HlsGroupSettings *HlsGroupSettings `locationName:"hlsGroupSettings" type:"structure"` 24659 24660 // Media Package Group Settings 24661 MediaPackageGroupSettings *MediaPackageGroupSettings `locationName:"mediaPackageGroupSettings" type:"structure"` 24662 24663 // Ms Smooth Group Settings 24664 MsSmoothGroupSettings *MsSmoothGroupSettings `locationName:"msSmoothGroupSettings" type:"structure"` 24665 24666 // Multiplex Group Settings 24667 MultiplexGroupSettings *MultiplexGroupSettings `locationName:"multiplexGroupSettings" type:"structure"` 24668 24669 // Rtmp Group Settings 24670 RtmpGroupSettings *RtmpGroupSettings `locationName:"rtmpGroupSettings" type:"structure"` 24671 24672 // Udp Group Settings 24673 UdpGroupSettings *UdpGroupSettings `locationName:"udpGroupSettings" type:"structure"` 24674 } 24675 24676 // String returns the string representation. 24677 // 24678 // API parameter values that are decorated as "sensitive" in the API will not 24679 // be included in the string output. The member name will be present, but the 24680 // value will be replaced with "sensitive". 24681 func (s OutputGroupSettings) String() string { 24682 return awsutil.Prettify(s) 24683 } 24684 24685 // GoString returns the string representation. 24686 // 24687 // API parameter values that are decorated as "sensitive" in the API will not 24688 // be included in the string output. The member name will be present, but the 24689 // value will be replaced with "sensitive". 24690 func (s OutputGroupSettings) GoString() string { 24691 return s.String() 24692 } 24693 24694 // Validate inspects the fields of the type to determine if they are valid. 24695 func (s *OutputGroupSettings) Validate() error { 24696 invalidParams := request.ErrInvalidParams{Context: "OutputGroupSettings"} 24697 if s.ArchiveGroupSettings != nil { 24698 if err := s.ArchiveGroupSettings.Validate(); err != nil { 24699 invalidParams.AddNested("ArchiveGroupSettings", err.(request.ErrInvalidParams)) 24700 } 24701 } 24702 if s.FrameCaptureGroupSettings != nil { 24703 if err := s.FrameCaptureGroupSettings.Validate(); err != nil { 24704 invalidParams.AddNested("FrameCaptureGroupSettings", err.(request.ErrInvalidParams)) 24705 } 24706 } 24707 if s.HlsGroupSettings != nil { 24708 if err := s.HlsGroupSettings.Validate(); err != nil { 24709 invalidParams.AddNested("HlsGroupSettings", err.(request.ErrInvalidParams)) 24710 } 24711 } 24712 if s.MediaPackageGroupSettings != nil { 24713 if err := s.MediaPackageGroupSettings.Validate(); err != nil { 24714 invalidParams.AddNested("MediaPackageGroupSettings", err.(request.ErrInvalidParams)) 24715 } 24716 } 24717 if s.MsSmoothGroupSettings != nil { 24718 if err := s.MsSmoothGroupSettings.Validate(); err != nil { 24719 invalidParams.AddNested("MsSmoothGroupSettings", err.(request.ErrInvalidParams)) 24720 } 24721 } 24722 if s.RtmpGroupSettings != nil { 24723 if err := s.RtmpGroupSettings.Validate(); err != nil { 24724 invalidParams.AddNested("RtmpGroupSettings", err.(request.ErrInvalidParams)) 24725 } 24726 } 24727 24728 if invalidParams.Len() > 0 { 24729 return invalidParams 24730 } 24731 return nil 24732 } 24733 24734 // SetArchiveGroupSettings sets the ArchiveGroupSettings field's value. 24735 func (s *OutputGroupSettings) SetArchiveGroupSettings(v *ArchiveGroupSettings) *OutputGroupSettings { 24736 s.ArchiveGroupSettings = v 24737 return s 24738 } 24739 24740 // SetFrameCaptureGroupSettings sets the FrameCaptureGroupSettings field's value. 24741 func (s *OutputGroupSettings) SetFrameCaptureGroupSettings(v *FrameCaptureGroupSettings) *OutputGroupSettings { 24742 s.FrameCaptureGroupSettings = v 24743 return s 24744 } 24745 24746 // SetHlsGroupSettings sets the HlsGroupSettings field's value. 24747 func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { 24748 s.HlsGroupSettings = v 24749 return s 24750 } 24751 24752 // SetMediaPackageGroupSettings sets the MediaPackageGroupSettings field's value. 24753 func (s *OutputGroupSettings) SetMediaPackageGroupSettings(v *MediaPackageGroupSettings) *OutputGroupSettings { 24754 s.MediaPackageGroupSettings = v 24755 return s 24756 } 24757 24758 // SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. 24759 func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { 24760 s.MsSmoothGroupSettings = v 24761 return s 24762 } 24763 24764 // SetMultiplexGroupSettings sets the MultiplexGroupSettings field's value. 24765 func (s *OutputGroupSettings) SetMultiplexGroupSettings(v *MultiplexGroupSettings) *OutputGroupSettings { 24766 s.MultiplexGroupSettings = v 24767 return s 24768 } 24769 24770 // SetRtmpGroupSettings sets the RtmpGroupSettings field's value. 24771 func (s *OutputGroupSettings) SetRtmpGroupSettings(v *RtmpGroupSettings) *OutputGroupSettings { 24772 s.RtmpGroupSettings = v 24773 return s 24774 } 24775 24776 // SetUdpGroupSettings sets the UdpGroupSettings field's value. 24777 func (s *OutputGroupSettings) SetUdpGroupSettings(v *UdpGroupSettings) *OutputGroupSettings { 24778 s.UdpGroupSettings = v 24779 return s 24780 } 24781 24782 // Reference to an OutputDestination ID defined in the channel 24783 type OutputLocationRef struct { 24784 _ struct{} `type:"structure"` 24785 24786 DestinationRefId *string `locationName:"destinationRefId" type:"string"` 24787 } 24788 24789 // String returns the string representation. 24790 // 24791 // API parameter values that are decorated as "sensitive" in the API will not 24792 // be included in the string output. The member name will be present, but the 24793 // value will be replaced with "sensitive". 24794 func (s OutputLocationRef) String() string { 24795 return awsutil.Prettify(s) 24796 } 24797 24798 // GoString returns the string representation. 24799 // 24800 // API parameter values that are decorated as "sensitive" in the API will not 24801 // be included in the string output. The member name will be present, but the 24802 // value will be replaced with "sensitive". 24803 func (s OutputLocationRef) GoString() string { 24804 return s.String() 24805 } 24806 24807 // SetDestinationRefId sets the DestinationRefId field's value. 24808 func (s *OutputLocationRef) SetDestinationRefId(v string) *OutputLocationRef { 24809 s.DestinationRefId = &v 24810 return s 24811 } 24812 24813 // Output Settings 24814 type OutputSettings struct { 24815 _ struct{} `type:"structure"` 24816 24817 // Archive Output Settings 24818 ArchiveOutputSettings *ArchiveOutputSettings `locationName:"archiveOutputSettings" type:"structure"` 24819 24820 // Frame Capture Output Settings 24821 FrameCaptureOutputSettings *FrameCaptureOutputSettings `locationName:"frameCaptureOutputSettings" type:"structure"` 24822 24823 // Hls Output Settings 24824 HlsOutputSettings *HlsOutputSettings `locationName:"hlsOutputSettings" type:"structure"` 24825 24826 // Media Package Output Settings 24827 MediaPackageOutputSettings *MediaPackageOutputSettings `locationName:"mediaPackageOutputSettings" type:"structure"` 24828 24829 // Ms Smooth Output Settings 24830 MsSmoothOutputSettings *MsSmoothOutputSettings `locationName:"msSmoothOutputSettings" type:"structure"` 24831 24832 // Multiplex Output Settings 24833 MultiplexOutputSettings *MultiplexOutputSettings `locationName:"multiplexOutputSettings" type:"structure"` 24834 24835 // Rtmp Output Settings 24836 RtmpOutputSettings *RtmpOutputSettings `locationName:"rtmpOutputSettings" type:"structure"` 24837 24838 // Udp Output Settings 24839 UdpOutputSettings *UdpOutputSettings `locationName:"udpOutputSettings" type:"structure"` 24840 } 24841 24842 // String returns the string representation. 24843 // 24844 // API parameter values that are decorated as "sensitive" in the API will not 24845 // be included in the string output. The member name will be present, but the 24846 // value will be replaced with "sensitive". 24847 func (s OutputSettings) String() string { 24848 return awsutil.Prettify(s) 24849 } 24850 24851 // GoString returns the string representation. 24852 // 24853 // API parameter values that are decorated as "sensitive" in the API will not 24854 // be included in the string output. The member name will be present, but the 24855 // value will be replaced with "sensitive". 24856 func (s OutputSettings) GoString() string { 24857 return s.String() 24858 } 24859 24860 // Validate inspects the fields of the type to determine if they are valid. 24861 func (s *OutputSettings) Validate() error { 24862 invalidParams := request.ErrInvalidParams{Context: "OutputSettings"} 24863 if s.ArchiveOutputSettings != nil { 24864 if err := s.ArchiveOutputSettings.Validate(); err != nil { 24865 invalidParams.AddNested("ArchiveOutputSettings", err.(request.ErrInvalidParams)) 24866 } 24867 } 24868 if s.HlsOutputSettings != nil { 24869 if err := s.HlsOutputSettings.Validate(); err != nil { 24870 invalidParams.AddNested("HlsOutputSettings", err.(request.ErrInvalidParams)) 24871 } 24872 } 24873 if s.MultiplexOutputSettings != nil { 24874 if err := s.MultiplexOutputSettings.Validate(); err != nil { 24875 invalidParams.AddNested("MultiplexOutputSettings", err.(request.ErrInvalidParams)) 24876 } 24877 } 24878 if s.RtmpOutputSettings != nil { 24879 if err := s.RtmpOutputSettings.Validate(); err != nil { 24880 invalidParams.AddNested("RtmpOutputSettings", err.(request.ErrInvalidParams)) 24881 } 24882 } 24883 if s.UdpOutputSettings != nil { 24884 if err := s.UdpOutputSettings.Validate(); err != nil { 24885 invalidParams.AddNested("UdpOutputSettings", err.(request.ErrInvalidParams)) 24886 } 24887 } 24888 24889 if invalidParams.Len() > 0 { 24890 return invalidParams 24891 } 24892 return nil 24893 } 24894 24895 // SetArchiveOutputSettings sets the ArchiveOutputSettings field's value. 24896 func (s *OutputSettings) SetArchiveOutputSettings(v *ArchiveOutputSettings) *OutputSettings { 24897 s.ArchiveOutputSettings = v 24898 return s 24899 } 24900 24901 // SetFrameCaptureOutputSettings sets the FrameCaptureOutputSettings field's value. 24902 func (s *OutputSettings) SetFrameCaptureOutputSettings(v *FrameCaptureOutputSettings) *OutputSettings { 24903 s.FrameCaptureOutputSettings = v 24904 return s 24905 } 24906 24907 // SetHlsOutputSettings sets the HlsOutputSettings field's value. 24908 func (s *OutputSettings) SetHlsOutputSettings(v *HlsOutputSettings) *OutputSettings { 24909 s.HlsOutputSettings = v 24910 return s 24911 } 24912 24913 // SetMediaPackageOutputSettings sets the MediaPackageOutputSettings field's value. 24914 func (s *OutputSettings) SetMediaPackageOutputSettings(v *MediaPackageOutputSettings) *OutputSettings { 24915 s.MediaPackageOutputSettings = v 24916 return s 24917 } 24918 24919 // SetMsSmoothOutputSettings sets the MsSmoothOutputSettings field's value. 24920 func (s *OutputSettings) SetMsSmoothOutputSettings(v *MsSmoothOutputSettings) *OutputSettings { 24921 s.MsSmoothOutputSettings = v 24922 return s 24923 } 24924 24925 // SetMultiplexOutputSettings sets the MultiplexOutputSettings field's value. 24926 func (s *OutputSettings) SetMultiplexOutputSettings(v *MultiplexOutputSettings) *OutputSettings { 24927 s.MultiplexOutputSettings = v 24928 return s 24929 } 24930 24931 // SetRtmpOutputSettings sets the RtmpOutputSettings field's value. 24932 func (s *OutputSettings) SetRtmpOutputSettings(v *RtmpOutputSettings) *OutputSettings { 24933 s.RtmpOutputSettings = v 24934 return s 24935 } 24936 24937 // SetUdpOutputSettings sets the UdpOutputSettings field's value. 24938 func (s *OutputSettings) SetUdpOutputSettings(v *UdpOutputSettings) *OutputSettings { 24939 s.UdpOutputSettings = v 24940 return s 24941 } 24942 24943 // Pass Through Settings 24944 type PassThroughSettings struct { 24945 _ struct{} `type:"structure" nopayload:"true"` 24946 } 24947 24948 // String returns the string representation. 24949 // 24950 // API parameter values that are decorated as "sensitive" in the API will not 24951 // be included in the string output. The member name will be present, but the 24952 // value will be replaced with "sensitive". 24953 func (s PassThroughSettings) String() string { 24954 return awsutil.Prettify(s) 24955 } 24956 24957 // GoString returns the string representation. 24958 // 24959 // API parameter values that are decorated as "sensitive" in the API will not 24960 // be included in the string output. The member name will be present, but the 24961 // value will be replaced with "sensitive". 24962 func (s PassThroughSettings) GoString() string { 24963 return s.String() 24964 } 24965 24966 // Settings for the action to set pause state of a channel. 24967 type PauseStateScheduleActionSettings struct { 24968 _ struct{} `type:"structure"` 24969 24970 Pipelines []*PipelinePauseStateSettings `locationName:"pipelines" type:"list"` 24971 } 24972 24973 // String returns the string representation. 24974 // 24975 // API parameter values that are decorated as "sensitive" in the API will not 24976 // be included in the string output. The member name will be present, but the 24977 // value will be replaced with "sensitive". 24978 func (s PauseStateScheduleActionSettings) String() string { 24979 return awsutil.Prettify(s) 24980 } 24981 24982 // GoString returns the string representation. 24983 // 24984 // API parameter values that are decorated as "sensitive" in the API will not 24985 // be included in the string output. The member name will be present, but the 24986 // value will be replaced with "sensitive". 24987 func (s PauseStateScheduleActionSettings) GoString() string { 24988 return s.String() 24989 } 24990 24991 // Validate inspects the fields of the type to determine if they are valid. 24992 func (s *PauseStateScheduleActionSettings) Validate() error { 24993 invalidParams := request.ErrInvalidParams{Context: "PauseStateScheduleActionSettings"} 24994 if s.Pipelines != nil { 24995 for i, v := range s.Pipelines { 24996 if v == nil { 24997 continue 24998 } 24999 if err := v.Validate(); err != nil { 25000 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Pipelines", i), err.(request.ErrInvalidParams)) 25001 } 25002 } 25003 } 25004 25005 if invalidParams.Len() > 0 { 25006 return invalidParams 25007 } 25008 return nil 25009 } 25010 25011 // SetPipelines sets the Pipelines field's value. 25012 func (s *PauseStateScheduleActionSettings) SetPipelines(v []*PipelinePauseStateSettings) *PauseStateScheduleActionSettings { 25013 s.Pipelines = v 25014 return s 25015 } 25016 25017 // Runtime details of a pipeline when a channel is running. 25018 type PipelineDetail struct { 25019 _ struct{} `type:"structure"` 25020 25021 // The name of the active input attachment currently being ingested by this 25022 // pipeline. 25023 ActiveInputAttachmentName *string `locationName:"activeInputAttachmentName" type:"string"` 25024 25025 // The name of the input switch schedule action that occurred most recently 25026 // and that resulted in the switch to the current input attachment for this 25027 // pipeline. 25028 ActiveInputSwitchActionName *string `locationName:"activeInputSwitchActionName" type:"string"` 25029 25030 // The name of the motion graphics activate action that occurred most recently 25031 // and that resulted in the current graphics URI for this pipeline. 25032 ActiveMotionGraphicsActionName *string `locationName:"activeMotionGraphicsActionName" type:"string"` 25033 25034 // The current URI being used for HTML5 motion graphics for this pipeline. 25035 ActiveMotionGraphicsUri *string `locationName:"activeMotionGraphicsUri" type:"string"` 25036 25037 // Pipeline ID 25038 PipelineId *string `locationName:"pipelineId" type:"string"` 25039 } 25040 25041 // String returns the string representation. 25042 // 25043 // API parameter values that are decorated as "sensitive" in the API will not 25044 // be included in the string output. The member name will be present, but the 25045 // value will be replaced with "sensitive". 25046 func (s PipelineDetail) String() string { 25047 return awsutil.Prettify(s) 25048 } 25049 25050 // GoString returns the string representation. 25051 // 25052 // API parameter values that are decorated as "sensitive" in the API will not 25053 // be included in the string output. The member name will be present, but the 25054 // value will be replaced with "sensitive". 25055 func (s PipelineDetail) GoString() string { 25056 return s.String() 25057 } 25058 25059 // SetActiveInputAttachmentName sets the ActiveInputAttachmentName field's value. 25060 func (s *PipelineDetail) SetActiveInputAttachmentName(v string) *PipelineDetail { 25061 s.ActiveInputAttachmentName = &v 25062 return s 25063 } 25064 25065 // SetActiveInputSwitchActionName sets the ActiveInputSwitchActionName field's value. 25066 func (s *PipelineDetail) SetActiveInputSwitchActionName(v string) *PipelineDetail { 25067 s.ActiveInputSwitchActionName = &v 25068 return s 25069 } 25070 25071 // SetActiveMotionGraphicsActionName sets the ActiveMotionGraphicsActionName field's value. 25072 func (s *PipelineDetail) SetActiveMotionGraphicsActionName(v string) *PipelineDetail { 25073 s.ActiveMotionGraphicsActionName = &v 25074 return s 25075 } 25076 25077 // SetActiveMotionGraphicsUri sets the ActiveMotionGraphicsUri field's value. 25078 func (s *PipelineDetail) SetActiveMotionGraphicsUri(v string) *PipelineDetail { 25079 s.ActiveMotionGraphicsUri = &v 25080 return s 25081 } 25082 25083 // SetPipelineId sets the PipelineId field's value. 25084 func (s *PipelineDetail) SetPipelineId(v string) *PipelineDetail { 25085 s.PipelineId = &v 25086 return s 25087 } 25088 25089 // Settings for pausing a pipeline. 25090 type PipelinePauseStateSettings struct { 25091 _ struct{} `type:"structure"` 25092 25093 // Pipeline ID to pause ("PIPELINE_0" or "PIPELINE_1"). 25094 // 25095 // PipelineId is a required field 25096 PipelineId *string `locationName:"pipelineId" type:"string" required:"true" enum:"PipelineId"` 25097 } 25098 25099 // String returns the string representation. 25100 // 25101 // API parameter values that are decorated as "sensitive" in the API will not 25102 // be included in the string output. The member name will be present, but the 25103 // value will be replaced with "sensitive". 25104 func (s PipelinePauseStateSettings) String() string { 25105 return awsutil.Prettify(s) 25106 } 25107 25108 // GoString returns the string representation. 25109 // 25110 // API parameter values that are decorated as "sensitive" in the API will not 25111 // be included in the string output. The member name will be present, but the 25112 // value will be replaced with "sensitive". 25113 func (s PipelinePauseStateSettings) GoString() string { 25114 return s.String() 25115 } 25116 25117 // Validate inspects the fields of the type to determine if they are valid. 25118 func (s *PipelinePauseStateSettings) Validate() error { 25119 invalidParams := request.ErrInvalidParams{Context: "PipelinePauseStateSettings"} 25120 if s.PipelineId == nil { 25121 invalidParams.Add(request.NewErrParamRequired("PipelineId")) 25122 } 25123 25124 if invalidParams.Len() > 0 { 25125 return invalidParams 25126 } 25127 return nil 25128 } 25129 25130 // SetPipelineId sets the PipelineId field's value. 25131 func (s *PipelinePauseStateSettings) SetPipelineId(v string) *PipelinePauseStateSettings { 25132 s.PipelineId = &v 25133 return s 25134 } 25135 25136 type PurchaseOfferingInput struct { 25137 _ struct{} `type:"structure"` 25138 25139 // Count is a required field 25140 Count *int64 `locationName:"count" min:"1" type:"integer" required:"true"` 25141 25142 Name *string `locationName:"name" type:"string"` 25143 25144 // OfferingId is a required field 25145 OfferingId *string `location:"uri" locationName:"offeringId" type:"string" required:"true"` 25146 25147 RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` 25148 25149 Start *string `locationName:"start" type:"string"` 25150 25151 Tags map[string]*string `locationName:"tags" type:"map"` 25152 } 25153 25154 // String returns the string representation. 25155 // 25156 // API parameter values that are decorated as "sensitive" in the API will not 25157 // be included in the string output. The member name will be present, but the 25158 // value will be replaced with "sensitive". 25159 func (s PurchaseOfferingInput) String() string { 25160 return awsutil.Prettify(s) 25161 } 25162 25163 // GoString returns the string representation. 25164 // 25165 // API parameter values that are decorated as "sensitive" in the API will not 25166 // be included in the string output. The member name will be present, but the 25167 // value will be replaced with "sensitive". 25168 func (s PurchaseOfferingInput) GoString() string { 25169 return s.String() 25170 } 25171 25172 // Validate inspects the fields of the type to determine if they are valid. 25173 func (s *PurchaseOfferingInput) Validate() error { 25174 invalidParams := request.ErrInvalidParams{Context: "PurchaseOfferingInput"} 25175 if s.Count == nil { 25176 invalidParams.Add(request.NewErrParamRequired("Count")) 25177 } 25178 if s.Count != nil && *s.Count < 1 { 25179 invalidParams.Add(request.NewErrParamMinValue("Count", 1)) 25180 } 25181 if s.OfferingId == nil { 25182 invalidParams.Add(request.NewErrParamRequired("OfferingId")) 25183 } 25184 if s.OfferingId != nil && len(*s.OfferingId) < 1 { 25185 invalidParams.Add(request.NewErrParamMinLen("OfferingId", 1)) 25186 } 25187 25188 if invalidParams.Len() > 0 { 25189 return invalidParams 25190 } 25191 return nil 25192 } 25193 25194 // SetCount sets the Count field's value. 25195 func (s *PurchaseOfferingInput) SetCount(v int64) *PurchaseOfferingInput { 25196 s.Count = &v 25197 return s 25198 } 25199 25200 // SetName sets the Name field's value. 25201 func (s *PurchaseOfferingInput) SetName(v string) *PurchaseOfferingInput { 25202 s.Name = &v 25203 return s 25204 } 25205 25206 // SetOfferingId sets the OfferingId field's value. 25207 func (s *PurchaseOfferingInput) SetOfferingId(v string) *PurchaseOfferingInput { 25208 s.OfferingId = &v 25209 return s 25210 } 25211 25212 // SetRequestId sets the RequestId field's value. 25213 func (s *PurchaseOfferingInput) SetRequestId(v string) *PurchaseOfferingInput { 25214 s.RequestId = &v 25215 return s 25216 } 25217 25218 // SetStart sets the Start field's value. 25219 func (s *PurchaseOfferingInput) SetStart(v string) *PurchaseOfferingInput { 25220 s.Start = &v 25221 return s 25222 } 25223 25224 // SetTags sets the Tags field's value. 25225 func (s *PurchaseOfferingInput) SetTags(v map[string]*string) *PurchaseOfferingInput { 25226 s.Tags = v 25227 return s 25228 } 25229 25230 type PurchaseOfferingOutput struct { 25231 _ struct{} `type:"structure"` 25232 25233 // Reserved resources available to use 25234 Reservation *Reservation `locationName:"reservation" type:"structure"` 25235 } 25236 25237 // String returns the string representation. 25238 // 25239 // API parameter values that are decorated as "sensitive" in the API will not 25240 // be included in the string output. The member name will be present, but the 25241 // value will be replaced with "sensitive". 25242 func (s PurchaseOfferingOutput) String() string { 25243 return awsutil.Prettify(s) 25244 } 25245 25246 // GoString returns the string representation. 25247 // 25248 // API parameter values that are decorated as "sensitive" in the API will not 25249 // be included in the string output. The member name will be present, but the 25250 // value will be replaced with "sensitive". 25251 func (s PurchaseOfferingOutput) GoString() string { 25252 return s.String() 25253 } 25254 25255 // SetReservation sets the Reservation field's value. 25256 func (s *PurchaseOfferingOutput) SetReservation(v *Reservation) *PurchaseOfferingOutput { 25257 s.Reservation = v 25258 return s 25259 } 25260 25261 // Raw Settings 25262 type RawSettings struct { 25263 _ struct{} `type:"structure" nopayload:"true"` 25264 } 25265 25266 // String returns the string representation. 25267 // 25268 // API parameter values that are decorated as "sensitive" in the API will not 25269 // be included in the string output. The member name will be present, but the 25270 // value will be replaced with "sensitive". 25271 func (s RawSettings) String() string { 25272 return awsutil.Prettify(s) 25273 } 25274 25275 // GoString returns the string representation. 25276 // 25277 // API parameter values that are decorated as "sensitive" in the API will not 25278 // be included in the string output. The member name will be present, but the 25279 // value will be replaced with "sensitive". 25280 func (s RawSettings) GoString() string { 25281 return s.String() 25282 } 25283 25284 // Rec601 Settings 25285 type Rec601Settings struct { 25286 _ struct{} `type:"structure" nopayload:"true"` 25287 } 25288 25289 // String returns the string representation. 25290 // 25291 // API parameter values that are decorated as "sensitive" in the API will not 25292 // be included in the string output. The member name will be present, but the 25293 // value will be replaced with "sensitive". 25294 func (s Rec601Settings) String() string { 25295 return awsutil.Prettify(s) 25296 } 25297 25298 // GoString returns the string representation. 25299 // 25300 // API parameter values that are decorated as "sensitive" in the API will not 25301 // be included in the string output. The member name will be present, but the 25302 // value will be replaced with "sensitive". 25303 func (s Rec601Settings) GoString() string { 25304 return s.String() 25305 } 25306 25307 // Rec709 Settings 25308 type Rec709Settings struct { 25309 _ struct{} `type:"structure" nopayload:"true"` 25310 } 25311 25312 // String returns the string representation. 25313 // 25314 // API parameter values that are decorated as "sensitive" in the API will not 25315 // be included in the string output. The member name will be present, but the 25316 // value will be replaced with "sensitive". 25317 func (s Rec709Settings) String() string { 25318 return awsutil.Prettify(s) 25319 } 25320 25321 // GoString returns the string representation. 25322 // 25323 // API parameter values that are decorated as "sensitive" in the API will not 25324 // be included in the string output. The member name will be present, but the 25325 // value will be replaced with "sensitive". 25326 func (s Rec709Settings) GoString() string { 25327 return s.String() 25328 } 25329 25330 type RejectInputDeviceTransferInput struct { 25331 _ struct{} `type:"structure" nopayload:"true"` 25332 25333 // InputDeviceId is a required field 25334 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 25335 } 25336 25337 // String returns the string representation. 25338 // 25339 // API parameter values that are decorated as "sensitive" in the API will not 25340 // be included in the string output. The member name will be present, but the 25341 // value will be replaced with "sensitive". 25342 func (s RejectInputDeviceTransferInput) String() string { 25343 return awsutil.Prettify(s) 25344 } 25345 25346 // GoString returns the string representation. 25347 // 25348 // API parameter values that are decorated as "sensitive" in the API will not 25349 // be included in the string output. The member name will be present, but the 25350 // value will be replaced with "sensitive". 25351 func (s RejectInputDeviceTransferInput) GoString() string { 25352 return s.String() 25353 } 25354 25355 // Validate inspects the fields of the type to determine if they are valid. 25356 func (s *RejectInputDeviceTransferInput) Validate() error { 25357 invalidParams := request.ErrInvalidParams{Context: "RejectInputDeviceTransferInput"} 25358 if s.InputDeviceId == nil { 25359 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 25360 } 25361 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 25362 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 25363 } 25364 25365 if invalidParams.Len() > 0 { 25366 return invalidParams 25367 } 25368 return nil 25369 } 25370 25371 // SetInputDeviceId sets the InputDeviceId field's value. 25372 func (s *RejectInputDeviceTransferInput) SetInputDeviceId(v string) *RejectInputDeviceTransferInput { 25373 s.InputDeviceId = &v 25374 return s 25375 } 25376 25377 type RejectInputDeviceTransferOutput struct { 25378 _ struct{} `type:"structure" nopayload:"true"` 25379 } 25380 25381 // String returns the string representation. 25382 // 25383 // API parameter values that are decorated as "sensitive" in the API will not 25384 // be included in the string output. The member name will be present, but the 25385 // value will be replaced with "sensitive". 25386 func (s RejectInputDeviceTransferOutput) String() string { 25387 return awsutil.Prettify(s) 25388 } 25389 25390 // GoString returns the string representation. 25391 // 25392 // API parameter values that are decorated as "sensitive" in the API will not 25393 // be included in the string output. The member name will be present, but the 25394 // value will be replaced with "sensitive". 25395 func (s RejectInputDeviceTransferOutput) GoString() string { 25396 return s.String() 25397 } 25398 25399 // Remix Settings 25400 type RemixSettings struct { 25401 _ struct{} `type:"structure"` 25402 25403 // Mapping of input channels to output channels, with appropriate gain adjustments. 25404 // 25405 // ChannelMappings is a required field 25406 ChannelMappings []*AudioChannelMapping `locationName:"channelMappings" type:"list" required:"true"` 25407 25408 // Number of input channels to be used. 25409 ChannelsIn *int64 `locationName:"channelsIn" min:"1" type:"integer"` 25410 25411 // Number of output channels to be produced.Valid values: 1, 2, 4, 6, 8 25412 ChannelsOut *int64 `locationName:"channelsOut" min:"1" type:"integer"` 25413 } 25414 25415 // String returns the string representation. 25416 // 25417 // API parameter values that are decorated as "sensitive" in the API will not 25418 // be included in the string output. The member name will be present, but the 25419 // value will be replaced with "sensitive". 25420 func (s RemixSettings) String() string { 25421 return awsutil.Prettify(s) 25422 } 25423 25424 // GoString returns the string representation. 25425 // 25426 // API parameter values that are decorated as "sensitive" in the API will not 25427 // be included in the string output. The member name will be present, but the 25428 // value will be replaced with "sensitive". 25429 func (s RemixSettings) GoString() string { 25430 return s.String() 25431 } 25432 25433 // Validate inspects the fields of the type to determine if they are valid. 25434 func (s *RemixSettings) Validate() error { 25435 invalidParams := request.ErrInvalidParams{Context: "RemixSettings"} 25436 if s.ChannelMappings == nil { 25437 invalidParams.Add(request.NewErrParamRequired("ChannelMappings")) 25438 } 25439 if s.ChannelsIn != nil && *s.ChannelsIn < 1 { 25440 invalidParams.Add(request.NewErrParamMinValue("ChannelsIn", 1)) 25441 } 25442 if s.ChannelsOut != nil && *s.ChannelsOut < 1 { 25443 invalidParams.Add(request.NewErrParamMinValue("ChannelsOut", 1)) 25444 } 25445 if s.ChannelMappings != nil { 25446 for i, v := range s.ChannelMappings { 25447 if v == nil { 25448 continue 25449 } 25450 if err := v.Validate(); err != nil { 25451 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ChannelMappings", i), err.(request.ErrInvalidParams)) 25452 } 25453 } 25454 } 25455 25456 if invalidParams.Len() > 0 { 25457 return invalidParams 25458 } 25459 return nil 25460 } 25461 25462 // SetChannelMappings sets the ChannelMappings field's value. 25463 func (s *RemixSettings) SetChannelMappings(v []*AudioChannelMapping) *RemixSettings { 25464 s.ChannelMappings = v 25465 return s 25466 } 25467 25468 // SetChannelsIn sets the ChannelsIn field's value. 25469 func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { 25470 s.ChannelsIn = &v 25471 return s 25472 } 25473 25474 // SetChannelsOut sets the ChannelsOut field's value. 25475 func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { 25476 s.ChannelsOut = &v 25477 return s 25478 } 25479 25480 // Reserved resources available to use 25481 type Reservation struct { 25482 _ struct{} `type:"structure"` 25483 25484 // Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567' 25485 Arn *string `locationName:"arn" type:"string"` 25486 25487 // Number of reserved resources 25488 Count *int64 `locationName:"count" type:"integer"` 25489 25490 // Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD' 25491 CurrencyCode *string `locationName:"currencyCode" type:"string"` 25492 25493 // Lease duration, e.g. '12' 25494 Duration *int64 `locationName:"duration" type:"integer"` 25495 25496 // Units for duration, e.g. 'MONTHS' 25497 DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` 25498 25499 // Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00' 25500 End *string `locationName:"end" type:"string"` 25501 25502 // One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering 25503 FixedPrice *float64 `locationName:"fixedPrice" type:"double"` 25504 25505 // User specified reservation name 25506 Name *string `locationName:"name" type:"string"` 25507 25508 // Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard 25509 // VQ in US West (Oregon)' 25510 OfferingDescription *string `locationName:"offeringDescription" type:"string"` 25511 25512 // Unique offering ID, e.g. '87654321' 25513 OfferingId *string `locationName:"offeringId" type:"string"` 25514 25515 // Offering type, e.g. 'NO_UPFRONT' 25516 OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` 25517 25518 // AWS region, e.g. 'us-west-2' 25519 Region *string `locationName:"region" type:"string"` 25520 25521 // Unique reservation ID, e.g. '1234567' 25522 ReservationId *string `locationName:"reservationId" type:"string"` 25523 25524 // Resource configuration details 25525 ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` 25526 25527 // Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00' 25528 Start *string `locationName:"start" type:"string"` 25529 25530 // Current state of reservation, e.g. 'ACTIVE' 25531 State *string `locationName:"state" type:"string" enum:"ReservationState"` 25532 25533 // A collection of key-value pairs 25534 Tags map[string]*string `locationName:"tags" type:"map"` 25535 25536 // Recurring usage charge for each reserved resource, e.g. '157.0' 25537 UsagePrice *float64 `locationName:"usagePrice" type:"double"` 25538 } 25539 25540 // String returns the string representation. 25541 // 25542 // API parameter values that are decorated as "sensitive" in the API will not 25543 // be included in the string output. The member name will be present, but the 25544 // value will be replaced with "sensitive". 25545 func (s Reservation) String() string { 25546 return awsutil.Prettify(s) 25547 } 25548 25549 // GoString returns the string representation. 25550 // 25551 // API parameter values that are decorated as "sensitive" in the API will not 25552 // be included in the string output. The member name will be present, but the 25553 // value will be replaced with "sensitive". 25554 func (s Reservation) GoString() string { 25555 return s.String() 25556 } 25557 25558 // SetArn sets the Arn field's value. 25559 func (s *Reservation) SetArn(v string) *Reservation { 25560 s.Arn = &v 25561 return s 25562 } 25563 25564 // SetCount sets the Count field's value. 25565 func (s *Reservation) SetCount(v int64) *Reservation { 25566 s.Count = &v 25567 return s 25568 } 25569 25570 // SetCurrencyCode sets the CurrencyCode field's value. 25571 func (s *Reservation) SetCurrencyCode(v string) *Reservation { 25572 s.CurrencyCode = &v 25573 return s 25574 } 25575 25576 // SetDuration sets the Duration field's value. 25577 func (s *Reservation) SetDuration(v int64) *Reservation { 25578 s.Duration = &v 25579 return s 25580 } 25581 25582 // SetDurationUnits sets the DurationUnits field's value. 25583 func (s *Reservation) SetDurationUnits(v string) *Reservation { 25584 s.DurationUnits = &v 25585 return s 25586 } 25587 25588 // SetEnd sets the End field's value. 25589 func (s *Reservation) SetEnd(v string) *Reservation { 25590 s.End = &v 25591 return s 25592 } 25593 25594 // SetFixedPrice sets the FixedPrice field's value. 25595 func (s *Reservation) SetFixedPrice(v float64) *Reservation { 25596 s.FixedPrice = &v 25597 return s 25598 } 25599 25600 // SetName sets the Name field's value. 25601 func (s *Reservation) SetName(v string) *Reservation { 25602 s.Name = &v 25603 return s 25604 } 25605 25606 // SetOfferingDescription sets the OfferingDescription field's value. 25607 func (s *Reservation) SetOfferingDescription(v string) *Reservation { 25608 s.OfferingDescription = &v 25609 return s 25610 } 25611 25612 // SetOfferingId sets the OfferingId field's value. 25613 func (s *Reservation) SetOfferingId(v string) *Reservation { 25614 s.OfferingId = &v 25615 return s 25616 } 25617 25618 // SetOfferingType sets the OfferingType field's value. 25619 func (s *Reservation) SetOfferingType(v string) *Reservation { 25620 s.OfferingType = &v 25621 return s 25622 } 25623 25624 // SetRegion sets the Region field's value. 25625 func (s *Reservation) SetRegion(v string) *Reservation { 25626 s.Region = &v 25627 return s 25628 } 25629 25630 // SetReservationId sets the ReservationId field's value. 25631 func (s *Reservation) SetReservationId(v string) *Reservation { 25632 s.ReservationId = &v 25633 return s 25634 } 25635 25636 // SetResourceSpecification sets the ResourceSpecification field's value. 25637 func (s *Reservation) SetResourceSpecification(v *ReservationResourceSpecification) *Reservation { 25638 s.ResourceSpecification = v 25639 return s 25640 } 25641 25642 // SetStart sets the Start field's value. 25643 func (s *Reservation) SetStart(v string) *Reservation { 25644 s.Start = &v 25645 return s 25646 } 25647 25648 // SetState sets the State field's value. 25649 func (s *Reservation) SetState(v string) *Reservation { 25650 s.State = &v 25651 return s 25652 } 25653 25654 // SetTags sets the Tags field's value. 25655 func (s *Reservation) SetTags(v map[string]*string) *Reservation { 25656 s.Tags = v 25657 return s 25658 } 25659 25660 // SetUsagePrice sets the UsagePrice field's value. 25661 func (s *Reservation) SetUsagePrice(v float64) *Reservation { 25662 s.UsagePrice = &v 25663 return s 25664 } 25665 25666 // Resource configuration (codec, resolution, bitrate, ...) 25667 type ReservationResourceSpecification struct { 25668 _ struct{} `type:"structure"` 25669 25670 // Channel class, e.g. 'STANDARD' 25671 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 25672 25673 // Codec, e.g. 'AVC' 25674 Codec *string `locationName:"codec" type:"string" enum:"ReservationCodec"` 25675 25676 // Maximum bitrate, e.g. 'MAX_20_MBPS' 25677 MaximumBitrate *string `locationName:"maximumBitrate" type:"string" enum:"ReservationMaximumBitrate"` 25678 25679 // Maximum framerate, e.g. 'MAX_30_FPS' (Outputs only) 25680 MaximumFramerate *string `locationName:"maximumFramerate" type:"string" enum:"ReservationMaximumFramerate"` 25681 25682 // Resolution, e.g. 'HD' 25683 Resolution *string `locationName:"resolution" type:"string" enum:"ReservationResolution"` 25684 25685 // Resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' 25686 ResourceType *string `locationName:"resourceType" type:"string" enum:"ReservationResourceType"` 25687 25688 // Special feature, e.g. 'AUDIO_NORMALIZATION' (Channels only) 25689 SpecialFeature *string `locationName:"specialFeature" type:"string" enum:"ReservationSpecialFeature"` 25690 25691 // Video quality, e.g. 'STANDARD' (Outputs only) 25692 VideoQuality *string `locationName:"videoQuality" type:"string" enum:"ReservationVideoQuality"` 25693 } 25694 25695 // String returns the string representation. 25696 // 25697 // API parameter values that are decorated as "sensitive" in the API will not 25698 // be included in the string output. The member name will be present, but the 25699 // value will be replaced with "sensitive". 25700 func (s ReservationResourceSpecification) String() string { 25701 return awsutil.Prettify(s) 25702 } 25703 25704 // GoString returns the string representation. 25705 // 25706 // API parameter values that are decorated as "sensitive" in the API will not 25707 // be included in the string output. The member name will be present, but the 25708 // value will be replaced with "sensitive". 25709 func (s ReservationResourceSpecification) GoString() string { 25710 return s.String() 25711 } 25712 25713 // SetChannelClass sets the ChannelClass field's value. 25714 func (s *ReservationResourceSpecification) SetChannelClass(v string) *ReservationResourceSpecification { 25715 s.ChannelClass = &v 25716 return s 25717 } 25718 25719 // SetCodec sets the Codec field's value. 25720 func (s *ReservationResourceSpecification) SetCodec(v string) *ReservationResourceSpecification { 25721 s.Codec = &v 25722 return s 25723 } 25724 25725 // SetMaximumBitrate sets the MaximumBitrate field's value. 25726 func (s *ReservationResourceSpecification) SetMaximumBitrate(v string) *ReservationResourceSpecification { 25727 s.MaximumBitrate = &v 25728 return s 25729 } 25730 25731 // SetMaximumFramerate sets the MaximumFramerate field's value. 25732 func (s *ReservationResourceSpecification) SetMaximumFramerate(v string) *ReservationResourceSpecification { 25733 s.MaximumFramerate = &v 25734 return s 25735 } 25736 25737 // SetResolution sets the Resolution field's value. 25738 func (s *ReservationResourceSpecification) SetResolution(v string) *ReservationResourceSpecification { 25739 s.Resolution = &v 25740 return s 25741 } 25742 25743 // SetResourceType sets the ResourceType field's value. 25744 func (s *ReservationResourceSpecification) SetResourceType(v string) *ReservationResourceSpecification { 25745 s.ResourceType = &v 25746 return s 25747 } 25748 25749 // SetSpecialFeature sets the SpecialFeature field's value. 25750 func (s *ReservationResourceSpecification) SetSpecialFeature(v string) *ReservationResourceSpecification { 25751 s.SpecialFeature = &v 25752 return s 25753 } 25754 25755 // SetVideoQuality sets the VideoQuality field's value. 25756 func (s *ReservationResourceSpecification) SetVideoQuality(v string) *ReservationResourceSpecification { 25757 s.VideoQuality = &v 25758 return s 25759 } 25760 25761 // Rtmp Caption Info Destination Settings 25762 type RtmpCaptionInfoDestinationSettings struct { 25763 _ struct{} `type:"structure" nopayload:"true"` 25764 } 25765 25766 // String returns the string representation. 25767 // 25768 // API parameter values that are decorated as "sensitive" in the API will not 25769 // be included in the string output. The member name will be present, but the 25770 // value will be replaced with "sensitive". 25771 func (s RtmpCaptionInfoDestinationSettings) String() string { 25772 return awsutil.Prettify(s) 25773 } 25774 25775 // GoString returns the string representation. 25776 // 25777 // API parameter values that are decorated as "sensitive" in the API will not 25778 // be included in the string output. The member name will be present, but the 25779 // value will be replaced with "sensitive". 25780 func (s RtmpCaptionInfoDestinationSettings) GoString() string { 25781 return s.String() 25782 } 25783 25784 // Rtmp Group Settings 25785 type RtmpGroupSettings struct { 25786 _ struct{} `type:"structure"` 25787 25788 // Choose the ad marker type for this output group. MediaLive will create a 25789 // message based on the content of each SCTE-35 message, format it for that 25790 // marker type, and insert it in the datastream. 25791 AdMarkers []*string `locationName:"adMarkers" type:"list"` 25792 25793 // Authentication scheme to use when connecting with CDN 25794 AuthenticationScheme *string `locationName:"authenticationScheme" type:"string" enum:"AuthenticationScheme"` 25795 25796 // Controls behavior when content cache fills up. If remote origin server stalls 25797 // the RTMP connection and does not accept content fast enough the 'Media Cache' 25798 // will fill up. When the cache reaches the duration specified by cacheLength 25799 // the cache will stop accepting new content. If set to disconnectImmediately, 25800 // the RTMP output will force a disconnect. Clear the media cache, and reconnect 25801 // after restartDelay seconds. If set to waitForServer, the RTMP output will 25802 // wait up to 5 minutes to allow the origin server to begin accepting data again. 25803 CacheFullBehavior *string `locationName:"cacheFullBehavior" type:"string" enum:"RtmpCacheFullBehavior"` 25804 25805 // Cache length, in seconds, is used to calculate buffer size. 25806 CacheLength *int64 `locationName:"cacheLength" min:"30" type:"integer"` 25807 25808 // Controls the types of data that passes to onCaptionInfo outputs. If set to 25809 // 'all' then 608 and 708 carried DTVCC data will be passed. If set to 'field1AndField2608' 25810 // then DTVCC data will be stripped out, but 608 data from both fields will 25811 // be passed. If set to 'field1608' then only the data carried in 608 from field 25812 // 1 video will be passed. 25813 CaptionData *string `locationName:"captionData" type:"string" enum:"RtmpCaptionData"` 25814 25815 // Controls the behavior of this RTMP group if input becomes unavailable.- emitOutput: 25816 // Emit a slate until input returns.- pauseOutput: Stop transmitting data until 25817 // input returns. This does not close the underlying RTMP connection. 25818 InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForRtmpOut"` 25819 25820 // If a streaming output fails, number of seconds to wait until a restart is 25821 // initiated. A value of 0 means never restart. 25822 RestartDelay *int64 `locationName:"restartDelay" type:"integer"` 25823 } 25824 25825 // String returns the string representation. 25826 // 25827 // API parameter values that are decorated as "sensitive" in the API will not 25828 // be included in the string output. The member name will be present, but the 25829 // value will be replaced with "sensitive". 25830 func (s RtmpGroupSettings) String() string { 25831 return awsutil.Prettify(s) 25832 } 25833 25834 // GoString returns the string representation. 25835 // 25836 // API parameter values that are decorated as "sensitive" in the API will not 25837 // be included in the string output. The member name will be present, but the 25838 // value will be replaced with "sensitive". 25839 func (s RtmpGroupSettings) GoString() string { 25840 return s.String() 25841 } 25842 25843 // Validate inspects the fields of the type to determine if they are valid. 25844 func (s *RtmpGroupSettings) Validate() error { 25845 invalidParams := request.ErrInvalidParams{Context: "RtmpGroupSettings"} 25846 if s.CacheLength != nil && *s.CacheLength < 30 { 25847 invalidParams.Add(request.NewErrParamMinValue("CacheLength", 30)) 25848 } 25849 25850 if invalidParams.Len() > 0 { 25851 return invalidParams 25852 } 25853 return nil 25854 } 25855 25856 // SetAdMarkers sets the AdMarkers field's value. 25857 func (s *RtmpGroupSettings) SetAdMarkers(v []*string) *RtmpGroupSettings { 25858 s.AdMarkers = v 25859 return s 25860 } 25861 25862 // SetAuthenticationScheme sets the AuthenticationScheme field's value. 25863 func (s *RtmpGroupSettings) SetAuthenticationScheme(v string) *RtmpGroupSettings { 25864 s.AuthenticationScheme = &v 25865 return s 25866 } 25867 25868 // SetCacheFullBehavior sets the CacheFullBehavior field's value. 25869 func (s *RtmpGroupSettings) SetCacheFullBehavior(v string) *RtmpGroupSettings { 25870 s.CacheFullBehavior = &v 25871 return s 25872 } 25873 25874 // SetCacheLength sets the CacheLength field's value. 25875 func (s *RtmpGroupSettings) SetCacheLength(v int64) *RtmpGroupSettings { 25876 s.CacheLength = &v 25877 return s 25878 } 25879 25880 // SetCaptionData sets the CaptionData field's value. 25881 func (s *RtmpGroupSettings) SetCaptionData(v string) *RtmpGroupSettings { 25882 s.CaptionData = &v 25883 return s 25884 } 25885 25886 // SetInputLossAction sets the InputLossAction field's value. 25887 func (s *RtmpGroupSettings) SetInputLossAction(v string) *RtmpGroupSettings { 25888 s.InputLossAction = &v 25889 return s 25890 } 25891 25892 // SetRestartDelay sets the RestartDelay field's value. 25893 func (s *RtmpGroupSettings) SetRestartDelay(v int64) *RtmpGroupSettings { 25894 s.RestartDelay = &v 25895 return s 25896 } 25897 25898 // Rtmp Output Settings 25899 type RtmpOutputSettings struct { 25900 _ struct{} `type:"structure"` 25901 25902 // If set to verifyAuthenticity, verify the tls certificate chain to a trusted 25903 // Certificate Authority (CA). This will cause rtmps outputs with self-signed 25904 // certificates to fail. 25905 CertificateMode *string `locationName:"certificateMode" type:"string" enum:"RtmpOutputCertificateMode"` 25906 25907 // Number of seconds to wait before retrying a connection to the Flash Media 25908 // server if the connection is lost. 25909 ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" min:"1" type:"integer"` 25910 25911 // The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For 25912 // connection to Akamai, a username and password must be supplied. URI fields 25913 // accept format identifiers. 25914 // 25915 // Destination is a required field 25916 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 25917 25918 // Number of retry attempts. 25919 NumRetries *int64 `locationName:"numRetries" type:"integer"` 25920 } 25921 25922 // String returns the string representation. 25923 // 25924 // API parameter values that are decorated as "sensitive" in the API will not 25925 // be included in the string output. The member name will be present, but the 25926 // value will be replaced with "sensitive". 25927 func (s RtmpOutputSettings) String() string { 25928 return awsutil.Prettify(s) 25929 } 25930 25931 // GoString returns the string representation. 25932 // 25933 // API parameter values that are decorated as "sensitive" in the API will not 25934 // be included in the string output. The member name will be present, but the 25935 // value will be replaced with "sensitive". 25936 func (s RtmpOutputSettings) GoString() string { 25937 return s.String() 25938 } 25939 25940 // Validate inspects the fields of the type to determine if they are valid. 25941 func (s *RtmpOutputSettings) Validate() error { 25942 invalidParams := request.ErrInvalidParams{Context: "RtmpOutputSettings"} 25943 if s.ConnectionRetryInterval != nil && *s.ConnectionRetryInterval < 1 { 25944 invalidParams.Add(request.NewErrParamMinValue("ConnectionRetryInterval", 1)) 25945 } 25946 if s.Destination == nil { 25947 invalidParams.Add(request.NewErrParamRequired("Destination")) 25948 } 25949 25950 if invalidParams.Len() > 0 { 25951 return invalidParams 25952 } 25953 return nil 25954 } 25955 25956 // SetCertificateMode sets the CertificateMode field's value. 25957 func (s *RtmpOutputSettings) SetCertificateMode(v string) *RtmpOutputSettings { 25958 s.CertificateMode = &v 25959 return s 25960 } 25961 25962 // SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. 25963 func (s *RtmpOutputSettings) SetConnectionRetryInterval(v int64) *RtmpOutputSettings { 25964 s.ConnectionRetryInterval = &v 25965 return s 25966 } 25967 25968 // SetDestination sets the Destination field's value. 25969 func (s *RtmpOutputSettings) SetDestination(v *OutputLocationRef) *RtmpOutputSettings { 25970 s.Destination = v 25971 return s 25972 } 25973 25974 // SetNumRetries sets the NumRetries field's value. 25975 func (s *RtmpOutputSettings) SetNumRetries(v int64) *RtmpOutputSettings { 25976 s.NumRetries = &v 25977 return s 25978 } 25979 25980 // Contains information on a single schedule action. 25981 type ScheduleAction struct { 25982 _ struct{} `type:"structure"` 25983 25984 // The name of the action, must be unique within the schedule. This name provides 25985 // the main reference to an action once it is added to the schedule. A name 25986 // is unique if it is no longer in the schedule. The schedule is automatically 25987 // cleaned up to remove actions with a start time of more than 1 hour ago (approximately) 25988 // so at that point a name can be reused. 25989 // 25990 // ActionName is a required field 25991 ActionName *string `locationName:"actionName" type:"string" required:"true"` 25992 25993 // Settings for this schedule action. 25994 // 25995 // ScheduleActionSettings is a required field 25996 ScheduleActionSettings *ScheduleActionSettings `locationName:"scheduleActionSettings" type:"structure" required:"true"` 25997 25998 // The time for the action to start in the channel. 25999 // 26000 // ScheduleActionStartSettings is a required field 26001 ScheduleActionStartSettings *ScheduleActionStartSettings `locationName:"scheduleActionStartSettings" type:"structure" required:"true"` 26002 } 26003 26004 // String returns the string representation. 26005 // 26006 // API parameter values that are decorated as "sensitive" in the API will not 26007 // be included in the string output. The member name will be present, but the 26008 // value will be replaced with "sensitive". 26009 func (s ScheduleAction) String() string { 26010 return awsutil.Prettify(s) 26011 } 26012 26013 // GoString returns the string representation. 26014 // 26015 // API parameter values that are decorated as "sensitive" in the API will not 26016 // be included in the string output. The member name will be present, but the 26017 // value will be replaced with "sensitive". 26018 func (s ScheduleAction) GoString() string { 26019 return s.String() 26020 } 26021 26022 // Validate inspects the fields of the type to determine if they are valid. 26023 func (s *ScheduleAction) Validate() error { 26024 invalidParams := request.ErrInvalidParams{Context: "ScheduleAction"} 26025 if s.ActionName == nil { 26026 invalidParams.Add(request.NewErrParamRequired("ActionName")) 26027 } 26028 if s.ScheduleActionSettings == nil { 26029 invalidParams.Add(request.NewErrParamRequired("ScheduleActionSettings")) 26030 } 26031 if s.ScheduleActionStartSettings == nil { 26032 invalidParams.Add(request.NewErrParamRequired("ScheduleActionStartSettings")) 26033 } 26034 if s.ScheduleActionSettings != nil { 26035 if err := s.ScheduleActionSettings.Validate(); err != nil { 26036 invalidParams.AddNested("ScheduleActionSettings", err.(request.ErrInvalidParams)) 26037 } 26038 } 26039 if s.ScheduleActionStartSettings != nil { 26040 if err := s.ScheduleActionStartSettings.Validate(); err != nil { 26041 invalidParams.AddNested("ScheduleActionStartSettings", err.(request.ErrInvalidParams)) 26042 } 26043 } 26044 26045 if invalidParams.Len() > 0 { 26046 return invalidParams 26047 } 26048 return nil 26049 } 26050 26051 // SetActionName sets the ActionName field's value. 26052 func (s *ScheduleAction) SetActionName(v string) *ScheduleAction { 26053 s.ActionName = &v 26054 return s 26055 } 26056 26057 // SetScheduleActionSettings sets the ScheduleActionSettings field's value. 26058 func (s *ScheduleAction) SetScheduleActionSettings(v *ScheduleActionSettings) *ScheduleAction { 26059 s.ScheduleActionSettings = v 26060 return s 26061 } 26062 26063 // SetScheduleActionStartSettings sets the ScheduleActionStartSettings field's value. 26064 func (s *ScheduleAction) SetScheduleActionStartSettings(v *ScheduleActionStartSettings) *ScheduleAction { 26065 s.ScheduleActionStartSettings = v 26066 return s 26067 } 26068 26069 // Holds the settings for a single schedule action. 26070 type ScheduleActionSettings struct { 26071 _ struct{} `type:"structure"` 26072 26073 // Action to insert HLS ID3 segment tagging 26074 HlsId3SegmentTaggingSettings *HlsId3SegmentTaggingScheduleActionSettings `locationName:"hlsId3SegmentTaggingSettings" type:"structure"` 26075 26076 // Action to insert HLS metadata 26077 HlsTimedMetadataSettings *HlsTimedMetadataScheduleActionSettings `locationName:"hlsTimedMetadataSettings" type:"structure"` 26078 26079 // Action to prepare an input for a future immediate input switch 26080 InputPrepareSettings *InputPrepareScheduleActionSettings `locationName:"inputPrepareSettings" type:"structure"` 26081 26082 // Action to switch the input 26083 InputSwitchSettings *InputSwitchScheduleActionSettings `locationName:"inputSwitchSettings" type:"structure"` 26084 26085 // Action to activate a motion graphics image overlay 26086 MotionGraphicsImageActivateSettings *MotionGraphicsActivateScheduleActionSettings `locationName:"motionGraphicsImageActivateSettings" type:"structure"` 26087 26088 // Action to deactivate a motion graphics image overlay 26089 MotionGraphicsImageDeactivateSettings *MotionGraphicsDeactivateScheduleActionSettings `locationName:"motionGraphicsImageDeactivateSettings" type:"structure"` 26090 26091 // Action to pause or unpause one or both channel pipelines 26092 PauseStateSettings *PauseStateScheduleActionSettings `locationName:"pauseStateSettings" type:"structure"` 26093 26094 // Action to insert SCTE-35 return_to_network message 26095 Scte35ReturnToNetworkSettings *Scte35ReturnToNetworkScheduleActionSettings `locationName:"scte35ReturnToNetworkSettings" type:"structure"` 26096 26097 // Action to insert SCTE-35 splice_insert message 26098 Scte35SpliceInsertSettings *Scte35SpliceInsertScheduleActionSettings `locationName:"scte35SpliceInsertSettings" type:"structure"` 26099 26100 // Action to insert SCTE-35 time_signal message 26101 Scte35TimeSignalSettings *Scte35TimeSignalScheduleActionSettings `locationName:"scte35TimeSignalSettings" type:"structure"` 26102 26103 // Action to activate a static image overlay 26104 StaticImageActivateSettings *StaticImageActivateScheduleActionSettings `locationName:"staticImageActivateSettings" type:"structure"` 26105 26106 // Action to deactivate a static image overlay 26107 StaticImageDeactivateSettings *StaticImageDeactivateScheduleActionSettings `locationName:"staticImageDeactivateSettings" type:"structure"` 26108 } 26109 26110 // String returns the string representation. 26111 // 26112 // API parameter values that are decorated as "sensitive" in the API will not 26113 // be included in the string output. The member name will be present, but the 26114 // value will be replaced with "sensitive". 26115 func (s ScheduleActionSettings) String() string { 26116 return awsutil.Prettify(s) 26117 } 26118 26119 // GoString returns the string representation. 26120 // 26121 // API parameter values that are decorated as "sensitive" in the API will not 26122 // be included in the string output. The member name will be present, but the 26123 // value will be replaced with "sensitive". 26124 func (s ScheduleActionSettings) GoString() string { 26125 return s.String() 26126 } 26127 26128 // Validate inspects the fields of the type to determine if they are valid. 26129 func (s *ScheduleActionSettings) Validate() error { 26130 invalidParams := request.ErrInvalidParams{Context: "ScheduleActionSettings"} 26131 if s.HlsId3SegmentTaggingSettings != nil { 26132 if err := s.HlsId3SegmentTaggingSettings.Validate(); err != nil { 26133 invalidParams.AddNested("HlsId3SegmentTaggingSettings", err.(request.ErrInvalidParams)) 26134 } 26135 } 26136 if s.HlsTimedMetadataSettings != nil { 26137 if err := s.HlsTimedMetadataSettings.Validate(); err != nil { 26138 invalidParams.AddNested("HlsTimedMetadataSettings", err.(request.ErrInvalidParams)) 26139 } 26140 } 26141 if s.InputPrepareSettings != nil { 26142 if err := s.InputPrepareSettings.Validate(); err != nil { 26143 invalidParams.AddNested("InputPrepareSettings", err.(request.ErrInvalidParams)) 26144 } 26145 } 26146 if s.InputSwitchSettings != nil { 26147 if err := s.InputSwitchSettings.Validate(); err != nil { 26148 invalidParams.AddNested("InputSwitchSettings", err.(request.ErrInvalidParams)) 26149 } 26150 } 26151 if s.PauseStateSettings != nil { 26152 if err := s.PauseStateSettings.Validate(); err != nil { 26153 invalidParams.AddNested("PauseStateSettings", err.(request.ErrInvalidParams)) 26154 } 26155 } 26156 if s.Scte35ReturnToNetworkSettings != nil { 26157 if err := s.Scte35ReturnToNetworkSettings.Validate(); err != nil { 26158 invalidParams.AddNested("Scte35ReturnToNetworkSettings", err.(request.ErrInvalidParams)) 26159 } 26160 } 26161 if s.Scte35SpliceInsertSettings != nil { 26162 if err := s.Scte35SpliceInsertSettings.Validate(); err != nil { 26163 invalidParams.AddNested("Scte35SpliceInsertSettings", err.(request.ErrInvalidParams)) 26164 } 26165 } 26166 if s.Scte35TimeSignalSettings != nil { 26167 if err := s.Scte35TimeSignalSettings.Validate(); err != nil { 26168 invalidParams.AddNested("Scte35TimeSignalSettings", err.(request.ErrInvalidParams)) 26169 } 26170 } 26171 if s.StaticImageActivateSettings != nil { 26172 if err := s.StaticImageActivateSettings.Validate(); err != nil { 26173 invalidParams.AddNested("StaticImageActivateSettings", err.(request.ErrInvalidParams)) 26174 } 26175 } 26176 26177 if invalidParams.Len() > 0 { 26178 return invalidParams 26179 } 26180 return nil 26181 } 26182 26183 // SetHlsId3SegmentTaggingSettings sets the HlsId3SegmentTaggingSettings field's value. 26184 func (s *ScheduleActionSettings) SetHlsId3SegmentTaggingSettings(v *HlsId3SegmentTaggingScheduleActionSettings) *ScheduleActionSettings { 26185 s.HlsId3SegmentTaggingSettings = v 26186 return s 26187 } 26188 26189 // SetHlsTimedMetadataSettings sets the HlsTimedMetadataSettings field's value. 26190 func (s *ScheduleActionSettings) SetHlsTimedMetadataSettings(v *HlsTimedMetadataScheduleActionSettings) *ScheduleActionSettings { 26191 s.HlsTimedMetadataSettings = v 26192 return s 26193 } 26194 26195 // SetInputPrepareSettings sets the InputPrepareSettings field's value. 26196 func (s *ScheduleActionSettings) SetInputPrepareSettings(v *InputPrepareScheduleActionSettings) *ScheduleActionSettings { 26197 s.InputPrepareSettings = v 26198 return s 26199 } 26200 26201 // SetInputSwitchSettings sets the InputSwitchSettings field's value. 26202 func (s *ScheduleActionSettings) SetInputSwitchSettings(v *InputSwitchScheduleActionSettings) *ScheduleActionSettings { 26203 s.InputSwitchSettings = v 26204 return s 26205 } 26206 26207 // SetMotionGraphicsImageActivateSettings sets the MotionGraphicsImageActivateSettings field's value. 26208 func (s *ScheduleActionSettings) SetMotionGraphicsImageActivateSettings(v *MotionGraphicsActivateScheduleActionSettings) *ScheduleActionSettings { 26209 s.MotionGraphicsImageActivateSettings = v 26210 return s 26211 } 26212 26213 // SetMotionGraphicsImageDeactivateSettings sets the MotionGraphicsImageDeactivateSettings field's value. 26214 func (s *ScheduleActionSettings) SetMotionGraphicsImageDeactivateSettings(v *MotionGraphicsDeactivateScheduleActionSettings) *ScheduleActionSettings { 26215 s.MotionGraphicsImageDeactivateSettings = v 26216 return s 26217 } 26218 26219 // SetPauseStateSettings sets the PauseStateSettings field's value. 26220 func (s *ScheduleActionSettings) SetPauseStateSettings(v *PauseStateScheduleActionSettings) *ScheduleActionSettings { 26221 s.PauseStateSettings = v 26222 return s 26223 } 26224 26225 // SetScte35ReturnToNetworkSettings sets the Scte35ReturnToNetworkSettings field's value. 26226 func (s *ScheduleActionSettings) SetScte35ReturnToNetworkSettings(v *Scte35ReturnToNetworkScheduleActionSettings) *ScheduleActionSettings { 26227 s.Scte35ReturnToNetworkSettings = v 26228 return s 26229 } 26230 26231 // SetScte35SpliceInsertSettings sets the Scte35SpliceInsertSettings field's value. 26232 func (s *ScheduleActionSettings) SetScte35SpliceInsertSettings(v *Scte35SpliceInsertScheduleActionSettings) *ScheduleActionSettings { 26233 s.Scte35SpliceInsertSettings = v 26234 return s 26235 } 26236 26237 // SetScte35TimeSignalSettings sets the Scte35TimeSignalSettings field's value. 26238 func (s *ScheduleActionSettings) SetScte35TimeSignalSettings(v *Scte35TimeSignalScheduleActionSettings) *ScheduleActionSettings { 26239 s.Scte35TimeSignalSettings = v 26240 return s 26241 } 26242 26243 // SetStaticImageActivateSettings sets the StaticImageActivateSettings field's value. 26244 func (s *ScheduleActionSettings) SetStaticImageActivateSettings(v *StaticImageActivateScheduleActionSettings) *ScheduleActionSettings { 26245 s.StaticImageActivateSettings = v 26246 return s 26247 } 26248 26249 // SetStaticImageDeactivateSettings sets the StaticImageDeactivateSettings field's value. 26250 func (s *ScheduleActionSettings) SetStaticImageDeactivateSettings(v *StaticImageDeactivateScheduleActionSettings) *ScheduleActionSettings { 26251 s.StaticImageDeactivateSettings = v 26252 return s 26253 } 26254 26255 // Settings to specify when an action should occur. Only one of the options 26256 // must be selected. 26257 type ScheduleActionStartSettings struct { 26258 _ struct{} `type:"structure"` 26259 26260 // Option for specifying the start time for an action. 26261 FixedModeScheduleActionStartSettings *FixedModeScheduleActionStartSettings `locationName:"fixedModeScheduleActionStartSettings" type:"structure"` 26262 26263 // Option for specifying an action as relative to another action. 26264 FollowModeScheduleActionStartSettings *FollowModeScheduleActionStartSettings `locationName:"followModeScheduleActionStartSettings" type:"structure"` 26265 26266 // Option for specifying an action that should be applied immediately. 26267 ImmediateModeScheduleActionStartSettings *ImmediateModeScheduleActionStartSettings `locationName:"immediateModeScheduleActionStartSettings" type:"structure"` 26268 } 26269 26270 // String returns the string representation. 26271 // 26272 // API parameter values that are decorated as "sensitive" in the API will not 26273 // be included in the string output. The member name will be present, but the 26274 // value will be replaced with "sensitive". 26275 func (s ScheduleActionStartSettings) String() string { 26276 return awsutil.Prettify(s) 26277 } 26278 26279 // GoString returns the string representation. 26280 // 26281 // API parameter values that are decorated as "sensitive" in the API will not 26282 // be included in the string output. The member name will be present, but the 26283 // value will be replaced with "sensitive". 26284 func (s ScheduleActionStartSettings) GoString() string { 26285 return s.String() 26286 } 26287 26288 // Validate inspects the fields of the type to determine if they are valid. 26289 func (s *ScheduleActionStartSettings) Validate() error { 26290 invalidParams := request.ErrInvalidParams{Context: "ScheduleActionStartSettings"} 26291 if s.FixedModeScheduleActionStartSettings != nil { 26292 if err := s.FixedModeScheduleActionStartSettings.Validate(); err != nil { 26293 invalidParams.AddNested("FixedModeScheduleActionStartSettings", err.(request.ErrInvalidParams)) 26294 } 26295 } 26296 if s.FollowModeScheduleActionStartSettings != nil { 26297 if err := s.FollowModeScheduleActionStartSettings.Validate(); err != nil { 26298 invalidParams.AddNested("FollowModeScheduleActionStartSettings", err.(request.ErrInvalidParams)) 26299 } 26300 } 26301 26302 if invalidParams.Len() > 0 { 26303 return invalidParams 26304 } 26305 return nil 26306 } 26307 26308 // SetFixedModeScheduleActionStartSettings sets the FixedModeScheduleActionStartSettings field's value. 26309 func (s *ScheduleActionStartSettings) SetFixedModeScheduleActionStartSettings(v *FixedModeScheduleActionStartSettings) *ScheduleActionStartSettings { 26310 s.FixedModeScheduleActionStartSettings = v 26311 return s 26312 } 26313 26314 // SetFollowModeScheduleActionStartSettings sets the FollowModeScheduleActionStartSettings field's value. 26315 func (s *ScheduleActionStartSettings) SetFollowModeScheduleActionStartSettings(v *FollowModeScheduleActionStartSettings) *ScheduleActionStartSettings { 26316 s.FollowModeScheduleActionStartSettings = v 26317 return s 26318 } 26319 26320 // SetImmediateModeScheduleActionStartSettings sets the ImmediateModeScheduleActionStartSettings field's value. 26321 func (s *ScheduleActionStartSettings) SetImmediateModeScheduleActionStartSettings(v *ImmediateModeScheduleActionStartSettings) *ScheduleActionStartSettings { 26322 s.ImmediateModeScheduleActionStartSettings = v 26323 return s 26324 } 26325 26326 // Scte20 Plus Embedded Destination Settings 26327 type Scte20PlusEmbeddedDestinationSettings struct { 26328 _ struct{} `type:"structure" nopayload:"true"` 26329 } 26330 26331 // String returns the string representation. 26332 // 26333 // API parameter values that are decorated as "sensitive" in the API will not 26334 // be included in the string output. The member name will be present, but the 26335 // value will be replaced with "sensitive". 26336 func (s Scte20PlusEmbeddedDestinationSettings) String() string { 26337 return awsutil.Prettify(s) 26338 } 26339 26340 // GoString returns the string representation. 26341 // 26342 // API parameter values that are decorated as "sensitive" in the API will not 26343 // be included in the string output. The member name will be present, but the 26344 // value will be replaced with "sensitive". 26345 func (s Scte20PlusEmbeddedDestinationSettings) GoString() string { 26346 return s.String() 26347 } 26348 26349 // Scte20 Source Settings 26350 type Scte20SourceSettings struct { 26351 _ struct{} `type:"structure"` 26352 26353 // If upconvert, 608 data is both passed through via the "608 compatibility 26354 // bytes" fields of the 708 wrapper as well as translated into 708. 708 data 26355 // present in the source content will be discarded. 26356 Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"Scte20Convert608To708"` 26357 26358 // Specifies the 608/708 channel number within the video track from which to 26359 // extract captions. Unused for passthrough. 26360 Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" min:"1" type:"integer"` 26361 } 26362 26363 // String returns the string representation. 26364 // 26365 // API parameter values that are decorated as "sensitive" in the API will not 26366 // be included in the string output. The member name will be present, but the 26367 // value will be replaced with "sensitive". 26368 func (s Scte20SourceSettings) String() string { 26369 return awsutil.Prettify(s) 26370 } 26371 26372 // GoString returns the string representation. 26373 // 26374 // API parameter values that are decorated as "sensitive" in the API will not 26375 // be included in the string output. The member name will be present, but the 26376 // value will be replaced with "sensitive". 26377 func (s Scte20SourceSettings) GoString() string { 26378 return s.String() 26379 } 26380 26381 // Validate inspects the fields of the type to determine if they are valid. 26382 func (s *Scte20SourceSettings) Validate() error { 26383 invalidParams := request.ErrInvalidParams{Context: "Scte20SourceSettings"} 26384 if s.Source608ChannelNumber != nil && *s.Source608ChannelNumber < 1 { 26385 invalidParams.Add(request.NewErrParamMinValue("Source608ChannelNumber", 1)) 26386 } 26387 26388 if invalidParams.Len() > 0 { 26389 return invalidParams 26390 } 26391 return nil 26392 } 26393 26394 // SetConvert608To708 sets the Convert608To708 field's value. 26395 func (s *Scte20SourceSettings) SetConvert608To708(v string) *Scte20SourceSettings { 26396 s.Convert608To708 = &v 26397 return s 26398 } 26399 26400 // SetSource608ChannelNumber sets the Source608ChannelNumber field's value. 26401 func (s *Scte20SourceSettings) SetSource608ChannelNumber(v int64) *Scte20SourceSettings { 26402 s.Source608ChannelNumber = &v 26403 return s 26404 } 26405 26406 // Scte27 Destination Settings 26407 type Scte27DestinationSettings struct { 26408 _ struct{} `type:"structure" nopayload:"true"` 26409 } 26410 26411 // String returns the string representation. 26412 // 26413 // API parameter values that are decorated as "sensitive" in the API will not 26414 // be included in the string output. The member name will be present, but the 26415 // value will be replaced with "sensitive". 26416 func (s Scte27DestinationSettings) String() string { 26417 return awsutil.Prettify(s) 26418 } 26419 26420 // GoString returns the string representation. 26421 // 26422 // API parameter values that are decorated as "sensitive" in the API will not 26423 // be included in the string output. The member name will be present, but the 26424 // value will be replaced with "sensitive". 26425 func (s Scte27DestinationSettings) GoString() string { 26426 return s.String() 26427 } 26428 26429 // Scte27 Source Settings 26430 type Scte27SourceSettings struct { 26431 _ struct{} `type:"structure"` 26432 26433 // If you will configure a WebVTT caption description that references this caption 26434 // selector, use this field toprovide the language to consider when translating 26435 // the image-based source to text. 26436 OcrLanguage *string `locationName:"ocrLanguage" type:"string" enum:"Scte27OcrLanguage"` 26437 26438 // The pid field is used in conjunction with the caption selector languageCode 26439 // field as follows: - Specify PID and Language: Extracts captions from that 26440 // PID; the language is "informational". - Specify PID and omit Language: Extracts 26441 // the specified PID. - Omit PID and specify Language: Extracts the specified 26442 // language, whichever PID that happens to be. - Omit PID and omit Language: 26443 // Valid only if source is DVB-Sub that is being passed through; all languages 26444 // will be passed through. 26445 Pid *int64 `locationName:"pid" min:"1" type:"integer"` 26446 } 26447 26448 // String returns the string representation. 26449 // 26450 // API parameter values that are decorated as "sensitive" in the API will not 26451 // be included in the string output. The member name will be present, but the 26452 // value will be replaced with "sensitive". 26453 func (s Scte27SourceSettings) String() string { 26454 return awsutil.Prettify(s) 26455 } 26456 26457 // GoString returns the string representation. 26458 // 26459 // API parameter values that are decorated as "sensitive" in the API will not 26460 // be included in the string output. The member name will be present, but the 26461 // value will be replaced with "sensitive". 26462 func (s Scte27SourceSettings) GoString() string { 26463 return s.String() 26464 } 26465 26466 // Validate inspects the fields of the type to determine if they are valid. 26467 func (s *Scte27SourceSettings) Validate() error { 26468 invalidParams := request.ErrInvalidParams{Context: "Scte27SourceSettings"} 26469 if s.Pid != nil && *s.Pid < 1 { 26470 invalidParams.Add(request.NewErrParamMinValue("Pid", 1)) 26471 } 26472 26473 if invalidParams.Len() > 0 { 26474 return invalidParams 26475 } 26476 return nil 26477 } 26478 26479 // SetOcrLanguage sets the OcrLanguage field's value. 26480 func (s *Scte27SourceSettings) SetOcrLanguage(v string) *Scte27SourceSettings { 26481 s.OcrLanguage = &v 26482 return s 26483 } 26484 26485 // SetPid sets the Pid field's value. 26486 func (s *Scte27SourceSettings) SetPid(v int64) *Scte27SourceSettings { 26487 s.Pid = &v 26488 return s 26489 } 26490 26491 // Corresponds to SCTE-35 delivery_not_restricted_flag parameter. To declare 26492 // delivery restrictions, include this element and its four "restriction" flags. 26493 // To declare that there are no restrictions, omit this element. 26494 type Scte35DeliveryRestrictions struct { 26495 _ struct{} `type:"structure"` 26496 26497 // Corresponds to SCTE-35 archive_allowed_flag. 26498 // 26499 // ArchiveAllowedFlag is a required field 26500 ArchiveAllowedFlag *string `locationName:"archiveAllowedFlag" type:"string" required:"true" enum:"Scte35ArchiveAllowedFlag"` 26501 26502 // Corresponds to SCTE-35 device_restrictions parameter. 26503 // 26504 // DeviceRestrictions is a required field 26505 DeviceRestrictions *string `locationName:"deviceRestrictions" type:"string" required:"true" enum:"Scte35DeviceRestrictions"` 26506 26507 // Corresponds to SCTE-35 no_regional_blackout_flag parameter. 26508 // 26509 // NoRegionalBlackoutFlag is a required field 26510 NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" required:"true" enum:"Scte35NoRegionalBlackoutFlag"` 26511 26512 // Corresponds to SCTE-35 web_delivery_allowed_flag parameter. 26513 // 26514 // WebDeliveryAllowedFlag is a required field 26515 WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" required:"true" enum:"Scte35WebDeliveryAllowedFlag"` 26516 } 26517 26518 // String returns the string representation. 26519 // 26520 // API parameter values that are decorated as "sensitive" in the API will not 26521 // be included in the string output. The member name will be present, but the 26522 // value will be replaced with "sensitive". 26523 func (s Scte35DeliveryRestrictions) String() string { 26524 return awsutil.Prettify(s) 26525 } 26526 26527 // GoString returns the string representation. 26528 // 26529 // API parameter values that are decorated as "sensitive" in the API will not 26530 // be included in the string output. The member name will be present, but the 26531 // value will be replaced with "sensitive". 26532 func (s Scte35DeliveryRestrictions) GoString() string { 26533 return s.String() 26534 } 26535 26536 // Validate inspects the fields of the type to determine if they are valid. 26537 func (s *Scte35DeliveryRestrictions) Validate() error { 26538 invalidParams := request.ErrInvalidParams{Context: "Scte35DeliveryRestrictions"} 26539 if s.ArchiveAllowedFlag == nil { 26540 invalidParams.Add(request.NewErrParamRequired("ArchiveAllowedFlag")) 26541 } 26542 if s.DeviceRestrictions == nil { 26543 invalidParams.Add(request.NewErrParamRequired("DeviceRestrictions")) 26544 } 26545 if s.NoRegionalBlackoutFlag == nil { 26546 invalidParams.Add(request.NewErrParamRequired("NoRegionalBlackoutFlag")) 26547 } 26548 if s.WebDeliveryAllowedFlag == nil { 26549 invalidParams.Add(request.NewErrParamRequired("WebDeliveryAllowedFlag")) 26550 } 26551 26552 if invalidParams.Len() > 0 { 26553 return invalidParams 26554 } 26555 return nil 26556 } 26557 26558 // SetArchiveAllowedFlag sets the ArchiveAllowedFlag field's value. 26559 func (s *Scte35DeliveryRestrictions) SetArchiveAllowedFlag(v string) *Scte35DeliveryRestrictions { 26560 s.ArchiveAllowedFlag = &v 26561 return s 26562 } 26563 26564 // SetDeviceRestrictions sets the DeviceRestrictions field's value. 26565 func (s *Scte35DeliveryRestrictions) SetDeviceRestrictions(v string) *Scte35DeliveryRestrictions { 26566 s.DeviceRestrictions = &v 26567 return s 26568 } 26569 26570 // SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. 26571 func (s *Scte35DeliveryRestrictions) SetNoRegionalBlackoutFlag(v string) *Scte35DeliveryRestrictions { 26572 s.NoRegionalBlackoutFlag = &v 26573 return s 26574 } 26575 26576 // SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. 26577 func (s *Scte35DeliveryRestrictions) SetWebDeliveryAllowedFlag(v string) *Scte35DeliveryRestrictions { 26578 s.WebDeliveryAllowedFlag = &v 26579 return s 26580 } 26581 26582 // Holds one set of SCTE-35 Descriptor Settings. 26583 type Scte35Descriptor struct { 26584 _ struct{} `type:"structure"` 26585 26586 // SCTE-35 Descriptor Settings. 26587 // 26588 // Scte35DescriptorSettings is a required field 26589 Scte35DescriptorSettings *Scte35DescriptorSettings `locationName:"scte35DescriptorSettings" type:"structure" required:"true"` 26590 } 26591 26592 // String returns the string representation. 26593 // 26594 // API parameter values that are decorated as "sensitive" in the API will not 26595 // be included in the string output. The member name will be present, but the 26596 // value will be replaced with "sensitive". 26597 func (s Scte35Descriptor) String() string { 26598 return awsutil.Prettify(s) 26599 } 26600 26601 // GoString returns the string representation. 26602 // 26603 // API parameter values that are decorated as "sensitive" in the API will not 26604 // be included in the string output. The member name will be present, but the 26605 // value will be replaced with "sensitive". 26606 func (s Scte35Descriptor) GoString() string { 26607 return s.String() 26608 } 26609 26610 // Validate inspects the fields of the type to determine if they are valid. 26611 func (s *Scte35Descriptor) Validate() error { 26612 invalidParams := request.ErrInvalidParams{Context: "Scte35Descriptor"} 26613 if s.Scte35DescriptorSettings == nil { 26614 invalidParams.Add(request.NewErrParamRequired("Scte35DescriptorSettings")) 26615 } 26616 if s.Scte35DescriptorSettings != nil { 26617 if err := s.Scte35DescriptorSettings.Validate(); err != nil { 26618 invalidParams.AddNested("Scte35DescriptorSettings", err.(request.ErrInvalidParams)) 26619 } 26620 } 26621 26622 if invalidParams.Len() > 0 { 26623 return invalidParams 26624 } 26625 return nil 26626 } 26627 26628 // SetScte35DescriptorSettings sets the Scte35DescriptorSettings field's value. 26629 func (s *Scte35Descriptor) SetScte35DescriptorSettings(v *Scte35DescriptorSettings) *Scte35Descriptor { 26630 s.Scte35DescriptorSettings = v 26631 return s 26632 } 26633 26634 // SCTE-35 Descriptor settings. 26635 type Scte35DescriptorSettings struct { 26636 _ struct{} `type:"structure"` 26637 26638 // SCTE-35 Segmentation Descriptor. 26639 // 26640 // SegmentationDescriptorScte35DescriptorSettings is a required field 26641 SegmentationDescriptorScte35DescriptorSettings *Scte35SegmentationDescriptor `locationName:"segmentationDescriptorScte35DescriptorSettings" type:"structure" required:"true"` 26642 } 26643 26644 // String returns the string representation. 26645 // 26646 // API parameter values that are decorated as "sensitive" in the API will not 26647 // be included in the string output. The member name will be present, but the 26648 // value will be replaced with "sensitive". 26649 func (s Scte35DescriptorSettings) String() string { 26650 return awsutil.Prettify(s) 26651 } 26652 26653 // GoString returns the string representation. 26654 // 26655 // API parameter values that are decorated as "sensitive" in the API will not 26656 // be included in the string output. The member name will be present, but the 26657 // value will be replaced with "sensitive". 26658 func (s Scte35DescriptorSettings) GoString() string { 26659 return s.String() 26660 } 26661 26662 // Validate inspects the fields of the type to determine if they are valid. 26663 func (s *Scte35DescriptorSettings) Validate() error { 26664 invalidParams := request.ErrInvalidParams{Context: "Scte35DescriptorSettings"} 26665 if s.SegmentationDescriptorScte35DescriptorSettings == nil { 26666 invalidParams.Add(request.NewErrParamRequired("SegmentationDescriptorScte35DescriptorSettings")) 26667 } 26668 if s.SegmentationDescriptorScte35DescriptorSettings != nil { 26669 if err := s.SegmentationDescriptorScte35DescriptorSettings.Validate(); err != nil { 26670 invalidParams.AddNested("SegmentationDescriptorScte35DescriptorSettings", err.(request.ErrInvalidParams)) 26671 } 26672 } 26673 26674 if invalidParams.Len() > 0 { 26675 return invalidParams 26676 } 26677 return nil 26678 } 26679 26680 // SetSegmentationDescriptorScte35DescriptorSettings sets the SegmentationDescriptorScte35DescriptorSettings field's value. 26681 func (s *Scte35DescriptorSettings) SetSegmentationDescriptorScte35DescriptorSettings(v *Scte35SegmentationDescriptor) *Scte35DescriptorSettings { 26682 s.SegmentationDescriptorScte35DescriptorSettings = v 26683 return s 26684 } 26685 26686 // Settings for a SCTE-35 return_to_network message. 26687 type Scte35ReturnToNetworkScheduleActionSettings struct { 26688 _ struct{} `type:"structure"` 26689 26690 // The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35. 26691 // 26692 // SpliceEventId is a required field 26693 SpliceEventId *int64 `locationName:"spliceEventId" type:"long" required:"true"` 26694 } 26695 26696 // String returns the string representation. 26697 // 26698 // API parameter values that are decorated as "sensitive" in the API will not 26699 // be included in the string output. The member name will be present, but the 26700 // value will be replaced with "sensitive". 26701 func (s Scte35ReturnToNetworkScheduleActionSettings) String() string { 26702 return awsutil.Prettify(s) 26703 } 26704 26705 // GoString returns the string representation. 26706 // 26707 // API parameter values that are decorated as "sensitive" in the API will not 26708 // be included in the string output. The member name will be present, but the 26709 // value will be replaced with "sensitive". 26710 func (s Scte35ReturnToNetworkScheduleActionSettings) GoString() string { 26711 return s.String() 26712 } 26713 26714 // Validate inspects the fields of the type to determine if they are valid. 26715 func (s *Scte35ReturnToNetworkScheduleActionSettings) Validate() error { 26716 invalidParams := request.ErrInvalidParams{Context: "Scte35ReturnToNetworkScheduleActionSettings"} 26717 if s.SpliceEventId == nil { 26718 invalidParams.Add(request.NewErrParamRequired("SpliceEventId")) 26719 } 26720 26721 if invalidParams.Len() > 0 { 26722 return invalidParams 26723 } 26724 return nil 26725 } 26726 26727 // SetSpliceEventId sets the SpliceEventId field's value. 26728 func (s *Scte35ReturnToNetworkScheduleActionSettings) SetSpliceEventId(v int64) *Scte35ReturnToNetworkScheduleActionSettings { 26729 s.SpliceEventId = &v 26730 return s 26731 } 26732 26733 // Corresponds to SCTE-35 segmentation_descriptor. 26734 type Scte35SegmentationDescriptor struct { 26735 _ struct{} `type:"structure"` 26736 26737 // Holds the four SCTE-35 delivery restriction parameters. 26738 DeliveryRestrictions *Scte35DeliveryRestrictions `locationName:"deliveryRestrictions" type:"structure"` 26739 26740 // Corresponds to SCTE-35 segment_num. A value that is valid for the specified 26741 // segmentation_type_id. 26742 SegmentNum *int64 `locationName:"segmentNum" type:"integer"` 26743 26744 // Corresponds to SCTE-35 segmentation_event_cancel_indicator. 26745 // 26746 // SegmentationCancelIndicator is a required field 26747 SegmentationCancelIndicator *string `locationName:"segmentationCancelIndicator" type:"string" required:"true" enum:"Scte35SegmentationCancelIndicator"` 26748 26749 // Corresponds to SCTE-35 segmentation_duration. Optional. The duration for 26750 // the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the 26751 // seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter 26752 // a duration, the time_signal will continue until you insert a cancellation 26753 // message. 26754 SegmentationDuration *int64 `locationName:"segmentationDuration" type:"long"` 26755 26756 // Corresponds to SCTE-35 segmentation_event_id. 26757 // 26758 // SegmentationEventId is a required field 26759 SegmentationEventId *int64 `locationName:"segmentationEventId" type:"long" required:"true"` 26760 26761 // Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id 26762 // values listed in the SCTE-35 specification. On the console, enter the ID 26763 // in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID 26764 // in hex (for example, "0x34") or decimal (for example, "52"). 26765 SegmentationTypeId *int64 `locationName:"segmentationTypeId" type:"integer"` 26766 26767 // Corresponds to SCTE-35 segmentation_upid. Enter a string containing the hexadecimal 26768 // representation of the characters that make up the SCTE-35 segmentation_upid 26769 // value. Must contain an even number of hex characters. Do not include spaces 26770 // between each hex pair. For example, the ASCII "ADS Information" becomes hex 26771 // "41445320496e666f726d6174696f6e. 26772 SegmentationUpid *string `locationName:"segmentationUpid" type:"string"` 26773 26774 // Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one 26775 // of the types listed in the SCTE-35 specification, converted to a decimal. 26776 // For example, "0x0C" hex from the specification is "12" in decimal. In the 26777 // CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, 26778 // in either hex (for example, "0x0C" ) or in decimal (for example, "12"). 26779 SegmentationUpidType *int64 `locationName:"segmentationUpidType" type:"integer"` 26780 26781 // Corresponds to SCTE-35 segments_expected. A value that is valid for the specified 26782 // segmentation_type_id. 26783 SegmentsExpected *int64 `locationName:"segmentsExpected" type:"integer"` 26784 26785 // Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified 26786 // segmentation_type_id. 26787 SubSegmentNum *int64 `locationName:"subSegmentNum" type:"integer"` 26788 26789 // Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the 26790 // specified segmentation_type_id. 26791 SubSegmentsExpected *int64 `locationName:"subSegmentsExpected" type:"integer"` 26792 } 26793 26794 // String returns the string representation. 26795 // 26796 // API parameter values that are decorated as "sensitive" in the API will not 26797 // be included in the string output. The member name will be present, but the 26798 // value will be replaced with "sensitive". 26799 func (s Scte35SegmentationDescriptor) String() string { 26800 return awsutil.Prettify(s) 26801 } 26802 26803 // GoString returns the string representation. 26804 // 26805 // API parameter values that are decorated as "sensitive" in the API will not 26806 // be included in the string output. The member name will be present, but the 26807 // value will be replaced with "sensitive". 26808 func (s Scte35SegmentationDescriptor) GoString() string { 26809 return s.String() 26810 } 26811 26812 // Validate inspects the fields of the type to determine if they are valid. 26813 func (s *Scte35SegmentationDescriptor) Validate() error { 26814 invalidParams := request.ErrInvalidParams{Context: "Scte35SegmentationDescriptor"} 26815 if s.SegmentationCancelIndicator == nil { 26816 invalidParams.Add(request.NewErrParamRequired("SegmentationCancelIndicator")) 26817 } 26818 if s.SegmentationEventId == nil { 26819 invalidParams.Add(request.NewErrParamRequired("SegmentationEventId")) 26820 } 26821 if s.DeliveryRestrictions != nil { 26822 if err := s.DeliveryRestrictions.Validate(); err != nil { 26823 invalidParams.AddNested("DeliveryRestrictions", err.(request.ErrInvalidParams)) 26824 } 26825 } 26826 26827 if invalidParams.Len() > 0 { 26828 return invalidParams 26829 } 26830 return nil 26831 } 26832 26833 // SetDeliveryRestrictions sets the DeliveryRestrictions field's value. 26834 func (s *Scte35SegmentationDescriptor) SetDeliveryRestrictions(v *Scte35DeliveryRestrictions) *Scte35SegmentationDescriptor { 26835 s.DeliveryRestrictions = v 26836 return s 26837 } 26838 26839 // SetSegmentNum sets the SegmentNum field's value. 26840 func (s *Scte35SegmentationDescriptor) SetSegmentNum(v int64) *Scte35SegmentationDescriptor { 26841 s.SegmentNum = &v 26842 return s 26843 } 26844 26845 // SetSegmentationCancelIndicator sets the SegmentationCancelIndicator field's value. 26846 func (s *Scte35SegmentationDescriptor) SetSegmentationCancelIndicator(v string) *Scte35SegmentationDescriptor { 26847 s.SegmentationCancelIndicator = &v 26848 return s 26849 } 26850 26851 // SetSegmentationDuration sets the SegmentationDuration field's value. 26852 func (s *Scte35SegmentationDescriptor) SetSegmentationDuration(v int64) *Scte35SegmentationDescriptor { 26853 s.SegmentationDuration = &v 26854 return s 26855 } 26856 26857 // SetSegmentationEventId sets the SegmentationEventId field's value. 26858 func (s *Scte35SegmentationDescriptor) SetSegmentationEventId(v int64) *Scte35SegmentationDescriptor { 26859 s.SegmentationEventId = &v 26860 return s 26861 } 26862 26863 // SetSegmentationTypeId sets the SegmentationTypeId field's value. 26864 func (s *Scte35SegmentationDescriptor) SetSegmentationTypeId(v int64) *Scte35SegmentationDescriptor { 26865 s.SegmentationTypeId = &v 26866 return s 26867 } 26868 26869 // SetSegmentationUpid sets the SegmentationUpid field's value. 26870 func (s *Scte35SegmentationDescriptor) SetSegmentationUpid(v string) *Scte35SegmentationDescriptor { 26871 s.SegmentationUpid = &v 26872 return s 26873 } 26874 26875 // SetSegmentationUpidType sets the SegmentationUpidType field's value. 26876 func (s *Scte35SegmentationDescriptor) SetSegmentationUpidType(v int64) *Scte35SegmentationDescriptor { 26877 s.SegmentationUpidType = &v 26878 return s 26879 } 26880 26881 // SetSegmentsExpected sets the SegmentsExpected field's value. 26882 func (s *Scte35SegmentationDescriptor) SetSegmentsExpected(v int64) *Scte35SegmentationDescriptor { 26883 s.SegmentsExpected = &v 26884 return s 26885 } 26886 26887 // SetSubSegmentNum sets the SubSegmentNum field's value. 26888 func (s *Scte35SegmentationDescriptor) SetSubSegmentNum(v int64) *Scte35SegmentationDescriptor { 26889 s.SubSegmentNum = &v 26890 return s 26891 } 26892 26893 // SetSubSegmentsExpected sets the SubSegmentsExpected field's value. 26894 func (s *Scte35SegmentationDescriptor) SetSubSegmentsExpected(v int64) *Scte35SegmentationDescriptor { 26895 s.SubSegmentsExpected = &v 26896 return s 26897 } 26898 26899 // Scte35 Splice Insert 26900 type Scte35SpliceInsert struct { 26901 _ struct{} `type:"structure"` 26902 26903 // When specified, this offset (in milliseconds) is added to the input Ad Avail 26904 // PTS time. This only applies to embedded SCTE 104/35 messages and does not 26905 // apply to OOB messages. 26906 AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` 26907 26908 // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 26909 // 0 will no longer trigger blackouts or Ad Avail slates 26910 NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35SpliceInsertNoRegionalBlackoutBehavior"` 26911 26912 // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 26913 // 0 will no longer trigger blackouts or Ad Avail slates 26914 WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35SpliceInsertWebDeliveryAllowedBehavior"` 26915 } 26916 26917 // String returns the string representation. 26918 // 26919 // API parameter values that are decorated as "sensitive" in the API will not 26920 // be included in the string output. The member name will be present, but the 26921 // value will be replaced with "sensitive". 26922 func (s Scte35SpliceInsert) String() string { 26923 return awsutil.Prettify(s) 26924 } 26925 26926 // GoString returns the string representation. 26927 // 26928 // API parameter values that are decorated as "sensitive" in the API will not 26929 // be included in the string output. The member name will be present, but the 26930 // value will be replaced with "sensitive". 26931 func (s Scte35SpliceInsert) GoString() string { 26932 return s.String() 26933 } 26934 26935 // Validate inspects the fields of the type to determine if they are valid. 26936 func (s *Scte35SpliceInsert) Validate() error { 26937 invalidParams := request.ErrInvalidParams{Context: "Scte35SpliceInsert"} 26938 if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { 26939 invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) 26940 } 26941 26942 if invalidParams.Len() > 0 { 26943 return invalidParams 26944 } 26945 return nil 26946 } 26947 26948 // SetAdAvailOffset sets the AdAvailOffset field's value. 26949 func (s *Scte35SpliceInsert) SetAdAvailOffset(v int64) *Scte35SpliceInsert { 26950 s.AdAvailOffset = &v 26951 return s 26952 } 26953 26954 // SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. 26955 func (s *Scte35SpliceInsert) SetNoRegionalBlackoutFlag(v string) *Scte35SpliceInsert { 26956 s.NoRegionalBlackoutFlag = &v 26957 return s 26958 } 26959 26960 // SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. 26961 func (s *Scte35SpliceInsert) SetWebDeliveryAllowedFlag(v string) *Scte35SpliceInsert { 26962 s.WebDeliveryAllowedFlag = &v 26963 return s 26964 } 26965 26966 // Settings for a SCTE-35 splice_insert message. 26967 type Scte35SpliceInsertScheduleActionSettings struct { 26968 _ struct{} `type:"structure"` 26969 26970 // Optional, the duration for the splice_insert, in 90 KHz ticks. To convert 26971 // seconds to ticks, multiple the seconds by 90,000. If you enter a duration, 26972 // there is an expectation that the downstream system can read the duration 26973 // and cue in at that time. If you do not enter a duration, the splice_insert 26974 // will continue indefinitely and there is an expectation that you will enter 26975 // a return_to_network to end the splice_insert at the appropriate time. 26976 Duration *int64 `locationName:"duration" type:"long"` 26977 26978 // The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35. 26979 // 26980 // SpliceEventId is a required field 26981 SpliceEventId *int64 `locationName:"spliceEventId" type:"long" required:"true"` 26982 } 26983 26984 // String returns the string representation. 26985 // 26986 // API parameter values that are decorated as "sensitive" in the API will not 26987 // be included in the string output. The member name will be present, but the 26988 // value will be replaced with "sensitive". 26989 func (s Scte35SpliceInsertScheduleActionSettings) String() string { 26990 return awsutil.Prettify(s) 26991 } 26992 26993 // GoString returns the string representation. 26994 // 26995 // API parameter values that are decorated as "sensitive" in the API will not 26996 // be included in the string output. The member name will be present, but the 26997 // value will be replaced with "sensitive". 26998 func (s Scte35SpliceInsertScheduleActionSettings) GoString() string { 26999 return s.String() 27000 } 27001 27002 // Validate inspects the fields of the type to determine if they are valid. 27003 func (s *Scte35SpliceInsertScheduleActionSettings) Validate() error { 27004 invalidParams := request.ErrInvalidParams{Context: "Scte35SpliceInsertScheduleActionSettings"} 27005 if s.SpliceEventId == nil { 27006 invalidParams.Add(request.NewErrParamRequired("SpliceEventId")) 27007 } 27008 27009 if invalidParams.Len() > 0 { 27010 return invalidParams 27011 } 27012 return nil 27013 } 27014 27015 // SetDuration sets the Duration field's value. 27016 func (s *Scte35SpliceInsertScheduleActionSettings) SetDuration(v int64) *Scte35SpliceInsertScheduleActionSettings { 27017 s.Duration = &v 27018 return s 27019 } 27020 27021 // SetSpliceEventId sets the SpliceEventId field's value. 27022 func (s *Scte35SpliceInsertScheduleActionSettings) SetSpliceEventId(v int64) *Scte35SpliceInsertScheduleActionSettings { 27023 s.SpliceEventId = &v 27024 return s 27025 } 27026 27027 // Scte35 Time Signal Apos 27028 type Scte35TimeSignalApos struct { 27029 _ struct{} `type:"structure"` 27030 27031 // When specified, this offset (in milliseconds) is added to the input Ad Avail 27032 // PTS time. This only applies to embedded SCTE 104/35 messages and does not 27033 // apply to OOB messages. 27034 AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` 27035 27036 // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to 27037 // 0 will no longer trigger blackouts or Ad Avail slates 27038 NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35AposNoRegionalBlackoutBehavior"` 27039 27040 // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to 27041 // 0 will no longer trigger blackouts or Ad Avail slates 27042 WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35AposWebDeliveryAllowedBehavior"` 27043 } 27044 27045 // String returns the string representation. 27046 // 27047 // API parameter values that are decorated as "sensitive" in the API will not 27048 // be included in the string output. The member name will be present, but the 27049 // value will be replaced with "sensitive". 27050 func (s Scte35TimeSignalApos) String() string { 27051 return awsutil.Prettify(s) 27052 } 27053 27054 // GoString returns the string representation. 27055 // 27056 // API parameter values that are decorated as "sensitive" in the API will not 27057 // be included in the string output. The member name will be present, but the 27058 // value will be replaced with "sensitive". 27059 func (s Scte35TimeSignalApos) GoString() string { 27060 return s.String() 27061 } 27062 27063 // Validate inspects the fields of the type to determine if they are valid. 27064 func (s *Scte35TimeSignalApos) Validate() error { 27065 invalidParams := request.ErrInvalidParams{Context: "Scte35TimeSignalApos"} 27066 if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { 27067 invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) 27068 } 27069 27070 if invalidParams.Len() > 0 { 27071 return invalidParams 27072 } 27073 return nil 27074 } 27075 27076 // SetAdAvailOffset sets the AdAvailOffset field's value. 27077 func (s *Scte35TimeSignalApos) SetAdAvailOffset(v int64) *Scte35TimeSignalApos { 27078 s.AdAvailOffset = &v 27079 return s 27080 } 27081 27082 // SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. 27083 func (s *Scte35TimeSignalApos) SetNoRegionalBlackoutFlag(v string) *Scte35TimeSignalApos { 27084 s.NoRegionalBlackoutFlag = &v 27085 return s 27086 } 27087 27088 // SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. 27089 func (s *Scte35TimeSignalApos) SetWebDeliveryAllowedFlag(v string) *Scte35TimeSignalApos { 27090 s.WebDeliveryAllowedFlag = &v 27091 return s 27092 } 27093 27094 // Settings for a SCTE-35 time_signal. 27095 type Scte35TimeSignalScheduleActionSettings struct { 27096 _ struct{} `type:"structure"` 27097 27098 // The list of SCTE-35 descriptors accompanying the SCTE-35 time_signal. 27099 // 27100 // Scte35Descriptors is a required field 27101 Scte35Descriptors []*Scte35Descriptor `locationName:"scte35Descriptors" type:"list" required:"true"` 27102 } 27103 27104 // String returns the string representation. 27105 // 27106 // API parameter values that are decorated as "sensitive" in the API will not 27107 // be included in the string output. The member name will be present, but the 27108 // value will be replaced with "sensitive". 27109 func (s Scte35TimeSignalScheduleActionSettings) String() string { 27110 return awsutil.Prettify(s) 27111 } 27112 27113 // GoString returns the string representation. 27114 // 27115 // API parameter values that are decorated as "sensitive" in the API will not 27116 // be included in the string output. The member name will be present, but the 27117 // value will be replaced with "sensitive". 27118 func (s Scte35TimeSignalScheduleActionSettings) GoString() string { 27119 return s.String() 27120 } 27121 27122 // Validate inspects the fields of the type to determine if they are valid. 27123 func (s *Scte35TimeSignalScheduleActionSettings) Validate() error { 27124 invalidParams := request.ErrInvalidParams{Context: "Scte35TimeSignalScheduleActionSettings"} 27125 if s.Scte35Descriptors == nil { 27126 invalidParams.Add(request.NewErrParamRequired("Scte35Descriptors")) 27127 } 27128 if s.Scte35Descriptors != nil { 27129 for i, v := range s.Scte35Descriptors { 27130 if v == nil { 27131 continue 27132 } 27133 if err := v.Validate(); err != nil { 27134 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Scte35Descriptors", i), err.(request.ErrInvalidParams)) 27135 } 27136 } 27137 } 27138 27139 if invalidParams.Len() > 0 { 27140 return invalidParams 27141 } 27142 return nil 27143 } 27144 27145 // SetScte35Descriptors sets the Scte35Descriptors field's value. 27146 func (s *Scte35TimeSignalScheduleActionSettings) SetScte35Descriptors(v []*Scte35Descriptor) *Scte35TimeSignalScheduleActionSettings { 27147 s.Scte35Descriptors = v 27148 return s 27149 } 27150 27151 // Smpte Tt Destination Settings 27152 type SmpteTtDestinationSettings struct { 27153 _ struct{} `type:"structure" nopayload:"true"` 27154 } 27155 27156 // String returns the string representation. 27157 // 27158 // API parameter values that are decorated as "sensitive" in the API will not 27159 // be included in the string output. The member name will be present, but the 27160 // value will be replaced with "sensitive". 27161 func (s SmpteTtDestinationSettings) String() string { 27162 return awsutil.Prettify(s) 27163 } 27164 27165 // GoString returns the string representation. 27166 // 27167 // API parameter values that are decorated as "sensitive" in the API will not 27168 // be included in the string output. The member name will be present, but the 27169 // value will be replaced with "sensitive". 27170 func (s SmpteTtDestinationSettings) GoString() string { 27171 return s.String() 27172 } 27173 27174 // Standard Hls Settings 27175 type StandardHlsSettings struct { 27176 _ struct{} `type:"structure"` 27177 27178 // List all the audio groups that are used with the video output stream. Input 27179 // all the audio GROUP-IDs that are associated to the video, separate by ','. 27180 AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` 27181 27182 // Settings information for the .m3u8 container 27183 // 27184 // M3u8Settings is a required field 27185 M3u8Settings *M3u8Settings `locationName:"m3u8Settings" type:"structure" required:"true"` 27186 } 27187 27188 // String returns the string representation. 27189 // 27190 // API parameter values that are decorated as "sensitive" in the API will not 27191 // be included in the string output. The member name will be present, but the 27192 // value will be replaced with "sensitive". 27193 func (s StandardHlsSettings) String() string { 27194 return awsutil.Prettify(s) 27195 } 27196 27197 // GoString returns the string representation. 27198 // 27199 // API parameter values that are decorated as "sensitive" in the API will not 27200 // be included in the string output. The member name will be present, but the 27201 // value will be replaced with "sensitive". 27202 func (s StandardHlsSettings) GoString() string { 27203 return s.String() 27204 } 27205 27206 // Validate inspects the fields of the type to determine if they are valid. 27207 func (s *StandardHlsSettings) Validate() error { 27208 invalidParams := request.ErrInvalidParams{Context: "StandardHlsSettings"} 27209 if s.M3u8Settings == nil { 27210 invalidParams.Add(request.NewErrParamRequired("M3u8Settings")) 27211 } 27212 27213 if invalidParams.Len() > 0 { 27214 return invalidParams 27215 } 27216 return nil 27217 } 27218 27219 // SetAudioRenditionSets sets the AudioRenditionSets field's value. 27220 func (s *StandardHlsSettings) SetAudioRenditionSets(v string) *StandardHlsSettings { 27221 s.AudioRenditionSets = &v 27222 return s 27223 } 27224 27225 // SetM3u8Settings sets the M3u8Settings field's value. 27226 func (s *StandardHlsSettings) SetM3u8Settings(v *M3u8Settings) *StandardHlsSettings { 27227 s.M3u8Settings = v 27228 return s 27229 } 27230 27231 type StartChannelInput struct { 27232 _ struct{} `type:"structure" nopayload:"true"` 27233 27234 // ChannelId is a required field 27235 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 27236 } 27237 27238 // String returns the string representation. 27239 // 27240 // API parameter values that are decorated as "sensitive" in the API will not 27241 // be included in the string output. The member name will be present, but the 27242 // value will be replaced with "sensitive". 27243 func (s StartChannelInput) String() string { 27244 return awsutil.Prettify(s) 27245 } 27246 27247 // GoString returns the string representation. 27248 // 27249 // API parameter values that are decorated as "sensitive" in the API will not 27250 // be included in the string output. The member name will be present, but the 27251 // value will be replaced with "sensitive". 27252 func (s StartChannelInput) GoString() string { 27253 return s.String() 27254 } 27255 27256 // Validate inspects the fields of the type to determine if they are valid. 27257 func (s *StartChannelInput) Validate() error { 27258 invalidParams := request.ErrInvalidParams{Context: "StartChannelInput"} 27259 if s.ChannelId == nil { 27260 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 27261 } 27262 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 27263 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 27264 } 27265 27266 if invalidParams.Len() > 0 { 27267 return invalidParams 27268 } 27269 return nil 27270 } 27271 27272 // SetChannelId sets the ChannelId field's value. 27273 func (s *StartChannelInput) SetChannelId(v string) *StartChannelInput { 27274 s.ChannelId = &v 27275 return s 27276 } 27277 27278 type StartChannelOutput struct { 27279 _ struct{} `type:"structure"` 27280 27281 Arn *string `locationName:"arn" type:"string"` 27282 27283 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 27284 27285 // A standard channel has two encoding pipelines and a single pipeline channel 27286 // only has one. 27287 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 27288 27289 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 27290 27291 EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` 27292 27293 // Encoder Settings 27294 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 27295 27296 Id *string `locationName:"id" type:"string"` 27297 27298 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 27299 27300 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 27301 27302 // The log level the user wants for their channel. 27303 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 27304 27305 Name *string `locationName:"name" type:"string"` 27306 27307 PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` 27308 27309 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 27310 27311 RoleArn *string `locationName:"roleArn" type:"string"` 27312 27313 State *string `locationName:"state" type:"string" enum:"ChannelState"` 27314 27315 Tags map[string]*string `locationName:"tags" type:"map"` 27316 27317 // The properties for a private VPC Output 27318 Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` 27319 } 27320 27321 // String returns the string representation. 27322 // 27323 // API parameter values that are decorated as "sensitive" in the API will not 27324 // be included in the string output. The member name will be present, but the 27325 // value will be replaced with "sensitive". 27326 func (s StartChannelOutput) String() string { 27327 return awsutil.Prettify(s) 27328 } 27329 27330 // GoString returns the string representation. 27331 // 27332 // API parameter values that are decorated as "sensitive" in the API will not 27333 // be included in the string output. The member name will be present, but the 27334 // value will be replaced with "sensitive". 27335 func (s StartChannelOutput) GoString() string { 27336 return s.String() 27337 } 27338 27339 // SetArn sets the Arn field's value. 27340 func (s *StartChannelOutput) SetArn(v string) *StartChannelOutput { 27341 s.Arn = &v 27342 return s 27343 } 27344 27345 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 27346 func (s *StartChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *StartChannelOutput { 27347 s.CdiInputSpecification = v 27348 return s 27349 } 27350 27351 // SetChannelClass sets the ChannelClass field's value. 27352 func (s *StartChannelOutput) SetChannelClass(v string) *StartChannelOutput { 27353 s.ChannelClass = &v 27354 return s 27355 } 27356 27357 // SetDestinations sets the Destinations field's value. 27358 func (s *StartChannelOutput) SetDestinations(v []*OutputDestination) *StartChannelOutput { 27359 s.Destinations = v 27360 return s 27361 } 27362 27363 // SetEgressEndpoints sets the EgressEndpoints field's value. 27364 func (s *StartChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StartChannelOutput { 27365 s.EgressEndpoints = v 27366 return s 27367 } 27368 27369 // SetEncoderSettings sets the EncoderSettings field's value. 27370 func (s *StartChannelOutput) SetEncoderSettings(v *EncoderSettings) *StartChannelOutput { 27371 s.EncoderSettings = v 27372 return s 27373 } 27374 27375 // SetId sets the Id field's value. 27376 func (s *StartChannelOutput) SetId(v string) *StartChannelOutput { 27377 s.Id = &v 27378 return s 27379 } 27380 27381 // SetInputAttachments sets the InputAttachments field's value. 27382 func (s *StartChannelOutput) SetInputAttachments(v []*InputAttachment) *StartChannelOutput { 27383 s.InputAttachments = v 27384 return s 27385 } 27386 27387 // SetInputSpecification sets the InputSpecification field's value. 27388 func (s *StartChannelOutput) SetInputSpecification(v *InputSpecification) *StartChannelOutput { 27389 s.InputSpecification = v 27390 return s 27391 } 27392 27393 // SetLogLevel sets the LogLevel field's value. 27394 func (s *StartChannelOutput) SetLogLevel(v string) *StartChannelOutput { 27395 s.LogLevel = &v 27396 return s 27397 } 27398 27399 // SetName sets the Name field's value. 27400 func (s *StartChannelOutput) SetName(v string) *StartChannelOutput { 27401 s.Name = &v 27402 return s 27403 } 27404 27405 // SetPipelineDetails sets the PipelineDetails field's value. 27406 func (s *StartChannelOutput) SetPipelineDetails(v []*PipelineDetail) *StartChannelOutput { 27407 s.PipelineDetails = v 27408 return s 27409 } 27410 27411 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 27412 func (s *StartChannelOutput) SetPipelinesRunningCount(v int64) *StartChannelOutput { 27413 s.PipelinesRunningCount = &v 27414 return s 27415 } 27416 27417 // SetRoleArn sets the RoleArn field's value. 27418 func (s *StartChannelOutput) SetRoleArn(v string) *StartChannelOutput { 27419 s.RoleArn = &v 27420 return s 27421 } 27422 27423 // SetState sets the State field's value. 27424 func (s *StartChannelOutput) SetState(v string) *StartChannelOutput { 27425 s.State = &v 27426 return s 27427 } 27428 27429 // SetTags sets the Tags field's value. 27430 func (s *StartChannelOutput) SetTags(v map[string]*string) *StartChannelOutput { 27431 s.Tags = v 27432 return s 27433 } 27434 27435 // SetVpc sets the Vpc field's value. 27436 func (s *StartChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *StartChannelOutput { 27437 s.Vpc = v 27438 return s 27439 } 27440 27441 type StartMultiplexInput struct { 27442 _ struct{} `type:"structure" nopayload:"true"` 27443 27444 // MultiplexId is a required field 27445 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 27446 } 27447 27448 // String returns the string representation. 27449 // 27450 // API parameter values that are decorated as "sensitive" in the API will not 27451 // be included in the string output. The member name will be present, but the 27452 // value will be replaced with "sensitive". 27453 func (s StartMultiplexInput) String() string { 27454 return awsutil.Prettify(s) 27455 } 27456 27457 // GoString returns the string representation. 27458 // 27459 // API parameter values that are decorated as "sensitive" in the API will not 27460 // be included in the string output. The member name will be present, but the 27461 // value will be replaced with "sensitive". 27462 func (s StartMultiplexInput) GoString() string { 27463 return s.String() 27464 } 27465 27466 // Validate inspects the fields of the type to determine if they are valid. 27467 func (s *StartMultiplexInput) Validate() error { 27468 invalidParams := request.ErrInvalidParams{Context: "StartMultiplexInput"} 27469 if s.MultiplexId == nil { 27470 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 27471 } 27472 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 27473 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 27474 } 27475 27476 if invalidParams.Len() > 0 { 27477 return invalidParams 27478 } 27479 return nil 27480 } 27481 27482 // SetMultiplexId sets the MultiplexId field's value. 27483 func (s *StartMultiplexInput) SetMultiplexId(v string) *StartMultiplexInput { 27484 s.MultiplexId = &v 27485 return s 27486 } 27487 27488 type StartMultiplexOutput struct { 27489 _ struct{} `type:"structure"` 27490 27491 Arn *string `locationName:"arn" type:"string"` 27492 27493 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 27494 27495 Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` 27496 27497 Id *string `locationName:"id" type:"string"` 27498 27499 // Contains configuration for a Multiplex event 27500 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` 27501 27502 Name *string `locationName:"name" type:"string"` 27503 27504 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 27505 27506 ProgramCount *int64 `locationName:"programCount" type:"integer"` 27507 27508 // The current state of the multiplex. 27509 State *string `locationName:"state" type:"string" enum:"MultiplexState"` 27510 27511 Tags map[string]*string `locationName:"tags" type:"map"` 27512 } 27513 27514 // String returns the string representation. 27515 // 27516 // API parameter values that are decorated as "sensitive" in the API will not 27517 // be included in the string output. The member name will be present, but the 27518 // value will be replaced with "sensitive". 27519 func (s StartMultiplexOutput) String() string { 27520 return awsutil.Prettify(s) 27521 } 27522 27523 // GoString returns the string representation. 27524 // 27525 // API parameter values that are decorated as "sensitive" in the API will not 27526 // be included in the string output. The member name will be present, but the 27527 // value will be replaced with "sensitive". 27528 func (s StartMultiplexOutput) GoString() string { 27529 return s.String() 27530 } 27531 27532 // SetArn sets the Arn field's value. 27533 func (s *StartMultiplexOutput) SetArn(v string) *StartMultiplexOutput { 27534 s.Arn = &v 27535 return s 27536 } 27537 27538 // SetAvailabilityZones sets the AvailabilityZones field's value. 27539 func (s *StartMultiplexOutput) SetAvailabilityZones(v []*string) *StartMultiplexOutput { 27540 s.AvailabilityZones = v 27541 return s 27542 } 27543 27544 // SetDestinations sets the Destinations field's value. 27545 func (s *StartMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *StartMultiplexOutput { 27546 s.Destinations = v 27547 return s 27548 } 27549 27550 // SetId sets the Id field's value. 27551 func (s *StartMultiplexOutput) SetId(v string) *StartMultiplexOutput { 27552 s.Id = &v 27553 return s 27554 } 27555 27556 // SetMultiplexSettings sets the MultiplexSettings field's value. 27557 func (s *StartMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *StartMultiplexOutput { 27558 s.MultiplexSettings = v 27559 return s 27560 } 27561 27562 // SetName sets the Name field's value. 27563 func (s *StartMultiplexOutput) SetName(v string) *StartMultiplexOutput { 27564 s.Name = &v 27565 return s 27566 } 27567 27568 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 27569 func (s *StartMultiplexOutput) SetPipelinesRunningCount(v int64) *StartMultiplexOutput { 27570 s.PipelinesRunningCount = &v 27571 return s 27572 } 27573 27574 // SetProgramCount sets the ProgramCount field's value. 27575 func (s *StartMultiplexOutput) SetProgramCount(v int64) *StartMultiplexOutput { 27576 s.ProgramCount = &v 27577 return s 27578 } 27579 27580 // SetState sets the State field's value. 27581 func (s *StartMultiplexOutput) SetState(v string) *StartMultiplexOutput { 27582 s.State = &v 27583 return s 27584 } 27585 27586 // SetTags sets the Tags field's value. 27587 func (s *StartMultiplexOutput) SetTags(v map[string]*string) *StartMultiplexOutput { 27588 s.Tags = v 27589 return s 27590 } 27591 27592 // Settings to identify the start of the clip. 27593 type StartTimecode struct { 27594 _ struct{} `type:"structure"` 27595 27596 // The timecode for the frame where you want to start the clip. Optional; if 27597 // not specified, the clip starts at first frame in the file. Enter the timecode 27598 // as HH:MM:SS:FF or HH:MM:SS;FF. 27599 Timecode *string `locationName:"timecode" type:"string"` 27600 } 27601 27602 // String returns the string representation. 27603 // 27604 // API parameter values that are decorated as "sensitive" in the API will not 27605 // be included in the string output. The member name will be present, but the 27606 // value will be replaced with "sensitive". 27607 func (s StartTimecode) String() string { 27608 return awsutil.Prettify(s) 27609 } 27610 27611 // GoString returns the string representation. 27612 // 27613 // API parameter values that are decorated as "sensitive" in the API will not 27614 // be included in the string output. The member name will be present, but the 27615 // value will be replaced with "sensitive". 27616 func (s StartTimecode) GoString() string { 27617 return s.String() 27618 } 27619 27620 // SetTimecode sets the Timecode field's value. 27621 func (s *StartTimecode) SetTimecode(v string) *StartTimecode { 27622 s.Timecode = &v 27623 return s 27624 } 27625 27626 // Settings for the action to activate a static image. 27627 type StaticImageActivateScheduleActionSettings struct { 27628 _ struct{} `type:"structure"` 27629 27630 // The duration in milliseconds for the image to remain on the video. If omitted 27631 // or set to 0 the duration is unlimited and the image will remain until it 27632 // is explicitly deactivated. 27633 Duration *int64 `locationName:"duration" type:"integer"` 27634 27635 // The time in milliseconds for the image to fade in. The fade-in starts at 27636 // the start time of the overlay. Default is 0 (no fade-in). 27637 FadeIn *int64 `locationName:"fadeIn" type:"integer"` 27638 27639 // Applies only if a duration is specified. The time in milliseconds for the 27640 // image to fade out. The fade-out starts when the duration time is hit, so 27641 // it effectively extends the duration. Default is 0 (no fade-out). 27642 FadeOut *int64 `locationName:"fadeOut" type:"integer"` 27643 27644 // The height of the image when inserted into the video, in pixels. The overlay 27645 // will be scaled up or down to the specified height. Leave blank to use the 27646 // native height of the overlay. 27647 Height *int64 `locationName:"height" min:"1" type:"integer"` 27648 27649 // The location and filename of the image file to overlay on the video. The 27650 // file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) 27651 // than the input video. 27652 // 27653 // Image is a required field 27654 Image *InputLocation `locationName:"image" type:"structure" required:"true"` 27655 27656 // Placement of the left edge of the overlay relative to the left edge of the 27657 // video frame, in pixels. 0 (the default) is the left edge of the frame. If 27658 // the placement causes the overlay to extend beyond the right edge of the underlying 27659 // video, then the overlay is cropped on the right. 27660 ImageX *int64 `locationName:"imageX" type:"integer"` 27661 27662 // Placement of the top edge of the overlay relative to the top edge of the 27663 // video frame, in pixels. 0 (the default) is the top edge of the frame. If 27664 // the placement causes the overlay to extend beyond the bottom edge of the 27665 // underlying video, then the overlay is cropped on the bottom. 27666 ImageY *int64 `locationName:"imageY" type:"integer"` 27667 27668 // The number of the layer, 0 to 7. There are 8 layers that can be overlaid 27669 // on the video, each layer with a different image. The layers are in Z order, 27670 // which means that overlays with higher values of layer are inserted on top 27671 // of overlays with lower values of layer. Default is 0. 27672 Layer *int64 `locationName:"layer" type:"integer"` 27673 27674 // Opacity of image where 0 is transparent and 100 is fully opaque. Default 27675 // is 100. 27676 Opacity *int64 `locationName:"opacity" type:"integer"` 27677 27678 // The width of the image when inserted into the video, in pixels. The overlay 27679 // will be scaled up or down to the specified width. Leave blank to use the 27680 // native width of the overlay. 27681 Width *int64 `locationName:"width" min:"1" type:"integer"` 27682 } 27683 27684 // String returns the string representation. 27685 // 27686 // API parameter values that are decorated as "sensitive" in the API will not 27687 // be included in the string output. The member name will be present, but the 27688 // value will be replaced with "sensitive". 27689 func (s StaticImageActivateScheduleActionSettings) String() string { 27690 return awsutil.Prettify(s) 27691 } 27692 27693 // GoString returns the string representation. 27694 // 27695 // API parameter values that are decorated as "sensitive" in the API will not 27696 // be included in the string output. The member name will be present, but the 27697 // value will be replaced with "sensitive". 27698 func (s StaticImageActivateScheduleActionSettings) GoString() string { 27699 return s.String() 27700 } 27701 27702 // Validate inspects the fields of the type to determine if they are valid. 27703 func (s *StaticImageActivateScheduleActionSettings) Validate() error { 27704 invalidParams := request.ErrInvalidParams{Context: "StaticImageActivateScheduleActionSettings"} 27705 if s.Height != nil && *s.Height < 1 { 27706 invalidParams.Add(request.NewErrParamMinValue("Height", 1)) 27707 } 27708 if s.Image == nil { 27709 invalidParams.Add(request.NewErrParamRequired("Image")) 27710 } 27711 if s.Width != nil && *s.Width < 1 { 27712 invalidParams.Add(request.NewErrParamMinValue("Width", 1)) 27713 } 27714 if s.Image != nil { 27715 if err := s.Image.Validate(); err != nil { 27716 invalidParams.AddNested("Image", err.(request.ErrInvalidParams)) 27717 } 27718 } 27719 27720 if invalidParams.Len() > 0 { 27721 return invalidParams 27722 } 27723 return nil 27724 } 27725 27726 // SetDuration sets the Duration field's value. 27727 func (s *StaticImageActivateScheduleActionSettings) SetDuration(v int64) *StaticImageActivateScheduleActionSettings { 27728 s.Duration = &v 27729 return s 27730 } 27731 27732 // SetFadeIn sets the FadeIn field's value. 27733 func (s *StaticImageActivateScheduleActionSettings) SetFadeIn(v int64) *StaticImageActivateScheduleActionSettings { 27734 s.FadeIn = &v 27735 return s 27736 } 27737 27738 // SetFadeOut sets the FadeOut field's value. 27739 func (s *StaticImageActivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageActivateScheduleActionSettings { 27740 s.FadeOut = &v 27741 return s 27742 } 27743 27744 // SetHeight sets the Height field's value. 27745 func (s *StaticImageActivateScheduleActionSettings) SetHeight(v int64) *StaticImageActivateScheduleActionSettings { 27746 s.Height = &v 27747 return s 27748 } 27749 27750 // SetImage sets the Image field's value. 27751 func (s *StaticImageActivateScheduleActionSettings) SetImage(v *InputLocation) *StaticImageActivateScheduleActionSettings { 27752 s.Image = v 27753 return s 27754 } 27755 27756 // SetImageX sets the ImageX field's value. 27757 func (s *StaticImageActivateScheduleActionSettings) SetImageX(v int64) *StaticImageActivateScheduleActionSettings { 27758 s.ImageX = &v 27759 return s 27760 } 27761 27762 // SetImageY sets the ImageY field's value. 27763 func (s *StaticImageActivateScheduleActionSettings) SetImageY(v int64) *StaticImageActivateScheduleActionSettings { 27764 s.ImageY = &v 27765 return s 27766 } 27767 27768 // SetLayer sets the Layer field's value. 27769 func (s *StaticImageActivateScheduleActionSettings) SetLayer(v int64) *StaticImageActivateScheduleActionSettings { 27770 s.Layer = &v 27771 return s 27772 } 27773 27774 // SetOpacity sets the Opacity field's value. 27775 func (s *StaticImageActivateScheduleActionSettings) SetOpacity(v int64) *StaticImageActivateScheduleActionSettings { 27776 s.Opacity = &v 27777 return s 27778 } 27779 27780 // SetWidth sets the Width field's value. 27781 func (s *StaticImageActivateScheduleActionSettings) SetWidth(v int64) *StaticImageActivateScheduleActionSettings { 27782 s.Width = &v 27783 return s 27784 } 27785 27786 // Settings for the action to deactivate the image in a specific layer. 27787 type StaticImageDeactivateScheduleActionSettings struct { 27788 _ struct{} `type:"structure"` 27789 27790 // The time in milliseconds for the image to fade out. Default is 0 (no fade-out). 27791 FadeOut *int64 `locationName:"fadeOut" type:"integer"` 27792 27793 // The image overlay layer to deactivate, 0 to 7. Default is 0. 27794 Layer *int64 `locationName:"layer" type:"integer"` 27795 } 27796 27797 // String returns the string representation. 27798 // 27799 // API parameter values that are decorated as "sensitive" in the API will not 27800 // be included in the string output. The member name will be present, but the 27801 // value will be replaced with "sensitive". 27802 func (s StaticImageDeactivateScheduleActionSettings) String() string { 27803 return awsutil.Prettify(s) 27804 } 27805 27806 // GoString returns the string representation. 27807 // 27808 // API parameter values that are decorated as "sensitive" in the API will not 27809 // be included in the string output. The member name will be present, but the 27810 // value will be replaced with "sensitive". 27811 func (s StaticImageDeactivateScheduleActionSettings) GoString() string { 27812 return s.String() 27813 } 27814 27815 // SetFadeOut sets the FadeOut field's value. 27816 func (s *StaticImageDeactivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageDeactivateScheduleActionSettings { 27817 s.FadeOut = &v 27818 return s 27819 } 27820 27821 // SetLayer sets the Layer field's value. 27822 func (s *StaticImageDeactivateScheduleActionSettings) SetLayer(v int64) *StaticImageDeactivateScheduleActionSettings { 27823 s.Layer = &v 27824 return s 27825 } 27826 27827 // Static Key Settings 27828 type StaticKeySettings struct { 27829 _ struct{} `type:"structure"` 27830 27831 // The URL of the license server used for protecting content. 27832 KeyProviderServer *InputLocation `locationName:"keyProviderServer" type:"structure"` 27833 27834 // Static key value as a 32 character hexadecimal string. 27835 // 27836 // StaticKeyValue is a required field 27837 StaticKeyValue *string `locationName:"staticKeyValue" min:"32" type:"string" required:"true"` 27838 } 27839 27840 // String returns the string representation. 27841 // 27842 // API parameter values that are decorated as "sensitive" in the API will not 27843 // be included in the string output. The member name will be present, but the 27844 // value will be replaced with "sensitive". 27845 func (s StaticKeySettings) String() string { 27846 return awsutil.Prettify(s) 27847 } 27848 27849 // GoString returns the string representation. 27850 // 27851 // API parameter values that are decorated as "sensitive" in the API will not 27852 // be included in the string output. The member name will be present, but the 27853 // value will be replaced with "sensitive". 27854 func (s StaticKeySettings) GoString() string { 27855 return s.String() 27856 } 27857 27858 // Validate inspects the fields of the type to determine if they are valid. 27859 func (s *StaticKeySettings) Validate() error { 27860 invalidParams := request.ErrInvalidParams{Context: "StaticKeySettings"} 27861 if s.StaticKeyValue == nil { 27862 invalidParams.Add(request.NewErrParamRequired("StaticKeyValue")) 27863 } 27864 if s.StaticKeyValue != nil && len(*s.StaticKeyValue) < 32 { 27865 invalidParams.Add(request.NewErrParamMinLen("StaticKeyValue", 32)) 27866 } 27867 if s.KeyProviderServer != nil { 27868 if err := s.KeyProviderServer.Validate(); err != nil { 27869 invalidParams.AddNested("KeyProviderServer", err.(request.ErrInvalidParams)) 27870 } 27871 } 27872 27873 if invalidParams.Len() > 0 { 27874 return invalidParams 27875 } 27876 return nil 27877 } 27878 27879 // SetKeyProviderServer sets the KeyProviderServer field's value. 27880 func (s *StaticKeySettings) SetKeyProviderServer(v *InputLocation) *StaticKeySettings { 27881 s.KeyProviderServer = v 27882 return s 27883 } 27884 27885 // SetStaticKeyValue sets the StaticKeyValue field's value. 27886 func (s *StaticKeySettings) SetStaticKeyValue(v string) *StaticKeySettings { 27887 s.StaticKeyValue = &v 27888 return s 27889 } 27890 27891 type StopChannelInput struct { 27892 _ struct{} `type:"structure" nopayload:"true"` 27893 27894 // ChannelId is a required field 27895 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 27896 } 27897 27898 // String returns the string representation. 27899 // 27900 // API parameter values that are decorated as "sensitive" in the API will not 27901 // be included in the string output. The member name will be present, but the 27902 // value will be replaced with "sensitive". 27903 func (s StopChannelInput) String() string { 27904 return awsutil.Prettify(s) 27905 } 27906 27907 // GoString returns the string representation. 27908 // 27909 // API parameter values that are decorated as "sensitive" in the API will not 27910 // be included in the string output. The member name will be present, but the 27911 // value will be replaced with "sensitive". 27912 func (s StopChannelInput) GoString() string { 27913 return s.String() 27914 } 27915 27916 // Validate inspects the fields of the type to determine if they are valid. 27917 func (s *StopChannelInput) Validate() error { 27918 invalidParams := request.ErrInvalidParams{Context: "StopChannelInput"} 27919 if s.ChannelId == nil { 27920 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 27921 } 27922 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 27923 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 27924 } 27925 27926 if invalidParams.Len() > 0 { 27927 return invalidParams 27928 } 27929 return nil 27930 } 27931 27932 // SetChannelId sets the ChannelId field's value. 27933 func (s *StopChannelInput) SetChannelId(v string) *StopChannelInput { 27934 s.ChannelId = &v 27935 return s 27936 } 27937 27938 type StopChannelOutput struct { 27939 _ struct{} `type:"structure"` 27940 27941 Arn *string `locationName:"arn" type:"string"` 27942 27943 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 27944 27945 // A standard channel has two encoding pipelines and a single pipeline channel 27946 // only has one. 27947 ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` 27948 27949 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 27950 27951 EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` 27952 27953 // Encoder Settings 27954 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 27955 27956 Id *string `locationName:"id" type:"string"` 27957 27958 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 27959 27960 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 27961 27962 // The log level the user wants for their channel. 27963 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 27964 27965 Name *string `locationName:"name" type:"string"` 27966 27967 PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` 27968 27969 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 27970 27971 RoleArn *string `locationName:"roleArn" type:"string"` 27972 27973 State *string `locationName:"state" type:"string" enum:"ChannelState"` 27974 27975 Tags map[string]*string `locationName:"tags" type:"map"` 27976 27977 // The properties for a private VPC Output 27978 Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` 27979 } 27980 27981 // String returns the string representation. 27982 // 27983 // API parameter values that are decorated as "sensitive" in the API will not 27984 // be included in the string output. The member name will be present, but the 27985 // value will be replaced with "sensitive". 27986 func (s StopChannelOutput) String() string { 27987 return awsutil.Prettify(s) 27988 } 27989 27990 // GoString returns the string representation. 27991 // 27992 // API parameter values that are decorated as "sensitive" in the API will not 27993 // be included in the string output. The member name will be present, but the 27994 // value will be replaced with "sensitive". 27995 func (s StopChannelOutput) GoString() string { 27996 return s.String() 27997 } 27998 27999 // SetArn sets the Arn field's value. 28000 func (s *StopChannelOutput) SetArn(v string) *StopChannelOutput { 28001 s.Arn = &v 28002 return s 28003 } 28004 28005 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 28006 func (s *StopChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *StopChannelOutput { 28007 s.CdiInputSpecification = v 28008 return s 28009 } 28010 28011 // SetChannelClass sets the ChannelClass field's value. 28012 func (s *StopChannelOutput) SetChannelClass(v string) *StopChannelOutput { 28013 s.ChannelClass = &v 28014 return s 28015 } 28016 28017 // SetDestinations sets the Destinations field's value. 28018 func (s *StopChannelOutput) SetDestinations(v []*OutputDestination) *StopChannelOutput { 28019 s.Destinations = v 28020 return s 28021 } 28022 28023 // SetEgressEndpoints sets the EgressEndpoints field's value. 28024 func (s *StopChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StopChannelOutput { 28025 s.EgressEndpoints = v 28026 return s 28027 } 28028 28029 // SetEncoderSettings sets the EncoderSettings field's value. 28030 func (s *StopChannelOutput) SetEncoderSettings(v *EncoderSettings) *StopChannelOutput { 28031 s.EncoderSettings = v 28032 return s 28033 } 28034 28035 // SetId sets the Id field's value. 28036 func (s *StopChannelOutput) SetId(v string) *StopChannelOutput { 28037 s.Id = &v 28038 return s 28039 } 28040 28041 // SetInputAttachments sets the InputAttachments field's value. 28042 func (s *StopChannelOutput) SetInputAttachments(v []*InputAttachment) *StopChannelOutput { 28043 s.InputAttachments = v 28044 return s 28045 } 28046 28047 // SetInputSpecification sets the InputSpecification field's value. 28048 func (s *StopChannelOutput) SetInputSpecification(v *InputSpecification) *StopChannelOutput { 28049 s.InputSpecification = v 28050 return s 28051 } 28052 28053 // SetLogLevel sets the LogLevel field's value. 28054 func (s *StopChannelOutput) SetLogLevel(v string) *StopChannelOutput { 28055 s.LogLevel = &v 28056 return s 28057 } 28058 28059 // SetName sets the Name field's value. 28060 func (s *StopChannelOutput) SetName(v string) *StopChannelOutput { 28061 s.Name = &v 28062 return s 28063 } 28064 28065 // SetPipelineDetails sets the PipelineDetails field's value. 28066 func (s *StopChannelOutput) SetPipelineDetails(v []*PipelineDetail) *StopChannelOutput { 28067 s.PipelineDetails = v 28068 return s 28069 } 28070 28071 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 28072 func (s *StopChannelOutput) SetPipelinesRunningCount(v int64) *StopChannelOutput { 28073 s.PipelinesRunningCount = &v 28074 return s 28075 } 28076 28077 // SetRoleArn sets the RoleArn field's value. 28078 func (s *StopChannelOutput) SetRoleArn(v string) *StopChannelOutput { 28079 s.RoleArn = &v 28080 return s 28081 } 28082 28083 // SetState sets the State field's value. 28084 func (s *StopChannelOutput) SetState(v string) *StopChannelOutput { 28085 s.State = &v 28086 return s 28087 } 28088 28089 // SetTags sets the Tags field's value. 28090 func (s *StopChannelOutput) SetTags(v map[string]*string) *StopChannelOutput { 28091 s.Tags = v 28092 return s 28093 } 28094 28095 // SetVpc sets the Vpc field's value. 28096 func (s *StopChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *StopChannelOutput { 28097 s.Vpc = v 28098 return s 28099 } 28100 28101 type StopMultiplexInput struct { 28102 _ struct{} `type:"structure" nopayload:"true"` 28103 28104 // MultiplexId is a required field 28105 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 28106 } 28107 28108 // String returns the string representation. 28109 // 28110 // API parameter values that are decorated as "sensitive" in the API will not 28111 // be included in the string output. The member name will be present, but the 28112 // value will be replaced with "sensitive". 28113 func (s StopMultiplexInput) String() string { 28114 return awsutil.Prettify(s) 28115 } 28116 28117 // GoString returns the string representation. 28118 // 28119 // API parameter values that are decorated as "sensitive" in the API will not 28120 // be included in the string output. The member name will be present, but the 28121 // value will be replaced with "sensitive". 28122 func (s StopMultiplexInput) GoString() string { 28123 return s.String() 28124 } 28125 28126 // Validate inspects the fields of the type to determine if they are valid. 28127 func (s *StopMultiplexInput) Validate() error { 28128 invalidParams := request.ErrInvalidParams{Context: "StopMultiplexInput"} 28129 if s.MultiplexId == nil { 28130 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 28131 } 28132 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 28133 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 28134 } 28135 28136 if invalidParams.Len() > 0 { 28137 return invalidParams 28138 } 28139 return nil 28140 } 28141 28142 // SetMultiplexId sets the MultiplexId field's value. 28143 func (s *StopMultiplexInput) SetMultiplexId(v string) *StopMultiplexInput { 28144 s.MultiplexId = &v 28145 return s 28146 } 28147 28148 type StopMultiplexOutput struct { 28149 _ struct{} `type:"structure"` 28150 28151 Arn *string `locationName:"arn" type:"string"` 28152 28153 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 28154 28155 Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` 28156 28157 Id *string `locationName:"id" type:"string"` 28158 28159 // Contains configuration for a Multiplex event 28160 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` 28161 28162 Name *string `locationName:"name" type:"string"` 28163 28164 PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` 28165 28166 ProgramCount *int64 `locationName:"programCount" type:"integer"` 28167 28168 // The current state of the multiplex. 28169 State *string `locationName:"state" type:"string" enum:"MultiplexState"` 28170 28171 Tags map[string]*string `locationName:"tags" type:"map"` 28172 } 28173 28174 // String returns the string representation. 28175 // 28176 // API parameter values that are decorated as "sensitive" in the API will not 28177 // be included in the string output. The member name will be present, but the 28178 // value will be replaced with "sensitive". 28179 func (s StopMultiplexOutput) String() string { 28180 return awsutil.Prettify(s) 28181 } 28182 28183 // GoString returns the string representation. 28184 // 28185 // API parameter values that are decorated as "sensitive" in the API will not 28186 // be included in the string output. The member name will be present, but the 28187 // value will be replaced with "sensitive". 28188 func (s StopMultiplexOutput) GoString() string { 28189 return s.String() 28190 } 28191 28192 // SetArn sets the Arn field's value. 28193 func (s *StopMultiplexOutput) SetArn(v string) *StopMultiplexOutput { 28194 s.Arn = &v 28195 return s 28196 } 28197 28198 // SetAvailabilityZones sets the AvailabilityZones field's value. 28199 func (s *StopMultiplexOutput) SetAvailabilityZones(v []*string) *StopMultiplexOutput { 28200 s.AvailabilityZones = v 28201 return s 28202 } 28203 28204 // SetDestinations sets the Destinations field's value. 28205 func (s *StopMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *StopMultiplexOutput { 28206 s.Destinations = v 28207 return s 28208 } 28209 28210 // SetId sets the Id field's value. 28211 func (s *StopMultiplexOutput) SetId(v string) *StopMultiplexOutput { 28212 s.Id = &v 28213 return s 28214 } 28215 28216 // SetMultiplexSettings sets the MultiplexSettings field's value. 28217 func (s *StopMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *StopMultiplexOutput { 28218 s.MultiplexSettings = v 28219 return s 28220 } 28221 28222 // SetName sets the Name field's value. 28223 func (s *StopMultiplexOutput) SetName(v string) *StopMultiplexOutput { 28224 s.Name = &v 28225 return s 28226 } 28227 28228 // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. 28229 func (s *StopMultiplexOutput) SetPipelinesRunningCount(v int64) *StopMultiplexOutput { 28230 s.PipelinesRunningCount = &v 28231 return s 28232 } 28233 28234 // SetProgramCount sets the ProgramCount field's value. 28235 func (s *StopMultiplexOutput) SetProgramCount(v int64) *StopMultiplexOutput { 28236 s.ProgramCount = &v 28237 return s 28238 } 28239 28240 // SetState sets the State field's value. 28241 func (s *StopMultiplexOutput) SetState(v string) *StopMultiplexOutput { 28242 s.State = &v 28243 return s 28244 } 28245 28246 // SetTags sets the Tags field's value. 28247 func (s *StopMultiplexOutput) SetTags(v map[string]*string) *StopMultiplexOutput { 28248 s.Tags = v 28249 return s 28250 } 28251 28252 // Settings to identify the end of the clip. 28253 type StopTimecode struct { 28254 _ struct{} `type:"structure"` 28255 28256 // If you specify a StopTimecode in an input (in order to clip the file), you 28257 // can specify if you want the clip to exclude (the default) or include the 28258 // frame specified by the timecode. 28259 LastFrameClippingBehavior *string `locationName:"lastFrameClippingBehavior" type:"string" enum:"LastFrameClippingBehavior"` 28260 28261 // The timecode for the frame where you want to stop the clip. Optional; if 28262 // not specified, the clip continues to the end of the file. Enter the timecode 28263 // as HH:MM:SS:FF or HH:MM:SS;FF. 28264 Timecode *string `locationName:"timecode" type:"string"` 28265 } 28266 28267 // String returns the string representation. 28268 // 28269 // API parameter values that are decorated as "sensitive" in the API will not 28270 // be included in the string output. The member name will be present, but the 28271 // value will be replaced with "sensitive". 28272 func (s StopTimecode) String() string { 28273 return awsutil.Prettify(s) 28274 } 28275 28276 // GoString returns the string representation. 28277 // 28278 // API parameter values that are decorated as "sensitive" in the API will not 28279 // be included in the string output. The member name will be present, but the 28280 // value will be replaced with "sensitive". 28281 func (s StopTimecode) GoString() string { 28282 return s.String() 28283 } 28284 28285 // SetLastFrameClippingBehavior sets the LastFrameClippingBehavior field's value. 28286 func (s *StopTimecode) SetLastFrameClippingBehavior(v string) *StopTimecode { 28287 s.LastFrameClippingBehavior = &v 28288 return s 28289 } 28290 28291 // SetTimecode sets the Timecode field's value. 28292 func (s *StopTimecode) SetTimecode(v string) *StopTimecode { 28293 s.Timecode = &v 28294 return s 28295 } 28296 28297 // Teletext Destination Settings 28298 type TeletextDestinationSettings struct { 28299 _ struct{} `type:"structure" nopayload:"true"` 28300 } 28301 28302 // String returns the string representation. 28303 // 28304 // API parameter values that are decorated as "sensitive" in the API will not 28305 // be included in the string output. The member name will be present, but the 28306 // value will be replaced with "sensitive". 28307 func (s TeletextDestinationSettings) String() string { 28308 return awsutil.Prettify(s) 28309 } 28310 28311 // GoString returns the string representation. 28312 // 28313 // API parameter values that are decorated as "sensitive" in the API will not 28314 // be included in the string output. The member name will be present, but the 28315 // value will be replaced with "sensitive". 28316 func (s TeletextDestinationSettings) GoString() string { 28317 return s.String() 28318 } 28319 28320 // Teletext Source Settings 28321 type TeletextSourceSettings struct { 28322 _ struct{} `type:"structure"` 28323 28324 // Optionally defines a region where TTML style captions will be displayed 28325 OutputRectangle *CaptionRectangle `locationName:"outputRectangle" type:"structure"` 28326 28327 // Specifies the teletext page number within the data stream from which to extract 28328 // captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should 28329 // be specified as a hexadecimal string with no "0x" prefix. 28330 PageNumber *string `locationName:"pageNumber" type:"string"` 28331 } 28332 28333 // String returns the string representation. 28334 // 28335 // API parameter values that are decorated as "sensitive" in the API will not 28336 // be included in the string output. The member name will be present, but the 28337 // value will be replaced with "sensitive". 28338 func (s TeletextSourceSettings) String() string { 28339 return awsutil.Prettify(s) 28340 } 28341 28342 // GoString returns the string representation. 28343 // 28344 // API parameter values that are decorated as "sensitive" in the API will not 28345 // be included in the string output. The member name will be present, but the 28346 // value will be replaced with "sensitive". 28347 func (s TeletextSourceSettings) GoString() string { 28348 return s.String() 28349 } 28350 28351 // Validate inspects the fields of the type to determine if they are valid. 28352 func (s *TeletextSourceSettings) Validate() error { 28353 invalidParams := request.ErrInvalidParams{Context: "TeletextSourceSettings"} 28354 if s.OutputRectangle != nil { 28355 if err := s.OutputRectangle.Validate(); err != nil { 28356 invalidParams.AddNested("OutputRectangle", err.(request.ErrInvalidParams)) 28357 } 28358 } 28359 28360 if invalidParams.Len() > 0 { 28361 return invalidParams 28362 } 28363 return nil 28364 } 28365 28366 // SetOutputRectangle sets the OutputRectangle field's value. 28367 func (s *TeletextSourceSettings) SetOutputRectangle(v *CaptionRectangle) *TeletextSourceSettings { 28368 s.OutputRectangle = v 28369 return s 28370 } 28371 28372 // SetPageNumber sets the PageNumber field's value. 28373 func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { 28374 s.PageNumber = &v 28375 return s 28376 } 28377 28378 // Temporal Filter Settings 28379 type TemporalFilterSettings struct { 28380 _ struct{} `type:"structure"` 28381 28382 // If you enable this filter, the results are the following:- If the source 28383 // content is noisy (it contains excessive digital artifacts), the filter cleans 28384 // up the source.- If the source content is already clean, the filter tends 28385 // to decrease the bitrate, especially when the rate control mode is QVBR. 28386 PostFilterSharpening *string `locationName:"postFilterSharpening" type:"string" enum:"TemporalFilterPostFilterSharpening"` 28387 28388 // Choose a filter strength. We recommend a strength of 1 or 2. A higher strength 28389 // might take out good information, resulting in an image that is overly soft. 28390 Strength *string `locationName:"strength" type:"string" enum:"TemporalFilterStrength"` 28391 } 28392 28393 // String returns the string representation. 28394 // 28395 // API parameter values that are decorated as "sensitive" in the API will not 28396 // be included in the string output. The member name will be present, but the 28397 // value will be replaced with "sensitive". 28398 func (s TemporalFilterSettings) String() string { 28399 return awsutil.Prettify(s) 28400 } 28401 28402 // GoString returns the string representation. 28403 // 28404 // API parameter values that are decorated as "sensitive" in the API will not 28405 // be included in the string output. The member name will be present, but the 28406 // value will be replaced with "sensitive". 28407 func (s TemporalFilterSettings) GoString() string { 28408 return s.String() 28409 } 28410 28411 // SetPostFilterSharpening sets the PostFilterSharpening field's value. 28412 func (s *TemporalFilterSettings) SetPostFilterSharpening(v string) *TemporalFilterSettings { 28413 s.PostFilterSharpening = &v 28414 return s 28415 } 28416 28417 // SetStrength sets the Strength field's value. 28418 func (s *TemporalFilterSettings) SetStrength(v string) *TemporalFilterSettings { 28419 s.Strength = &v 28420 return s 28421 } 28422 28423 // Timecode Config 28424 type TimecodeConfig struct { 28425 _ struct{} `type:"structure"` 28426 28427 // Identifies the source for the timecode that will be associated with the events 28428 // outputs.-Embedded (embedded): Initialize the output timecode with timecode 28429 // from the the source. If no embedded timecode is detected in the source, the 28430 // system falls back to using "Start at 0" (zerobased).-System Clock (systemclock): 28431 // Use the UTC time.-Start at 0 (zerobased): The time of the first frame of 28432 // the event will be 00:00:00:00. 28433 // 28434 // Source is a required field 28435 Source *string `locationName:"source" type:"string" required:"true" enum:"TimecodeConfigSource"` 28436 28437 // Threshold in frames beyond which output timecode is resynchronized to the 28438 // input timecode. Discrepancies below this threshold are permitted to avoid 28439 // unnecessary discontinuities in the output timecode. No timecode sync when 28440 // this is not specified. 28441 SyncThreshold *int64 `locationName:"syncThreshold" min:"1" type:"integer"` 28442 } 28443 28444 // String returns the string representation. 28445 // 28446 // API parameter values that are decorated as "sensitive" in the API will not 28447 // be included in the string output. The member name will be present, but the 28448 // value will be replaced with "sensitive". 28449 func (s TimecodeConfig) String() string { 28450 return awsutil.Prettify(s) 28451 } 28452 28453 // GoString returns the string representation. 28454 // 28455 // API parameter values that are decorated as "sensitive" in the API will not 28456 // be included in the string output. The member name will be present, but the 28457 // value will be replaced with "sensitive". 28458 func (s TimecodeConfig) GoString() string { 28459 return s.String() 28460 } 28461 28462 // Validate inspects the fields of the type to determine if they are valid. 28463 func (s *TimecodeConfig) Validate() error { 28464 invalidParams := request.ErrInvalidParams{Context: "TimecodeConfig"} 28465 if s.Source == nil { 28466 invalidParams.Add(request.NewErrParamRequired("Source")) 28467 } 28468 if s.SyncThreshold != nil && *s.SyncThreshold < 1 { 28469 invalidParams.Add(request.NewErrParamMinValue("SyncThreshold", 1)) 28470 } 28471 28472 if invalidParams.Len() > 0 { 28473 return invalidParams 28474 } 28475 return nil 28476 } 28477 28478 // SetSource sets the Source field's value. 28479 func (s *TimecodeConfig) SetSource(v string) *TimecodeConfig { 28480 s.Source = &v 28481 return s 28482 } 28483 28484 // SetSyncThreshold sets the SyncThreshold field's value. 28485 func (s *TimecodeConfig) SetSyncThreshold(v int64) *TimecodeConfig { 28486 s.SyncThreshold = &v 28487 return s 28488 } 28489 28490 type TooManyRequestsException struct { 28491 _ struct{} `type:"structure"` 28492 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 28493 28494 Message_ *string `locationName:"message" type:"string"` 28495 } 28496 28497 // String returns the string representation. 28498 // 28499 // API parameter values that are decorated as "sensitive" in the API will not 28500 // be included in the string output. The member name will be present, but the 28501 // value will be replaced with "sensitive". 28502 func (s TooManyRequestsException) String() string { 28503 return awsutil.Prettify(s) 28504 } 28505 28506 // GoString returns the string representation. 28507 // 28508 // API parameter values that are decorated as "sensitive" in the API will not 28509 // be included in the string output. The member name will be present, but the 28510 // value will be replaced with "sensitive". 28511 func (s TooManyRequestsException) GoString() string { 28512 return s.String() 28513 } 28514 28515 func newErrorTooManyRequestsException(v protocol.ResponseMetadata) error { 28516 return &TooManyRequestsException{ 28517 RespMetadata: v, 28518 } 28519 } 28520 28521 // Code returns the exception type name. 28522 func (s *TooManyRequestsException) Code() string { 28523 return "TooManyRequestsException" 28524 } 28525 28526 // Message returns the exception's message. 28527 func (s *TooManyRequestsException) Message() string { 28528 if s.Message_ != nil { 28529 return *s.Message_ 28530 } 28531 return "" 28532 } 28533 28534 // OrigErr always returns nil, satisfies awserr.Error interface. 28535 func (s *TooManyRequestsException) OrigErr() error { 28536 return nil 28537 } 28538 28539 func (s *TooManyRequestsException) Error() string { 28540 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 28541 } 28542 28543 // Status code returns the HTTP status code for the request's response error. 28544 func (s *TooManyRequestsException) StatusCode() int { 28545 return s.RespMetadata.StatusCode 28546 } 28547 28548 // RequestID returns the service's response RequestID for request. 28549 func (s *TooManyRequestsException) RequestID() string { 28550 return s.RespMetadata.RequestID 28551 } 28552 28553 type TransferInputDeviceInput struct { 28554 _ struct{} `type:"structure"` 28555 28556 // InputDeviceId is a required field 28557 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 28558 28559 TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` 28560 28561 TargetRegion *string `locationName:"targetRegion" type:"string"` 28562 28563 TransferMessage *string `locationName:"transferMessage" type:"string"` 28564 } 28565 28566 // String returns the string representation. 28567 // 28568 // API parameter values that are decorated as "sensitive" in the API will not 28569 // be included in the string output. The member name will be present, but the 28570 // value will be replaced with "sensitive". 28571 func (s TransferInputDeviceInput) String() string { 28572 return awsutil.Prettify(s) 28573 } 28574 28575 // GoString returns the string representation. 28576 // 28577 // API parameter values that are decorated as "sensitive" in the API will not 28578 // be included in the string output. The member name will be present, but the 28579 // value will be replaced with "sensitive". 28580 func (s TransferInputDeviceInput) GoString() string { 28581 return s.String() 28582 } 28583 28584 // Validate inspects the fields of the type to determine if they are valid. 28585 func (s *TransferInputDeviceInput) Validate() error { 28586 invalidParams := request.ErrInvalidParams{Context: "TransferInputDeviceInput"} 28587 if s.InputDeviceId == nil { 28588 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 28589 } 28590 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 28591 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 28592 } 28593 28594 if invalidParams.Len() > 0 { 28595 return invalidParams 28596 } 28597 return nil 28598 } 28599 28600 // SetInputDeviceId sets the InputDeviceId field's value. 28601 func (s *TransferInputDeviceInput) SetInputDeviceId(v string) *TransferInputDeviceInput { 28602 s.InputDeviceId = &v 28603 return s 28604 } 28605 28606 // SetTargetCustomerId sets the TargetCustomerId field's value. 28607 func (s *TransferInputDeviceInput) SetTargetCustomerId(v string) *TransferInputDeviceInput { 28608 s.TargetCustomerId = &v 28609 return s 28610 } 28611 28612 // SetTargetRegion sets the TargetRegion field's value. 28613 func (s *TransferInputDeviceInput) SetTargetRegion(v string) *TransferInputDeviceInput { 28614 s.TargetRegion = &v 28615 return s 28616 } 28617 28618 // SetTransferMessage sets the TransferMessage field's value. 28619 func (s *TransferInputDeviceInput) SetTransferMessage(v string) *TransferInputDeviceInput { 28620 s.TransferMessage = &v 28621 return s 28622 } 28623 28624 type TransferInputDeviceOutput struct { 28625 _ struct{} `type:"structure" nopayload:"true"` 28626 } 28627 28628 // String returns the string representation. 28629 // 28630 // API parameter values that are decorated as "sensitive" in the API will not 28631 // be included in the string output. The member name will be present, but the 28632 // value will be replaced with "sensitive". 28633 func (s TransferInputDeviceOutput) String() string { 28634 return awsutil.Prettify(s) 28635 } 28636 28637 // GoString returns the string representation. 28638 // 28639 // API parameter values that are decorated as "sensitive" in the API will not 28640 // be included in the string output. The member name will be present, but the 28641 // value will be replaced with "sensitive". 28642 func (s TransferInputDeviceOutput) GoString() string { 28643 return s.String() 28644 } 28645 28646 // Details about the input device that is being transferred. 28647 type TransferringInputDeviceSummary struct { 28648 _ struct{} `type:"structure"` 28649 28650 // The unique ID of the input device. 28651 Id *string `locationName:"id" type:"string"` 28652 28653 // The optional message that the sender has attached to the transfer. 28654 Message *string `locationName:"message" type:"string"` 28655 28656 // The AWS account ID for the recipient of the input device transfer. 28657 TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` 28658 28659 // The type (direction) of the input device transfer. 28660 TransferType *string `locationName:"transferType" type:"string" enum:"InputDeviceTransferType"` 28661 } 28662 28663 // String returns the string representation. 28664 // 28665 // API parameter values that are decorated as "sensitive" in the API will not 28666 // be included in the string output. The member name will be present, but the 28667 // value will be replaced with "sensitive". 28668 func (s TransferringInputDeviceSummary) String() string { 28669 return awsutil.Prettify(s) 28670 } 28671 28672 // GoString returns the string representation. 28673 // 28674 // API parameter values that are decorated as "sensitive" in the API will not 28675 // be included in the string output. The member name will be present, but the 28676 // value will be replaced with "sensitive". 28677 func (s TransferringInputDeviceSummary) GoString() string { 28678 return s.String() 28679 } 28680 28681 // SetId sets the Id field's value. 28682 func (s *TransferringInputDeviceSummary) SetId(v string) *TransferringInputDeviceSummary { 28683 s.Id = &v 28684 return s 28685 } 28686 28687 // SetMessage sets the Message field's value. 28688 func (s *TransferringInputDeviceSummary) SetMessage(v string) *TransferringInputDeviceSummary { 28689 s.Message = &v 28690 return s 28691 } 28692 28693 // SetTargetCustomerId sets the TargetCustomerId field's value. 28694 func (s *TransferringInputDeviceSummary) SetTargetCustomerId(v string) *TransferringInputDeviceSummary { 28695 s.TargetCustomerId = &v 28696 return s 28697 } 28698 28699 // SetTransferType sets the TransferType field's value. 28700 func (s *TransferringInputDeviceSummary) SetTransferType(v string) *TransferringInputDeviceSummary { 28701 s.TransferType = &v 28702 return s 28703 } 28704 28705 // Ttml Destination Settings 28706 type TtmlDestinationSettings struct { 28707 _ struct{} `type:"structure"` 28708 28709 // When set to passthrough, passes through style and position information from 28710 // a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or 28711 // TTML output. 28712 StyleControl *string `locationName:"styleControl" type:"string" enum:"TtmlDestinationStyleControl"` 28713 } 28714 28715 // String returns the string representation. 28716 // 28717 // API parameter values that are decorated as "sensitive" in the API will not 28718 // be included in the string output. The member name will be present, but the 28719 // value will be replaced with "sensitive". 28720 func (s TtmlDestinationSettings) String() string { 28721 return awsutil.Prettify(s) 28722 } 28723 28724 // GoString returns the string representation. 28725 // 28726 // API parameter values that are decorated as "sensitive" in the API will not 28727 // be included in the string output. The member name will be present, but the 28728 // value will be replaced with "sensitive". 28729 func (s TtmlDestinationSettings) GoString() string { 28730 return s.String() 28731 } 28732 28733 // SetStyleControl sets the StyleControl field's value. 28734 func (s *TtmlDestinationSettings) SetStyleControl(v string) *TtmlDestinationSettings { 28735 s.StyleControl = &v 28736 return s 28737 } 28738 28739 // Udp Container Settings 28740 type UdpContainerSettings struct { 28741 _ struct{} `type:"structure"` 28742 28743 // M2ts Settings 28744 M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` 28745 } 28746 28747 // String returns the string representation. 28748 // 28749 // API parameter values that are decorated as "sensitive" in the API will not 28750 // be included in the string output. The member name will be present, but the 28751 // value will be replaced with "sensitive". 28752 func (s UdpContainerSettings) String() string { 28753 return awsutil.Prettify(s) 28754 } 28755 28756 // GoString returns the string representation. 28757 // 28758 // API parameter values that are decorated as "sensitive" in the API will not 28759 // be included in the string output. The member name will be present, but the 28760 // value will be replaced with "sensitive". 28761 func (s UdpContainerSettings) GoString() string { 28762 return s.String() 28763 } 28764 28765 // Validate inspects the fields of the type to determine if they are valid. 28766 func (s *UdpContainerSettings) Validate() error { 28767 invalidParams := request.ErrInvalidParams{Context: "UdpContainerSettings"} 28768 if s.M2tsSettings != nil { 28769 if err := s.M2tsSettings.Validate(); err != nil { 28770 invalidParams.AddNested("M2tsSettings", err.(request.ErrInvalidParams)) 28771 } 28772 } 28773 28774 if invalidParams.Len() > 0 { 28775 return invalidParams 28776 } 28777 return nil 28778 } 28779 28780 // SetM2tsSettings sets the M2tsSettings field's value. 28781 func (s *UdpContainerSettings) SetM2tsSettings(v *M2tsSettings) *UdpContainerSettings { 28782 s.M2tsSettings = v 28783 return s 28784 } 28785 28786 // Udp Group Settings 28787 type UdpGroupSettings struct { 28788 _ struct{} `type:"structure"` 28789 28790 // Specifies behavior of last resort when input video is lost, and no more backup 28791 // inputs are available. When dropTs is selected the entire transport stream 28792 // will stop being emitted. When dropProgram is selected the program can be 28793 // dropped from the transport stream (and replaced with null packets to meet 28794 // the TS bitrate requirement). Or, when emitProgram is chosen the transport 28795 // stream will continue to be produced normally with repeat frames, black frames, 28796 // or slate frames substituted for the absent input video. 28797 InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForUdpOut"` 28798 28799 // Indicates ID3 frame that has the timecode. 28800 TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"UdpTimedMetadataId3Frame"` 28801 28802 // Timed Metadata interval in seconds. 28803 TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` 28804 } 28805 28806 // String returns the string representation. 28807 // 28808 // API parameter values that are decorated as "sensitive" in the API will not 28809 // be included in the string output. The member name will be present, but the 28810 // value will be replaced with "sensitive". 28811 func (s UdpGroupSettings) String() string { 28812 return awsutil.Prettify(s) 28813 } 28814 28815 // GoString returns the string representation. 28816 // 28817 // API parameter values that are decorated as "sensitive" in the API will not 28818 // be included in the string output. The member name will be present, but the 28819 // value will be replaced with "sensitive". 28820 func (s UdpGroupSettings) GoString() string { 28821 return s.String() 28822 } 28823 28824 // SetInputLossAction sets the InputLossAction field's value. 28825 func (s *UdpGroupSettings) SetInputLossAction(v string) *UdpGroupSettings { 28826 s.InputLossAction = &v 28827 return s 28828 } 28829 28830 // SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. 28831 func (s *UdpGroupSettings) SetTimedMetadataId3Frame(v string) *UdpGroupSettings { 28832 s.TimedMetadataId3Frame = &v 28833 return s 28834 } 28835 28836 // SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. 28837 func (s *UdpGroupSettings) SetTimedMetadataId3Period(v int64) *UdpGroupSettings { 28838 s.TimedMetadataId3Period = &v 28839 return s 28840 } 28841 28842 // Udp Output Settings 28843 type UdpOutputSettings struct { 28844 _ struct{} `type:"structure"` 28845 28846 // UDP output buffering in milliseconds. Larger values increase latency through 28847 // the transcoder but simultaneously assist the transcoder in maintaining a 28848 // constant, low-jitter UDP/RTP output while accommodating clock recovery, input 28849 // switching, input disruptions, picture reordering, etc. 28850 BufferMsec *int64 `locationName:"bufferMsec" type:"integer"` 28851 28852 // Udp Container Settings 28853 // 28854 // ContainerSettings is a required field 28855 ContainerSettings *UdpContainerSettings `locationName:"containerSettings" type:"structure" required:"true"` 28856 28857 // Destination address and port number for RTP or UDP packets. Can be unicast 28858 // or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002). 28859 // 28860 // Destination is a required field 28861 Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` 28862 28863 // Settings for enabling and adjusting Forward Error Correction on UDP outputs. 28864 FecOutputSettings *FecOutputSettings `locationName:"fecOutputSettings" type:"structure"` 28865 } 28866 28867 // String returns the string representation. 28868 // 28869 // API parameter values that are decorated as "sensitive" in the API will not 28870 // be included in the string output. The member name will be present, but the 28871 // value will be replaced with "sensitive". 28872 func (s UdpOutputSettings) String() string { 28873 return awsutil.Prettify(s) 28874 } 28875 28876 // GoString returns the string representation. 28877 // 28878 // API parameter values that are decorated as "sensitive" in the API will not 28879 // be included in the string output. The member name will be present, but the 28880 // value will be replaced with "sensitive". 28881 func (s UdpOutputSettings) GoString() string { 28882 return s.String() 28883 } 28884 28885 // Validate inspects the fields of the type to determine if they are valid. 28886 func (s *UdpOutputSettings) Validate() error { 28887 invalidParams := request.ErrInvalidParams{Context: "UdpOutputSettings"} 28888 if s.ContainerSettings == nil { 28889 invalidParams.Add(request.NewErrParamRequired("ContainerSettings")) 28890 } 28891 if s.Destination == nil { 28892 invalidParams.Add(request.NewErrParamRequired("Destination")) 28893 } 28894 if s.ContainerSettings != nil { 28895 if err := s.ContainerSettings.Validate(); err != nil { 28896 invalidParams.AddNested("ContainerSettings", err.(request.ErrInvalidParams)) 28897 } 28898 } 28899 if s.FecOutputSettings != nil { 28900 if err := s.FecOutputSettings.Validate(); err != nil { 28901 invalidParams.AddNested("FecOutputSettings", err.(request.ErrInvalidParams)) 28902 } 28903 } 28904 28905 if invalidParams.Len() > 0 { 28906 return invalidParams 28907 } 28908 return nil 28909 } 28910 28911 // SetBufferMsec sets the BufferMsec field's value. 28912 func (s *UdpOutputSettings) SetBufferMsec(v int64) *UdpOutputSettings { 28913 s.BufferMsec = &v 28914 return s 28915 } 28916 28917 // SetContainerSettings sets the ContainerSettings field's value. 28918 func (s *UdpOutputSettings) SetContainerSettings(v *UdpContainerSettings) *UdpOutputSettings { 28919 s.ContainerSettings = v 28920 return s 28921 } 28922 28923 // SetDestination sets the Destination field's value. 28924 func (s *UdpOutputSettings) SetDestination(v *OutputLocationRef) *UdpOutputSettings { 28925 s.Destination = v 28926 return s 28927 } 28928 28929 // SetFecOutputSettings sets the FecOutputSettings field's value. 28930 func (s *UdpOutputSettings) SetFecOutputSettings(v *FecOutputSettings) *UdpOutputSettings { 28931 s.FecOutputSettings = v 28932 return s 28933 } 28934 28935 type UnprocessableEntityException struct { 28936 _ struct{} `type:"structure"` 28937 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 28938 28939 Message_ *string `locationName:"message" type:"string"` 28940 28941 ValidationErrors []*ValidationError `locationName:"validationErrors" type:"list"` 28942 } 28943 28944 // String returns the string representation. 28945 // 28946 // API parameter values that are decorated as "sensitive" in the API will not 28947 // be included in the string output. The member name will be present, but the 28948 // value will be replaced with "sensitive". 28949 func (s UnprocessableEntityException) String() string { 28950 return awsutil.Prettify(s) 28951 } 28952 28953 // GoString returns the string representation. 28954 // 28955 // API parameter values that are decorated as "sensitive" in the API will not 28956 // be included in the string output. The member name will be present, but the 28957 // value will be replaced with "sensitive". 28958 func (s UnprocessableEntityException) GoString() string { 28959 return s.String() 28960 } 28961 28962 func newErrorUnprocessableEntityException(v protocol.ResponseMetadata) error { 28963 return &UnprocessableEntityException{ 28964 RespMetadata: v, 28965 } 28966 } 28967 28968 // Code returns the exception type name. 28969 func (s *UnprocessableEntityException) Code() string { 28970 return "UnprocessableEntityException" 28971 } 28972 28973 // Message returns the exception's message. 28974 func (s *UnprocessableEntityException) Message() string { 28975 if s.Message_ != nil { 28976 return *s.Message_ 28977 } 28978 return "" 28979 } 28980 28981 // OrigErr always returns nil, satisfies awserr.Error interface. 28982 func (s *UnprocessableEntityException) OrigErr() error { 28983 return nil 28984 } 28985 28986 func (s *UnprocessableEntityException) Error() string { 28987 return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) 28988 } 28989 28990 // Status code returns the HTTP status code for the request's response error. 28991 func (s *UnprocessableEntityException) StatusCode() int { 28992 return s.RespMetadata.StatusCode 28993 } 28994 28995 // RequestID returns the service's response RequestID for request. 28996 func (s *UnprocessableEntityException) RequestID() string { 28997 return s.RespMetadata.RequestID 28998 } 28999 29000 type UpdateChannelClassInput struct { 29001 _ struct{} `type:"structure"` 29002 29003 // A standard channel has two encoding pipelines and a single pipeline channel 29004 // only has one. 29005 // 29006 // ChannelClass is a required field 29007 ChannelClass *string `locationName:"channelClass" type:"string" required:"true" enum:"ChannelClass"` 29008 29009 // ChannelId is a required field 29010 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 29011 29012 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 29013 } 29014 29015 // String returns the string representation. 29016 // 29017 // API parameter values that are decorated as "sensitive" in the API will not 29018 // be included in the string output. The member name will be present, but the 29019 // value will be replaced with "sensitive". 29020 func (s UpdateChannelClassInput) String() string { 29021 return awsutil.Prettify(s) 29022 } 29023 29024 // GoString returns the string representation. 29025 // 29026 // API parameter values that are decorated as "sensitive" in the API will not 29027 // be included in the string output. The member name will be present, but the 29028 // value will be replaced with "sensitive". 29029 func (s UpdateChannelClassInput) GoString() string { 29030 return s.String() 29031 } 29032 29033 // Validate inspects the fields of the type to determine if they are valid. 29034 func (s *UpdateChannelClassInput) Validate() error { 29035 invalidParams := request.ErrInvalidParams{Context: "UpdateChannelClassInput"} 29036 if s.ChannelClass == nil { 29037 invalidParams.Add(request.NewErrParamRequired("ChannelClass")) 29038 } 29039 if s.ChannelId == nil { 29040 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 29041 } 29042 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 29043 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 29044 } 29045 if s.Destinations != nil { 29046 for i, v := range s.Destinations { 29047 if v == nil { 29048 continue 29049 } 29050 if err := v.Validate(); err != nil { 29051 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) 29052 } 29053 } 29054 } 29055 29056 if invalidParams.Len() > 0 { 29057 return invalidParams 29058 } 29059 return nil 29060 } 29061 29062 // SetChannelClass sets the ChannelClass field's value. 29063 func (s *UpdateChannelClassInput) SetChannelClass(v string) *UpdateChannelClassInput { 29064 s.ChannelClass = &v 29065 return s 29066 } 29067 29068 // SetChannelId sets the ChannelId field's value. 29069 func (s *UpdateChannelClassInput) SetChannelId(v string) *UpdateChannelClassInput { 29070 s.ChannelId = &v 29071 return s 29072 } 29073 29074 // SetDestinations sets the Destinations field's value. 29075 func (s *UpdateChannelClassInput) SetDestinations(v []*OutputDestination) *UpdateChannelClassInput { 29076 s.Destinations = v 29077 return s 29078 } 29079 29080 type UpdateChannelClassOutput struct { 29081 _ struct{} `type:"structure"` 29082 29083 Channel *Channel `locationName:"channel" type:"structure"` 29084 } 29085 29086 // String returns the string representation. 29087 // 29088 // API parameter values that are decorated as "sensitive" in the API will not 29089 // be included in the string output. The member name will be present, but the 29090 // value will be replaced with "sensitive". 29091 func (s UpdateChannelClassOutput) String() string { 29092 return awsutil.Prettify(s) 29093 } 29094 29095 // GoString returns the string representation. 29096 // 29097 // API parameter values that are decorated as "sensitive" in the API will not 29098 // be included in the string output. The member name will be present, but the 29099 // value will be replaced with "sensitive". 29100 func (s UpdateChannelClassOutput) GoString() string { 29101 return s.String() 29102 } 29103 29104 // SetChannel sets the Channel field's value. 29105 func (s *UpdateChannelClassOutput) SetChannel(v *Channel) *UpdateChannelClassOutput { 29106 s.Channel = v 29107 return s 29108 } 29109 29110 type UpdateChannelInput struct { 29111 _ struct{} `type:"structure"` 29112 29113 CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` 29114 29115 // ChannelId is a required field 29116 ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` 29117 29118 Destinations []*OutputDestination `locationName:"destinations" type:"list"` 29119 29120 // Encoder Settings 29121 EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` 29122 29123 InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` 29124 29125 InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` 29126 29127 // The log level the user wants for their channel. 29128 LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` 29129 29130 Name *string `locationName:"name" type:"string"` 29131 29132 RoleArn *string `locationName:"roleArn" type:"string"` 29133 } 29134 29135 // String returns the string representation. 29136 // 29137 // API parameter values that are decorated as "sensitive" in the API will not 29138 // be included in the string output. The member name will be present, but the 29139 // value will be replaced with "sensitive". 29140 func (s UpdateChannelInput) String() string { 29141 return awsutil.Prettify(s) 29142 } 29143 29144 // GoString returns the string representation. 29145 // 29146 // API parameter values that are decorated as "sensitive" in the API will not 29147 // be included in the string output. The member name will be present, but the 29148 // value will be replaced with "sensitive". 29149 func (s UpdateChannelInput) GoString() string { 29150 return s.String() 29151 } 29152 29153 // Validate inspects the fields of the type to determine if they are valid. 29154 func (s *UpdateChannelInput) Validate() error { 29155 invalidParams := request.ErrInvalidParams{Context: "UpdateChannelInput"} 29156 if s.ChannelId == nil { 29157 invalidParams.Add(request.NewErrParamRequired("ChannelId")) 29158 } 29159 if s.ChannelId != nil && len(*s.ChannelId) < 1 { 29160 invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) 29161 } 29162 if s.Destinations != nil { 29163 for i, v := range s.Destinations { 29164 if v == nil { 29165 continue 29166 } 29167 if err := v.Validate(); err != nil { 29168 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) 29169 } 29170 } 29171 } 29172 if s.EncoderSettings != nil { 29173 if err := s.EncoderSettings.Validate(); err != nil { 29174 invalidParams.AddNested("EncoderSettings", err.(request.ErrInvalidParams)) 29175 } 29176 } 29177 if s.InputAttachments != nil { 29178 for i, v := range s.InputAttachments { 29179 if v == nil { 29180 continue 29181 } 29182 if err := v.Validate(); err != nil { 29183 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputAttachments", i), err.(request.ErrInvalidParams)) 29184 } 29185 } 29186 } 29187 29188 if invalidParams.Len() > 0 { 29189 return invalidParams 29190 } 29191 return nil 29192 } 29193 29194 // SetCdiInputSpecification sets the CdiInputSpecification field's value. 29195 func (s *UpdateChannelInput) SetCdiInputSpecification(v *CdiInputSpecification) *UpdateChannelInput { 29196 s.CdiInputSpecification = v 29197 return s 29198 } 29199 29200 // SetChannelId sets the ChannelId field's value. 29201 func (s *UpdateChannelInput) SetChannelId(v string) *UpdateChannelInput { 29202 s.ChannelId = &v 29203 return s 29204 } 29205 29206 // SetDestinations sets the Destinations field's value. 29207 func (s *UpdateChannelInput) SetDestinations(v []*OutputDestination) *UpdateChannelInput { 29208 s.Destinations = v 29209 return s 29210 } 29211 29212 // SetEncoderSettings sets the EncoderSettings field's value. 29213 func (s *UpdateChannelInput) SetEncoderSettings(v *EncoderSettings) *UpdateChannelInput { 29214 s.EncoderSettings = v 29215 return s 29216 } 29217 29218 // SetInputAttachments sets the InputAttachments field's value. 29219 func (s *UpdateChannelInput) SetInputAttachments(v []*InputAttachment) *UpdateChannelInput { 29220 s.InputAttachments = v 29221 return s 29222 } 29223 29224 // SetInputSpecification sets the InputSpecification field's value. 29225 func (s *UpdateChannelInput) SetInputSpecification(v *InputSpecification) *UpdateChannelInput { 29226 s.InputSpecification = v 29227 return s 29228 } 29229 29230 // SetLogLevel sets the LogLevel field's value. 29231 func (s *UpdateChannelInput) SetLogLevel(v string) *UpdateChannelInput { 29232 s.LogLevel = &v 29233 return s 29234 } 29235 29236 // SetName sets the Name field's value. 29237 func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput { 29238 s.Name = &v 29239 return s 29240 } 29241 29242 // SetRoleArn sets the RoleArn field's value. 29243 func (s *UpdateChannelInput) SetRoleArn(v string) *UpdateChannelInput { 29244 s.RoleArn = &v 29245 return s 29246 } 29247 29248 type UpdateChannelOutput struct { 29249 _ struct{} `type:"structure"` 29250 29251 Channel *Channel `locationName:"channel" type:"structure"` 29252 } 29253 29254 // String returns the string representation. 29255 // 29256 // API parameter values that are decorated as "sensitive" in the API will not 29257 // be included in the string output. The member name will be present, but the 29258 // value will be replaced with "sensitive". 29259 func (s UpdateChannelOutput) String() string { 29260 return awsutil.Prettify(s) 29261 } 29262 29263 // GoString returns the string representation. 29264 // 29265 // API parameter values that are decorated as "sensitive" in the API will not 29266 // be included in the string output. The member name will be present, but the 29267 // value will be replaced with "sensitive". 29268 func (s UpdateChannelOutput) GoString() string { 29269 return s.String() 29270 } 29271 29272 // SetChannel sets the Channel field's value. 29273 func (s *UpdateChannelOutput) SetChannel(v *Channel) *UpdateChannelOutput { 29274 s.Channel = v 29275 return s 29276 } 29277 29278 type UpdateInputDeviceInput struct { 29279 _ struct{} `type:"structure"` 29280 29281 // Configurable settings for the input device. 29282 HdDeviceSettings *InputDeviceConfigurableSettings `locationName:"hdDeviceSettings" type:"structure"` 29283 29284 // InputDeviceId is a required field 29285 InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` 29286 29287 Name *string `locationName:"name" type:"string"` 29288 29289 // Configurable settings for the input device. 29290 UhdDeviceSettings *InputDeviceConfigurableSettings `locationName:"uhdDeviceSettings" type:"structure"` 29291 } 29292 29293 // String returns the string representation. 29294 // 29295 // API parameter values that are decorated as "sensitive" in the API will not 29296 // be included in the string output. The member name will be present, but the 29297 // value will be replaced with "sensitive". 29298 func (s UpdateInputDeviceInput) String() string { 29299 return awsutil.Prettify(s) 29300 } 29301 29302 // GoString returns the string representation. 29303 // 29304 // API parameter values that are decorated as "sensitive" in the API will not 29305 // be included in the string output. The member name will be present, but the 29306 // value will be replaced with "sensitive". 29307 func (s UpdateInputDeviceInput) GoString() string { 29308 return s.String() 29309 } 29310 29311 // Validate inspects the fields of the type to determine if they are valid. 29312 func (s *UpdateInputDeviceInput) Validate() error { 29313 invalidParams := request.ErrInvalidParams{Context: "UpdateInputDeviceInput"} 29314 if s.InputDeviceId == nil { 29315 invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) 29316 } 29317 if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { 29318 invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) 29319 } 29320 29321 if invalidParams.Len() > 0 { 29322 return invalidParams 29323 } 29324 return nil 29325 } 29326 29327 // SetHdDeviceSettings sets the HdDeviceSettings field's value. 29328 func (s *UpdateInputDeviceInput) SetHdDeviceSettings(v *InputDeviceConfigurableSettings) *UpdateInputDeviceInput { 29329 s.HdDeviceSettings = v 29330 return s 29331 } 29332 29333 // SetInputDeviceId sets the InputDeviceId field's value. 29334 func (s *UpdateInputDeviceInput) SetInputDeviceId(v string) *UpdateInputDeviceInput { 29335 s.InputDeviceId = &v 29336 return s 29337 } 29338 29339 // SetName sets the Name field's value. 29340 func (s *UpdateInputDeviceInput) SetName(v string) *UpdateInputDeviceInput { 29341 s.Name = &v 29342 return s 29343 } 29344 29345 // SetUhdDeviceSettings sets the UhdDeviceSettings field's value. 29346 func (s *UpdateInputDeviceInput) SetUhdDeviceSettings(v *InputDeviceConfigurableSettings) *UpdateInputDeviceInput { 29347 s.UhdDeviceSettings = v 29348 return s 29349 } 29350 29351 type UpdateInputDeviceOutput struct { 29352 _ struct{} `type:"structure"` 29353 29354 Arn *string `locationName:"arn" type:"string"` 29355 29356 // The state of the connection between the input device and AWS. 29357 ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` 29358 29359 // The status of the action to synchronize the device configuration. If you 29360 // change the configuration of the input device (for example, the maximum bitrate), 29361 // MediaLive sends the new data to the device. The device might not update itself 29362 // immediately. SYNCED means the device has updated its configuration. SYNCING 29363 // means that it has not updated its configuration. 29364 DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` 29365 29366 // The status of software on the input device. 29367 DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` 29368 29369 // Settings that describe the active source from the input device, and the video 29370 // characteristics of that source. 29371 HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` 29372 29373 Id *string `locationName:"id" type:"string"` 29374 29375 MacAddress *string `locationName:"macAddress" type:"string"` 29376 29377 Name *string `locationName:"name" type:"string"` 29378 29379 // The network settings for the input device. 29380 NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` 29381 29382 SerialNumber *string `locationName:"serialNumber" type:"string"` 29383 29384 // The type of the input device. For an AWS Elemental Link device that outputs 29385 // resolutions up to 1080, choose "HD". 29386 Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` 29387 29388 // Settings that describe the active source from the input device, and the video 29389 // characteristics of that source. 29390 UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` 29391 } 29392 29393 // String returns the string representation. 29394 // 29395 // API parameter values that are decorated as "sensitive" in the API will not 29396 // be included in the string output. The member name will be present, but the 29397 // value will be replaced with "sensitive". 29398 func (s UpdateInputDeviceOutput) String() string { 29399 return awsutil.Prettify(s) 29400 } 29401 29402 // GoString returns the string representation. 29403 // 29404 // API parameter values that are decorated as "sensitive" in the API will not 29405 // be included in the string output. The member name will be present, but the 29406 // value will be replaced with "sensitive". 29407 func (s UpdateInputDeviceOutput) GoString() string { 29408 return s.String() 29409 } 29410 29411 // SetArn sets the Arn field's value. 29412 func (s *UpdateInputDeviceOutput) SetArn(v string) *UpdateInputDeviceOutput { 29413 s.Arn = &v 29414 return s 29415 } 29416 29417 // SetConnectionState sets the ConnectionState field's value. 29418 func (s *UpdateInputDeviceOutput) SetConnectionState(v string) *UpdateInputDeviceOutput { 29419 s.ConnectionState = &v 29420 return s 29421 } 29422 29423 // SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. 29424 func (s *UpdateInputDeviceOutput) SetDeviceSettingsSyncState(v string) *UpdateInputDeviceOutput { 29425 s.DeviceSettingsSyncState = &v 29426 return s 29427 } 29428 29429 // SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. 29430 func (s *UpdateInputDeviceOutput) SetDeviceUpdateStatus(v string) *UpdateInputDeviceOutput { 29431 s.DeviceUpdateStatus = &v 29432 return s 29433 } 29434 29435 // SetHdDeviceSettings sets the HdDeviceSettings field's value. 29436 func (s *UpdateInputDeviceOutput) SetHdDeviceSettings(v *InputDeviceHdSettings) *UpdateInputDeviceOutput { 29437 s.HdDeviceSettings = v 29438 return s 29439 } 29440 29441 // SetId sets the Id field's value. 29442 func (s *UpdateInputDeviceOutput) SetId(v string) *UpdateInputDeviceOutput { 29443 s.Id = &v 29444 return s 29445 } 29446 29447 // SetMacAddress sets the MacAddress field's value. 29448 func (s *UpdateInputDeviceOutput) SetMacAddress(v string) *UpdateInputDeviceOutput { 29449 s.MacAddress = &v 29450 return s 29451 } 29452 29453 // SetName sets the Name field's value. 29454 func (s *UpdateInputDeviceOutput) SetName(v string) *UpdateInputDeviceOutput { 29455 s.Name = &v 29456 return s 29457 } 29458 29459 // SetNetworkSettings sets the NetworkSettings field's value. 29460 func (s *UpdateInputDeviceOutput) SetNetworkSettings(v *InputDeviceNetworkSettings) *UpdateInputDeviceOutput { 29461 s.NetworkSettings = v 29462 return s 29463 } 29464 29465 // SetSerialNumber sets the SerialNumber field's value. 29466 func (s *UpdateInputDeviceOutput) SetSerialNumber(v string) *UpdateInputDeviceOutput { 29467 s.SerialNumber = &v 29468 return s 29469 } 29470 29471 // SetType sets the Type field's value. 29472 func (s *UpdateInputDeviceOutput) SetType(v string) *UpdateInputDeviceOutput { 29473 s.Type = &v 29474 return s 29475 } 29476 29477 // SetUhdDeviceSettings sets the UhdDeviceSettings field's value. 29478 func (s *UpdateInputDeviceOutput) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *UpdateInputDeviceOutput { 29479 s.UhdDeviceSettings = v 29480 return s 29481 } 29482 29483 type UpdateInputInput struct { 29484 _ struct{} `type:"structure"` 29485 29486 Destinations []*InputDestinationRequest `locationName:"destinations" type:"list"` 29487 29488 InputDevices []*InputDeviceRequest `locationName:"inputDevices" type:"list"` 29489 29490 // InputId is a required field 29491 InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` 29492 29493 InputSecurityGroups []*string `locationName:"inputSecurityGroups" type:"list"` 29494 29495 MediaConnectFlows []*MediaConnectFlowRequest `locationName:"mediaConnectFlows" type:"list"` 29496 29497 Name *string `locationName:"name" type:"string"` 29498 29499 RoleArn *string `locationName:"roleArn" type:"string"` 29500 29501 Sources []*InputSourceRequest `locationName:"sources" type:"list"` 29502 } 29503 29504 // String returns the string representation. 29505 // 29506 // API parameter values that are decorated as "sensitive" in the API will not 29507 // be included in the string output. The member name will be present, but the 29508 // value will be replaced with "sensitive". 29509 func (s UpdateInputInput) String() string { 29510 return awsutil.Prettify(s) 29511 } 29512 29513 // GoString returns the string representation. 29514 // 29515 // API parameter values that are decorated as "sensitive" in the API will not 29516 // be included in the string output. The member name will be present, but the 29517 // value will be replaced with "sensitive". 29518 func (s UpdateInputInput) GoString() string { 29519 return s.String() 29520 } 29521 29522 // Validate inspects the fields of the type to determine if they are valid. 29523 func (s *UpdateInputInput) Validate() error { 29524 invalidParams := request.ErrInvalidParams{Context: "UpdateInputInput"} 29525 if s.InputId == nil { 29526 invalidParams.Add(request.NewErrParamRequired("InputId")) 29527 } 29528 if s.InputId != nil && len(*s.InputId) < 1 { 29529 invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) 29530 } 29531 29532 if invalidParams.Len() > 0 { 29533 return invalidParams 29534 } 29535 return nil 29536 } 29537 29538 // SetDestinations sets the Destinations field's value. 29539 func (s *UpdateInputInput) SetDestinations(v []*InputDestinationRequest) *UpdateInputInput { 29540 s.Destinations = v 29541 return s 29542 } 29543 29544 // SetInputDevices sets the InputDevices field's value. 29545 func (s *UpdateInputInput) SetInputDevices(v []*InputDeviceRequest) *UpdateInputInput { 29546 s.InputDevices = v 29547 return s 29548 } 29549 29550 // SetInputId sets the InputId field's value. 29551 func (s *UpdateInputInput) SetInputId(v string) *UpdateInputInput { 29552 s.InputId = &v 29553 return s 29554 } 29555 29556 // SetInputSecurityGroups sets the InputSecurityGroups field's value. 29557 func (s *UpdateInputInput) SetInputSecurityGroups(v []*string) *UpdateInputInput { 29558 s.InputSecurityGroups = v 29559 return s 29560 } 29561 29562 // SetMediaConnectFlows sets the MediaConnectFlows field's value. 29563 func (s *UpdateInputInput) SetMediaConnectFlows(v []*MediaConnectFlowRequest) *UpdateInputInput { 29564 s.MediaConnectFlows = v 29565 return s 29566 } 29567 29568 // SetName sets the Name field's value. 29569 func (s *UpdateInputInput) SetName(v string) *UpdateInputInput { 29570 s.Name = &v 29571 return s 29572 } 29573 29574 // SetRoleArn sets the RoleArn field's value. 29575 func (s *UpdateInputInput) SetRoleArn(v string) *UpdateInputInput { 29576 s.RoleArn = &v 29577 return s 29578 } 29579 29580 // SetSources sets the Sources field's value. 29581 func (s *UpdateInputInput) SetSources(v []*InputSourceRequest) *UpdateInputInput { 29582 s.Sources = v 29583 return s 29584 } 29585 29586 type UpdateInputOutput struct { 29587 _ struct{} `type:"structure"` 29588 29589 Input *Input `locationName:"input" type:"structure"` 29590 } 29591 29592 // String returns the string representation. 29593 // 29594 // API parameter values that are decorated as "sensitive" in the API will not 29595 // be included in the string output. The member name will be present, but the 29596 // value will be replaced with "sensitive". 29597 func (s UpdateInputOutput) String() string { 29598 return awsutil.Prettify(s) 29599 } 29600 29601 // GoString returns the string representation. 29602 // 29603 // API parameter values that are decorated as "sensitive" in the API will not 29604 // be included in the string output. The member name will be present, but the 29605 // value will be replaced with "sensitive". 29606 func (s UpdateInputOutput) GoString() string { 29607 return s.String() 29608 } 29609 29610 // SetInput sets the Input field's value. 29611 func (s *UpdateInputOutput) SetInput(v *Input) *UpdateInputOutput { 29612 s.Input = v 29613 return s 29614 } 29615 29616 type UpdateInputSecurityGroupInput struct { 29617 _ struct{} `type:"structure"` 29618 29619 // InputSecurityGroupId is a required field 29620 InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` 29621 29622 Tags map[string]*string `locationName:"tags" type:"map"` 29623 29624 WhitelistRules []*InputWhitelistRuleCidr `locationName:"whitelistRules" type:"list"` 29625 } 29626 29627 // String returns the string representation. 29628 // 29629 // API parameter values that are decorated as "sensitive" in the API will not 29630 // be included in the string output. The member name will be present, but the 29631 // value will be replaced with "sensitive". 29632 func (s UpdateInputSecurityGroupInput) String() string { 29633 return awsutil.Prettify(s) 29634 } 29635 29636 // GoString returns the string representation. 29637 // 29638 // API parameter values that are decorated as "sensitive" in the API will not 29639 // be included in the string output. The member name will be present, but the 29640 // value will be replaced with "sensitive". 29641 func (s UpdateInputSecurityGroupInput) GoString() string { 29642 return s.String() 29643 } 29644 29645 // Validate inspects the fields of the type to determine if they are valid. 29646 func (s *UpdateInputSecurityGroupInput) Validate() error { 29647 invalidParams := request.ErrInvalidParams{Context: "UpdateInputSecurityGroupInput"} 29648 if s.InputSecurityGroupId == nil { 29649 invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) 29650 } 29651 if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { 29652 invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) 29653 } 29654 29655 if invalidParams.Len() > 0 { 29656 return invalidParams 29657 } 29658 return nil 29659 } 29660 29661 // SetInputSecurityGroupId sets the InputSecurityGroupId field's value. 29662 func (s *UpdateInputSecurityGroupInput) SetInputSecurityGroupId(v string) *UpdateInputSecurityGroupInput { 29663 s.InputSecurityGroupId = &v 29664 return s 29665 } 29666 29667 // SetTags sets the Tags field's value. 29668 func (s *UpdateInputSecurityGroupInput) SetTags(v map[string]*string) *UpdateInputSecurityGroupInput { 29669 s.Tags = v 29670 return s 29671 } 29672 29673 // SetWhitelistRules sets the WhitelistRules field's value. 29674 func (s *UpdateInputSecurityGroupInput) SetWhitelistRules(v []*InputWhitelistRuleCidr) *UpdateInputSecurityGroupInput { 29675 s.WhitelistRules = v 29676 return s 29677 } 29678 29679 type UpdateInputSecurityGroupOutput struct { 29680 _ struct{} `type:"structure"` 29681 29682 // An Input Security Group 29683 SecurityGroup *InputSecurityGroup `locationName:"securityGroup" type:"structure"` 29684 } 29685 29686 // String returns the string representation. 29687 // 29688 // API parameter values that are decorated as "sensitive" in the API will not 29689 // be included in the string output. The member name will be present, but the 29690 // value will be replaced with "sensitive". 29691 func (s UpdateInputSecurityGroupOutput) String() string { 29692 return awsutil.Prettify(s) 29693 } 29694 29695 // GoString returns the string representation. 29696 // 29697 // API parameter values that are decorated as "sensitive" in the API will not 29698 // be included in the string output. The member name will be present, but the 29699 // value will be replaced with "sensitive". 29700 func (s UpdateInputSecurityGroupOutput) GoString() string { 29701 return s.String() 29702 } 29703 29704 // SetSecurityGroup sets the SecurityGroup field's value. 29705 func (s *UpdateInputSecurityGroupOutput) SetSecurityGroup(v *InputSecurityGroup) *UpdateInputSecurityGroupOutput { 29706 s.SecurityGroup = v 29707 return s 29708 } 29709 29710 type UpdateMultiplexInput struct { 29711 _ struct{} `type:"structure"` 29712 29713 // MultiplexId is a required field 29714 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 29715 29716 // Contains configuration for a Multiplex event 29717 MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` 29718 29719 Name *string `locationName:"name" type:"string"` 29720 } 29721 29722 // String returns the string representation. 29723 // 29724 // API parameter values that are decorated as "sensitive" in the API will not 29725 // be included in the string output. The member name will be present, but the 29726 // value will be replaced with "sensitive". 29727 func (s UpdateMultiplexInput) String() string { 29728 return awsutil.Prettify(s) 29729 } 29730 29731 // GoString returns the string representation. 29732 // 29733 // API parameter values that are decorated as "sensitive" in the API will not 29734 // be included in the string output. The member name will be present, but the 29735 // value will be replaced with "sensitive". 29736 func (s UpdateMultiplexInput) GoString() string { 29737 return s.String() 29738 } 29739 29740 // Validate inspects the fields of the type to determine if they are valid. 29741 func (s *UpdateMultiplexInput) Validate() error { 29742 invalidParams := request.ErrInvalidParams{Context: "UpdateMultiplexInput"} 29743 if s.MultiplexId == nil { 29744 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 29745 } 29746 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 29747 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 29748 } 29749 if s.MultiplexSettings != nil { 29750 if err := s.MultiplexSettings.Validate(); err != nil { 29751 invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) 29752 } 29753 } 29754 29755 if invalidParams.Len() > 0 { 29756 return invalidParams 29757 } 29758 return nil 29759 } 29760 29761 // SetMultiplexId sets the MultiplexId field's value. 29762 func (s *UpdateMultiplexInput) SetMultiplexId(v string) *UpdateMultiplexInput { 29763 s.MultiplexId = &v 29764 return s 29765 } 29766 29767 // SetMultiplexSettings sets the MultiplexSettings field's value. 29768 func (s *UpdateMultiplexInput) SetMultiplexSettings(v *MultiplexSettings) *UpdateMultiplexInput { 29769 s.MultiplexSettings = v 29770 return s 29771 } 29772 29773 // SetName sets the Name field's value. 29774 func (s *UpdateMultiplexInput) SetName(v string) *UpdateMultiplexInput { 29775 s.Name = &v 29776 return s 29777 } 29778 29779 type UpdateMultiplexOutput struct { 29780 _ struct{} `type:"structure"` 29781 29782 // The multiplex object. 29783 Multiplex *Multiplex `locationName:"multiplex" type:"structure"` 29784 } 29785 29786 // String returns the string representation. 29787 // 29788 // API parameter values that are decorated as "sensitive" in the API will not 29789 // be included in the string output. The member name will be present, but the 29790 // value will be replaced with "sensitive". 29791 func (s UpdateMultiplexOutput) String() string { 29792 return awsutil.Prettify(s) 29793 } 29794 29795 // GoString returns the string representation. 29796 // 29797 // API parameter values that are decorated as "sensitive" in the API will not 29798 // be included in the string output. The member name will be present, but the 29799 // value will be replaced with "sensitive". 29800 func (s UpdateMultiplexOutput) GoString() string { 29801 return s.String() 29802 } 29803 29804 // SetMultiplex sets the Multiplex field's value. 29805 func (s *UpdateMultiplexOutput) SetMultiplex(v *Multiplex) *UpdateMultiplexOutput { 29806 s.Multiplex = v 29807 return s 29808 } 29809 29810 type UpdateMultiplexProgramInput struct { 29811 _ struct{} `type:"structure"` 29812 29813 // MultiplexId is a required field 29814 MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` 29815 29816 // Multiplex Program settings configuration. 29817 MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` 29818 29819 // ProgramName is a required field 29820 ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` 29821 } 29822 29823 // String returns the string representation. 29824 // 29825 // API parameter values that are decorated as "sensitive" in the API will not 29826 // be included in the string output. The member name will be present, but the 29827 // value will be replaced with "sensitive". 29828 func (s UpdateMultiplexProgramInput) String() string { 29829 return awsutil.Prettify(s) 29830 } 29831 29832 // GoString returns the string representation. 29833 // 29834 // API parameter values that are decorated as "sensitive" in the API will not 29835 // be included in the string output. The member name will be present, but the 29836 // value will be replaced with "sensitive". 29837 func (s UpdateMultiplexProgramInput) GoString() string { 29838 return s.String() 29839 } 29840 29841 // Validate inspects the fields of the type to determine if they are valid. 29842 func (s *UpdateMultiplexProgramInput) Validate() error { 29843 invalidParams := request.ErrInvalidParams{Context: "UpdateMultiplexProgramInput"} 29844 if s.MultiplexId == nil { 29845 invalidParams.Add(request.NewErrParamRequired("MultiplexId")) 29846 } 29847 if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { 29848 invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) 29849 } 29850 if s.ProgramName == nil { 29851 invalidParams.Add(request.NewErrParamRequired("ProgramName")) 29852 } 29853 if s.ProgramName != nil && len(*s.ProgramName) < 1 { 29854 invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) 29855 } 29856 if s.MultiplexProgramSettings != nil { 29857 if err := s.MultiplexProgramSettings.Validate(); err != nil { 29858 invalidParams.AddNested("MultiplexProgramSettings", err.(request.ErrInvalidParams)) 29859 } 29860 } 29861 29862 if invalidParams.Len() > 0 { 29863 return invalidParams 29864 } 29865 return nil 29866 } 29867 29868 // SetMultiplexId sets the MultiplexId field's value. 29869 func (s *UpdateMultiplexProgramInput) SetMultiplexId(v string) *UpdateMultiplexProgramInput { 29870 s.MultiplexId = &v 29871 return s 29872 } 29873 29874 // SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. 29875 func (s *UpdateMultiplexProgramInput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *UpdateMultiplexProgramInput { 29876 s.MultiplexProgramSettings = v 29877 return s 29878 } 29879 29880 // SetProgramName sets the ProgramName field's value. 29881 func (s *UpdateMultiplexProgramInput) SetProgramName(v string) *UpdateMultiplexProgramInput { 29882 s.ProgramName = &v 29883 return s 29884 } 29885 29886 type UpdateMultiplexProgramOutput struct { 29887 _ struct{} `type:"structure"` 29888 29889 // The multiplex program object. 29890 MultiplexProgram *MultiplexProgram `locationName:"multiplexProgram" type:"structure"` 29891 } 29892 29893 // String returns the string representation. 29894 // 29895 // API parameter values that are decorated as "sensitive" in the API will not 29896 // be included in the string output. The member name will be present, but the 29897 // value will be replaced with "sensitive". 29898 func (s UpdateMultiplexProgramOutput) String() string { 29899 return awsutil.Prettify(s) 29900 } 29901 29902 // GoString returns the string representation. 29903 // 29904 // API parameter values that are decorated as "sensitive" in the API will not 29905 // be included in the string output. The member name will be present, but the 29906 // value will be replaced with "sensitive". 29907 func (s UpdateMultiplexProgramOutput) GoString() string { 29908 return s.String() 29909 } 29910 29911 // SetMultiplexProgram sets the MultiplexProgram field's value. 29912 func (s *UpdateMultiplexProgramOutput) SetMultiplexProgram(v *MultiplexProgram) *UpdateMultiplexProgramOutput { 29913 s.MultiplexProgram = v 29914 return s 29915 } 29916 29917 type UpdateReservationInput struct { 29918 _ struct{} `type:"structure"` 29919 29920 Name *string `locationName:"name" type:"string"` 29921 29922 // ReservationId is a required field 29923 ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` 29924 } 29925 29926 // String returns the string representation. 29927 // 29928 // API parameter values that are decorated as "sensitive" in the API will not 29929 // be included in the string output. The member name will be present, but the 29930 // value will be replaced with "sensitive". 29931 func (s UpdateReservationInput) String() string { 29932 return awsutil.Prettify(s) 29933 } 29934 29935 // GoString returns the string representation. 29936 // 29937 // API parameter values that are decorated as "sensitive" in the API will not 29938 // be included in the string output. The member name will be present, but the 29939 // value will be replaced with "sensitive". 29940 func (s UpdateReservationInput) GoString() string { 29941 return s.String() 29942 } 29943 29944 // Validate inspects the fields of the type to determine if they are valid. 29945 func (s *UpdateReservationInput) Validate() error { 29946 invalidParams := request.ErrInvalidParams{Context: "UpdateReservationInput"} 29947 if s.ReservationId == nil { 29948 invalidParams.Add(request.NewErrParamRequired("ReservationId")) 29949 } 29950 if s.ReservationId != nil && len(*s.ReservationId) < 1 { 29951 invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) 29952 } 29953 29954 if invalidParams.Len() > 0 { 29955 return invalidParams 29956 } 29957 return nil 29958 } 29959 29960 // SetName sets the Name field's value. 29961 func (s *UpdateReservationInput) SetName(v string) *UpdateReservationInput { 29962 s.Name = &v 29963 return s 29964 } 29965 29966 // SetReservationId sets the ReservationId field's value. 29967 func (s *UpdateReservationInput) SetReservationId(v string) *UpdateReservationInput { 29968 s.ReservationId = &v 29969 return s 29970 } 29971 29972 type UpdateReservationOutput struct { 29973 _ struct{} `type:"structure"` 29974 29975 // Reserved resources available to use 29976 Reservation *Reservation `locationName:"reservation" type:"structure"` 29977 } 29978 29979 // String returns the string representation. 29980 // 29981 // API parameter values that are decorated as "sensitive" in the API will not 29982 // be included in the string output. The member name will be present, but the 29983 // value will be replaced with "sensitive". 29984 func (s UpdateReservationOutput) String() string { 29985 return awsutil.Prettify(s) 29986 } 29987 29988 // GoString returns the string representation. 29989 // 29990 // API parameter values that are decorated as "sensitive" in the API will not 29991 // be included in the string output. The member name will be present, but the 29992 // value will be replaced with "sensitive". 29993 func (s UpdateReservationOutput) GoString() string { 29994 return s.String() 29995 } 29996 29997 // SetReservation sets the Reservation field's value. 29998 func (s *UpdateReservationOutput) SetReservation(v *Reservation) *UpdateReservationOutput { 29999 s.Reservation = v 30000 return s 30001 } 30002 30003 type ValidationError struct { 30004 _ struct{} `type:"structure"` 30005 30006 // Path to the source of the error. 30007 ElementPath *string `locationName:"elementPath" type:"string"` 30008 30009 // The error message. 30010 ErrorMessage *string `locationName:"errorMessage" type:"string"` 30011 } 30012 30013 // String returns the string representation. 30014 // 30015 // API parameter values that are decorated as "sensitive" in the API will not 30016 // be included in the string output. The member name will be present, but the 30017 // value will be replaced with "sensitive". 30018 func (s ValidationError) String() string { 30019 return awsutil.Prettify(s) 30020 } 30021 30022 // GoString returns the string representation. 30023 // 30024 // API parameter values that are decorated as "sensitive" in the API will not 30025 // be included in the string output. The member name will be present, but the 30026 // value will be replaced with "sensitive". 30027 func (s ValidationError) GoString() string { 30028 return s.String() 30029 } 30030 30031 // SetElementPath sets the ElementPath field's value. 30032 func (s *ValidationError) SetElementPath(v string) *ValidationError { 30033 s.ElementPath = &v 30034 return s 30035 } 30036 30037 // SetErrorMessage sets the ErrorMessage field's value. 30038 func (s *ValidationError) SetErrorMessage(v string) *ValidationError { 30039 s.ErrorMessage = &v 30040 return s 30041 } 30042 30043 type VideoBlackFailoverSettings struct { 30044 _ struct{} `type:"structure"` 30045 30046 // A value used in calculating the threshold below which MediaLive considers 30047 // a pixel to be 'black'. For the input to be considered black, every pixel 30048 // in a frame must be below this threshold. The threshold is calculated as a 30049 // percentage (expressed as a decimal) of white. Therefore .1 means 10% white 30050 // (or 90% black). Note how the formula works for any color depth. For example, 30051 // if you set this field to 0.1 in 10-bit color depth: (1023*0.1=102.3), which 30052 // means a pixel value of 102 or less is 'black'. If you set this field to .1 30053 // in an 8-bit color depth: (255*0.1=25.5), which means a pixel value of 25 30054 // or less is 'black'. The range is 0.0 to 1.0, with any number of decimal places. 30055 BlackDetectThreshold *float64 `locationName:"blackDetectThreshold" type:"double"` 30056 30057 // The amount of time (in milliseconds) that the active input must be black 30058 // before automatic input failover occurs. 30059 VideoBlackThresholdMsec *int64 `locationName:"videoBlackThresholdMsec" min:"1000" type:"integer"` 30060 } 30061 30062 // String returns the string representation. 30063 // 30064 // API parameter values that are decorated as "sensitive" in the API will not 30065 // be included in the string output. The member name will be present, but the 30066 // value will be replaced with "sensitive". 30067 func (s VideoBlackFailoverSettings) String() string { 30068 return awsutil.Prettify(s) 30069 } 30070 30071 // GoString returns the string representation. 30072 // 30073 // API parameter values that are decorated as "sensitive" in the API will not 30074 // be included in the string output. The member name will be present, but the 30075 // value will be replaced with "sensitive". 30076 func (s VideoBlackFailoverSettings) GoString() string { 30077 return s.String() 30078 } 30079 30080 // Validate inspects the fields of the type to determine if they are valid. 30081 func (s *VideoBlackFailoverSettings) Validate() error { 30082 invalidParams := request.ErrInvalidParams{Context: "VideoBlackFailoverSettings"} 30083 if s.VideoBlackThresholdMsec != nil && *s.VideoBlackThresholdMsec < 1000 { 30084 invalidParams.Add(request.NewErrParamMinValue("VideoBlackThresholdMsec", 1000)) 30085 } 30086 30087 if invalidParams.Len() > 0 { 30088 return invalidParams 30089 } 30090 return nil 30091 } 30092 30093 // SetBlackDetectThreshold sets the BlackDetectThreshold field's value. 30094 func (s *VideoBlackFailoverSettings) SetBlackDetectThreshold(v float64) *VideoBlackFailoverSettings { 30095 s.BlackDetectThreshold = &v 30096 return s 30097 } 30098 30099 // SetVideoBlackThresholdMsec sets the VideoBlackThresholdMsec field's value. 30100 func (s *VideoBlackFailoverSettings) SetVideoBlackThresholdMsec(v int64) *VideoBlackFailoverSettings { 30101 s.VideoBlackThresholdMsec = &v 30102 return s 30103 } 30104 30105 // Video Codec Settings 30106 type VideoCodecSettings struct { 30107 _ struct{} `type:"structure"` 30108 30109 // Frame Capture Settings 30110 FrameCaptureSettings *FrameCaptureSettings `locationName:"frameCaptureSettings" type:"structure"` 30111 30112 // H264 Settings 30113 H264Settings *H264Settings `locationName:"h264Settings" type:"structure"` 30114 30115 // H265 Settings 30116 H265Settings *H265Settings `locationName:"h265Settings" type:"structure"` 30117 30118 // Mpeg2 Settings 30119 Mpeg2Settings *Mpeg2Settings `locationName:"mpeg2Settings" type:"structure"` 30120 } 30121 30122 // String returns the string representation. 30123 // 30124 // API parameter values that are decorated as "sensitive" in the API will not 30125 // be included in the string output. The member name will be present, but the 30126 // value will be replaced with "sensitive". 30127 func (s VideoCodecSettings) String() string { 30128 return awsutil.Prettify(s) 30129 } 30130 30131 // GoString returns the string representation. 30132 // 30133 // API parameter values that are decorated as "sensitive" in the API will not 30134 // be included in the string output. The member name will be present, but the 30135 // value will be replaced with "sensitive". 30136 func (s VideoCodecSettings) GoString() string { 30137 return s.String() 30138 } 30139 30140 // Validate inspects the fields of the type to determine if they are valid. 30141 func (s *VideoCodecSettings) Validate() error { 30142 invalidParams := request.ErrInvalidParams{Context: "VideoCodecSettings"} 30143 if s.FrameCaptureSettings != nil { 30144 if err := s.FrameCaptureSettings.Validate(); err != nil { 30145 invalidParams.AddNested("FrameCaptureSettings", err.(request.ErrInvalidParams)) 30146 } 30147 } 30148 if s.H264Settings != nil { 30149 if err := s.H264Settings.Validate(); err != nil { 30150 invalidParams.AddNested("H264Settings", err.(request.ErrInvalidParams)) 30151 } 30152 } 30153 if s.H265Settings != nil { 30154 if err := s.H265Settings.Validate(); err != nil { 30155 invalidParams.AddNested("H265Settings", err.(request.ErrInvalidParams)) 30156 } 30157 } 30158 if s.Mpeg2Settings != nil { 30159 if err := s.Mpeg2Settings.Validate(); err != nil { 30160 invalidParams.AddNested("Mpeg2Settings", err.(request.ErrInvalidParams)) 30161 } 30162 } 30163 30164 if invalidParams.Len() > 0 { 30165 return invalidParams 30166 } 30167 return nil 30168 } 30169 30170 // SetFrameCaptureSettings sets the FrameCaptureSettings field's value. 30171 func (s *VideoCodecSettings) SetFrameCaptureSettings(v *FrameCaptureSettings) *VideoCodecSettings { 30172 s.FrameCaptureSettings = v 30173 return s 30174 } 30175 30176 // SetH264Settings sets the H264Settings field's value. 30177 func (s *VideoCodecSettings) SetH264Settings(v *H264Settings) *VideoCodecSettings { 30178 s.H264Settings = v 30179 return s 30180 } 30181 30182 // SetH265Settings sets the H265Settings field's value. 30183 func (s *VideoCodecSettings) SetH265Settings(v *H265Settings) *VideoCodecSettings { 30184 s.H265Settings = v 30185 return s 30186 } 30187 30188 // SetMpeg2Settings sets the Mpeg2Settings field's value. 30189 func (s *VideoCodecSettings) SetMpeg2Settings(v *Mpeg2Settings) *VideoCodecSettings { 30190 s.Mpeg2Settings = v 30191 return s 30192 } 30193 30194 // Video settings for this stream. 30195 type VideoDescription struct { 30196 _ struct{} `type:"structure"` 30197 30198 // Video codec settings. 30199 CodecSettings *VideoCodecSettings `locationName:"codecSettings" type:"structure"` 30200 30201 // Output video height, in pixels. Must be an even number. For most codecs, 30202 // you can leave this field and width blank in order to use the height and width 30203 // (resolution) from the source. Note, however, that leaving blank is not recommended. 30204 // For the Frame Capture codec, height and width are required. 30205 Height *int64 `locationName:"height" type:"integer"` 30206 30207 // The name of this VideoDescription. Outputs will use this name to uniquely 30208 // identify this Description. Description names should be unique within this 30209 // Live Event. 30210 // 30211 // Name is a required field 30212 Name *string `locationName:"name" type:"string" required:"true"` 30213 30214 // Indicates how MediaLive will respond to the AFD values that might be in the 30215 // input video. If you do not know what AFD signaling is, or if your downstream 30216 // system has not given you guidance, choose PASSTHROUGH.RESPOND: MediaLive 30217 // clips the input video using a formula that uses the AFD values (configured 30218 // in afdSignaling ), the input display aspect ratio, and the output display 30219 // aspect ratio. MediaLive also includes the AFD values in the output, unless 30220 // the codec for this encode is FRAME_CAPTURE.PASSTHROUGH: MediaLive ignores 30221 // the AFD values and does not clip the video. But MediaLive does include the 30222 // values in the output.NONE: MediaLive does not clip the input video and does 30223 // not include the AFD values in the output 30224 RespondToAfd *string `locationName:"respondToAfd" type:"string" enum:"VideoDescriptionRespondToAfd"` 30225 30226 // STRETCH_TO_OUTPUT configures the output position to stretch the video to 30227 // the specified output resolution (height and width). This option will override 30228 // any position value. DEFAULT may insert black boxes (pillar boxes or letter 30229 // boxes) around the video to provide the specified output resolution. 30230 ScalingBehavior *string `locationName:"scalingBehavior" type:"string" enum:"VideoDescriptionScalingBehavior"` 30231 30232 // Changes the strength of the anti-alias filter used for scaling. 0 is the 30233 // softest setting, 100 is the sharpest. A setting of 50 is recommended for 30234 // most content. 30235 Sharpness *int64 `locationName:"sharpness" type:"integer"` 30236 30237 // Output video width, in pixels. Must be an even number. For most codecs, you 30238 // can leave this field and height blank in order to use the height and width 30239 // (resolution) from the source. Note, however, that leaving blank is not recommended. 30240 // For the Frame Capture codec, height and width are required. 30241 Width *int64 `locationName:"width" type:"integer"` 30242 } 30243 30244 // String returns the string representation. 30245 // 30246 // API parameter values that are decorated as "sensitive" in the API will not 30247 // be included in the string output. The member name will be present, but the 30248 // value will be replaced with "sensitive". 30249 func (s VideoDescription) String() string { 30250 return awsutil.Prettify(s) 30251 } 30252 30253 // GoString returns the string representation. 30254 // 30255 // API parameter values that are decorated as "sensitive" in the API will not 30256 // be included in the string output. The member name will be present, but the 30257 // value will be replaced with "sensitive". 30258 func (s VideoDescription) GoString() string { 30259 return s.String() 30260 } 30261 30262 // Validate inspects the fields of the type to determine if they are valid. 30263 func (s *VideoDescription) Validate() error { 30264 invalidParams := request.ErrInvalidParams{Context: "VideoDescription"} 30265 if s.Name == nil { 30266 invalidParams.Add(request.NewErrParamRequired("Name")) 30267 } 30268 if s.CodecSettings != nil { 30269 if err := s.CodecSettings.Validate(); err != nil { 30270 invalidParams.AddNested("CodecSettings", err.(request.ErrInvalidParams)) 30271 } 30272 } 30273 30274 if invalidParams.Len() > 0 { 30275 return invalidParams 30276 } 30277 return nil 30278 } 30279 30280 // SetCodecSettings sets the CodecSettings field's value. 30281 func (s *VideoDescription) SetCodecSettings(v *VideoCodecSettings) *VideoDescription { 30282 s.CodecSettings = v 30283 return s 30284 } 30285 30286 // SetHeight sets the Height field's value. 30287 func (s *VideoDescription) SetHeight(v int64) *VideoDescription { 30288 s.Height = &v 30289 return s 30290 } 30291 30292 // SetName sets the Name field's value. 30293 func (s *VideoDescription) SetName(v string) *VideoDescription { 30294 s.Name = &v 30295 return s 30296 } 30297 30298 // SetRespondToAfd sets the RespondToAfd field's value. 30299 func (s *VideoDescription) SetRespondToAfd(v string) *VideoDescription { 30300 s.RespondToAfd = &v 30301 return s 30302 } 30303 30304 // SetScalingBehavior sets the ScalingBehavior field's value. 30305 func (s *VideoDescription) SetScalingBehavior(v string) *VideoDescription { 30306 s.ScalingBehavior = &v 30307 return s 30308 } 30309 30310 // SetSharpness sets the Sharpness field's value. 30311 func (s *VideoDescription) SetSharpness(v int64) *VideoDescription { 30312 s.Sharpness = &v 30313 return s 30314 } 30315 30316 // SetWidth sets the Width field's value. 30317 func (s *VideoDescription) SetWidth(v int64) *VideoDescription { 30318 s.Width = &v 30319 return s 30320 } 30321 30322 // Specifies a particular video stream within an input source. An input may 30323 // have only a single video selector. 30324 type VideoSelector struct { 30325 _ struct{} `type:"structure"` 30326 30327 // Specifies the color space of an input. This setting works in tandem with 30328 // colorSpaceUsage and a video description's colorSpaceSettingsChoice to determine 30329 // if any conversion will be performed. 30330 ColorSpace *string `locationName:"colorSpace" type:"string" enum:"VideoSelectorColorSpace"` 30331 30332 // Color space settings 30333 ColorSpaceSettings *VideoSelectorColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` 30334 30335 // Applies only if colorSpace is a value other than follow. This field controls 30336 // how the value in the colorSpace field will be used. fallback means that when 30337 // the input does include color space data, that data will be used, but when 30338 // the input has no color space data, the value in colorSpace will be used. 30339 // Choose fallback if your input is sometimes missing color space data, but 30340 // when it does have color space data, that data is correct. force means to 30341 // always use the value in colorSpace. Choose force if your input usually has 30342 // no color space data or might have unreliable color space data. 30343 ColorSpaceUsage *string `locationName:"colorSpaceUsage" type:"string" enum:"VideoSelectorColorSpaceUsage"` 30344 30345 // The video selector settings. 30346 SelectorSettings *VideoSelectorSettings `locationName:"selectorSettings" type:"structure"` 30347 } 30348 30349 // String returns the string representation. 30350 // 30351 // API parameter values that are decorated as "sensitive" in the API will not 30352 // be included in the string output. The member name will be present, but the 30353 // value will be replaced with "sensitive". 30354 func (s VideoSelector) String() string { 30355 return awsutil.Prettify(s) 30356 } 30357 30358 // GoString returns the string representation. 30359 // 30360 // API parameter values that are decorated as "sensitive" in the API will not 30361 // be included in the string output. The member name will be present, but the 30362 // value will be replaced with "sensitive". 30363 func (s VideoSelector) GoString() string { 30364 return s.String() 30365 } 30366 30367 // SetColorSpace sets the ColorSpace field's value. 30368 func (s *VideoSelector) SetColorSpace(v string) *VideoSelector { 30369 s.ColorSpace = &v 30370 return s 30371 } 30372 30373 // SetColorSpaceSettings sets the ColorSpaceSettings field's value. 30374 func (s *VideoSelector) SetColorSpaceSettings(v *VideoSelectorColorSpaceSettings) *VideoSelector { 30375 s.ColorSpaceSettings = v 30376 return s 30377 } 30378 30379 // SetColorSpaceUsage sets the ColorSpaceUsage field's value. 30380 func (s *VideoSelector) SetColorSpaceUsage(v string) *VideoSelector { 30381 s.ColorSpaceUsage = &v 30382 return s 30383 } 30384 30385 // SetSelectorSettings sets the SelectorSettings field's value. 30386 func (s *VideoSelector) SetSelectorSettings(v *VideoSelectorSettings) *VideoSelector { 30387 s.SelectorSettings = v 30388 return s 30389 } 30390 30391 // Video Selector Color Space Settings 30392 type VideoSelectorColorSpaceSettings struct { 30393 _ struct{} `type:"structure"` 30394 30395 // Hdr10 Settings 30396 Hdr10Settings *Hdr10Settings `locationName:"hdr10Settings" type:"structure"` 30397 } 30398 30399 // String returns the string representation. 30400 // 30401 // API parameter values that are decorated as "sensitive" in the API will not 30402 // be included in the string output. The member name will be present, but the 30403 // value will be replaced with "sensitive". 30404 func (s VideoSelectorColorSpaceSettings) String() string { 30405 return awsutil.Prettify(s) 30406 } 30407 30408 // GoString returns the string representation. 30409 // 30410 // API parameter values that are decorated as "sensitive" in the API will not 30411 // be included in the string output. The member name will be present, but the 30412 // value will be replaced with "sensitive". 30413 func (s VideoSelectorColorSpaceSettings) GoString() string { 30414 return s.String() 30415 } 30416 30417 // SetHdr10Settings sets the Hdr10Settings field's value. 30418 func (s *VideoSelectorColorSpaceSettings) SetHdr10Settings(v *Hdr10Settings) *VideoSelectorColorSpaceSettings { 30419 s.Hdr10Settings = v 30420 return s 30421 } 30422 30423 // Video Selector Pid 30424 type VideoSelectorPid struct { 30425 _ struct{} `type:"structure"` 30426 30427 // Selects a specific PID from within a video source. 30428 Pid *int64 `locationName:"pid" type:"integer"` 30429 } 30430 30431 // String returns the string representation. 30432 // 30433 // API parameter values that are decorated as "sensitive" in the API will not 30434 // be included in the string output. The member name will be present, but the 30435 // value will be replaced with "sensitive". 30436 func (s VideoSelectorPid) String() string { 30437 return awsutil.Prettify(s) 30438 } 30439 30440 // GoString returns the string representation. 30441 // 30442 // API parameter values that are decorated as "sensitive" in the API will not 30443 // be included in the string output. The member name will be present, but the 30444 // value will be replaced with "sensitive". 30445 func (s VideoSelectorPid) GoString() string { 30446 return s.String() 30447 } 30448 30449 // SetPid sets the Pid field's value. 30450 func (s *VideoSelectorPid) SetPid(v int64) *VideoSelectorPid { 30451 s.Pid = &v 30452 return s 30453 } 30454 30455 // Video Selector Program Id 30456 type VideoSelectorProgramId struct { 30457 _ struct{} `type:"structure"` 30458 30459 // Selects a specific program from within a multi-program transport stream. 30460 // If the program doesn't exist, the first program within the transport stream 30461 // will be selected by default. 30462 ProgramId *int64 `locationName:"programId" type:"integer"` 30463 } 30464 30465 // String returns the string representation. 30466 // 30467 // API parameter values that are decorated as "sensitive" in the API will not 30468 // be included in the string output. The member name will be present, but the 30469 // value will be replaced with "sensitive". 30470 func (s VideoSelectorProgramId) String() string { 30471 return awsutil.Prettify(s) 30472 } 30473 30474 // GoString returns the string representation. 30475 // 30476 // API parameter values that are decorated as "sensitive" in the API will not 30477 // be included in the string output. The member name will be present, but the 30478 // value will be replaced with "sensitive". 30479 func (s VideoSelectorProgramId) GoString() string { 30480 return s.String() 30481 } 30482 30483 // SetProgramId sets the ProgramId field's value. 30484 func (s *VideoSelectorProgramId) SetProgramId(v int64) *VideoSelectorProgramId { 30485 s.ProgramId = &v 30486 return s 30487 } 30488 30489 // Video Selector Settings 30490 type VideoSelectorSettings struct { 30491 _ struct{} `type:"structure"` 30492 30493 // Video Selector Pid 30494 VideoSelectorPid *VideoSelectorPid `locationName:"videoSelectorPid" type:"structure"` 30495 30496 // Video Selector Program Id 30497 VideoSelectorProgramId *VideoSelectorProgramId `locationName:"videoSelectorProgramId" type:"structure"` 30498 } 30499 30500 // String returns the string representation. 30501 // 30502 // API parameter values that are decorated as "sensitive" in the API will not 30503 // be included in the string output. The member name will be present, but the 30504 // value will be replaced with "sensitive". 30505 func (s VideoSelectorSettings) String() string { 30506 return awsutil.Prettify(s) 30507 } 30508 30509 // GoString returns the string representation. 30510 // 30511 // API parameter values that are decorated as "sensitive" in the API will not 30512 // be included in the string output. The member name will be present, but the 30513 // value will be replaced with "sensitive". 30514 func (s VideoSelectorSettings) GoString() string { 30515 return s.String() 30516 } 30517 30518 // SetVideoSelectorPid sets the VideoSelectorPid field's value. 30519 func (s *VideoSelectorSettings) SetVideoSelectorPid(v *VideoSelectorPid) *VideoSelectorSettings { 30520 s.VideoSelectorPid = v 30521 return s 30522 } 30523 30524 // SetVideoSelectorProgramId sets the VideoSelectorProgramId field's value. 30525 func (s *VideoSelectorSettings) SetVideoSelectorProgramId(v *VideoSelectorProgramId) *VideoSelectorSettings { 30526 s.VideoSelectorProgramId = v 30527 return s 30528 } 30529 30530 // The properties for a private VPC OutputWhen this property is specified, the 30531 // output egress addresses will be created in a user specified VPC 30532 type VpcOutputSettings struct { 30533 _ struct{} `type:"structure"` 30534 30535 // List of public address allocation ids to associate with ENIs that will be 30536 // created in Output VPC.Must specify one for SINGLE_PIPELINE, two for STANDARD 30537 // channels 30538 PublicAddressAllocationIds []*string `locationName:"publicAddressAllocationIds" type:"list"` 30539 30540 // A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC 30541 // network interfaces.If none are specified then the VPC default security group 30542 // will be used 30543 SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` 30544 30545 // A list of VPC subnet IDs from the same VPC.If STANDARD channel, subnet IDs 30546 // must be mapped to two unique availability zones (AZ). 30547 // 30548 // SubnetIds is a required field 30549 SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` 30550 } 30551 30552 // String returns the string representation. 30553 // 30554 // API parameter values that are decorated as "sensitive" in the API will not 30555 // be included in the string output. The member name will be present, but the 30556 // value will be replaced with "sensitive". 30557 func (s VpcOutputSettings) String() string { 30558 return awsutil.Prettify(s) 30559 } 30560 30561 // GoString returns the string representation. 30562 // 30563 // API parameter values that are decorated as "sensitive" in the API will not 30564 // be included in the string output. The member name will be present, but the 30565 // value will be replaced with "sensitive". 30566 func (s VpcOutputSettings) GoString() string { 30567 return s.String() 30568 } 30569 30570 // Validate inspects the fields of the type to determine if they are valid. 30571 func (s *VpcOutputSettings) Validate() error { 30572 invalidParams := request.ErrInvalidParams{Context: "VpcOutputSettings"} 30573 if s.SubnetIds == nil { 30574 invalidParams.Add(request.NewErrParamRequired("SubnetIds")) 30575 } 30576 30577 if invalidParams.Len() > 0 { 30578 return invalidParams 30579 } 30580 return nil 30581 } 30582 30583 // SetPublicAddressAllocationIds sets the PublicAddressAllocationIds field's value. 30584 func (s *VpcOutputSettings) SetPublicAddressAllocationIds(v []*string) *VpcOutputSettings { 30585 s.PublicAddressAllocationIds = v 30586 return s 30587 } 30588 30589 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 30590 func (s *VpcOutputSettings) SetSecurityGroupIds(v []*string) *VpcOutputSettings { 30591 s.SecurityGroupIds = v 30592 return s 30593 } 30594 30595 // SetSubnetIds sets the SubnetIds field's value. 30596 func (s *VpcOutputSettings) SetSubnetIds(v []*string) *VpcOutputSettings { 30597 s.SubnetIds = v 30598 return s 30599 } 30600 30601 // The properties for a private VPC Output 30602 type VpcOutputSettingsDescription struct { 30603 _ struct{} `type:"structure"` 30604 30605 // The Availability Zones where the vpc subnets are located.The first Availability 30606 // Zone applies to the first subnet in the list of subnets.The second Availability 30607 // Zone applies to the second subnet. 30608 AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` 30609 30610 // A list of Elastic Network Interfaces created by MediaLive in the customer's 30611 // VPC 30612 NetworkInterfaceIds []*string `locationName:"networkInterfaceIds" type:"list"` 30613 30614 // A list of up EC2 VPC security group IDs attached to the Output VPC network 30615 // interfaces. 30616 SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` 30617 30618 // A list of VPC subnet IDs from the same VPC.If STANDARD channel, subnet IDs 30619 // must be mapped to two unique availability zones (AZ). 30620 SubnetIds []*string `locationName:"subnetIds" type:"list"` 30621 } 30622 30623 // String returns the string representation. 30624 // 30625 // API parameter values that are decorated as "sensitive" in the API will not 30626 // be included in the string output. The member name will be present, but the 30627 // value will be replaced with "sensitive". 30628 func (s VpcOutputSettingsDescription) String() string { 30629 return awsutil.Prettify(s) 30630 } 30631 30632 // GoString returns the string representation. 30633 // 30634 // API parameter values that are decorated as "sensitive" in the API will not 30635 // be included in the string output. The member name will be present, but the 30636 // value will be replaced with "sensitive". 30637 func (s VpcOutputSettingsDescription) GoString() string { 30638 return s.String() 30639 } 30640 30641 // SetAvailabilityZones sets the AvailabilityZones field's value. 30642 func (s *VpcOutputSettingsDescription) SetAvailabilityZones(v []*string) *VpcOutputSettingsDescription { 30643 s.AvailabilityZones = v 30644 return s 30645 } 30646 30647 // SetNetworkInterfaceIds sets the NetworkInterfaceIds field's value. 30648 func (s *VpcOutputSettingsDescription) SetNetworkInterfaceIds(v []*string) *VpcOutputSettingsDescription { 30649 s.NetworkInterfaceIds = v 30650 return s 30651 } 30652 30653 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 30654 func (s *VpcOutputSettingsDescription) SetSecurityGroupIds(v []*string) *VpcOutputSettingsDescription { 30655 s.SecurityGroupIds = v 30656 return s 30657 } 30658 30659 // SetSubnetIds sets the SubnetIds field's value. 30660 func (s *VpcOutputSettingsDescription) SetSubnetIds(v []*string) *VpcOutputSettingsDescription { 30661 s.SubnetIds = v 30662 return s 30663 } 30664 30665 // Wav Settings 30666 type WavSettings struct { 30667 _ struct{} `type:"structure"` 30668 30669 // Bits per sample. 30670 BitDepth *float64 `locationName:"bitDepth" type:"double"` 30671 30672 // The audio coding mode for the WAV audio. The mode determines the number of 30673 // channels in the audio. 30674 CodingMode *string `locationName:"codingMode" type:"string" enum:"WavCodingMode"` 30675 30676 // Sample rate in Hz. 30677 SampleRate *float64 `locationName:"sampleRate" type:"double"` 30678 } 30679 30680 // String returns the string representation. 30681 // 30682 // API parameter values that are decorated as "sensitive" in the API will not 30683 // be included in the string output. The member name will be present, but the 30684 // value will be replaced with "sensitive". 30685 func (s WavSettings) String() string { 30686 return awsutil.Prettify(s) 30687 } 30688 30689 // GoString returns the string representation. 30690 // 30691 // API parameter values that are decorated as "sensitive" in the API will not 30692 // be included in the string output. The member name will be present, but the 30693 // value will be replaced with "sensitive". 30694 func (s WavSettings) GoString() string { 30695 return s.String() 30696 } 30697 30698 // SetBitDepth sets the BitDepth field's value. 30699 func (s *WavSettings) SetBitDepth(v float64) *WavSettings { 30700 s.BitDepth = &v 30701 return s 30702 } 30703 30704 // SetCodingMode sets the CodingMode field's value. 30705 func (s *WavSettings) SetCodingMode(v string) *WavSettings { 30706 s.CodingMode = &v 30707 return s 30708 } 30709 30710 // SetSampleRate sets the SampleRate field's value. 30711 func (s *WavSettings) SetSampleRate(v float64) *WavSettings { 30712 s.SampleRate = &v 30713 return s 30714 } 30715 30716 // Webvtt Destination Settings 30717 type WebvttDestinationSettings struct { 30718 _ struct{} `type:"structure"` 30719 30720 // Controls whether the color and position of the source captions is passed 30721 // through to the WebVTT output captions. PASSTHROUGH - Valid only if the source 30722 // captions are EMBEDDED or TELETEXT. NO_STYLE_DATA - Don't pass through the 30723 // style. The output captions will not contain any font styling information. 30724 StyleControl *string `locationName:"styleControl" type:"string" enum:"WebvttDestinationStyleControl"` 30725 } 30726 30727 // String returns the string representation. 30728 // 30729 // API parameter values that are decorated as "sensitive" in the API will not 30730 // be included in the string output. The member name will be present, but the 30731 // value will be replaced with "sensitive". 30732 func (s WebvttDestinationSettings) String() string { 30733 return awsutil.Prettify(s) 30734 } 30735 30736 // GoString returns the string representation. 30737 // 30738 // API parameter values that are decorated as "sensitive" in the API will not 30739 // be included in the string output. The member name will be present, but the 30740 // value will be replaced with "sensitive". 30741 func (s WebvttDestinationSettings) GoString() string { 30742 return s.String() 30743 } 30744 30745 // SetStyleControl sets the StyleControl field's value. 30746 func (s *WebvttDestinationSettings) SetStyleControl(v string) *WebvttDestinationSettings { 30747 s.StyleControl = &v 30748 return s 30749 } 30750 30751 // Aac Coding Mode 30752 const ( 30753 // AacCodingModeAdReceiverMix is a AacCodingMode enum value 30754 AacCodingModeAdReceiverMix = "AD_RECEIVER_MIX" 30755 30756 // AacCodingModeCodingMode10 is a AacCodingMode enum value 30757 AacCodingModeCodingMode10 = "CODING_MODE_1_0" 30758 30759 // AacCodingModeCodingMode11 is a AacCodingMode enum value 30760 AacCodingModeCodingMode11 = "CODING_MODE_1_1" 30761 30762 // AacCodingModeCodingMode20 is a AacCodingMode enum value 30763 AacCodingModeCodingMode20 = "CODING_MODE_2_0" 30764 30765 // AacCodingModeCodingMode51 is a AacCodingMode enum value 30766 AacCodingModeCodingMode51 = "CODING_MODE_5_1" 30767 ) 30768 30769 // AacCodingMode_Values returns all elements of the AacCodingMode enum 30770 func AacCodingMode_Values() []string { 30771 return []string{ 30772 AacCodingModeAdReceiverMix, 30773 AacCodingModeCodingMode10, 30774 AacCodingModeCodingMode11, 30775 AacCodingModeCodingMode20, 30776 AacCodingModeCodingMode51, 30777 } 30778 } 30779 30780 // Aac Input Type 30781 const ( 30782 // AacInputTypeBroadcasterMixedAd is a AacInputType enum value 30783 AacInputTypeBroadcasterMixedAd = "BROADCASTER_MIXED_AD" 30784 30785 // AacInputTypeNormal is a AacInputType enum value 30786 AacInputTypeNormal = "NORMAL" 30787 ) 30788 30789 // AacInputType_Values returns all elements of the AacInputType enum 30790 func AacInputType_Values() []string { 30791 return []string{ 30792 AacInputTypeBroadcasterMixedAd, 30793 AacInputTypeNormal, 30794 } 30795 } 30796 30797 // Aac Profile 30798 const ( 30799 // AacProfileHev1 is a AacProfile enum value 30800 AacProfileHev1 = "HEV1" 30801 30802 // AacProfileHev2 is a AacProfile enum value 30803 AacProfileHev2 = "HEV2" 30804 30805 // AacProfileLc is a AacProfile enum value 30806 AacProfileLc = "LC" 30807 ) 30808 30809 // AacProfile_Values returns all elements of the AacProfile enum 30810 func AacProfile_Values() []string { 30811 return []string{ 30812 AacProfileHev1, 30813 AacProfileHev2, 30814 AacProfileLc, 30815 } 30816 } 30817 30818 // Aac Rate Control Mode 30819 const ( 30820 // AacRateControlModeCbr is a AacRateControlMode enum value 30821 AacRateControlModeCbr = "CBR" 30822 30823 // AacRateControlModeVbr is a AacRateControlMode enum value 30824 AacRateControlModeVbr = "VBR" 30825 ) 30826 30827 // AacRateControlMode_Values returns all elements of the AacRateControlMode enum 30828 func AacRateControlMode_Values() []string { 30829 return []string{ 30830 AacRateControlModeCbr, 30831 AacRateControlModeVbr, 30832 } 30833 } 30834 30835 // Aac Raw Format 30836 const ( 30837 // AacRawFormatLatmLoas is a AacRawFormat enum value 30838 AacRawFormatLatmLoas = "LATM_LOAS" 30839 30840 // AacRawFormatNone is a AacRawFormat enum value 30841 AacRawFormatNone = "NONE" 30842 ) 30843 30844 // AacRawFormat_Values returns all elements of the AacRawFormat enum 30845 func AacRawFormat_Values() []string { 30846 return []string{ 30847 AacRawFormatLatmLoas, 30848 AacRawFormatNone, 30849 } 30850 } 30851 30852 // Aac Spec 30853 const ( 30854 // AacSpecMpeg2 is a AacSpec enum value 30855 AacSpecMpeg2 = "MPEG2" 30856 30857 // AacSpecMpeg4 is a AacSpec enum value 30858 AacSpecMpeg4 = "MPEG4" 30859 ) 30860 30861 // AacSpec_Values returns all elements of the AacSpec enum 30862 func AacSpec_Values() []string { 30863 return []string{ 30864 AacSpecMpeg2, 30865 AacSpecMpeg4, 30866 } 30867 } 30868 30869 // Aac Vbr Quality 30870 const ( 30871 // AacVbrQualityHigh is a AacVbrQuality enum value 30872 AacVbrQualityHigh = "HIGH" 30873 30874 // AacVbrQualityLow is a AacVbrQuality enum value 30875 AacVbrQualityLow = "LOW" 30876 30877 // AacVbrQualityMediumHigh is a AacVbrQuality enum value 30878 AacVbrQualityMediumHigh = "MEDIUM_HIGH" 30879 30880 // AacVbrQualityMediumLow is a AacVbrQuality enum value 30881 AacVbrQualityMediumLow = "MEDIUM_LOW" 30882 ) 30883 30884 // AacVbrQuality_Values returns all elements of the AacVbrQuality enum 30885 func AacVbrQuality_Values() []string { 30886 return []string{ 30887 AacVbrQualityHigh, 30888 AacVbrQualityLow, 30889 AacVbrQualityMediumHigh, 30890 AacVbrQualityMediumLow, 30891 } 30892 } 30893 30894 // Ac3 Bitstream Mode 30895 const ( 30896 // Ac3BitstreamModeCommentary is a Ac3BitstreamMode enum value 30897 Ac3BitstreamModeCommentary = "COMMENTARY" 30898 30899 // Ac3BitstreamModeCompleteMain is a Ac3BitstreamMode enum value 30900 Ac3BitstreamModeCompleteMain = "COMPLETE_MAIN" 30901 30902 // Ac3BitstreamModeDialogue is a Ac3BitstreamMode enum value 30903 Ac3BitstreamModeDialogue = "DIALOGUE" 30904 30905 // Ac3BitstreamModeEmergency is a Ac3BitstreamMode enum value 30906 Ac3BitstreamModeEmergency = "EMERGENCY" 30907 30908 // Ac3BitstreamModeHearingImpaired is a Ac3BitstreamMode enum value 30909 Ac3BitstreamModeHearingImpaired = "HEARING_IMPAIRED" 30910 30911 // Ac3BitstreamModeMusicAndEffects is a Ac3BitstreamMode enum value 30912 Ac3BitstreamModeMusicAndEffects = "MUSIC_AND_EFFECTS" 30913 30914 // Ac3BitstreamModeVisuallyImpaired is a Ac3BitstreamMode enum value 30915 Ac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" 30916 30917 // Ac3BitstreamModeVoiceOver is a Ac3BitstreamMode enum value 30918 Ac3BitstreamModeVoiceOver = "VOICE_OVER" 30919 ) 30920 30921 // Ac3BitstreamMode_Values returns all elements of the Ac3BitstreamMode enum 30922 func Ac3BitstreamMode_Values() []string { 30923 return []string{ 30924 Ac3BitstreamModeCommentary, 30925 Ac3BitstreamModeCompleteMain, 30926 Ac3BitstreamModeDialogue, 30927 Ac3BitstreamModeEmergency, 30928 Ac3BitstreamModeHearingImpaired, 30929 Ac3BitstreamModeMusicAndEffects, 30930 Ac3BitstreamModeVisuallyImpaired, 30931 Ac3BitstreamModeVoiceOver, 30932 } 30933 } 30934 30935 // Ac3 Coding Mode 30936 const ( 30937 // Ac3CodingModeCodingMode10 is a Ac3CodingMode enum value 30938 Ac3CodingModeCodingMode10 = "CODING_MODE_1_0" 30939 30940 // Ac3CodingModeCodingMode11 is a Ac3CodingMode enum value 30941 Ac3CodingModeCodingMode11 = "CODING_MODE_1_1" 30942 30943 // Ac3CodingModeCodingMode20 is a Ac3CodingMode enum value 30944 Ac3CodingModeCodingMode20 = "CODING_MODE_2_0" 30945 30946 // Ac3CodingModeCodingMode32Lfe is a Ac3CodingMode enum value 30947 Ac3CodingModeCodingMode32Lfe = "CODING_MODE_3_2_LFE" 30948 ) 30949 30950 // Ac3CodingMode_Values returns all elements of the Ac3CodingMode enum 30951 func Ac3CodingMode_Values() []string { 30952 return []string{ 30953 Ac3CodingModeCodingMode10, 30954 Ac3CodingModeCodingMode11, 30955 Ac3CodingModeCodingMode20, 30956 Ac3CodingModeCodingMode32Lfe, 30957 } 30958 } 30959 30960 // Ac3 Drc Profile 30961 const ( 30962 // Ac3DrcProfileFilmStandard is a Ac3DrcProfile enum value 30963 Ac3DrcProfileFilmStandard = "FILM_STANDARD" 30964 30965 // Ac3DrcProfileNone is a Ac3DrcProfile enum value 30966 Ac3DrcProfileNone = "NONE" 30967 ) 30968 30969 // Ac3DrcProfile_Values returns all elements of the Ac3DrcProfile enum 30970 func Ac3DrcProfile_Values() []string { 30971 return []string{ 30972 Ac3DrcProfileFilmStandard, 30973 Ac3DrcProfileNone, 30974 } 30975 } 30976 30977 // Ac3 Lfe Filter 30978 const ( 30979 // Ac3LfeFilterDisabled is a Ac3LfeFilter enum value 30980 Ac3LfeFilterDisabled = "DISABLED" 30981 30982 // Ac3LfeFilterEnabled is a Ac3LfeFilter enum value 30983 Ac3LfeFilterEnabled = "ENABLED" 30984 ) 30985 30986 // Ac3LfeFilter_Values returns all elements of the Ac3LfeFilter enum 30987 func Ac3LfeFilter_Values() []string { 30988 return []string{ 30989 Ac3LfeFilterDisabled, 30990 Ac3LfeFilterEnabled, 30991 } 30992 } 30993 30994 // Ac3 Metadata Control 30995 const ( 30996 // Ac3MetadataControlFollowInput is a Ac3MetadataControl enum value 30997 Ac3MetadataControlFollowInput = "FOLLOW_INPUT" 30998 30999 // Ac3MetadataControlUseConfigured is a Ac3MetadataControl enum value 31000 Ac3MetadataControlUseConfigured = "USE_CONFIGURED" 31001 ) 31002 31003 // Ac3MetadataControl_Values returns all elements of the Ac3MetadataControl enum 31004 func Ac3MetadataControl_Values() []string { 31005 return []string{ 31006 Ac3MetadataControlFollowInput, 31007 Ac3MetadataControlUseConfigured, 31008 } 31009 } 31010 31011 const ( 31012 // AcceptHeaderImageJpeg is a AcceptHeader enum value 31013 AcceptHeaderImageJpeg = "image/jpeg" 31014 ) 31015 31016 // AcceptHeader_Values returns all elements of the AcceptHeader enum 31017 func AcceptHeader_Values() []string { 31018 return []string{ 31019 AcceptHeaderImageJpeg, 31020 } 31021 } 31022 31023 // Afd Signaling 31024 const ( 31025 // AfdSignalingAuto is a AfdSignaling enum value 31026 AfdSignalingAuto = "AUTO" 31027 31028 // AfdSignalingFixed is a AfdSignaling enum value 31029 AfdSignalingFixed = "FIXED" 31030 31031 // AfdSignalingNone is a AfdSignaling enum value 31032 AfdSignalingNone = "NONE" 31033 ) 31034 31035 // AfdSignaling_Values returns all elements of the AfdSignaling enum 31036 func AfdSignaling_Values() []string { 31037 return []string{ 31038 AfdSignalingAuto, 31039 AfdSignalingFixed, 31040 AfdSignalingNone, 31041 } 31042 } 31043 31044 // Audio Description Audio Type Control 31045 const ( 31046 // AudioDescriptionAudioTypeControlFollowInput is a AudioDescriptionAudioTypeControl enum value 31047 AudioDescriptionAudioTypeControlFollowInput = "FOLLOW_INPUT" 31048 31049 // AudioDescriptionAudioTypeControlUseConfigured is a AudioDescriptionAudioTypeControl enum value 31050 AudioDescriptionAudioTypeControlUseConfigured = "USE_CONFIGURED" 31051 ) 31052 31053 // AudioDescriptionAudioTypeControl_Values returns all elements of the AudioDescriptionAudioTypeControl enum 31054 func AudioDescriptionAudioTypeControl_Values() []string { 31055 return []string{ 31056 AudioDescriptionAudioTypeControlFollowInput, 31057 AudioDescriptionAudioTypeControlUseConfigured, 31058 } 31059 } 31060 31061 // Audio Description Language Code Control 31062 const ( 31063 // AudioDescriptionLanguageCodeControlFollowInput is a AudioDescriptionLanguageCodeControl enum value 31064 AudioDescriptionLanguageCodeControlFollowInput = "FOLLOW_INPUT" 31065 31066 // AudioDescriptionLanguageCodeControlUseConfigured is a AudioDescriptionLanguageCodeControl enum value 31067 AudioDescriptionLanguageCodeControlUseConfigured = "USE_CONFIGURED" 31068 ) 31069 31070 // AudioDescriptionLanguageCodeControl_Values returns all elements of the AudioDescriptionLanguageCodeControl enum 31071 func AudioDescriptionLanguageCodeControl_Values() []string { 31072 return []string{ 31073 AudioDescriptionLanguageCodeControlFollowInput, 31074 AudioDescriptionLanguageCodeControlUseConfigured, 31075 } 31076 } 31077 31078 // Audio Language Selection Policy 31079 const ( 31080 // AudioLanguageSelectionPolicyLoose is a AudioLanguageSelectionPolicy enum value 31081 AudioLanguageSelectionPolicyLoose = "LOOSE" 31082 31083 // AudioLanguageSelectionPolicyStrict is a AudioLanguageSelectionPolicy enum value 31084 AudioLanguageSelectionPolicyStrict = "STRICT" 31085 ) 31086 31087 // AudioLanguageSelectionPolicy_Values returns all elements of the AudioLanguageSelectionPolicy enum 31088 func AudioLanguageSelectionPolicy_Values() []string { 31089 return []string{ 31090 AudioLanguageSelectionPolicyLoose, 31091 AudioLanguageSelectionPolicyStrict, 31092 } 31093 } 31094 31095 // Audio Normalization Algorithm 31096 const ( 31097 // AudioNormalizationAlgorithmItu17701 is a AudioNormalizationAlgorithm enum value 31098 AudioNormalizationAlgorithmItu17701 = "ITU_1770_1" 31099 31100 // AudioNormalizationAlgorithmItu17702 is a AudioNormalizationAlgorithm enum value 31101 AudioNormalizationAlgorithmItu17702 = "ITU_1770_2" 31102 ) 31103 31104 // AudioNormalizationAlgorithm_Values returns all elements of the AudioNormalizationAlgorithm enum 31105 func AudioNormalizationAlgorithm_Values() []string { 31106 return []string{ 31107 AudioNormalizationAlgorithmItu17701, 31108 AudioNormalizationAlgorithmItu17702, 31109 } 31110 } 31111 31112 // Audio Normalization Algorithm Control 31113 const ( 31114 // AudioNormalizationAlgorithmControlCorrectAudio is a AudioNormalizationAlgorithmControl enum value 31115 AudioNormalizationAlgorithmControlCorrectAudio = "CORRECT_AUDIO" 31116 ) 31117 31118 // AudioNormalizationAlgorithmControl_Values returns all elements of the AudioNormalizationAlgorithmControl enum 31119 func AudioNormalizationAlgorithmControl_Values() []string { 31120 return []string{ 31121 AudioNormalizationAlgorithmControlCorrectAudio, 31122 } 31123 } 31124 31125 // Audio Only Hls Segment Type 31126 const ( 31127 // AudioOnlyHlsSegmentTypeAac is a AudioOnlyHlsSegmentType enum value 31128 AudioOnlyHlsSegmentTypeAac = "AAC" 31129 31130 // AudioOnlyHlsSegmentTypeFmp4 is a AudioOnlyHlsSegmentType enum value 31131 AudioOnlyHlsSegmentTypeFmp4 = "FMP4" 31132 ) 31133 31134 // AudioOnlyHlsSegmentType_Values returns all elements of the AudioOnlyHlsSegmentType enum 31135 func AudioOnlyHlsSegmentType_Values() []string { 31136 return []string{ 31137 AudioOnlyHlsSegmentTypeAac, 31138 AudioOnlyHlsSegmentTypeFmp4, 31139 } 31140 } 31141 31142 // Audio Only Hls Track Type 31143 const ( 31144 // AudioOnlyHlsTrackTypeAlternateAudioAutoSelect is a AudioOnlyHlsTrackType enum value 31145 AudioOnlyHlsTrackTypeAlternateAudioAutoSelect = "ALTERNATE_AUDIO_AUTO_SELECT" 31146 31147 // AudioOnlyHlsTrackTypeAlternateAudioAutoSelectDefault is a AudioOnlyHlsTrackType enum value 31148 AudioOnlyHlsTrackTypeAlternateAudioAutoSelectDefault = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" 31149 31150 // AudioOnlyHlsTrackTypeAlternateAudioNotAutoSelect is a AudioOnlyHlsTrackType enum value 31151 AudioOnlyHlsTrackTypeAlternateAudioNotAutoSelect = "ALTERNATE_AUDIO_NOT_AUTO_SELECT" 31152 31153 // AudioOnlyHlsTrackTypeAudioOnlyVariantStream is a AudioOnlyHlsTrackType enum value 31154 AudioOnlyHlsTrackTypeAudioOnlyVariantStream = "AUDIO_ONLY_VARIANT_STREAM" 31155 ) 31156 31157 // AudioOnlyHlsTrackType_Values returns all elements of the AudioOnlyHlsTrackType enum 31158 func AudioOnlyHlsTrackType_Values() []string { 31159 return []string{ 31160 AudioOnlyHlsTrackTypeAlternateAudioAutoSelect, 31161 AudioOnlyHlsTrackTypeAlternateAudioAutoSelectDefault, 31162 AudioOnlyHlsTrackTypeAlternateAudioNotAutoSelect, 31163 AudioOnlyHlsTrackTypeAudioOnlyVariantStream, 31164 } 31165 } 31166 31167 // Audio Type 31168 const ( 31169 // AudioTypeCleanEffects is a AudioType enum value 31170 AudioTypeCleanEffects = "CLEAN_EFFECTS" 31171 31172 // AudioTypeHearingImpaired is a AudioType enum value 31173 AudioTypeHearingImpaired = "HEARING_IMPAIRED" 31174 31175 // AudioTypeUndefined is a AudioType enum value 31176 AudioTypeUndefined = "UNDEFINED" 31177 31178 // AudioTypeVisualImpairedCommentary is a AudioType enum value 31179 AudioTypeVisualImpairedCommentary = "VISUAL_IMPAIRED_COMMENTARY" 31180 ) 31181 31182 // AudioType_Values returns all elements of the AudioType enum 31183 func AudioType_Values() []string { 31184 return []string{ 31185 AudioTypeCleanEffects, 31186 AudioTypeHearingImpaired, 31187 AudioTypeUndefined, 31188 AudioTypeVisualImpairedCommentary, 31189 } 31190 } 31191 31192 // Authentication Scheme 31193 const ( 31194 // AuthenticationSchemeAkamai is a AuthenticationScheme enum value 31195 AuthenticationSchemeAkamai = "AKAMAI" 31196 31197 // AuthenticationSchemeCommon is a AuthenticationScheme enum value 31198 AuthenticationSchemeCommon = "COMMON" 31199 ) 31200 31201 // AuthenticationScheme_Values returns all elements of the AuthenticationScheme enum 31202 func AuthenticationScheme_Values() []string { 31203 return []string{ 31204 AuthenticationSchemeAkamai, 31205 AuthenticationSchemeCommon, 31206 } 31207 } 31208 31209 // Avail Blanking State 31210 const ( 31211 // AvailBlankingStateDisabled is a AvailBlankingState enum value 31212 AvailBlankingStateDisabled = "DISABLED" 31213 31214 // AvailBlankingStateEnabled is a AvailBlankingState enum value 31215 AvailBlankingStateEnabled = "ENABLED" 31216 ) 31217 31218 // AvailBlankingState_Values returns all elements of the AvailBlankingState enum 31219 func AvailBlankingState_Values() []string { 31220 return []string{ 31221 AvailBlankingStateDisabled, 31222 AvailBlankingStateEnabled, 31223 } 31224 } 31225 31226 // Blackout Slate Network End Blackout 31227 const ( 31228 // BlackoutSlateNetworkEndBlackoutDisabled is a BlackoutSlateNetworkEndBlackout enum value 31229 BlackoutSlateNetworkEndBlackoutDisabled = "DISABLED" 31230 31231 // BlackoutSlateNetworkEndBlackoutEnabled is a BlackoutSlateNetworkEndBlackout enum value 31232 BlackoutSlateNetworkEndBlackoutEnabled = "ENABLED" 31233 ) 31234 31235 // BlackoutSlateNetworkEndBlackout_Values returns all elements of the BlackoutSlateNetworkEndBlackout enum 31236 func BlackoutSlateNetworkEndBlackout_Values() []string { 31237 return []string{ 31238 BlackoutSlateNetworkEndBlackoutDisabled, 31239 BlackoutSlateNetworkEndBlackoutEnabled, 31240 } 31241 } 31242 31243 // Blackout Slate State 31244 const ( 31245 // BlackoutSlateStateDisabled is a BlackoutSlateState enum value 31246 BlackoutSlateStateDisabled = "DISABLED" 31247 31248 // BlackoutSlateStateEnabled is a BlackoutSlateState enum value 31249 BlackoutSlateStateEnabled = "ENABLED" 31250 ) 31251 31252 // BlackoutSlateState_Values returns all elements of the BlackoutSlateState enum 31253 func BlackoutSlateState_Values() []string { 31254 return []string{ 31255 BlackoutSlateStateDisabled, 31256 BlackoutSlateStateEnabled, 31257 } 31258 } 31259 31260 // Burn In Alignment 31261 const ( 31262 // BurnInAlignmentCentered is a BurnInAlignment enum value 31263 BurnInAlignmentCentered = "CENTERED" 31264 31265 // BurnInAlignmentLeft is a BurnInAlignment enum value 31266 BurnInAlignmentLeft = "LEFT" 31267 31268 // BurnInAlignmentSmart is a BurnInAlignment enum value 31269 BurnInAlignmentSmart = "SMART" 31270 ) 31271 31272 // BurnInAlignment_Values returns all elements of the BurnInAlignment enum 31273 func BurnInAlignment_Values() []string { 31274 return []string{ 31275 BurnInAlignmentCentered, 31276 BurnInAlignmentLeft, 31277 BurnInAlignmentSmart, 31278 } 31279 } 31280 31281 // Burn In Background Color 31282 const ( 31283 // BurnInBackgroundColorBlack is a BurnInBackgroundColor enum value 31284 BurnInBackgroundColorBlack = "BLACK" 31285 31286 // BurnInBackgroundColorNone is a BurnInBackgroundColor enum value 31287 BurnInBackgroundColorNone = "NONE" 31288 31289 // BurnInBackgroundColorWhite is a BurnInBackgroundColor enum value 31290 BurnInBackgroundColorWhite = "WHITE" 31291 ) 31292 31293 // BurnInBackgroundColor_Values returns all elements of the BurnInBackgroundColor enum 31294 func BurnInBackgroundColor_Values() []string { 31295 return []string{ 31296 BurnInBackgroundColorBlack, 31297 BurnInBackgroundColorNone, 31298 BurnInBackgroundColorWhite, 31299 } 31300 } 31301 31302 // Burn In Font Color 31303 const ( 31304 // BurnInFontColorBlack is a BurnInFontColor enum value 31305 BurnInFontColorBlack = "BLACK" 31306 31307 // BurnInFontColorBlue is a BurnInFontColor enum value 31308 BurnInFontColorBlue = "BLUE" 31309 31310 // BurnInFontColorGreen is a BurnInFontColor enum value 31311 BurnInFontColorGreen = "GREEN" 31312 31313 // BurnInFontColorRed is a BurnInFontColor enum value 31314 BurnInFontColorRed = "RED" 31315 31316 // BurnInFontColorWhite is a BurnInFontColor enum value 31317 BurnInFontColorWhite = "WHITE" 31318 31319 // BurnInFontColorYellow is a BurnInFontColor enum value 31320 BurnInFontColorYellow = "YELLOW" 31321 ) 31322 31323 // BurnInFontColor_Values returns all elements of the BurnInFontColor enum 31324 func BurnInFontColor_Values() []string { 31325 return []string{ 31326 BurnInFontColorBlack, 31327 BurnInFontColorBlue, 31328 BurnInFontColorGreen, 31329 BurnInFontColorRed, 31330 BurnInFontColorWhite, 31331 BurnInFontColorYellow, 31332 } 31333 } 31334 31335 // Burn In Outline Color 31336 const ( 31337 // BurnInOutlineColorBlack is a BurnInOutlineColor enum value 31338 BurnInOutlineColorBlack = "BLACK" 31339 31340 // BurnInOutlineColorBlue is a BurnInOutlineColor enum value 31341 BurnInOutlineColorBlue = "BLUE" 31342 31343 // BurnInOutlineColorGreen is a BurnInOutlineColor enum value 31344 BurnInOutlineColorGreen = "GREEN" 31345 31346 // BurnInOutlineColorRed is a BurnInOutlineColor enum value 31347 BurnInOutlineColorRed = "RED" 31348 31349 // BurnInOutlineColorWhite is a BurnInOutlineColor enum value 31350 BurnInOutlineColorWhite = "WHITE" 31351 31352 // BurnInOutlineColorYellow is a BurnInOutlineColor enum value 31353 BurnInOutlineColorYellow = "YELLOW" 31354 ) 31355 31356 // BurnInOutlineColor_Values returns all elements of the BurnInOutlineColor enum 31357 func BurnInOutlineColor_Values() []string { 31358 return []string{ 31359 BurnInOutlineColorBlack, 31360 BurnInOutlineColorBlue, 31361 BurnInOutlineColorGreen, 31362 BurnInOutlineColorRed, 31363 BurnInOutlineColorWhite, 31364 BurnInOutlineColorYellow, 31365 } 31366 } 31367 31368 // Burn In Shadow Color 31369 const ( 31370 // BurnInShadowColorBlack is a BurnInShadowColor enum value 31371 BurnInShadowColorBlack = "BLACK" 31372 31373 // BurnInShadowColorNone is a BurnInShadowColor enum value 31374 BurnInShadowColorNone = "NONE" 31375 31376 // BurnInShadowColorWhite is a BurnInShadowColor enum value 31377 BurnInShadowColorWhite = "WHITE" 31378 ) 31379 31380 // BurnInShadowColor_Values returns all elements of the BurnInShadowColor enum 31381 func BurnInShadowColor_Values() []string { 31382 return []string{ 31383 BurnInShadowColorBlack, 31384 BurnInShadowColorNone, 31385 BurnInShadowColorWhite, 31386 } 31387 } 31388 31389 // Burn In Teletext Grid Control 31390 const ( 31391 // BurnInTeletextGridControlFixed is a BurnInTeletextGridControl enum value 31392 BurnInTeletextGridControlFixed = "FIXED" 31393 31394 // BurnInTeletextGridControlScaled is a BurnInTeletextGridControl enum value 31395 BurnInTeletextGridControlScaled = "SCALED" 31396 ) 31397 31398 // BurnInTeletextGridControl_Values returns all elements of the BurnInTeletextGridControl enum 31399 func BurnInTeletextGridControl_Values() []string { 31400 return []string{ 31401 BurnInTeletextGridControlFixed, 31402 BurnInTeletextGridControlScaled, 31403 } 31404 } 31405 31406 // Maximum CDI input resolution; SD is 480i and 576i up to 30 frames-per-second 31407 // (fps), HD is 720p up to 60 fps / 1080i up to 30 fps, FHD is 1080p up to 60 31408 // fps, UHD is 2160p up to 60 fps 31409 const ( 31410 // CdiInputResolutionSd is a CdiInputResolution enum value 31411 CdiInputResolutionSd = "SD" 31412 31413 // CdiInputResolutionHd is a CdiInputResolution enum value 31414 CdiInputResolutionHd = "HD" 31415 31416 // CdiInputResolutionFhd is a CdiInputResolution enum value 31417 CdiInputResolutionFhd = "FHD" 31418 31419 // CdiInputResolutionUhd is a CdiInputResolution enum value 31420 CdiInputResolutionUhd = "UHD" 31421 ) 31422 31423 // CdiInputResolution_Values returns all elements of the CdiInputResolution enum 31424 func CdiInputResolution_Values() []string { 31425 return []string{ 31426 CdiInputResolutionSd, 31427 CdiInputResolutionHd, 31428 CdiInputResolutionFhd, 31429 CdiInputResolutionUhd, 31430 } 31431 } 31432 31433 // A standard channel has two encoding pipelines and a single pipeline channel 31434 // only has one. 31435 const ( 31436 // ChannelClassStandard is a ChannelClass enum value 31437 ChannelClassStandard = "STANDARD" 31438 31439 // ChannelClassSinglePipeline is a ChannelClass enum value 31440 ChannelClassSinglePipeline = "SINGLE_PIPELINE" 31441 ) 31442 31443 // ChannelClass_Values returns all elements of the ChannelClass enum 31444 func ChannelClass_Values() []string { 31445 return []string{ 31446 ChannelClassStandard, 31447 ChannelClassSinglePipeline, 31448 } 31449 } 31450 31451 const ( 31452 // ChannelStateCreating is a ChannelState enum value 31453 ChannelStateCreating = "CREATING" 31454 31455 // ChannelStateCreateFailed is a ChannelState enum value 31456 ChannelStateCreateFailed = "CREATE_FAILED" 31457 31458 // ChannelStateIdle is a ChannelState enum value 31459 ChannelStateIdle = "IDLE" 31460 31461 // ChannelStateStarting is a ChannelState enum value 31462 ChannelStateStarting = "STARTING" 31463 31464 // ChannelStateRunning is a ChannelState enum value 31465 ChannelStateRunning = "RUNNING" 31466 31467 // ChannelStateRecovering is a ChannelState enum value 31468 ChannelStateRecovering = "RECOVERING" 31469 31470 // ChannelStateStopping is a ChannelState enum value 31471 ChannelStateStopping = "STOPPING" 31472 31473 // ChannelStateDeleting is a ChannelState enum value 31474 ChannelStateDeleting = "DELETING" 31475 31476 // ChannelStateDeleted is a ChannelState enum value 31477 ChannelStateDeleted = "DELETED" 31478 31479 // ChannelStateUpdating is a ChannelState enum value 31480 ChannelStateUpdating = "UPDATING" 31481 31482 // ChannelStateUpdateFailed is a ChannelState enum value 31483 ChannelStateUpdateFailed = "UPDATE_FAILED" 31484 ) 31485 31486 // ChannelState_Values returns all elements of the ChannelState enum 31487 func ChannelState_Values() []string { 31488 return []string{ 31489 ChannelStateCreating, 31490 ChannelStateCreateFailed, 31491 ChannelStateIdle, 31492 ChannelStateStarting, 31493 ChannelStateRunning, 31494 ChannelStateRecovering, 31495 ChannelStateStopping, 31496 ChannelStateDeleting, 31497 ChannelStateDeleted, 31498 ChannelStateUpdating, 31499 ChannelStateUpdateFailed, 31500 } 31501 } 31502 31503 const ( 31504 // ContentTypeImageJpeg is a ContentType enum value 31505 ContentTypeImageJpeg = "image/jpeg" 31506 ) 31507 31508 // ContentType_Values returns all elements of the ContentType enum 31509 func ContentType_Values() []string { 31510 return []string{ 31511 ContentTypeImageJpeg, 31512 } 31513 } 31514 31515 // The status of the action to synchronize the device configuration. If you 31516 // change the configuration of the input device (for example, the maximum bitrate), 31517 // MediaLive sends the new data to the device. The device might not update itself 31518 // immediately. SYNCED means the device has updated its configuration. SYNCING 31519 // means that it has not updated its configuration. 31520 const ( 31521 // DeviceSettingsSyncStateSynced is a DeviceSettingsSyncState enum value 31522 DeviceSettingsSyncStateSynced = "SYNCED" 31523 31524 // DeviceSettingsSyncStateSyncing is a DeviceSettingsSyncState enum value 31525 DeviceSettingsSyncStateSyncing = "SYNCING" 31526 ) 31527 31528 // DeviceSettingsSyncState_Values returns all elements of the DeviceSettingsSyncState enum 31529 func DeviceSettingsSyncState_Values() []string { 31530 return []string{ 31531 DeviceSettingsSyncStateSynced, 31532 DeviceSettingsSyncStateSyncing, 31533 } 31534 } 31535 31536 // The status of software on the input device. 31537 const ( 31538 // DeviceUpdateStatusUpToDate is a DeviceUpdateStatus enum value 31539 DeviceUpdateStatusUpToDate = "UP_TO_DATE" 31540 31541 // DeviceUpdateStatusNotUpToDate is a DeviceUpdateStatus enum value 31542 DeviceUpdateStatusNotUpToDate = "NOT_UP_TO_DATE" 31543 ) 31544 31545 // DeviceUpdateStatus_Values returns all elements of the DeviceUpdateStatus enum 31546 func DeviceUpdateStatus_Values() []string { 31547 return []string{ 31548 DeviceUpdateStatusUpToDate, 31549 DeviceUpdateStatusNotUpToDate, 31550 } 31551 } 31552 31553 // Dvb Sdt Output Sdt 31554 const ( 31555 // DvbSdtOutputSdtSdtFollow is a DvbSdtOutputSdt enum value 31556 DvbSdtOutputSdtSdtFollow = "SDT_FOLLOW" 31557 31558 // DvbSdtOutputSdtSdtFollowIfPresent is a DvbSdtOutputSdt enum value 31559 DvbSdtOutputSdtSdtFollowIfPresent = "SDT_FOLLOW_IF_PRESENT" 31560 31561 // DvbSdtOutputSdtSdtManual is a DvbSdtOutputSdt enum value 31562 DvbSdtOutputSdtSdtManual = "SDT_MANUAL" 31563 31564 // DvbSdtOutputSdtSdtNone is a DvbSdtOutputSdt enum value 31565 DvbSdtOutputSdtSdtNone = "SDT_NONE" 31566 ) 31567 31568 // DvbSdtOutputSdt_Values returns all elements of the DvbSdtOutputSdt enum 31569 func DvbSdtOutputSdt_Values() []string { 31570 return []string{ 31571 DvbSdtOutputSdtSdtFollow, 31572 DvbSdtOutputSdtSdtFollowIfPresent, 31573 DvbSdtOutputSdtSdtManual, 31574 DvbSdtOutputSdtSdtNone, 31575 } 31576 } 31577 31578 // Dvb Sub Destination Alignment 31579 const ( 31580 // DvbSubDestinationAlignmentCentered is a DvbSubDestinationAlignment enum value 31581 DvbSubDestinationAlignmentCentered = "CENTERED" 31582 31583 // DvbSubDestinationAlignmentLeft is a DvbSubDestinationAlignment enum value 31584 DvbSubDestinationAlignmentLeft = "LEFT" 31585 31586 // DvbSubDestinationAlignmentSmart is a DvbSubDestinationAlignment enum value 31587 DvbSubDestinationAlignmentSmart = "SMART" 31588 ) 31589 31590 // DvbSubDestinationAlignment_Values returns all elements of the DvbSubDestinationAlignment enum 31591 func DvbSubDestinationAlignment_Values() []string { 31592 return []string{ 31593 DvbSubDestinationAlignmentCentered, 31594 DvbSubDestinationAlignmentLeft, 31595 DvbSubDestinationAlignmentSmart, 31596 } 31597 } 31598 31599 // Dvb Sub Destination Background Color 31600 const ( 31601 // DvbSubDestinationBackgroundColorBlack is a DvbSubDestinationBackgroundColor enum value 31602 DvbSubDestinationBackgroundColorBlack = "BLACK" 31603 31604 // DvbSubDestinationBackgroundColorNone is a DvbSubDestinationBackgroundColor enum value 31605 DvbSubDestinationBackgroundColorNone = "NONE" 31606 31607 // DvbSubDestinationBackgroundColorWhite is a DvbSubDestinationBackgroundColor enum value 31608 DvbSubDestinationBackgroundColorWhite = "WHITE" 31609 ) 31610 31611 // DvbSubDestinationBackgroundColor_Values returns all elements of the DvbSubDestinationBackgroundColor enum 31612 func DvbSubDestinationBackgroundColor_Values() []string { 31613 return []string{ 31614 DvbSubDestinationBackgroundColorBlack, 31615 DvbSubDestinationBackgroundColorNone, 31616 DvbSubDestinationBackgroundColorWhite, 31617 } 31618 } 31619 31620 // Dvb Sub Destination Font Color 31621 const ( 31622 // DvbSubDestinationFontColorBlack is a DvbSubDestinationFontColor enum value 31623 DvbSubDestinationFontColorBlack = "BLACK" 31624 31625 // DvbSubDestinationFontColorBlue is a DvbSubDestinationFontColor enum value 31626 DvbSubDestinationFontColorBlue = "BLUE" 31627 31628 // DvbSubDestinationFontColorGreen is a DvbSubDestinationFontColor enum value 31629 DvbSubDestinationFontColorGreen = "GREEN" 31630 31631 // DvbSubDestinationFontColorRed is a DvbSubDestinationFontColor enum value 31632 DvbSubDestinationFontColorRed = "RED" 31633 31634 // DvbSubDestinationFontColorWhite is a DvbSubDestinationFontColor enum value 31635 DvbSubDestinationFontColorWhite = "WHITE" 31636 31637 // DvbSubDestinationFontColorYellow is a DvbSubDestinationFontColor enum value 31638 DvbSubDestinationFontColorYellow = "YELLOW" 31639 ) 31640 31641 // DvbSubDestinationFontColor_Values returns all elements of the DvbSubDestinationFontColor enum 31642 func DvbSubDestinationFontColor_Values() []string { 31643 return []string{ 31644 DvbSubDestinationFontColorBlack, 31645 DvbSubDestinationFontColorBlue, 31646 DvbSubDestinationFontColorGreen, 31647 DvbSubDestinationFontColorRed, 31648 DvbSubDestinationFontColorWhite, 31649 DvbSubDestinationFontColorYellow, 31650 } 31651 } 31652 31653 // Dvb Sub Destination Outline Color 31654 const ( 31655 // DvbSubDestinationOutlineColorBlack is a DvbSubDestinationOutlineColor enum value 31656 DvbSubDestinationOutlineColorBlack = "BLACK" 31657 31658 // DvbSubDestinationOutlineColorBlue is a DvbSubDestinationOutlineColor enum value 31659 DvbSubDestinationOutlineColorBlue = "BLUE" 31660 31661 // DvbSubDestinationOutlineColorGreen is a DvbSubDestinationOutlineColor enum value 31662 DvbSubDestinationOutlineColorGreen = "GREEN" 31663 31664 // DvbSubDestinationOutlineColorRed is a DvbSubDestinationOutlineColor enum value 31665 DvbSubDestinationOutlineColorRed = "RED" 31666 31667 // DvbSubDestinationOutlineColorWhite is a DvbSubDestinationOutlineColor enum value 31668 DvbSubDestinationOutlineColorWhite = "WHITE" 31669 31670 // DvbSubDestinationOutlineColorYellow is a DvbSubDestinationOutlineColor enum value 31671 DvbSubDestinationOutlineColorYellow = "YELLOW" 31672 ) 31673 31674 // DvbSubDestinationOutlineColor_Values returns all elements of the DvbSubDestinationOutlineColor enum 31675 func DvbSubDestinationOutlineColor_Values() []string { 31676 return []string{ 31677 DvbSubDestinationOutlineColorBlack, 31678 DvbSubDestinationOutlineColorBlue, 31679 DvbSubDestinationOutlineColorGreen, 31680 DvbSubDestinationOutlineColorRed, 31681 DvbSubDestinationOutlineColorWhite, 31682 DvbSubDestinationOutlineColorYellow, 31683 } 31684 } 31685 31686 // Dvb Sub Destination Shadow Color 31687 const ( 31688 // DvbSubDestinationShadowColorBlack is a DvbSubDestinationShadowColor enum value 31689 DvbSubDestinationShadowColorBlack = "BLACK" 31690 31691 // DvbSubDestinationShadowColorNone is a DvbSubDestinationShadowColor enum value 31692 DvbSubDestinationShadowColorNone = "NONE" 31693 31694 // DvbSubDestinationShadowColorWhite is a DvbSubDestinationShadowColor enum value 31695 DvbSubDestinationShadowColorWhite = "WHITE" 31696 ) 31697 31698 // DvbSubDestinationShadowColor_Values returns all elements of the DvbSubDestinationShadowColor enum 31699 func DvbSubDestinationShadowColor_Values() []string { 31700 return []string{ 31701 DvbSubDestinationShadowColorBlack, 31702 DvbSubDestinationShadowColorNone, 31703 DvbSubDestinationShadowColorWhite, 31704 } 31705 } 31706 31707 // Dvb Sub Destination Teletext Grid Control 31708 const ( 31709 // DvbSubDestinationTeletextGridControlFixed is a DvbSubDestinationTeletextGridControl enum value 31710 DvbSubDestinationTeletextGridControlFixed = "FIXED" 31711 31712 // DvbSubDestinationTeletextGridControlScaled is a DvbSubDestinationTeletextGridControl enum value 31713 DvbSubDestinationTeletextGridControlScaled = "SCALED" 31714 ) 31715 31716 // DvbSubDestinationTeletextGridControl_Values returns all elements of the DvbSubDestinationTeletextGridControl enum 31717 func DvbSubDestinationTeletextGridControl_Values() []string { 31718 return []string{ 31719 DvbSubDestinationTeletextGridControlFixed, 31720 DvbSubDestinationTeletextGridControlScaled, 31721 } 31722 } 31723 31724 // Dvb Sub Ocr Language 31725 const ( 31726 // DvbSubOcrLanguageDeu is a DvbSubOcrLanguage enum value 31727 DvbSubOcrLanguageDeu = "DEU" 31728 31729 // DvbSubOcrLanguageEng is a DvbSubOcrLanguage enum value 31730 DvbSubOcrLanguageEng = "ENG" 31731 31732 // DvbSubOcrLanguageFra is a DvbSubOcrLanguage enum value 31733 DvbSubOcrLanguageFra = "FRA" 31734 31735 // DvbSubOcrLanguageNld is a DvbSubOcrLanguage enum value 31736 DvbSubOcrLanguageNld = "NLD" 31737 31738 // DvbSubOcrLanguagePor is a DvbSubOcrLanguage enum value 31739 DvbSubOcrLanguagePor = "POR" 31740 31741 // DvbSubOcrLanguageSpa is a DvbSubOcrLanguage enum value 31742 DvbSubOcrLanguageSpa = "SPA" 31743 ) 31744 31745 // DvbSubOcrLanguage_Values returns all elements of the DvbSubOcrLanguage enum 31746 func DvbSubOcrLanguage_Values() []string { 31747 return []string{ 31748 DvbSubOcrLanguageDeu, 31749 DvbSubOcrLanguageEng, 31750 DvbSubOcrLanguageFra, 31751 DvbSubOcrLanguageNld, 31752 DvbSubOcrLanguagePor, 31753 DvbSubOcrLanguageSpa, 31754 } 31755 } 31756 31757 // Eac3 Attenuation Control 31758 const ( 31759 // Eac3AttenuationControlAttenuate3Db is a Eac3AttenuationControl enum value 31760 Eac3AttenuationControlAttenuate3Db = "ATTENUATE_3_DB" 31761 31762 // Eac3AttenuationControlNone is a Eac3AttenuationControl enum value 31763 Eac3AttenuationControlNone = "NONE" 31764 ) 31765 31766 // Eac3AttenuationControl_Values returns all elements of the Eac3AttenuationControl enum 31767 func Eac3AttenuationControl_Values() []string { 31768 return []string{ 31769 Eac3AttenuationControlAttenuate3Db, 31770 Eac3AttenuationControlNone, 31771 } 31772 } 31773 31774 // Eac3 Bitstream Mode 31775 const ( 31776 // Eac3BitstreamModeCommentary is a Eac3BitstreamMode enum value 31777 Eac3BitstreamModeCommentary = "COMMENTARY" 31778 31779 // Eac3BitstreamModeCompleteMain is a Eac3BitstreamMode enum value 31780 Eac3BitstreamModeCompleteMain = "COMPLETE_MAIN" 31781 31782 // Eac3BitstreamModeEmergency is a Eac3BitstreamMode enum value 31783 Eac3BitstreamModeEmergency = "EMERGENCY" 31784 31785 // Eac3BitstreamModeHearingImpaired is a Eac3BitstreamMode enum value 31786 Eac3BitstreamModeHearingImpaired = "HEARING_IMPAIRED" 31787 31788 // Eac3BitstreamModeVisuallyImpaired is a Eac3BitstreamMode enum value 31789 Eac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" 31790 ) 31791 31792 // Eac3BitstreamMode_Values returns all elements of the Eac3BitstreamMode enum 31793 func Eac3BitstreamMode_Values() []string { 31794 return []string{ 31795 Eac3BitstreamModeCommentary, 31796 Eac3BitstreamModeCompleteMain, 31797 Eac3BitstreamModeEmergency, 31798 Eac3BitstreamModeHearingImpaired, 31799 Eac3BitstreamModeVisuallyImpaired, 31800 } 31801 } 31802 31803 // Eac3 Coding Mode 31804 const ( 31805 // Eac3CodingModeCodingMode10 is a Eac3CodingMode enum value 31806 Eac3CodingModeCodingMode10 = "CODING_MODE_1_0" 31807 31808 // Eac3CodingModeCodingMode20 is a Eac3CodingMode enum value 31809 Eac3CodingModeCodingMode20 = "CODING_MODE_2_0" 31810 31811 // Eac3CodingModeCodingMode32 is a Eac3CodingMode enum value 31812 Eac3CodingModeCodingMode32 = "CODING_MODE_3_2" 31813 ) 31814 31815 // Eac3CodingMode_Values returns all elements of the Eac3CodingMode enum 31816 func Eac3CodingMode_Values() []string { 31817 return []string{ 31818 Eac3CodingModeCodingMode10, 31819 Eac3CodingModeCodingMode20, 31820 Eac3CodingModeCodingMode32, 31821 } 31822 } 31823 31824 // Eac3 Dc Filter 31825 const ( 31826 // Eac3DcFilterDisabled is a Eac3DcFilter enum value 31827 Eac3DcFilterDisabled = "DISABLED" 31828 31829 // Eac3DcFilterEnabled is a Eac3DcFilter enum value 31830 Eac3DcFilterEnabled = "ENABLED" 31831 ) 31832 31833 // Eac3DcFilter_Values returns all elements of the Eac3DcFilter enum 31834 func Eac3DcFilter_Values() []string { 31835 return []string{ 31836 Eac3DcFilterDisabled, 31837 Eac3DcFilterEnabled, 31838 } 31839 } 31840 31841 // Eac3 Drc Line 31842 const ( 31843 // Eac3DrcLineFilmLight is a Eac3DrcLine enum value 31844 Eac3DrcLineFilmLight = "FILM_LIGHT" 31845 31846 // Eac3DrcLineFilmStandard is a Eac3DrcLine enum value 31847 Eac3DrcLineFilmStandard = "FILM_STANDARD" 31848 31849 // Eac3DrcLineMusicLight is a Eac3DrcLine enum value 31850 Eac3DrcLineMusicLight = "MUSIC_LIGHT" 31851 31852 // Eac3DrcLineMusicStandard is a Eac3DrcLine enum value 31853 Eac3DrcLineMusicStandard = "MUSIC_STANDARD" 31854 31855 // Eac3DrcLineNone is a Eac3DrcLine enum value 31856 Eac3DrcLineNone = "NONE" 31857 31858 // Eac3DrcLineSpeech is a Eac3DrcLine enum value 31859 Eac3DrcLineSpeech = "SPEECH" 31860 ) 31861 31862 // Eac3DrcLine_Values returns all elements of the Eac3DrcLine enum 31863 func Eac3DrcLine_Values() []string { 31864 return []string{ 31865 Eac3DrcLineFilmLight, 31866 Eac3DrcLineFilmStandard, 31867 Eac3DrcLineMusicLight, 31868 Eac3DrcLineMusicStandard, 31869 Eac3DrcLineNone, 31870 Eac3DrcLineSpeech, 31871 } 31872 } 31873 31874 // Eac3 Drc Rf 31875 const ( 31876 // Eac3DrcRfFilmLight is a Eac3DrcRf enum value 31877 Eac3DrcRfFilmLight = "FILM_LIGHT" 31878 31879 // Eac3DrcRfFilmStandard is a Eac3DrcRf enum value 31880 Eac3DrcRfFilmStandard = "FILM_STANDARD" 31881 31882 // Eac3DrcRfMusicLight is a Eac3DrcRf enum value 31883 Eac3DrcRfMusicLight = "MUSIC_LIGHT" 31884 31885 // Eac3DrcRfMusicStandard is a Eac3DrcRf enum value 31886 Eac3DrcRfMusicStandard = "MUSIC_STANDARD" 31887 31888 // Eac3DrcRfNone is a Eac3DrcRf enum value 31889 Eac3DrcRfNone = "NONE" 31890 31891 // Eac3DrcRfSpeech is a Eac3DrcRf enum value 31892 Eac3DrcRfSpeech = "SPEECH" 31893 ) 31894 31895 // Eac3DrcRf_Values returns all elements of the Eac3DrcRf enum 31896 func Eac3DrcRf_Values() []string { 31897 return []string{ 31898 Eac3DrcRfFilmLight, 31899 Eac3DrcRfFilmStandard, 31900 Eac3DrcRfMusicLight, 31901 Eac3DrcRfMusicStandard, 31902 Eac3DrcRfNone, 31903 Eac3DrcRfSpeech, 31904 } 31905 } 31906 31907 // Eac3 Lfe Control 31908 const ( 31909 // Eac3LfeControlLfe is a Eac3LfeControl enum value 31910 Eac3LfeControlLfe = "LFE" 31911 31912 // Eac3LfeControlNoLfe is a Eac3LfeControl enum value 31913 Eac3LfeControlNoLfe = "NO_LFE" 31914 ) 31915 31916 // Eac3LfeControl_Values returns all elements of the Eac3LfeControl enum 31917 func Eac3LfeControl_Values() []string { 31918 return []string{ 31919 Eac3LfeControlLfe, 31920 Eac3LfeControlNoLfe, 31921 } 31922 } 31923 31924 // Eac3 Lfe Filter 31925 const ( 31926 // Eac3LfeFilterDisabled is a Eac3LfeFilter enum value 31927 Eac3LfeFilterDisabled = "DISABLED" 31928 31929 // Eac3LfeFilterEnabled is a Eac3LfeFilter enum value 31930 Eac3LfeFilterEnabled = "ENABLED" 31931 ) 31932 31933 // Eac3LfeFilter_Values returns all elements of the Eac3LfeFilter enum 31934 func Eac3LfeFilter_Values() []string { 31935 return []string{ 31936 Eac3LfeFilterDisabled, 31937 Eac3LfeFilterEnabled, 31938 } 31939 } 31940 31941 // Eac3 Metadata Control 31942 const ( 31943 // Eac3MetadataControlFollowInput is a Eac3MetadataControl enum value 31944 Eac3MetadataControlFollowInput = "FOLLOW_INPUT" 31945 31946 // Eac3MetadataControlUseConfigured is a Eac3MetadataControl enum value 31947 Eac3MetadataControlUseConfigured = "USE_CONFIGURED" 31948 ) 31949 31950 // Eac3MetadataControl_Values returns all elements of the Eac3MetadataControl enum 31951 func Eac3MetadataControl_Values() []string { 31952 return []string{ 31953 Eac3MetadataControlFollowInput, 31954 Eac3MetadataControlUseConfigured, 31955 } 31956 } 31957 31958 // Eac3 Passthrough Control 31959 const ( 31960 // Eac3PassthroughControlNoPassthrough is a Eac3PassthroughControl enum value 31961 Eac3PassthroughControlNoPassthrough = "NO_PASSTHROUGH" 31962 31963 // Eac3PassthroughControlWhenPossible is a Eac3PassthroughControl enum value 31964 Eac3PassthroughControlWhenPossible = "WHEN_POSSIBLE" 31965 ) 31966 31967 // Eac3PassthroughControl_Values returns all elements of the Eac3PassthroughControl enum 31968 func Eac3PassthroughControl_Values() []string { 31969 return []string{ 31970 Eac3PassthroughControlNoPassthrough, 31971 Eac3PassthroughControlWhenPossible, 31972 } 31973 } 31974 31975 // Eac3 Phase Control 31976 const ( 31977 // Eac3PhaseControlNoShift is a Eac3PhaseControl enum value 31978 Eac3PhaseControlNoShift = "NO_SHIFT" 31979 31980 // Eac3PhaseControlShift90Degrees is a Eac3PhaseControl enum value 31981 Eac3PhaseControlShift90Degrees = "SHIFT_90_DEGREES" 31982 ) 31983 31984 // Eac3PhaseControl_Values returns all elements of the Eac3PhaseControl enum 31985 func Eac3PhaseControl_Values() []string { 31986 return []string{ 31987 Eac3PhaseControlNoShift, 31988 Eac3PhaseControlShift90Degrees, 31989 } 31990 } 31991 31992 // Eac3 Stereo Downmix 31993 const ( 31994 // Eac3StereoDownmixDpl2 is a Eac3StereoDownmix enum value 31995 Eac3StereoDownmixDpl2 = "DPL2" 31996 31997 // Eac3StereoDownmixLoRo is a Eac3StereoDownmix enum value 31998 Eac3StereoDownmixLoRo = "LO_RO" 31999 32000 // Eac3StereoDownmixLtRt is a Eac3StereoDownmix enum value 32001 Eac3StereoDownmixLtRt = "LT_RT" 32002 32003 // Eac3StereoDownmixNotIndicated is a Eac3StereoDownmix enum value 32004 Eac3StereoDownmixNotIndicated = "NOT_INDICATED" 32005 ) 32006 32007 // Eac3StereoDownmix_Values returns all elements of the Eac3StereoDownmix enum 32008 func Eac3StereoDownmix_Values() []string { 32009 return []string{ 32010 Eac3StereoDownmixDpl2, 32011 Eac3StereoDownmixLoRo, 32012 Eac3StereoDownmixLtRt, 32013 Eac3StereoDownmixNotIndicated, 32014 } 32015 } 32016 32017 // Eac3 Surround Ex Mode 32018 const ( 32019 // Eac3SurroundExModeDisabled is a Eac3SurroundExMode enum value 32020 Eac3SurroundExModeDisabled = "DISABLED" 32021 32022 // Eac3SurroundExModeEnabled is a Eac3SurroundExMode enum value 32023 Eac3SurroundExModeEnabled = "ENABLED" 32024 32025 // Eac3SurroundExModeNotIndicated is a Eac3SurroundExMode enum value 32026 Eac3SurroundExModeNotIndicated = "NOT_INDICATED" 32027 ) 32028 32029 // Eac3SurroundExMode_Values returns all elements of the Eac3SurroundExMode enum 32030 func Eac3SurroundExMode_Values() []string { 32031 return []string{ 32032 Eac3SurroundExModeDisabled, 32033 Eac3SurroundExModeEnabled, 32034 Eac3SurroundExModeNotIndicated, 32035 } 32036 } 32037 32038 // Eac3 Surround Mode 32039 const ( 32040 // Eac3SurroundModeDisabled is a Eac3SurroundMode enum value 32041 Eac3SurroundModeDisabled = "DISABLED" 32042 32043 // Eac3SurroundModeEnabled is a Eac3SurroundMode enum value 32044 Eac3SurroundModeEnabled = "ENABLED" 32045 32046 // Eac3SurroundModeNotIndicated is a Eac3SurroundMode enum value 32047 Eac3SurroundModeNotIndicated = "NOT_INDICATED" 32048 ) 32049 32050 // Eac3SurroundMode_Values returns all elements of the Eac3SurroundMode enum 32051 func Eac3SurroundMode_Values() []string { 32052 return []string{ 32053 Eac3SurroundModeDisabled, 32054 Eac3SurroundModeEnabled, 32055 Eac3SurroundModeNotIndicated, 32056 } 32057 } 32058 32059 // Ebu Tt DDestination Style Control 32060 const ( 32061 // EbuTtDDestinationStyleControlExclude is a EbuTtDDestinationStyleControl enum value 32062 EbuTtDDestinationStyleControlExclude = "EXCLUDE" 32063 32064 // EbuTtDDestinationStyleControlInclude is a EbuTtDDestinationStyleControl enum value 32065 EbuTtDDestinationStyleControlInclude = "INCLUDE" 32066 ) 32067 32068 // EbuTtDDestinationStyleControl_Values returns all elements of the EbuTtDDestinationStyleControl enum 32069 func EbuTtDDestinationStyleControl_Values() []string { 32070 return []string{ 32071 EbuTtDDestinationStyleControlExclude, 32072 EbuTtDDestinationStyleControlInclude, 32073 } 32074 } 32075 32076 // Ebu Tt DFill Line Gap Control 32077 const ( 32078 // EbuTtDFillLineGapControlDisabled is a EbuTtDFillLineGapControl enum value 32079 EbuTtDFillLineGapControlDisabled = "DISABLED" 32080 32081 // EbuTtDFillLineGapControlEnabled is a EbuTtDFillLineGapControl enum value 32082 EbuTtDFillLineGapControlEnabled = "ENABLED" 32083 ) 32084 32085 // EbuTtDFillLineGapControl_Values returns all elements of the EbuTtDFillLineGapControl enum 32086 func EbuTtDFillLineGapControl_Values() []string { 32087 return []string{ 32088 EbuTtDFillLineGapControlDisabled, 32089 EbuTtDFillLineGapControlEnabled, 32090 } 32091 } 32092 32093 // Embedded Convert608 To708 32094 const ( 32095 // EmbeddedConvert608To708Disabled is a EmbeddedConvert608To708 enum value 32096 EmbeddedConvert608To708Disabled = "DISABLED" 32097 32098 // EmbeddedConvert608To708Upconvert is a EmbeddedConvert608To708 enum value 32099 EmbeddedConvert608To708Upconvert = "UPCONVERT" 32100 ) 32101 32102 // EmbeddedConvert608To708_Values returns all elements of the EmbeddedConvert608To708 enum 32103 func EmbeddedConvert608To708_Values() []string { 32104 return []string{ 32105 EmbeddedConvert608To708Disabled, 32106 EmbeddedConvert608To708Upconvert, 32107 } 32108 } 32109 32110 // Embedded Scte20 Detection 32111 const ( 32112 // EmbeddedScte20DetectionAuto is a EmbeddedScte20Detection enum value 32113 EmbeddedScte20DetectionAuto = "AUTO" 32114 32115 // EmbeddedScte20DetectionOff is a EmbeddedScte20Detection enum value 32116 EmbeddedScte20DetectionOff = "OFF" 32117 ) 32118 32119 // EmbeddedScte20Detection_Values returns all elements of the EmbeddedScte20Detection enum 32120 func EmbeddedScte20Detection_Values() []string { 32121 return []string{ 32122 EmbeddedScte20DetectionAuto, 32123 EmbeddedScte20DetectionOff, 32124 } 32125 } 32126 32127 // Feature Activations Input Prepare Schedule Actions 32128 const ( 32129 // FeatureActivationsInputPrepareScheduleActionsDisabled is a FeatureActivationsInputPrepareScheduleActions enum value 32130 FeatureActivationsInputPrepareScheduleActionsDisabled = "DISABLED" 32131 32132 // FeatureActivationsInputPrepareScheduleActionsEnabled is a FeatureActivationsInputPrepareScheduleActions enum value 32133 FeatureActivationsInputPrepareScheduleActionsEnabled = "ENABLED" 32134 ) 32135 32136 // FeatureActivationsInputPrepareScheduleActions_Values returns all elements of the FeatureActivationsInputPrepareScheduleActions enum 32137 func FeatureActivationsInputPrepareScheduleActions_Values() []string { 32138 return []string{ 32139 FeatureActivationsInputPrepareScheduleActionsDisabled, 32140 FeatureActivationsInputPrepareScheduleActionsEnabled, 32141 } 32142 } 32143 32144 // Fec Output Include Fec 32145 const ( 32146 // FecOutputIncludeFecColumn is a FecOutputIncludeFec enum value 32147 FecOutputIncludeFecColumn = "COLUMN" 32148 32149 // FecOutputIncludeFecColumnAndRow is a FecOutputIncludeFec enum value 32150 FecOutputIncludeFecColumnAndRow = "COLUMN_AND_ROW" 32151 ) 32152 32153 // FecOutputIncludeFec_Values returns all elements of the FecOutputIncludeFec enum 32154 func FecOutputIncludeFec_Values() []string { 32155 return []string{ 32156 FecOutputIncludeFecColumn, 32157 FecOutputIncludeFecColumnAndRow, 32158 } 32159 } 32160 32161 // Fixed Afd 32162 const ( 32163 // FixedAfdAfd0000 is a FixedAfd enum value 32164 FixedAfdAfd0000 = "AFD_0000" 32165 32166 // FixedAfdAfd0010 is a FixedAfd enum value 32167 FixedAfdAfd0010 = "AFD_0010" 32168 32169 // FixedAfdAfd0011 is a FixedAfd enum value 32170 FixedAfdAfd0011 = "AFD_0011" 32171 32172 // FixedAfdAfd0100 is a FixedAfd enum value 32173 FixedAfdAfd0100 = "AFD_0100" 32174 32175 // FixedAfdAfd1000 is a FixedAfd enum value 32176 FixedAfdAfd1000 = "AFD_1000" 32177 32178 // FixedAfdAfd1001 is a FixedAfd enum value 32179 FixedAfdAfd1001 = "AFD_1001" 32180 32181 // FixedAfdAfd1010 is a FixedAfd enum value 32182 FixedAfdAfd1010 = "AFD_1010" 32183 32184 // FixedAfdAfd1011 is a FixedAfd enum value 32185 FixedAfdAfd1011 = "AFD_1011" 32186 32187 // FixedAfdAfd1101 is a FixedAfd enum value 32188 FixedAfdAfd1101 = "AFD_1101" 32189 32190 // FixedAfdAfd1110 is a FixedAfd enum value 32191 FixedAfdAfd1110 = "AFD_1110" 32192 32193 // FixedAfdAfd1111 is a FixedAfd enum value 32194 FixedAfdAfd1111 = "AFD_1111" 32195 ) 32196 32197 // FixedAfd_Values returns all elements of the FixedAfd enum 32198 func FixedAfd_Values() []string { 32199 return []string{ 32200 FixedAfdAfd0000, 32201 FixedAfdAfd0010, 32202 FixedAfdAfd0011, 32203 FixedAfdAfd0100, 32204 FixedAfdAfd1000, 32205 FixedAfdAfd1001, 32206 FixedAfdAfd1010, 32207 FixedAfdAfd1011, 32208 FixedAfdAfd1101, 32209 FixedAfdAfd1110, 32210 FixedAfdAfd1111, 32211 } 32212 } 32213 32214 // Fmp4 Nielsen Id3 Behavior 32215 const ( 32216 // Fmp4NielsenId3BehaviorNoPassthrough is a Fmp4NielsenId3Behavior enum value 32217 Fmp4NielsenId3BehaviorNoPassthrough = "NO_PASSTHROUGH" 32218 32219 // Fmp4NielsenId3BehaviorPassthrough is a Fmp4NielsenId3Behavior enum value 32220 Fmp4NielsenId3BehaviorPassthrough = "PASSTHROUGH" 32221 ) 32222 32223 // Fmp4NielsenId3Behavior_Values returns all elements of the Fmp4NielsenId3Behavior enum 32224 func Fmp4NielsenId3Behavior_Values() []string { 32225 return []string{ 32226 Fmp4NielsenId3BehaviorNoPassthrough, 32227 Fmp4NielsenId3BehaviorPassthrough, 32228 } 32229 } 32230 32231 // Fmp4 Timed Metadata Behavior 32232 const ( 32233 // Fmp4TimedMetadataBehaviorNoPassthrough is a Fmp4TimedMetadataBehavior enum value 32234 Fmp4TimedMetadataBehaviorNoPassthrough = "NO_PASSTHROUGH" 32235 32236 // Fmp4TimedMetadataBehaviorPassthrough is a Fmp4TimedMetadataBehavior enum value 32237 Fmp4TimedMetadataBehaviorPassthrough = "PASSTHROUGH" 32238 ) 32239 32240 // Fmp4TimedMetadataBehavior_Values returns all elements of the Fmp4TimedMetadataBehavior enum 32241 func Fmp4TimedMetadataBehavior_Values() []string { 32242 return []string{ 32243 Fmp4TimedMetadataBehaviorNoPassthrough, 32244 Fmp4TimedMetadataBehaviorPassthrough, 32245 } 32246 } 32247 32248 // Follow reference point. 32249 const ( 32250 // FollowPointEnd is a FollowPoint enum value 32251 FollowPointEnd = "END" 32252 32253 // FollowPointStart is a FollowPoint enum value 32254 FollowPointStart = "START" 32255 ) 32256 32257 // FollowPoint_Values returns all elements of the FollowPoint enum 32258 func FollowPoint_Values() []string { 32259 return []string{ 32260 FollowPointEnd, 32261 FollowPointStart, 32262 } 32263 } 32264 32265 // Frame Capture Interval Unit 32266 const ( 32267 // FrameCaptureIntervalUnitMilliseconds is a FrameCaptureIntervalUnit enum value 32268 FrameCaptureIntervalUnitMilliseconds = "MILLISECONDS" 32269 32270 // FrameCaptureIntervalUnitSeconds is a FrameCaptureIntervalUnit enum value 32271 FrameCaptureIntervalUnitSeconds = "SECONDS" 32272 ) 32273 32274 // FrameCaptureIntervalUnit_Values returns all elements of the FrameCaptureIntervalUnit enum 32275 func FrameCaptureIntervalUnit_Values() []string { 32276 return []string{ 32277 FrameCaptureIntervalUnitMilliseconds, 32278 FrameCaptureIntervalUnitSeconds, 32279 } 32280 } 32281 32282 // Global Configuration Input End Action 32283 const ( 32284 // GlobalConfigurationInputEndActionNone is a GlobalConfigurationInputEndAction enum value 32285 GlobalConfigurationInputEndActionNone = "NONE" 32286 32287 // GlobalConfigurationInputEndActionSwitchAndLoopInputs is a GlobalConfigurationInputEndAction enum value 32288 GlobalConfigurationInputEndActionSwitchAndLoopInputs = "SWITCH_AND_LOOP_INPUTS" 32289 ) 32290 32291 // GlobalConfigurationInputEndAction_Values returns all elements of the GlobalConfigurationInputEndAction enum 32292 func GlobalConfigurationInputEndAction_Values() []string { 32293 return []string{ 32294 GlobalConfigurationInputEndActionNone, 32295 GlobalConfigurationInputEndActionSwitchAndLoopInputs, 32296 } 32297 } 32298 32299 // Global Configuration Low Framerate Inputs 32300 const ( 32301 // GlobalConfigurationLowFramerateInputsDisabled is a GlobalConfigurationLowFramerateInputs enum value 32302 GlobalConfigurationLowFramerateInputsDisabled = "DISABLED" 32303 32304 // GlobalConfigurationLowFramerateInputsEnabled is a GlobalConfigurationLowFramerateInputs enum value 32305 GlobalConfigurationLowFramerateInputsEnabled = "ENABLED" 32306 ) 32307 32308 // GlobalConfigurationLowFramerateInputs_Values returns all elements of the GlobalConfigurationLowFramerateInputs enum 32309 func GlobalConfigurationLowFramerateInputs_Values() []string { 32310 return []string{ 32311 GlobalConfigurationLowFramerateInputsDisabled, 32312 GlobalConfigurationLowFramerateInputsEnabled, 32313 } 32314 } 32315 32316 // Global Configuration Output Locking Mode 32317 const ( 32318 // GlobalConfigurationOutputLockingModeEpochLocking is a GlobalConfigurationOutputLockingMode enum value 32319 GlobalConfigurationOutputLockingModeEpochLocking = "EPOCH_LOCKING" 32320 32321 // GlobalConfigurationOutputLockingModePipelineLocking is a GlobalConfigurationOutputLockingMode enum value 32322 GlobalConfigurationOutputLockingModePipelineLocking = "PIPELINE_LOCKING" 32323 ) 32324 32325 // GlobalConfigurationOutputLockingMode_Values returns all elements of the GlobalConfigurationOutputLockingMode enum 32326 func GlobalConfigurationOutputLockingMode_Values() []string { 32327 return []string{ 32328 GlobalConfigurationOutputLockingModeEpochLocking, 32329 GlobalConfigurationOutputLockingModePipelineLocking, 32330 } 32331 } 32332 32333 // Global Configuration Output Timing Source 32334 const ( 32335 // GlobalConfigurationOutputTimingSourceInputClock is a GlobalConfigurationOutputTimingSource enum value 32336 GlobalConfigurationOutputTimingSourceInputClock = "INPUT_CLOCK" 32337 32338 // GlobalConfigurationOutputTimingSourceSystemClock is a GlobalConfigurationOutputTimingSource enum value 32339 GlobalConfigurationOutputTimingSourceSystemClock = "SYSTEM_CLOCK" 32340 ) 32341 32342 // GlobalConfigurationOutputTimingSource_Values returns all elements of the GlobalConfigurationOutputTimingSource enum 32343 func GlobalConfigurationOutputTimingSource_Values() []string { 32344 return []string{ 32345 GlobalConfigurationOutputTimingSourceInputClock, 32346 GlobalConfigurationOutputTimingSourceSystemClock, 32347 } 32348 } 32349 32350 // H264 Adaptive Quantization 32351 const ( 32352 // H264AdaptiveQuantizationAuto is a H264AdaptiveQuantization enum value 32353 H264AdaptiveQuantizationAuto = "AUTO" 32354 32355 // H264AdaptiveQuantizationHigh is a H264AdaptiveQuantization enum value 32356 H264AdaptiveQuantizationHigh = "HIGH" 32357 32358 // H264AdaptiveQuantizationHigher is a H264AdaptiveQuantization enum value 32359 H264AdaptiveQuantizationHigher = "HIGHER" 32360 32361 // H264AdaptiveQuantizationLow is a H264AdaptiveQuantization enum value 32362 H264AdaptiveQuantizationLow = "LOW" 32363 32364 // H264AdaptiveQuantizationMax is a H264AdaptiveQuantization enum value 32365 H264AdaptiveQuantizationMax = "MAX" 32366 32367 // H264AdaptiveQuantizationMedium is a H264AdaptiveQuantization enum value 32368 H264AdaptiveQuantizationMedium = "MEDIUM" 32369 32370 // H264AdaptiveQuantizationOff is a H264AdaptiveQuantization enum value 32371 H264AdaptiveQuantizationOff = "OFF" 32372 ) 32373 32374 // H264AdaptiveQuantization_Values returns all elements of the H264AdaptiveQuantization enum 32375 func H264AdaptiveQuantization_Values() []string { 32376 return []string{ 32377 H264AdaptiveQuantizationAuto, 32378 H264AdaptiveQuantizationHigh, 32379 H264AdaptiveQuantizationHigher, 32380 H264AdaptiveQuantizationLow, 32381 H264AdaptiveQuantizationMax, 32382 H264AdaptiveQuantizationMedium, 32383 H264AdaptiveQuantizationOff, 32384 } 32385 } 32386 32387 // H264 Color Metadata 32388 const ( 32389 // H264ColorMetadataIgnore is a H264ColorMetadata enum value 32390 H264ColorMetadataIgnore = "IGNORE" 32391 32392 // H264ColorMetadataInsert is a H264ColorMetadata enum value 32393 H264ColorMetadataInsert = "INSERT" 32394 ) 32395 32396 // H264ColorMetadata_Values returns all elements of the H264ColorMetadata enum 32397 func H264ColorMetadata_Values() []string { 32398 return []string{ 32399 H264ColorMetadataIgnore, 32400 H264ColorMetadataInsert, 32401 } 32402 } 32403 32404 // H264 Entropy Encoding 32405 const ( 32406 // H264EntropyEncodingCabac is a H264EntropyEncoding enum value 32407 H264EntropyEncodingCabac = "CABAC" 32408 32409 // H264EntropyEncodingCavlc is a H264EntropyEncoding enum value 32410 H264EntropyEncodingCavlc = "CAVLC" 32411 ) 32412 32413 // H264EntropyEncoding_Values returns all elements of the H264EntropyEncoding enum 32414 func H264EntropyEncoding_Values() []string { 32415 return []string{ 32416 H264EntropyEncodingCabac, 32417 H264EntropyEncodingCavlc, 32418 } 32419 } 32420 32421 // H264 Flicker Aq 32422 const ( 32423 // H264FlickerAqDisabled is a H264FlickerAq enum value 32424 H264FlickerAqDisabled = "DISABLED" 32425 32426 // H264FlickerAqEnabled is a H264FlickerAq enum value 32427 H264FlickerAqEnabled = "ENABLED" 32428 ) 32429 32430 // H264FlickerAq_Values returns all elements of the H264FlickerAq enum 32431 func H264FlickerAq_Values() []string { 32432 return []string{ 32433 H264FlickerAqDisabled, 32434 H264FlickerAqEnabled, 32435 } 32436 } 32437 32438 // H264 Force Field Pictures 32439 const ( 32440 // H264ForceFieldPicturesDisabled is a H264ForceFieldPictures enum value 32441 H264ForceFieldPicturesDisabled = "DISABLED" 32442 32443 // H264ForceFieldPicturesEnabled is a H264ForceFieldPictures enum value 32444 H264ForceFieldPicturesEnabled = "ENABLED" 32445 ) 32446 32447 // H264ForceFieldPictures_Values returns all elements of the H264ForceFieldPictures enum 32448 func H264ForceFieldPictures_Values() []string { 32449 return []string{ 32450 H264ForceFieldPicturesDisabled, 32451 H264ForceFieldPicturesEnabled, 32452 } 32453 } 32454 32455 // H264 Framerate Control 32456 const ( 32457 // H264FramerateControlInitializeFromSource is a H264FramerateControl enum value 32458 H264FramerateControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" 32459 32460 // H264FramerateControlSpecified is a H264FramerateControl enum value 32461 H264FramerateControlSpecified = "SPECIFIED" 32462 ) 32463 32464 // H264FramerateControl_Values returns all elements of the H264FramerateControl enum 32465 func H264FramerateControl_Values() []string { 32466 return []string{ 32467 H264FramerateControlInitializeFromSource, 32468 H264FramerateControlSpecified, 32469 } 32470 } 32471 32472 // H264 Gop BReference 32473 const ( 32474 // H264GopBReferenceDisabled is a H264GopBReference enum value 32475 H264GopBReferenceDisabled = "DISABLED" 32476 32477 // H264GopBReferenceEnabled is a H264GopBReference enum value 32478 H264GopBReferenceEnabled = "ENABLED" 32479 ) 32480 32481 // H264GopBReference_Values returns all elements of the H264GopBReference enum 32482 func H264GopBReference_Values() []string { 32483 return []string{ 32484 H264GopBReferenceDisabled, 32485 H264GopBReferenceEnabled, 32486 } 32487 } 32488 32489 // H264 Gop Size Units 32490 const ( 32491 // H264GopSizeUnitsFrames is a H264GopSizeUnits enum value 32492 H264GopSizeUnitsFrames = "FRAMES" 32493 32494 // H264GopSizeUnitsSeconds is a H264GopSizeUnits enum value 32495 H264GopSizeUnitsSeconds = "SECONDS" 32496 ) 32497 32498 // H264GopSizeUnits_Values returns all elements of the H264GopSizeUnits enum 32499 func H264GopSizeUnits_Values() []string { 32500 return []string{ 32501 H264GopSizeUnitsFrames, 32502 H264GopSizeUnitsSeconds, 32503 } 32504 } 32505 32506 // H264 Level 32507 const ( 32508 // H264LevelH264Level1 is a H264Level enum value 32509 H264LevelH264Level1 = "H264_LEVEL_1" 32510 32511 // H264LevelH264Level11 is a H264Level enum value 32512 H264LevelH264Level11 = "H264_LEVEL_1_1" 32513 32514 // H264LevelH264Level12 is a H264Level enum value 32515 H264LevelH264Level12 = "H264_LEVEL_1_2" 32516 32517 // H264LevelH264Level13 is a H264Level enum value 32518 H264LevelH264Level13 = "H264_LEVEL_1_3" 32519 32520 // H264LevelH264Level2 is a H264Level enum value 32521 H264LevelH264Level2 = "H264_LEVEL_2" 32522 32523 // H264LevelH264Level21 is a H264Level enum value 32524 H264LevelH264Level21 = "H264_LEVEL_2_1" 32525 32526 // H264LevelH264Level22 is a H264Level enum value 32527 H264LevelH264Level22 = "H264_LEVEL_2_2" 32528 32529 // H264LevelH264Level3 is a H264Level enum value 32530 H264LevelH264Level3 = "H264_LEVEL_3" 32531 32532 // H264LevelH264Level31 is a H264Level enum value 32533 H264LevelH264Level31 = "H264_LEVEL_3_1" 32534 32535 // H264LevelH264Level32 is a H264Level enum value 32536 H264LevelH264Level32 = "H264_LEVEL_3_2" 32537 32538 // H264LevelH264Level4 is a H264Level enum value 32539 H264LevelH264Level4 = "H264_LEVEL_4" 32540 32541 // H264LevelH264Level41 is a H264Level enum value 32542 H264LevelH264Level41 = "H264_LEVEL_4_1" 32543 32544 // H264LevelH264Level42 is a H264Level enum value 32545 H264LevelH264Level42 = "H264_LEVEL_4_2" 32546 32547 // H264LevelH264Level5 is a H264Level enum value 32548 H264LevelH264Level5 = "H264_LEVEL_5" 32549 32550 // H264LevelH264Level51 is a H264Level enum value 32551 H264LevelH264Level51 = "H264_LEVEL_5_1" 32552 32553 // H264LevelH264Level52 is a H264Level enum value 32554 H264LevelH264Level52 = "H264_LEVEL_5_2" 32555 32556 // H264LevelH264LevelAuto is a H264Level enum value 32557 H264LevelH264LevelAuto = "H264_LEVEL_AUTO" 32558 ) 32559 32560 // H264Level_Values returns all elements of the H264Level enum 32561 func H264Level_Values() []string { 32562 return []string{ 32563 H264LevelH264Level1, 32564 H264LevelH264Level11, 32565 H264LevelH264Level12, 32566 H264LevelH264Level13, 32567 H264LevelH264Level2, 32568 H264LevelH264Level21, 32569 H264LevelH264Level22, 32570 H264LevelH264Level3, 32571 H264LevelH264Level31, 32572 H264LevelH264Level32, 32573 H264LevelH264Level4, 32574 H264LevelH264Level41, 32575 H264LevelH264Level42, 32576 H264LevelH264Level5, 32577 H264LevelH264Level51, 32578 H264LevelH264Level52, 32579 H264LevelH264LevelAuto, 32580 } 32581 } 32582 32583 // H264 Look Ahead Rate Control 32584 const ( 32585 // H264LookAheadRateControlHigh is a H264LookAheadRateControl enum value 32586 H264LookAheadRateControlHigh = "HIGH" 32587 32588 // H264LookAheadRateControlLow is a H264LookAheadRateControl enum value 32589 H264LookAheadRateControlLow = "LOW" 32590 32591 // H264LookAheadRateControlMedium is a H264LookAheadRateControl enum value 32592 H264LookAheadRateControlMedium = "MEDIUM" 32593 ) 32594 32595 // H264LookAheadRateControl_Values returns all elements of the H264LookAheadRateControl enum 32596 func H264LookAheadRateControl_Values() []string { 32597 return []string{ 32598 H264LookAheadRateControlHigh, 32599 H264LookAheadRateControlLow, 32600 H264LookAheadRateControlMedium, 32601 } 32602 } 32603 32604 // H264 Par Control 32605 const ( 32606 // H264ParControlInitializeFromSource is a H264ParControl enum value 32607 H264ParControlInitializeFromSource = "INITIALIZE_FROM_SOURCE" 32608 32609 // H264ParControlSpecified is a H264ParControl enum value 32610 H264ParControlSpecified = "SPECIFIED" 32611 ) 32612 32613 // H264ParControl_Values returns all elements of the H264ParControl enum 32614 func H264ParControl_Values() []string { 32615 return []string{ 32616 H264ParControlInitializeFromSource, 32617 H264ParControlSpecified, 32618 } 32619 } 32620 32621 // H264 Profile 32622 const ( 32623 // H264ProfileBaseline is a H264Profile enum value 32624 H264ProfileBaseline = "BASELINE" 32625 32626 // H264ProfileHigh is a H264Profile enum value 32627 H264ProfileHigh = "HIGH" 32628 32629 // H264ProfileHigh10bit is a H264Profile enum value 32630 H264ProfileHigh10bit = "HIGH_10BIT" 32631 32632 // H264ProfileHigh422 is a H264Profile enum value 32633 H264ProfileHigh422 = "HIGH_422" 32634 32635 // H264ProfileHigh42210bit is a H264Profile enum value 32636 H264ProfileHigh42210bit = "HIGH_422_10BIT" 32637 32638 // H264ProfileMain is a H264Profile enum value 32639 H264ProfileMain = "MAIN" 32640 ) 32641 32642 // H264Profile_Values returns all elements of the H264Profile enum 32643 func H264Profile_Values() []string { 32644 return []string{ 32645 H264ProfileBaseline, 32646 H264ProfileHigh, 32647 H264ProfileHigh10bit, 32648 H264ProfileHigh422, 32649 H264ProfileHigh42210bit, 32650 H264ProfileMain, 32651 } 32652 } 32653 32654 // H264 Quality Level 32655 const ( 32656 // H264QualityLevelEnhancedQuality is a H264QualityLevel enum value 32657 H264QualityLevelEnhancedQuality = "ENHANCED_QUALITY" 32658 32659 // H264QualityLevelStandardQuality is a H264QualityLevel enum value 32660 H264QualityLevelStandardQuality = "STANDARD_QUALITY" 32661 ) 32662 32663 // H264QualityLevel_Values returns all elements of the H264QualityLevel enum 32664 func H264QualityLevel_Values() []string { 32665 return []string{ 32666 H264QualityLevelEnhancedQuality, 32667 H264QualityLevelStandardQuality, 32668 } 32669 } 32670 32671 // H264 Rate Control Mode 32672 const ( 32673 // H264RateControlModeCbr is a H264RateControlMode enum value 32674 H264RateControlModeCbr = "CBR" 32675 32676 // H264RateControlModeMultiplex is a H264RateControlMode enum value 32677 H264RateControlModeMultiplex = "MULTIPLEX" 32678 32679 // H264RateControlModeQvbr is a H264RateControlMode enum value 32680 H264RateControlModeQvbr = "QVBR" 32681 32682 // H264RateControlModeVbr is a H264RateControlMode enum value 32683 H264RateControlModeVbr = "VBR" 32684 ) 32685 32686 // H264RateControlMode_Values returns all elements of the H264RateControlMode enum 32687 func H264RateControlMode_Values() []string { 32688 return []string{ 32689 H264RateControlModeCbr, 32690 H264RateControlModeMultiplex, 32691 H264RateControlModeQvbr, 32692 H264RateControlModeVbr, 32693 } 32694 } 32695 32696 // H264 Scan Type 32697 const ( 32698 // H264ScanTypeInterlaced is a H264ScanType enum value 32699 H264ScanTypeInterlaced = "INTERLACED" 32700 32701 // H264ScanTypeProgressive is a H264ScanType enum value 32702 H264ScanTypeProgressive = "PROGRESSIVE" 32703 ) 32704 32705 // H264ScanType_Values returns all elements of the H264ScanType enum 32706 func H264ScanType_Values() []string { 32707 return []string{ 32708 H264ScanTypeInterlaced, 32709 H264ScanTypeProgressive, 32710 } 32711 } 32712 32713 // H264 Scene Change Detect 32714 const ( 32715 // H264SceneChangeDetectDisabled is a H264SceneChangeDetect enum value 32716 H264SceneChangeDetectDisabled = "DISABLED" 32717 32718 // H264SceneChangeDetectEnabled is a H264SceneChangeDetect enum value 32719 H264SceneChangeDetectEnabled = "ENABLED" 32720 ) 32721 32722 // H264SceneChangeDetect_Values returns all elements of the H264SceneChangeDetect enum 32723 func H264SceneChangeDetect_Values() []string { 32724 return []string{ 32725 H264SceneChangeDetectDisabled, 32726 H264SceneChangeDetectEnabled, 32727 } 32728 } 32729 32730 // H264 Spatial Aq 32731 const ( 32732 // H264SpatialAqDisabled is a H264SpatialAq enum value 32733 H264SpatialAqDisabled = "DISABLED" 32734 32735 // H264SpatialAqEnabled is a H264SpatialAq enum value 32736 H264SpatialAqEnabled = "ENABLED" 32737 ) 32738 32739 // H264SpatialAq_Values returns all elements of the H264SpatialAq enum 32740 func H264SpatialAq_Values() []string { 32741 return []string{ 32742 H264SpatialAqDisabled, 32743 H264SpatialAqEnabled, 32744 } 32745 } 32746 32747 // H264 Sub Gop Length 32748 const ( 32749 // H264SubGopLengthDynamic is a H264SubGopLength enum value 32750 H264SubGopLengthDynamic = "DYNAMIC" 32751 32752 // H264SubGopLengthFixed is a H264SubGopLength enum value 32753 H264SubGopLengthFixed = "FIXED" 32754 ) 32755 32756 // H264SubGopLength_Values returns all elements of the H264SubGopLength enum 32757 func H264SubGopLength_Values() []string { 32758 return []string{ 32759 H264SubGopLengthDynamic, 32760 H264SubGopLengthFixed, 32761 } 32762 } 32763 32764 // H264 Syntax 32765 const ( 32766 // H264SyntaxDefault is a H264Syntax enum value 32767 H264SyntaxDefault = "DEFAULT" 32768 32769 // H264SyntaxRp2027 is a H264Syntax enum value 32770 H264SyntaxRp2027 = "RP2027" 32771 ) 32772 32773 // H264Syntax_Values returns all elements of the H264Syntax enum 32774 func H264Syntax_Values() []string { 32775 return []string{ 32776 H264SyntaxDefault, 32777 H264SyntaxRp2027, 32778 } 32779 } 32780 32781 // H264 Temporal Aq 32782 const ( 32783 // H264TemporalAqDisabled is a H264TemporalAq enum value 32784 H264TemporalAqDisabled = "DISABLED" 32785 32786 // H264TemporalAqEnabled is a H264TemporalAq enum value 32787 H264TemporalAqEnabled = "ENABLED" 32788 ) 32789 32790 // H264TemporalAq_Values returns all elements of the H264TemporalAq enum 32791 func H264TemporalAq_Values() []string { 32792 return []string{ 32793 H264TemporalAqDisabled, 32794 H264TemporalAqEnabled, 32795 } 32796 } 32797 32798 // H264 Timecode Insertion Behavior 32799 const ( 32800 // H264TimecodeInsertionBehaviorDisabled is a H264TimecodeInsertionBehavior enum value 32801 H264TimecodeInsertionBehaviorDisabled = "DISABLED" 32802 32803 // H264TimecodeInsertionBehaviorPicTimingSei is a H264TimecodeInsertionBehavior enum value 32804 H264TimecodeInsertionBehaviorPicTimingSei = "PIC_TIMING_SEI" 32805 ) 32806 32807 // H264TimecodeInsertionBehavior_Values returns all elements of the H264TimecodeInsertionBehavior enum 32808 func H264TimecodeInsertionBehavior_Values() []string { 32809 return []string{ 32810 H264TimecodeInsertionBehaviorDisabled, 32811 H264TimecodeInsertionBehaviorPicTimingSei, 32812 } 32813 } 32814 32815 // H265 Adaptive Quantization 32816 const ( 32817 // H265AdaptiveQuantizationAuto is a H265AdaptiveQuantization enum value 32818 H265AdaptiveQuantizationAuto = "AUTO" 32819 32820 // H265AdaptiveQuantizationHigh is a H265AdaptiveQuantization enum value 32821 H265AdaptiveQuantizationHigh = "HIGH" 32822 32823 // H265AdaptiveQuantizationHigher is a H265AdaptiveQuantization enum value 32824 H265AdaptiveQuantizationHigher = "HIGHER" 32825 32826 // H265AdaptiveQuantizationLow is a H265AdaptiveQuantization enum value 32827 H265AdaptiveQuantizationLow = "LOW" 32828 32829 // H265AdaptiveQuantizationMax is a H265AdaptiveQuantization enum value 32830 H265AdaptiveQuantizationMax = "MAX" 32831 32832 // H265AdaptiveQuantizationMedium is a H265AdaptiveQuantization enum value 32833 H265AdaptiveQuantizationMedium = "MEDIUM" 32834 32835 // H265AdaptiveQuantizationOff is a H265AdaptiveQuantization enum value 32836 H265AdaptiveQuantizationOff = "OFF" 32837 ) 32838 32839 // H265AdaptiveQuantization_Values returns all elements of the H265AdaptiveQuantization enum 32840 func H265AdaptiveQuantization_Values() []string { 32841 return []string{ 32842 H265AdaptiveQuantizationAuto, 32843 H265AdaptiveQuantizationHigh, 32844 H265AdaptiveQuantizationHigher, 32845 H265AdaptiveQuantizationLow, 32846 H265AdaptiveQuantizationMax, 32847 H265AdaptiveQuantizationMedium, 32848 H265AdaptiveQuantizationOff, 32849 } 32850 } 32851 32852 // H265 Alternative Transfer Function 32853 const ( 32854 // H265AlternativeTransferFunctionInsert is a H265AlternativeTransferFunction enum value 32855 H265AlternativeTransferFunctionInsert = "INSERT" 32856 32857 // H265AlternativeTransferFunctionOmit is a H265AlternativeTransferFunction enum value 32858 H265AlternativeTransferFunctionOmit = "OMIT" 32859 ) 32860 32861 // H265AlternativeTransferFunction_Values returns all elements of the H265AlternativeTransferFunction enum 32862 func H265AlternativeTransferFunction_Values() []string { 32863 return []string{ 32864 H265AlternativeTransferFunctionInsert, 32865 H265AlternativeTransferFunctionOmit, 32866 } 32867 } 32868 32869 // H265 Color Metadata 32870 const ( 32871 // H265ColorMetadataIgnore is a H265ColorMetadata enum value 32872 H265ColorMetadataIgnore = "IGNORE" 32873 32874 // H265ColorMetadataInsert is a H265ColorMetadata enum value 32875 H265ColorMetadataInsert = "INSERT" 32876 ) 32877 32878 // H265ColorMetadata_Values returns all elements of the H265ColorMetadata enum 32879 func H265ColorMetadata_Values() []string { 32880 return []string{ 32881 H265ColorMetadataIgnore, 32882 H265ColorMetadataInsert, 32883 } 32884 } 32885 32886 // H265 Flicker Aq 32887 const ( 32888 // H265FlickerAqDisabled is a H265FlickerAq enum value 32889 H265FlickerAqDisabled = "DISABLED" 32890 32891 // H265FlickerAqEnabled is a H265FlickerAq enum value 32892 H265FlickerAqEnabled = "ENABLED" 32893 ) 32894 32895 // H265FlickerAq_Values returns all elements of the H265FlickerAq enum 32896 func H265FlickerAq_Values() []string { 32897 return []string{ 32898 H265FlickerAqDisabled, 32899 H265FlickerAqEnabled, 32900 } 32901 } 32902 32903 // H265 Gop Size Units 32904 const ( 32905 // H265GopSizeUnitsFrames is a H265GopSizeUnits enum value 32906 H265GopSizeUnitsFrames = "FRAMES" 32907 32908 // H265GopSizeUnitsSeconds is a H265GopSizeUnits enum value 32909 H265GopSizeUnitsSeconds = "SECONDS" 32910 ) 32911 32912 // H265GopSizeUnits_Values returns all elements of the H265GopSizeUnits enum 32913 func H265GopSizeUnits_Values() []string { 32914 return []string{ 32915 H265GopSizeUnitsFrames, 32916 H265GopSizeUnitsSeconds, 32917 } 32918 } 32919 32920 // H265 Level 32921 const ( 32922 // H265LevelH265Level1 is a H265Level enum value 32923 H265LevelH265Level1 = "H265_LEVEL_1" 32924 32925 // H265LevelH265Level2 is a H265Level enum value 32926 H265LevelH265Level2 = "H265_LEVEL_2" 32927 32928 // H265LevelH265Level21 is a H265Level enum value 32929 H265LevelH265Level21 = "H265_LEVEL_2_1" 32930 32931 // H265LevelH265Level3 is a H265Level enum value 32932 H265LevelH265Level3 = "H265_LEVEL_3" 32933 32934 // H265LevelH265Level31 is a H265Level enum value 32935 H265LevelH265Level31 = "H265_LEVEL_3_1" 32936 32937 // H265LevelH265Level4 is a H265Level enum value 32938 H265LevelH265Level4 = "H265_LEVEL_4" 32939 32940 // H265LevelH265Level41 is a H265Level enum value 32941 H265LevelH265Level41 = "H265_LEVEL_4_1" 32942 32943 // H265LevelH265Level5 is a H265Level enum value 32944 H265LevelH265Level5 = "H265_LEVEL_5" 32945 32946 // H265LevelH265Level51 is a H265Level enum value 32947 H265LevelH265Level51 = "H265_LEVEL_5_1" 32948 32949 // H265LevelH265Level52 is a H265Level enum value 32950 H265LevelH265Level52 = "H265_LEVEL_5_2" 32951 32952 // H265LevelH265Level6 is a H265Level enum value 32953 H265LevelH265Level6 = "H265_LEVEL_6" 32954 32955 // H265LevelH265Level61 is a H265Level enum value 32956 H265LevelH265Level61 = "H265_LEVEL_6_1" 32957 32958 // H265LevelH265Level62 is a H265Level enum value 32959 H265LevelH265Level62 = "H265_LEVEL_6_2" 32960 32961 // H265LevelH265LevelAuto is a H265Level enum value 32962 H265LevelH265LevelAuto = "H265_LEVEL_AUTO" 32963 ) 32964 32965 // H265Level_Values returns all elements of the H265Level enum 32966 func H265Level_Values() []string { 32967 return []string{ 32968 H265LevelH265Level1, 32969 H265LevelH265Level2, 32970 H265LevelH265Level21, 32971 H265LevelH265Level3, 32972 H265LevelH265Level31, 32973 H265LevelH265Level4, 32974 H265LevelH265Level41, 32975 H265LevelH265Level5, 32976 H265LevelH265Level51, 32977 H265LevelH265Level52, 32978 H265LevelH265Level6, 32979 H265LevelH265Level61, 32980 H265LevelH265Level62, 32981 H265LevelH265LevelAuto, 32982 } 32983 } 32984 32985 // H265 Look Ahead Rate Control 32986 const ( 32987 // H265LookAheadRateControlHigh is a H265LookAheadRateControl enum value 32988 H265LookAheadRateControlHigh = "HIGH" 32989 32990 // H265LookAheadRateControlLow is a H265LookAheadRateControl enum value 32991 H265LookAheadRateControlLow = "LOW" 32992 32993 // H265LookAheadRateControlMedium is a H265LookAheadRateControl enum value 32994 H265LookAheadRateControlMedium = "MEDIUM" 32995 ) 32996 32997 // H265LookAheadRateControl_Values returns all elements of the H265LookAheadRateControl enum 32998 func H265LookAheadRateControl_Values() []string { 32999 return []string{ 33000 H265LookAheadRateControlHigh, 33001 H265LookAheadRateControlLow, 33002 H265LookAheadRateControlMedium, 33003 } 33004 } 33005 33006 // H265 Profile 33007 const ( 33008 // H265ProfileMain is a H265Profile enum value 33009 H265ProfileMain = "MAIN" 33010 33011 // H265ProfileMain10bit is a H265Profile enum value 33012 H265ProfileMain10bit = "MAIN_10BIT" 33013 ) 33014 33015 // H265Profile_Values returns all elements of the H265Profile enum 33016 func H265Profile_Values() []string { 33017 return []string{ 33018 H265ProfileMain, 33019 H265ProfileMain10bit, 33020 } 33021 } 33022 33023 // H265 Rate Control Mode 33024 const ( 33025 // H265RateControlModeCbr is a H265RateControlMode enum value 33026 H265RateControlModeCbr = "CBR" 33027 33028 // H265RateControlModeMultiplex is a H265RateControlMode enum value 33029 H265RateControlModeMultiplex = "MULTIPLEX" 33030 33031 // H265RateControlModeQvbr is a H265RateControlMode enum value 33032 H265RateControlModeQvbr = "QVBR" 33033 ) 33034 33035 // H265RateControlMode_Values returns all elements of the H265RateControlMode enum 33036 func H265RateControlMode_Values() []string { 33037 return []string{ 33038 H265RateControlModeCbr, 33039 H265RateControlModeMultiplex, 33040 H265RateControlModeQvbr, 33041 } 33042 } 33043 33044 // H265 Scan Type 33045 const ( 33046 // H265ScanTypeInterlaced is a H265ScanType enum value 33047 H265ScanTypeInterlaced = "INTERLACED" 33048 33049 // H265ScanTypeProgressive is a H265ScanType enum value 33050 H265ScanTypeProgressive = "PROGRESSIVE" 33051 ) 33052 33053 // H265ScanType_Values returns all elements of the H265ScanType enum 33054 func H265ScanType_Values() []string { 33055 return []string{ 33056 H265ScanTypeInterlaced, 33057 H265ScanTypeProgressive, 33058 } 33059 } 33060 33061 // H265 Scene Change Detect 33062 const ( 33063 // H265SceneChangeDetectDisabled is a H265SceneChangeDetect enum value 33064 H265SceneChangeDetectDisabled = "DISABLED" 33065 33066 // H265SceneChangeDetectEnabled is a H265SceneChangeDetect enum value 33067 H265SceneChangeDetectEnabled = "ENABLED" 33068 ) 33069 33070 // H265SceneChangeDetect_Values returns all elements of the H265SceneChangeDetect enum 33071 func H265SceneChangeDetect_Values() []string { 33072 return []string{ 33073 H265SceneChangeDetectDisabled, 33074 H265SceneChangeDetectEnabled, 33075 } 33076 } 33077 33078 // H265 Tier 33079 const ( 33080 // H265TierHigh is a H265Tier enum value 33081 H265TierHigh = "HIGH" 33082 33083 // H265TierMain is a H265Tier enum value 33084 H265TierMain = "MAIN" 33085 ) 33086 33087 // H265Tier_Values returns all elements of the H265Tier enum 33088 func H265Tier_Values() []string { 33089 return []string{ 33090 H265TierHigh, 33091 H265TierMain, 33092 } 33093 } 33094 33095 // H265 Timecode Insertion Behavior 33096 const ( 33097 // H265TimecodeInsertionBehaviorDisabled is a H265TimecodeInsertionBehavior enum value 33098 H265TimecodeInsertionBehaviorDisabled = "DISABLED" 33099 33100 // H265TimecodeInsertionBehaviorPicTimingSei is a H265TimecodeInsertionBehavior enum value 33101 H265TimecodeInsertionBehaviorPicTimingSei = "PIC_TIMING_SEI" 33102 ) 33103 33104 // H265TimecodeInsertionBehavior_Values returns all elements of the H265TimecodeInsertionBehavior enum 33105 func H265TimecodeInsertionBehavior_Values() []string { 33106 return []string{ 33107 H265TimecodeInsertionBehaviorDisabled, 33108 H265TimecodeInsertionBehaviorPicTimingSei, 33109 } 33110 } 33111 33112 // Hls Ad Markers 33113 const ( 33114 // HlsAdMarkersAdobe is a HlsAdMarkers enum value 33115 HlsAdMarkersAdobe = "ADOBE" 33116 33117 // HlsAdMarkersElemental is a HlsAdMarkers enum value 33118 HlsAdMarkersElemental = "ELEMENTAL" 33119 33120 // HlsAdMarkersElementalScte35 is a HlsAdMarkers enum value 33121 HlsAdMarkersElementalScte35 = "ELEMENTAL_SCTE35" 33122 ) 33123 33124 // HlsAdMarkers_Values returns all elements of the HlsAdMarkers enum 33125 func HlsAdMarkers_Values() []string { 33126 return []string{ 33127 HlsAdMarkersAdobe, 33128 HlsAdMarkersElemental, 33129 HlsAdMarkersElementalScte35, 33130 } 33131 } 33132 33133 // Hls Akamai Http Transfer Mode 33134 const ( 33135 // HlsAkamaiHttpTransferModeChunked is a HlsAkamaiHttpTransferMode enum value 33136 HlsAkamaiHttpTransferModeChunked = "CHUNKED" 33137 33138 // HlsAkamaiHttpTransferModeNonChunked is a HlsAkamaiHttpTransferMode enum value 33139 HlsAkamaiHttpTransferModeNonChunked = "NON_CHUNKED" 33140 ) 33141 33142 // HlsAkamaiHttpTransferMode_Values returns all elements of the HlsAkamaiHttpTransferMode enum 33143 func HlsAkamaiHttpTransferMode_Values() []string { 33144 return []string{ 33145 HlsAkamaiHttpTransferModeChunked, 33146 HlsAkamaiHttpTransferModeNonChunked, 33147 } 33148 } 33149 33150 // Hls Caption Language Setting 33151 const ( 33152 // HlsCaptionLanguageSettingInsert is a HlsCaptionLanguageSetting enum value 33153 HlsCaptionLanguageSettingInsert = "INSERT" 33154 33155 // HlsCaptionLanguageSettingNone is a HlsCaptionLanguageSetting enum value 33156 HlsCaptionLanguageSettingNone = "NONE" 33157 33158 // HlsCaptionLanguageSettingOmit is a HlsCaptionLanguageSetting enum value 33159 HlsCaptionLanguageSettingOmit = "OMIT" 33160 ) 33161 33162 // HlsCaptionLanguageSetting_Values returns all elements of the HlsCaptionLanguageSetting enum 33163 func HlsCaptionLanguageSetting_Values() []string { 33164 return []string{ 33165 HlsCaptionLanguageSettingInsert, 33166 HlsCaptionLanguageSettingNone, 33167 HlsCaptionLanguageSettingOmit, 33168 } 33169 } 33170 33171 // Hls Client Cache 33172 const ( 33173 // HlsClientCacheDisabled is a HlsClientCache enum value 33174 HlsClientCacheDisabled = "DISABLED" 33175 33176 // HlsClientCacheEnabled is a HlsClientCache enum value 33177 HlsClientCacheEnabled = "ENABLED" 33178 ) 33179 33180 // HlsClientCache_Values returns all elements of the HlsClientCache enum 33181 func HlsClientCache_Values() []string { 33182 return []string{ 33183 HlsClientCacheDisabled, 33184 HlsClientCacheEnabled, 33185 } 33186 } 33187 33188 // Hls Codec Specification 33189 const ( 33190 // HlsCodecSpecificationRfc4281 is a HlsCodecSpecification enum value 33191 HlsCodecSpecificationRfc4281 = "RFC_4281" 33192 33193 // HlsCodecSpecificationRfc6381 is a HlsCodecSpecification enum value 33194 HlsCodecSpecificationRfc6381 = "RFC_6381" 33195 ) 33196 33197 // HlsCodecSpecification_Values returns all elements of the HlsCodecSpecification enum 33198 func HlsCodecSpecification_Values() []string { 33199 return []string{ 33200 HlsCodecSpecificationRfc4281, 33201 HlsCodecSpecificationRfc6381, 33202 } 33203 } 33204 33205 // Hls Directory Structure 33206 const ( 33207 // HlsDirectoryStructureSingleDirectory is a HlsDirectoryStructure enum value 33208 HlsDirectoryStructureSingleDirectory = "SINGLE_DIRECTORY" 33209 33210 // HlsDirectoryStructureSubdirectoryPerStream is a HlsDirectoryStructure enum value 33211 HlsDirectoryStructureSubdirectoryPerStream = "SUBDIRECTORY_PER_STREAM" 33212 ) 33213 33214 // HlsDirectoryStructure_Values returns all elements of the HlsDirectoryStructure enum 33215 func HlsDirectoryStructure_Values() []string { 33216 return []string{ 33217 HlsDirectoryStructureSingleDirectory, 33218 HlsDirectoryStructureSubdirectoryPerStream, 33219 } 33220 } 33221 33222 // Hls Discontinuity Tags 33223 const ( 33224 // HlsDiscontinuityTagsInsert is a HlsDiscontinuityTags enum value 33225 HlsDiscontinuityTagsInsert = "INSERT" 33226 33227 // HlsDiscontinuityTagsNeverInsert is a HlsDiscontinuityTags enum value 33228 HlsDiscontinuityTagsNeverInsert = "NEVER_INSERT" 33229 ) 33230 33231 // HlsDiscontinuityTags_Values returns all elements of the HlsDiscontinuityTags enum 33232 func HlsDiscontinuityTags_Values() []string { 33233 return []string{ 33234 HlsDiscontinuityTagsInsert, 33235 HlsDiscontinuityTagsNeverInsert, 33236 } 33237 } 33238 33239 // Hls Encryption Type 33240 const ( 33241 // HlsEncryptionTypeAes128 is a HlsEncryptionType enum value 33242 HlsEncryptionTypeAes128 = "AES128" 33243 33244 // HlsEncryptionTypeSampleAes is a HlsEncryptionType enum value 33245 HlsEncryptionTypeSampleAes = "SAMPLE_AES" 33246 ) 33247 33248 // HlsEncryptionType_Values returns all elements of the HlsEncryptionType enum 33249 func HlsEncryptionType_Values() []string { 33250 return []string{ 33251 HlsEncryptionTypeAes128, 33252 HlsEncryptionTypeSampleAes, 33253 } 33254 } 33255 33256 // Hls H265 Packaging Type 33257 const ( 33258 // HlsH265PackagingTypeHev1 is a HlsH265PackagingType enum value 33259 HlsH265PackagingTypeHev1 = "HEV1" 33260 33261 // HlsH265PackagingTypeHvc1 is a HlsH265PackagingType enum value 33262 HlsH265PackagingTypeHvc1 = "HVC1" 33263 ) 33264 33265 // HlsH265PackagingType_Values returns all elements of the HlsH265PackagingType enum 33266 func HlsH265PackagingType_Values() []string { 33267 return []string{ 33268 HlsH265PackagingTypeHev1, 33269 HlsH265PackagingTypeHvc1, 33270 } 33271 } 33272 33273 // State of HLS ID3 Segment Tagging 33274 const ( 33275 // HlsId3SegmentTaggingStateDisabled is a HlsId3SegmentTaggingState enum value 33276 HlsId3SegmentTaggingStateDisabled = "DISABLED" 33277 33278 // HlsId3SegmentTaggingStateEnabled is a HlsId3SegmentTaggingState enum value 33279 HlsId3SegmentTaggingStateEnabled = "ENABLED" 33280 ) 33281 33282 // HlsId3SegmentTaggingState_Values returns all elements of the HlsId3SegmentTaggingState enum 33283 func HlsId3SegmentTaggingState_Values() []string { 33284 return []string{ 33285 HlsId3SegmentTaggingStateDisabled, 33286 HlsId3SegmentTaggingStateEnabled, 33287 } 33288 } 33289 33290 // Hls Incomplete Segment Behavior 33291 const ( 33292 // HlsIncompleteSegmentBehaviorAuto is a HlsIncompleteSegmentBehavior enum value 33293 HlsIncompleteSegmentBehaviorAuto = "AUTO" 33294 33295 // HlsIncompleteSegmentBehaviorSuppress is a HlsIncompleteSegmentBehavior enum value 33296 HlsIncompleteSegmentBehaviorSuppress = "SUPPRESS" 33297 ) 33298 33299 // HlsIncompleteSegmentBehavior_Values returns all elements of the HlsIncompleteSegmentBehavior enum 33300 func HlsIncompleteSegmentBehavior_Values() []string { 33301 return []string{ 33302 HlsIncompleteSegmentBehaviorAuto, 33303 HlsIncompleteSegmentBehaviorSuppress, 33304 } 33305 } 33306 33307 // Hls Iv In Manifest 33308 const ( 33309 // HlsIvInManifestExclude is a HlsIvInManifest enum value 33310 HlsIvInManifestExclude = "EXCLUDE" 33311 33312 // HlsIvInManifestInclude is a HlsIvInManifest enum value 33313 HlsIvInManifestInclude = "INCLUDE" 33314 ) 33315 33316 // HlsIvInManifest_Values returns all elements of the HlsIvInManifest enum 33317 func HlsIvInManifest_Values() []string { 33318 return []string{ 33319 HlsIvInManifestExclude, 33320 HlsIvInManifestInclude, 33321 } 33322 } 33323 33324 // Hls Iv Source 33325 const ( 33326 // HlsIvSourceExplicit is a HlsIvSource enum value 33327 HlsIvSourceExplicit = "EXPLICIT" 33328 33329 // HlsIvSourceFollowsSegmentNumber is a HlsIvSource enum value 33330 HlsIvSourceFollowsSegmentNumber = "FOLLOWS_SEGMENT_NUMBER" 33331 ) 33332 33333 // HlsIvSource_Values returns all elements of the HlsIvSource enum 33334 func HlsIvSource_Values() []string { 33335 return []string{ 33336 HlsIvSourceExplicit, 33337 HlsIvSourceFollowsSegmentNumber, 33338 } 33339 } 33340 33341 // Hls Manifest Compression 33342 const ( 33343 // HlsManifestCompressionGzip is a HlsManifestCompression enum value 33344 HlsManifestCompressionGzip = "GZIP" 33345 33346 // HlsManifestCompressionNone is a HlsManifestCompression enum value 33347 HlsManifestCompressionNone = "NONE" 33348 ) 33349 33350 // HlsManifestCompression_Values returns all elements of the HlsManifestCompression enum 33351 func HlsManifestCompression_Values() []string { 33352 return []string{ 33353 HlsManifestCompressionGzip, 33354 HlsManifestCompressionNone, 33355 } 33356 } 33357 33358 // Hls Manifest Duration Format 33359 const ( 33360 // HlsManifestDurationFormatFloatingPoint is a HlsManifestDurationFormat enum value 33361 HlsManifestDurationFormatFloatingPoint = "FLOATING_POINT" 33362 33363 // HlsManifestDurationFormatInteger is a HlsManifestDurationFormat enum value 33364 HlsManifestDurationFormatInteger = "INTEGER" 33365 ) 33366 33367 // HlsManifestDurationFormat_Values returns all elements of the HlsManifestDurationFormat enum 33368 func HlsManifestDurationFormat_Values() []string { 33369 return []string{ 33370 HlsManifestDurationFormatFloatingPoint, 33371 HlsManifestDurationFormatInteger, 33372 } 33373 } 33374 33375 // Hls Media Store Storage Class 33376 const ( 33377 // HlsMediaStoreStorageClassTemporal is a HlsMediaStoreStorageClass enum value 33378 HlsMediaStoreStorageClassTemporal = "TEMPORAL" 33379 ) 33380 33381 // HlsMediaStoreStorageClass_Values returns all elements of the HlsMediaStoreStorageClass enum 33382 func HlsMediaStoreStorageClass_Values() []string { 33383 return []string{ 33384 HlsMediaStoreStorageClassTemporal, 33385 } 33386 } 33387 33388 // Hls Mode 33389 const ( 33390 // HlsModeLive is a HlsMode enum value 33391 HlsModeLive = "LIVE" 33392 33393 // HlsModeVod is a HlsMode enum value 33394 HlsModeVod = "VOD" 33395 ) 33396 33397 // HlsMode_Values returns all elements of the HlsMode enum 33398 func HlsMode_Values() []string { 33399 return []string{ 33400 HlsModeLive, 33401 HlsModeVod, 33402 } 33403 } 33404 33405 // Hls Output Selection 33406 const ( 33407 // HlsOutputSelectionManifestsAndSegments is a HlsOutputSelection enum value 33408 HlsOutputSelectionManifestsAndSegments = "MANIFESTS_AND_SEGMENTS" 33409 33410 // HlsOutputSelectionSegmentsOnly is a HlsOutputSelection enum value 33411 HlsOutputSelectionSegmentsOnly = "SEGMENTS_ONLY" 33412 33413 // HlsOutputSelectionVariantManifestsAndSegments is a HlsOutputSelection enum value 33414 HlsOutputSelectionVariantManifestsAndSegments = "VARIANT_MANIFESTS_AND_SEGMENTS" 33415 ) 33416 33417 // HlsOutputSelection_Values returns all elements of the HlsOutputSelection enum 33418 func HlsOutputSelection_Values() []string { 33419 return []string{ 33420 HlsOutputSelectionManifestsAndSegments, 33421 HlsOutputSelectionSegmentsOnly, 33422 HlsOutputSelectionVariantManifestsAndSegments, 33423 } 33424 } 33425 33426 // Hls Program Date Time 33427 const ( 33428 // HlsProgramDateTimeExclude is a HlsProgramDateTime enum value 33429 HlsProgramDateTimeExclude = "EXCLUDE" 33430 33431 // HlsProgramDateTimeInclude is a HlsProgramDateTime enum value 33432 HlsProgramDateTimeInclude = "INCLUDE" 33433 ) 33434 33435 // HlsProgramDateTime_Values returns all elements of the HlsProgramDateTime enum 33436 func HlsProgramDateTime_Values() []string { 33437 return []string{ 33438 HlsProgramDateTimeExclude, 33439 HlsProgramDateTimeInclude, 33440 } 33441 } 33442 33443 // Hls Redundant Manifest 33444 const ( 33445 // HlsRedundantManifestDisabled is a HlsRedundantManifest enum value 33446 HlsRedundantManifestDisabled = "DISABLED" 33447 33448 // HlsRedundantManifestEnabled is a HlsRedundantManifest enum value 33449 HlsRedundantManifestEnabled = "ENABLED" 33450 ) 33451 33452 // HlsRedundantManifest_Values returns all elements of the HlsRedundantManifest enum 33453 func HlsRedundantManifest_Values() []string { 33454 return []string{ 33455 HlsRedundantManifestDisabled, 33456 HlsRedundantManifestEnabled, 33457 } 33458 } 33459 33460 // Hls Scte35 Source Type 33461 const ( 33462 // HlsScte35SourceTypeManifest is a HlsScte35SourceType enum value 33463 HlsScte35SourceTypeManifest = "MANIFEST" 33464 33465 // HlsScte35SourceTypeSegments is a HlsScte35SourceType enum value 33466 HlsScte35SourceTypeSegments = "SEGMENTS" 33467 ) 33468 33469 // HlsScte35SourceType_Values returns all elements of the HlsScte35SourceType enum 33470 func HlsScte35SourceType_Values() []string { 33471 return []string{ 33472 HlsScte35SourceTypeManifest, 33473 HlsScte35SourceTypeSegments, 33474 } 33475 } 33476 33477 // Hls Segmentation Mode 33478 const ( 33479 // HlsSegmentationModeUseInputSegmentation is a HlsSegmentationMode enum value 33480 HlsSegmentationModeUseInputSegmentation = "USE_INPUT_SEGMENTATION" 33481 33482 // HlsSegmentationModeUseSegmentDuration is a HlsSegmentationMode enum value 33483 HlsSegmentationModeUseSegmentDuration = "USE_SEGMENT_DURATION" 33484 ) 33485 33486 // HlsSegmentationMode_Values returns all elements of the HlsSegmentationMode enum 33487 func HlsSegmentationMode_Values() []string { 33488 return []string{ 33489 HlsSegmentationModeUseInputSegmentation, 33490 HlsSegmentationModeUseSegmentDuration, 33491 } 33492 } 33493 33494 // Hls Stream Inf Resolution 33495 const ( 33496 // HlsStreamInfResolutionExclude is a HlsStreamInfResolution enum value 33497 HlsStreamInfResolutionExclude = "EXCLUDE" 33498 33499 // HlsStreamInfResolutionInclude is a HlsStreamInfResolution enum value 33500 HlsStreamInfResolutionInclude = "INCLUDE" 33501 ) 33502 33503 // HlsStreamInfResolution_Values returns all elements of the HlsStreamInfResolution enum 33504 func HlsStreamInfResolution_Values() []string { 33505 return []string{ 33506 HlsStreamInfResolutionExclude, 33507 HlsStreamInfResolutionInclude, 33508 } 33509 } 33510 33511 // Hls Timed Metadata Id3 Frame 33512 const ( 33513 // HlsTimedMetadataId3FrameNone is a HlsTimedMetadataId3Frame enum value 33514 HlsTimedMetadataId3FrameNone = "NONE" 33515 33516 // HlsTimedMetadataId3FramePriv is a HlsTimedMetadataId3Frame enum value 33517 HlsTimedMetadataId3FramePriv = "PRIV" 33518 33519 // HlsTimedMetadataId3FrameTdrl is a HlsTimedMetadataId3Frame enum value 33520 HlsTimedMetadataId3FrameTdrl = "TDRL" 33521 ) 33522 33523 // HlsTimedMetadataId3Frame_Values returns all elements of the HlsTimedMetadataId3Frame enum 33524 func HlsTimedMetadataId3Frame_Values() []string { 33525 return []string{ 33526 HlsTimedMetadataId3FrameNone, 33527 HlsTimedMetadataId3FramePriv, 33528 HlsTimedMetadataId3FrameTdrl, 33529 } 33530 } 33531 33532 // Hls Ts File Mode 33533 const ( 33534 // HlsTsFileModeSegmentedFiles is a HlsTsFileMode enum value 33535 HlsTsFileModeSegmentedFiles = "SEGMENTED_FILES" 33536 33537 // HlsTsFileModeSingleFile is a HlsTsFileMode enum value 33538 HlsTsFileModeSingleFile = "SINGLE_FILE" 33539 ) 33540 33541 // HlsTsFileMode_Values returns all elements of the HlsTsFileMode enum 33542 func HlsTsFileMode_Values() []string { 33543 return []string{ 33544 HlsTsFileModeSegmentedFiles, 33545 HlsTsFileModeSingleFile, 33546 } 33547 } 33548 33549 // Hls Webdav Http Transfer Mode 33550 const ( 33551 // HlsWebdavHttpTransferModeChunked is a HlsWebdavHttpTransferMode enum value 33552 HlsWebdavHttpTransferModeChunked = "CHUNKED" 33553 33554 // HlsWebdavHttpTransferModeNonChunked is a HlsWebdavHttpTransferMode enum value 33555 HlsWebdavHttpTransferModeNonChunked = "NON_CHUNKED" 33556 ) 33557 33558 // HlsWebdavHttpTransferMode_Values returns all elements of the HlsWebdavHttpTransferMode enum 33559 func HlsWebdavHttpTransferMode_Values() []string { 33560 return []string{ 33561 HlsWebdavHttpTransferModeChunked, 33562 HlsWebdavHttpTransferModeNonChunked, 33563 } 33564 } 33565 33566 // When set to "standard", an I-Frame only playlist will be written out for 33567 // each video output in the output group. This I-Frame only playlist will contain 33568 // byte range offsets pointing to the I-frame(s) in each segment. 33569 const ( 33570 // IFrameOnlyPlaylistTypeDisabled is a IFrameOnlyPlaylistType enum value 33571 IFrameOnlyPlaylistTypeDisabled = "DISABLED" 33572 33573 // IFrameOnlyPlaylistTypeStandard is a IFrameOnlyPlaylistType enum value 33574 IFrameOnlyPlaylistTypeStandard = "STANDARD" 33575 ) 33576 33577 // IFrameOnlyPlaylistType_Values returns all elements of the IFrameOnlyPlaylistType enum 33578 func IFrameOnlyPlaylistType_Values() []string { 33579 return []string{ 33580 IFrameOnlyPlaylistTypeDisabled, 33581 IFrameOnlyPlaylistTypeStandard, 33582 } 33583 } 33584 33585 // A standard input has two sources and a single pipeline input only has one. 33586 const ( 33587 // InputClassStandard is a InputClass enum value 33588 InputClassStandard = "STANDARD" 33589 33590 // InputClassSinglePipeline is a InputClass enum value 33591 InputClassSinglePipeline = "SINGLE_PIPELINE" 33592 ) 33593 33594 // InputClass_Values returns all elements of the InputClass enum 33595 func InputClass_Values() []string { 33596 return []string{ 33597 InputClassStandard, 33598 InputClassSinglePipeline, 33599 } 33600 } 33601 33602 // codec in increasing order of complexity 33603 const ( 33604 // InputCodecMpeg2 is a InputCodec enum value 33605 InputCodecMpeg2 = "MPEG2" 33606 33607 // InputCodecAvc is a InputCodec enum value 33608 InputCodecAvc = "AVC" 33609 33610 // InputCodecHevc is a InputCodec enum value 33611 InputCodecHevc = "HEVC" 33612 ) 33613 33614 // InputCodec_Values returns all elements of the InputCodec enum 33615 func InputCodec_Values() []string { 33616 return []string{ 33617 InputCodecMpeg2, 33618 InputCodecAvc, 33619 InputCodecHevc, 33620 } 33621 } 33622 33623 // Input Deblock Filter 33624 const ( 33625 // InputDeblockFilterDisabled is a InputDeblockFilter enum value 33626 InputDeblockFilterDisabled = "DISABLED" 33627 33628 // InputDeblockFilterEnabled is a InputDeblockFilter enum value 33629 InputDeblockFilterEnabled = "ENABLED" 33630 ) 33631 33632 // InputDeblockFilter_Values returns all elements of the InputDeblockFilter enum 33633 func InputDeblockFilter_Values() []string { 33634 return []string{ 33635 InputDeblockFilterDisabled, 33636 InputDeblockFilterEnabled, 33637 } 33638 } 33639 33640 // Input Denoise Filter 33641 const ( 33642 // InputDenoiseFilterDisabled is a InputDenoiseFilter enum value 33643 InputDenoiseFilterDisabled = "DISABLED" 33644 33645 // InputDenoiseFilterEnabled is a InputDenoiseFilter enum value 33646 InputDenoiseFilterEnabled = "ENABLED" 33647 ) 33648 33649 // InputDenoiseFilter_Values returns all elements of the InputDenoiseFilter enum 33650 func InputDenoiseFilter_Values() []string { 33651 return []string{ 33652 InputDenoiseFilterDisabled, 33653 InputDenoiseFilterEnabled, 33654 } 33655 } 33656 33657 // The source at the input device that is currently active. 33658 const ( 33659 // InputDeviceActiveInputHdmi is a InputDeviceActiveInput enum value 33660 InputDeviceActiveInputHdmi = "HDMI" 33661 33662 // InputDeviceActiveInputSdi is a InputDeviceActiveInput enum value 33663 InputDeviceActiveInputSdi = "SDI" 33664 ) 33665 33666 // InputDeviceActiveInput_Values returns all elements of the InputDeviceActiveInput enum 33667 func InputDeviceActiveInput_Values() []string { 33668 return []string{ 33669 InputDeviceActiveInputHdmi, 33670 InputDeviceActiveInputSdi, 33671 } 33672 } 33673 33674 // The source to activate (use) from the input device. 33675 const ( 33676 // InputDeviceConfiguredInputAuto is a InputDeviceConfiguredInput enum value 33677 InputDeviceConfiguredInputAuto = "AUTO" 33678 33679 // InputDeviceConfiguredInputHdmi is a InputDeviceConfiguredInput enum value 33680 InputDeviceConfiguredInputHdmi = "HDMI" 33681 33682 // InputDeviceConfiguredInputSdi is a InputDeviceConfiguredInput enum value 33683 InputDeviceConfiguredInputSdi = "SDI" 33684 ) 33685 33686 // InputDeviceConfiguredInput_Values returns all elements of the InputDeviceConfiguredInput enum 33687 func InputDeviceConfiguredInput_Values() []string { 33688 return []string{ 33689 InputDeviceConfiguredInputAuto, 33690 InputDeviceConfiguredInputHdmi, 33691 InputDeviceConfiguredInputSdi, 33692 } 33693 } 33694 33695 // The state of the connection between the input device and AWS. 33696 const ( 33697 // InputDeviceConnectionStateDisconnected is a InputDeviceConnectionState enum value 33698 InputDeviceConnectionStateDisconnected = "DISCONNECTED" 33699 33700 // InputDeviceConnectionStateConnected is a InputDeviceConnectionState enum value 33701 InputDeviceConnectionStateConnected = "CONNECTED" 33702 ) 33703 33704 // InputDeviceConnectionState_Values returns all elements of the InputDeviceConnectionState enum 33705 func InputDeviceConnectionState_Values() []string { 33706 return []string{ 33707 InputDeviceConnectionStateDisconnected, 33708 InputDeviceConnectionStateConnected, 33709 } 33710 } 33711 33712 // Specifies whether the input device has been configured (outside of MediaLive) 33713 // to use a dynamic IP address assignment (DHCP) or a static IP address. 33714 const ( 33715 // InputDeviceIpSchemeStatic is a InputDeviceIpScheme enum value 33716 InputDeviceIpSchemeStatic = "STATIC" 33717 33718 // InputDeviceIpSchemeDhcp is a InputDeviceIpScheme enum value 33719 InputDeviceIpSchemeDhcp = "DHCP" 33720 ) 33721 33722 // InputDeviceIpScheme_Values returns all elements of the InputDeviceIpScheme enum 33723 func InputDeviceIpScheme_Values() []string { 33724 return []string{ 33725 InputDeviceIpSchemeStatic, 33726 InputDeviceIpSchemeDhcp, 33727 } 33728 } 33729 33730 // The scan type of the video source. 33731 const ( 33732 // InputDeviceScanTypeInterlaced is a InputDeviceScanType enum value 33733 InputDeviceScanTypeInterlaced = "INTERLACED" 33734 33735 // InputDeviceScanTypeProgressive is a InputDeviceScanType enum value 33736 InputDeviceScanTypeProgressive = "PROGRESSIVE" 33737 ) 33738 33739 // InputDeviceScanType_Values returns all elements of the InputDeviceScanType enum 33740 func InputDeviceScanType_Values() []string { 33741 return []string{ 33742 InputDeviceScanTypeInterlaced, 33743 InputDeviceScanTypeProgressive, 33744 } 33745 } 33746 33747 // The state of the input device. 33748 const ( 33749 // InputDeviceStateIdle is a InputDeviceState enum value 33750 InputDeviceStateIdle = "IDLE" 33751 33752 // InputDeviceStateStreaming is a InputDeviceState enum value 33753 InputDeviceStateStreaming = "STREAMING" 33754 ) 33755 33756 // InputDeviceState_Values returns all elements of the InputDeviceState enum 33757 func InputDeviceState_Values() []string { 33758 return []string{ 33759 InputDeviceStateIdle, 33760 InputDeviceStateStreaming, 33761 } 33762 } 33763 33764 // The type of device transfer. INCOMING for an input device that is being transferred 33765 // to you, OUTGOING for an input device that you are transferring to another 33766 // AWS account. 33767 const ( 33768 // InputDeviceTransferTypeOutgoing is a InputDeviceTransferType enum value 33769 InputDeviceTransferTypeOutgoing = "OUTGOING" 33770 33771 // InputDeviceTransferTypeIncoming is a InputDeviceTransferType enum value 33772 InputDeviceTransferTypeIncoming = "INCOMING" 33773 ) 33774 33775 // InputDeviceTransferType_Values returns all elements of the InputDeviceTransferType enum 33776 func InputDeviceTransferType_Values() []string { 33777 return []string{ 33778 InputDeviceTransferTypeOutgoing, 33779 InputDeviceTransferTypeIncoming, 33780 } 33781 } 33782 33783 // The type of the input device. For an AWS Elemental Link device that outputs 33784 // resolutions up to 1080, choose "HD". 33785 const ( 33786 // InputDeviceTypeHd is a InputDeviceType enum value 33787 InputDeviceTypeHd = "HD" 33788 ) 33789 33790 // InputDeviceType_Values returns all elements of the InputDeviceType enum 33791 func InputDeviceType_Values() []string { 33792 return []string{ 33793 InputDeviceTypeHd, 33794 } 33795 } 33796 33797 // Input Filter 33798 const ( 33799 // InputFilterAuto is a InputFilter enum value 33800 InputFilterAuto = "AUTO" 33801 33802 // InputFilterDisabled is a InputFilter enum value 33803 InputFilterDisabled = "DISABLED" 33804 33805 // InputFilterForced is a InputFilter enum value 33806 InputFilterForced = "FORCED" 33807 ) 33808 33809 // InputFilter_Values returns all elements of the InputFilter enum 33810 func InputFilter_Values() []string { 33811 return []string{ 33812 InputFilterAuto, 33813 InputFilterDisabled, 33814 InputFilterForced, 33815 } 33816 } 33817 33818 // Input Loss Action For Hls Out 33819 const ( 33820 // InputLossActionForHlsOutEmitOutput is a InputLossActionForHlsOut enum value 33821 InputLossActionForHlsOutEmitOutput = "EMIT_OUTPUT" 33822 33823 // InputLossActionForHlsOutPauseOutput is a InputLossActionForHlsOut enum value 33824 InputLossActionForHlsOutPauseOutput = "PAUSE_OUTPUT" 33825 ) 33826 33827 // InputLossActionForHlsOut_Values returns all elements of the InputLossActionForHlsOut enum 33828 func InputLossActionForHlsOut_Values() []string { 33829 return []string{ 33830 InputLossActionForHlsOutEmitOutput, 33831 InputLossActionForHlsOutPauseOutput, 33832 } 33833 } 33834 33835 // Input Loss Action For Ms Smooth Out 33836 const ( 33837 // InputLossActionForMsSmoothOutEmitOutput is a InputLossActionForMsSmoothOut enum value 33838 InputLossActionForMsSmoothOutEmitOutput = "EMIT_OUTPUT" 33839 33840 // InputLossActionForMsSmoothOutPauseOutput is a InputLossActionForMsSmoothOut enum value 33841 InputLossActionForMsSmoothOutPauseOutput = "PAUSE_OUTPUT" 33842 ) 33843 33844 // InputLossActionForMsSmoothOut_Values returns all elements of the InputLossActionForMsSmoothOut enum 33845 func InputLossActionForMsSmoothOut_Values() []string { 33846 return []string{ 33847 InputLossActionForMsSmoothOutEmitOutput, 33848 InputLossActionForMsSmoothOutPauseOutput, 33849 } 33850 } 33851 33852 // Input Loss Action For Rtmp Out 33853 const ( 33854 // InputLossActionForRtmpOutEmitOutput is a InputLossActionForRtmpOut enum value 33855 InputLossActionForRtmpOutEmitOutput = "EMIT_OUTPUT" 33856 33857 // InputLossActionForRtmpOutPauseOutput is a InputLossActionForRtmpOut enum value 33858 InputLossActionForRtmpOutPauseOutput = "PAUSE_OUTPUT" 33859 ) 33860 33861 // InputLossActionForRtmpOut_Values returns all elements of the InputLossActionForRtmpOut enum 33862 func InputLossActionForRtmpOut_Values() []string { 33863 return []string{ 33864 InputLossActionForRtmpOutEmitOutput, 33865 InputLossActionForRtmpOutPauseOutput, 33866 } 33867 } 33868 33869 // Input Loss Action For Udp Out 33870 const ( 33871 // InputLossActionForUdpOutDropProgram is a InputLossActionForUdpOut enum value 33872 InputLossActionForUdpOutDropProgram = "DROP_PROGRAM" 33873 33874 // InputLossActionForUdpOutDropTs is a InputLossActionForUdpOut enum value 33875 InputLossActionForUdpOutDropTs = "DROP_TS" 33876 33877 // InputLossActionForUdpOutEmitProgram is a InputLossActionForUdpOut enum value 33878 InputLossActionForUdpOutEmitProgram = "EMIT_PROGRAM" 33879 ) 33880 33881 // InputLossActionForUdpOut_Values returns all elements of the InputLossActionForUdpOut enum 33882 func InputLossActionForUdpOut_Values() []string { 33883 return []string{ 33884 InputLossActionForUdpOutDropProgram, 33885 InputLossActionForUdpOutDropTs, 33886 InputLossActionForUdpOutEmitProgram, 33887 } 33888 } 33889 33890 // Input Loss Image Type 33891 const ( 33892 // InputLossImageTypeColor is a InputLossImageType enum value 33893 InputLossImageTypeColor = "COLOR" 33894 33895 // InputLossImageTypeSlate is a InputLossImageType enum value 33896 InputLossImageTypeSlate = "SLATE" 33897 ) 33898 33899 // InputLossImageType_Values returns all elements of the InputLossImageType enum 33900 func InputLossImageType_Values() []string { 33901 return []string{ 33902 InputLossImageTypeColor, 33903 InputLossImageTypeSlate, 33904 } 33905 } 33906 33907 // Maximum input bitrate in megabits per second. Bitrates up to 50 Mbps are 33908 // supported currently. 33909 const ( 33910 // InputMaximumBitrateMax10Mbps is a InputMaximumBitrate enum value 33911 InputMaximumBitrateMax10Mbps = "MAX_10_MBPS" 33912 33913 // InputMaximumBitrateMax20Mbps is a InputMaximumBitrate enum value 33914 InputMaximumBitrateMax20Mbps = "MAX_20_MBPS" 33915 33916 // InputMaximumBitrateMax50Mbps is a InputMaximumBitrate enum value 33917 InputMaximumBitrateMax50Mbps = "MAX_50_MBPS" 33918 ) 33919 33920 // InputMaximumBitrate_Values returns all elements of the InputMaximumBitrate enum 33921 func InputMaximumBitrate_Values() []string { 33922 return []string{ 33923 InputMaximumBitrateMax10Mbps, 33924 InputMaximumBitrateMax20Mbps, 33925 InputMaximumBitrateMax50Mbps, 33926 } 33927 } 33928 33929 // Input preference when deciding which input to make active when a previously 33930 // failed input has recovered.If \"EQUAL_INPUT_PREFERENCE\", then the active 33931 // input will stay active as long as it is healthy.If \"PRIMARY_INPUT_PREFERRED\", 33932 // then always switch back to the primary input when it is healthy. 33933 const ( 33934 // InputPreferenceEqualInputPreference is a InputPreference enum value 33935 InputPreferenceEqualInputPreference = "EQUAL_INPUT_PREFERENCE" 33936 33937 // InputPreferencePrimaryInputPreferred is a InputPreference enum value 33938 InputPreferencePrimaryInputPreferred = "PRIMARY_INPUT_PREFERRED" 33939 ) 33940 33941 // InputPreference_Values returns all elements of the InputPreference enum 33942 func InputPreference_Values() []string { 33943 return []string{ 33944 InputPreferenceEqualInputPreference, 33945 InputPreferencePrimaryInputPreferred, 33946 } 33947 } 33948 33949 // Input resolution based on lines of vertical resolution in the input; SD is 33950 // less than 720 lines, HD is 720 to 1080 lines, UHD is greater than 1080 lines 33951 const ( 33952 // InputResolutionSd is a InputResolution enum value 33953 InputResolutionSd = "SD" 33954 33955 // InputResolutionHd is a InputResolution enum value 33956 InputResolutionHd = "HD" 33957 33958 // InputResolutionUhd is a InputResolution enum value 33959 InputResolutionUhd = "UHD" 33960 ) 33961 33962 // InputResolution_Values returns all elements of the InputResolution enum 33963 func InputResolution_Values() []string { 33964 return []string{ 33965 InputResolutionSd, 33966 InputResolutionHd, 33967 InputResolutionUhd, 33968 } 33969 } 33970 33971 const ( 33972 // InputSecurityGroupStateIdle is a InputSecurityGroupState enum value 33973 InputSecurityGroupStateIdle = "IDLE" 33974 33975 // InputSecurityGroupStateInUse is a InputSecurityGroupState enum value 33976 InputSecurityGroupStateInUse = "IN_USE" 33977 33978 // InputSecurityGroupStateUpdating is a InputSecurityGroupState enum value 33979 InputSecurityGroupStateUpdating = "UPDATING" 33980 33981 // InputSecurityGroupStateDeleted is a InputSecurityGroupState enum value 33982 InputSecurityGroupStateDeleted = "DELETED" 33983 ) 33984 33985 // InputSecurityGroupState_Values returns all elements of the InputSecurityGroupState enum 33986 func InputSecurityGroupState_Values() []string { 33987 return []string{ 33988 InputSecurityGroupStateIdle, 33989 InputSecurityGroupStateInUse, 33990 InputSecurityGroupStateUpdating, 33991 InputSecurityGroupStateDeleted, 33992 } 33993 } 33994 33995 // Input Source End Behavior 33996 const ( 33997 // InputSourceEndBehaviorContinue is a InputSourceEndBehavior enum value 33998 InputSourceEndBehaviorContinue = "CONTINUE" 33999 34000 // InputSourceEndBehaviorLoop is a InputSourceEndBehavior enum value 34001 InputSourceEndBehaviorLoop = "LOOP" 34002 ) 34003 34004 // InputSourceEndBehavior_Values returns all elements of the InputSourceEndBehavior enum 34005 func InputSourceEndBehavior_Values() []string { 34006 return []string{ 34007 InputSourceEndBehaviorContinue, 34008 InputSourceEndBehaviorLoop, 34009 } 34010 } 34011 34012 // There are two types of input sources, static and dynamic. If an input source 34013 // is dynamic you canchange the source url of the input dynamically using an 34014 // input switch action. Currently, two input typessupport a dynamic url at this 34015 // time, MP4_FILE and TS_FILE. By default all input sources are static. 34016 const ( 34017 // InputSourceTypeStatic is a InputSourceType enum value 34018 InputSourceTypeStatic = "STATIC" 34019 34020 // InputSourceTypeDynamic is a InputSourceType enum value 34021 InputSourceTypeDynamic = "DYNAMIC" 34022 ) 34023 34024 // InputSourceType_Values returns all elements of the InputSourceType enum 34025 func InputSourceType_Values() []string { 34026 return []string{ 34027 InputSourceTypeStatic, 34028 InputSourceTypeDynamic, 34029 } 34030 } 34031 34032 const ( 34033 // InputStateCreating is a InputState enum value 34034 InputStateCreating = "CREATING" 34035 34036 // InputStateDetached is a InputState enum value 34037 InputStateDetached = "DETACHED" 34038 34039 // InputStateAttached is a InputState enum value 34040 InputStateAttached = "ATTACHED" 34041 34042 // InputStateDeleting is a InputState enum value 34043 InputStateDeleting = "DELETING" 34044 34045 // InputStateDeleted is a InputState enum value 34046 InputStateDeleted = "DELETED" 34047 ) 34048 34049 // InputState_Values returns all elements of the InputState enum 34050 func InputState_Values() []string { 34051 return []string{ 34052 InputStateCreating, 34053 InputStateDetached, 34054 InputStateAttached, 34055 InputStateDeleting, 34056 InputStateDeleted, 34057 } 34058 } 34059 34060 // To clip the file, you must specify the timecode for the start and end of 34061 // the clip. Specify EMBEDDED to use the timecode embedded in the source content. 34062 // The embedded timecode must exist in the source content, otherwise MediaLive 34063 // will output black frames until it reaches the end of the source. Specify 34064 // ZEROBASED to use a timecode that assumes that the first frame in the file 34065 // has the timestamp 00:00:00.00. There is no default for this field, you must 34066 // specify a value. 34067 const ( 34068 // InputTimecodeSourceZerobased is a InputTimecodeSource enum value 34069 InputTimecodeSourceZerobased = "ZEROBASED" 34070 34071 // InputTimecodeSourceEmbedded is a InputTimecodeSource enum value 34072 InputTimecodeSourceEmbedded = "EMBEDDED" 34073 ) 34074 34075 // InputTimecodeSource_Values returns all elements of the InputTimecodeSource enum 34076 func InputTimecodeSource_Values() []string { 34077 return []string{ 34078 InputTimecodeSourceZerobased, 34079 InputTimecodeSourceEmbedded, 34080 } 34081 } 34082 34083 // The different types of inputs that AWS Elemental MediaLive supports. 34084 const ( 34085 // InputTypeUdpPush is a InputType enum value 34086 InputTypeUdpPush = "UDP_PUSH" 34087 34088 // InputTypeRtpPush is a InputType enum value 34089 InputTypeRtpPush = "RTP_PUSH" 34090 34091 // InputTypeRtmpPush is a InputType enum value 34092 InputTypeRtmpPush = "RTMP_PUSH" 34093 34094 // InputTypeRtmpPull is a InputType enum value 34095 InputTypeRtmpPull = "RTMP_PULL" 34096 34097 // InputTypeUrlPull is a InputType enum value 34098 InputTypeUrlPull = "URL_PULL" 34099 34100 // InputTypeMp4File is a InputType enum value 34101 InputTypeMp4File = "MP4_FILE" 34102 34103 // InputTypeMediaconnect is a InputType enum value 34104 InputTypeMediaconnect = "MEDIACONNECT" 34105 34106 // InputTypeInputDevice is a InputType enum value 34107 InputTypeInputDevice = "INPUT_DEVICE" 34108 34109 // InputTypeAwsCdi is a InputType enum value 34110 InputTypeAwsCdi = "AWS_CDI" 34111 34112 // InputTypeTsFile is a InputType enum value 34113 InputTypeTsFile = "TS_FILE" 34114 ) 34115 34116 // InputType_Values returns all elements of the InputType enum 34117 func InputType_Values() []string { 34118 return []string{ 34119 InputTypeUdpPush, 34120 InputTypeRtpPush, 34121 InputTypeRtmpPush, 34122 InputTypeRtmpPull, 34123 InputTypeUrlPull, 34124 InputTypeMp4File, 34125 InputTypeMediaconnect, 34126 InputTypeInputDevice, 34127 InputTypeAwsCdi, 34128 InputTypeTsFile, 34129 } 34130 } 34131 34132 // If you specify a StopTimecode in an input (in order to clip the file), you 34133 // can specify if you want the clip to exclude (the default) or include the 34134 // frame specified by the timecode. 34135 const ( 34136 // LastFrameClippingBehaviorExcludeLastFrame is a LastFrameClippingBehavior enum value 34137 LastFrameClippingBehaviorExcludeLastFrame = "EXCLUDE_LAST_FRAME" 34138 34139 // LastFrameClippingBehaviorIncludeLastFrame is a LastFrameClippingBehavior enum value 34140 LastFrameClippingBehaviorIncludeLastFrame = "INCLUDE_LAST_FRAME" 34141 ) 34142 34143 // LastFrameClippingBehavior_Values returns all elements of the LastFrameClippingBehavior enum 34144 func LastFrameClippingBehavior_Values() []string { 34145 return []string{ 34146 LastFrameClippingBehaviorExcludeLastFrame, 34147 LastFrameClippingBehaviorIncludeLastFrame, 34148 } 34149 } 34150 34151 // The log level the user wants for their channel. 34152 const ( 34153 // LogLevelError is a LogLevel enum value 34154 LogLevelError = "ERROR" 34155 34156 // LogLevelWarning is a LogLevel enum value 34157 LogLevelWarning = "WARNING" 34158 34159 // LogLevelInfo is a LogLevel enum value 34160 LogLevelInfo = "INFO" 34161 34162 // LogLevelDebug is a LogLevel enum value 34163 LogLevelDebug = "DEBUG" 34164 34165 // LogLevelDisabled is a LogLevel enum value 34166 LogLevelDisabled = "DISABLED" 34167 ) 34168 34169 // LogLevel_Values returns all elements of the LogLevel enum 34170 func LogLevel_Values() []string { 34171 return []string{ 34172 LogLevelError, 34173 LogLevelWarning, 34174 LogLevelInfo, 34175 LogLevelDebug, 34176 LogLevelDisabled, 34177 } 34178 } 34179 34180 // M2ts Absent Input Audio Behavior 34181 const ( 34182 // M2tsAbsentInputAudioBehaviorDrop is a M2tsAbsentInputAudioBehavior enum value 34183 M2tsAbsentInputAudioBehaviorDrop = "DROP" 34184 34185 // M2tsAbsentInputAudioBehaviorEncodeSilence is a M2tsAbsentInputAudioBehavior enum value 34186 M2tsAbsentInputAudioBehaviorEncodeSilence = "ENCODE_SILENCE" 34187 ) 34188 34189 // M2tsAbsentInputAudioBehavior_Values returns all elements of the M2tsAbsentInputAudioBehavior enum 34190 func M2tsAbsentInputAudioBehavior_Values() []string { 34191 return []string{ 34192 M2tsAbsentInputAudioBehaviorDrop, 34193 M2tsAbsentInputAudioBehaviorEncodeSilence, 34194 } 34195 } 34196 34197 // M2ts Arib 34198 const ( 34199 // M2tsAribDisabled is a M2tsArib enum value 34200 M2tsAribDisabled = "DISABLED" 34201 34202 // M2tsAribEnabled is a M2tsArib enum value 34203 M2tsAribEnabled = "ENABLED" 34204 ) 34205 34206 // M2tsArib_Values returns all elements of the M2tsArib enum 34207 func M2tsArib_Values() []string { 34208 return []string{ 34209 M2tsAribDisabled, 34210 M2tsAribEnabled, 34211 } 34212 } 34213 34214 // M2ts Arib Captions Pid Control 34215 const ( 34216 // M2tsAribCaptionsPidControlAuto is a M2tsAribCaptionsPidControl enum value 34217 M2tsAribCaptionsPidControlAuto = "AUTO" 34218 34219 // M2tsAribCaptionsPidControlUseConfigured is a M2tsAribCaptionsPidControl enum value 34220 M2tsAribCaptionsPidControlUseConfigured = "USE_CONFIGURED" 34221 ) 34222 34223 // M2tsAribCaptionsPidControl_Values returns all elements of the M2tsAribCaptionsPidControl enum 34224 func M2tsAribCaptionsPidControl_Values() []string { 34225 return []string{ 34226 M2tsAribCaptionsPidControlAuto, 34227 M2tsAribCaptionsPidControlUseConfigured, 34228 } 34229 } 34230 34231 // M2ts Audio Buffer Model 34232 const ( 34233 // M2tsAudioBufferModelAtsc is a M2tsAudioBufferModel enum value 34234 M2tsAudioBufferModelAtsc = "ATSC" 34235 34236 // M2tsAudioBufferModelDvb is a M2tsAudioBufferModel enum value 34237 M2tsAudioBufferModelDvb = "DVB" 34238 ) 34239 34240 // M2tsAudioBufferModel_Values returns all elements of the M2tsAudioBufferModel enum 34241 func M2tsAudioBufferModel_Values() []string { 34242 return []string{ 34243 M2tsAudioBufferModelAtsc, 34244 M2tsAudioBufferModelDvb, 34245 } 34246 } 34247 34248 // M2ts Audio Interval 34249 const ( 34250 // M2tsAudioIntervalVideoAndFixedIntervals is a M2tsAudioInterval enum value 34251 M2tsAudioIntervalVideoAndFixedIntervals = "VIDEO_AND_FIXED_INTERVALS" 34252 34253 // M2tsAudioIntervalVideoInterval is a M2tsAudioInterval enum value 34254 M2tsAudioIntervalVideoInterval = "VIDEO_INTERVAL" 34255 ) 34256 34257 // M2tsAudioInterval_Values returns all elements of the M2tsAudioInterval enum 34258 func M2tsAudioInterval_Values() []string { 34259 return []string{ 34260 M2tsAudioIntervalVideoAndFixedIntervals, 34261 M2tsAudioIntervalVideoInterval, 34262 } 34263 } 34264 34265 // M2ts Audio Stream Type 34266 const ( 34267 // M2tsAudioStreamTypeAtsc is a M2tsAudioStreamType enum value 34268 M2tsAudioStreamTypeAtsc = "ATSC" 34269 34270 // M2tsAudioStreamTypeDvb is a M2tsAudioStreamType enum value 34271 M2tsAudioStreamTypeDvb = "DVB" 34272 ) 34273 34274 // M2tsAudioStreamType_Values returns all elements of the M2tsAudioStreamType enum 34275 func M2tsAudioStreamType_Values() []string { 34276 return []string{ 34277 M2tsAudioStreamTypeAtsc, 34278 M2tsAudioStreamTypeDvb, 34279 } 34280 } 34281 34282 // M2ts Buffer Model 34283 const ( 34284 // M2tsBufferModelMultiplex is a M2tsBufferModel enum value 34285 M2tsBufferModelMultiplex = "MULTIPLEX" 34286 34287 // M2tsBufferModelNone is a M2tsBufferModel enum value 34288 M2tsBufferModelNone = "NONE" 34289 ) 34290 34291 // M2tsBufferModel_Values returns all elements of the M2tsBufferModel enum 34292 func M2tsBufferModel_Values() []string { 34293 return []string{ 34294 M2tsBufferModelMultiplex, 34295 M2tsBufferModelNone, 34296 } 34297 } 34298 34299 // M2ts Cc Descriptor 34300 const ( 34301 // M2tsCcDescriptorDisabled is a M2tsCcDescriptor enum value 34302 M2tsCcDescriptorDisabled = "DISABLED" 34303 34304 // M2tsCcDescriptorEnabled is a M2tsCcDescriptor enum value 34305 M2tsCcDescriptorEnabled = "ENABLED" 34306 ) 34307 34308 // M2tsCcDescriptor_Values returns all elements of the M2tsCcDescriptor enum 34309 func M2tsCcDescriptor_Values() []string { 34310 return []string{ 34311 M2tsCcDescriptorDisabled, 34312 M2tsCcDescriptorEnabled, 34313 } 34314 } 34315 34316 // M2ts Ebif Control 34317 const ( 34318 // M2tsEbifControlNone is a M2tsEbifControl enum value 34319 M2tsEbifControlNone = "NONE" 34320 34321 // M2tsEbifControlPassthrough is a M2tsEbifControl enum value 34322 M2tsEbifControlPassthrough = "PASSTHROUGH" 34323 ) 34324 34325 // M2tsEbifControl_Values returns all elements of the M2tsEbifControl enum 34326 func M2tsEbifControl_Values() []string { 34327 return []string{ 34328 M2tsEbifControlNone, 34329 M2tsEbifControlPassthrough, 34330 } 34331 } 34332 34333 // M2ts Ebp Placement 34334 const ( 34335 // M2tsEbpPlacementVideoAndAudioPids is a M2tsEbpPlacement enum value 34336 M2tsEbpPlacementVideoAndAudioPids = "VIDEO_AND_AUDIO_PIDS" 34337 34338 // M2tsEbpPlacementVideoPid is a M2tsEbpPlacement enum value 34339 M2tsEbpPlacementVideoPid = "VIDEO_PID" 34340 ) 34341 34342 // M2tsEbpPlacement_Values returns all elements of the M2tsEbpPlacement enum 34343 func M2tsEbpPlacement_Values() []string { 34344 return []string{ 34345 M2tsEbpPlacementVideoAndAudioPids, 34346 M2tsEbpPlacementVideoPid, 34347 } 34348 } 34349 34350 // M2ts Es Rate In Pes 34351 const ( 34352 // M2tsEsRateInPesExclude is a M2tsEsRateInPes enum value 34353 M2tsEsRateInPesExclude = "EXCLUDE" 34354 34355 // M2tsEsRateInPesInclude is a M2tsEsRateInPes enum value 34356 M2tsEsRateInPesInclude = "INCLUDE" 34357 ) 34358 34359 // M2tsEsRateInPes_Values returns all elements of the M2tsEsRateInPes enum 34360 func M2tsEsRateInPes_Values() []string { 34361 return []string{ 34362 M2tsEsRateInPesExclude, 34363 M2tsEsRateInPesInclude, 34364 } 34365 } 34366 34367 // M2ts Klv 34368 const ( 34369 // M2tsKlvNone is a M2tsKlv enum value 34370 M2tsKlvNone = "NONE" 34371 34372 // M2tsKlvPassthrough is a M2tsKlv enum value 34373 M2tsKlvPassthrough = "PASSTHROUGH" 34374 ) 34375 34376 // M2tsKlv_Values returns all elements of the M2tsKlv enum 34377 func M2tsKlv_Values() []string { 34378 return []string{ 34379 M2tsKlvNone, 34380 M2tsKlvPassthrough, 34381 } 34382 } 34383 34384 // M2ts Nielsen Id3 Behavior 34385 const ( 34386 // M2tsNielsenId3BehaviorNoPassthrough is a M2tsNielsenId3Behavior enum value 34387 M2tsNielsenId3BehaviorNoPassthrough = "NO_PASSTHROUGH" 34388 34389 // M2tsNielsenId3BehaviorPassthrough is a M2tsNielsenId3Behavior enum value 34390 M2tsNielsenId3BehaviorPassthrough = "PASSTHROUGH" 34391 ) 34392 34393 // M2tsNielsenId3Behavior_Values returns all elements of the M2tsNielsenId3Behavior enum 34394 func M2tsNielsenId3Behavior_Values() []string { 34395 return []string{ 34396 M2tsNielsenId3BehaviorNoPassthrough, 34397 M2tsNielsenId3BehaviorPassthrough, 34398 } 34399 } 34400 34401 // M2ts Pcr Control 34402 const ( 34403 // M2tsPcrControlConfiguredPcrPeriod is a M2tsPcrControl enum value 34404 M2tsPcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" 34405 34406 // M2tsPcrControlPcrEveryPesPacket is a M2tsPcrControl enum value 34407 M2tsPcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" 34408 ) 34409 34410 // M2tsPcrControl_Values returns all elements of the M2tsPcrControl enum 34411 func M2tsPcrControl_Values() []string { 34412 return []string{ 34413 M2tsPcrControlConfiguredPcrPeriod, 34414 M2tsPcrControlPcrEveryPesPacket, 34415 } 34416 } 34417 34418 // M2ts Rate Mode 34419 const ( 34420 // M2tsRateModeCbr is a M2tsRateMode enum value 34421 M2tsRateModeCbr = "CBR" 34422 34423 // M2tsRateModeVbr is a M2tsRateMode enum value 34424 M2tsRateModeVbr = "VBR" 34425 ) 34426 34427 // M2tsRateMode_Values returns all elements of the M2tsRateMode enum 34428 func M2tsRateMode_Values() []string { 34429 return []string{ 34430 M2tsRateModeCbr, 34431 M2tsRateModeVbr, 34432 } 34433 } 34434 34435 // M2ts Scte35 Control 34436 const ( 34437 // M2tsScte35ControlNone is a M2tsScte35Control enum value 34438 M2tsScte35ControlNone = "NONE" 34439 34440 // M2tsScte35ControlPassthrough is a M2tsScte35Control enum value 34441 M2tsScte35ControlPassthrough = "PASSTHROUGH" 34442 ) 34443 34444 // M2tsScte35Control_Values returns all elements of the M2tsScte35Control enum 34445 func M2tsScte35Control_Values() []string { 34446 return []string{ 34447 M2tsScte35ControlNone, 34448 M2tsScte35ControlPassthrough, 34449 } 34450 } 34451 34452 // M2ts Segmentation Markers 34453 const ( 34454 // M2tsSegmentationMarkersEbp is a M2tsSegmentationMarkers enum value 34455 M2tsSegmentationMarkersEbp = "EBP" 34456 34457 // M2tsSegmentationMarkersEbpLegacy is a M2tsSegmentationMarkers enum value 34458 M2tsSegmentationMarkersEbpLegacy = "EBP_LEGACY" 34459 34460 // M2tsSegmentationMarkersNone is a M2tsSegmentationMarkers enum value 34461 M2tsSegmentationMarkersNone = "NONE" 34462 34463 // M2tsSegmentationMarkersPsiSegstart is a M2tsSegmentationMarkers enum value 34464 M2tsSegmentationMarkersPsiSegstart = "PSI_SEGSTART" 34465 34466 // M2tsSegmentationMarkersRaiAdapt is a M2tsSegmentationMarkers enum value 34467 M2tsSegmentationMarkersRaiAdapt = "RAI_ADAPT" 34468 34469 // M2tsSegmentationMarkersRaiSegstart is a M2tsSegmentationMarkers enum value 34470 M2tsSegmentationMarkersRaiSegstart = "RAI_SEGSTART" 34471 ) 34472 34473 // M2tsSegmentationMarkers_Values returns all elements of the M2tsSegmentationMarkers enum 34474 func M2tsSegmentationMarkers_Values() []string { 34475 return []string{ 34476 M2tsSegmentationMarkersEbp, 34477 M2tsSegmentationMarkersEbpLegacy, 34478 M2tsSegmentationMarkersNone, 34479 M2tsSegmentationMarkersPsiSegstart, 34480 M2tsSegmentationMarkersRaiAdapt, 34481 M2tsSegmentationMarkersRaiSegstart, 34482 } 34483 } 34484 34485 // M2ts Segmentation Style 34486 const ( 34487 // M2tsSegmentationStyleMaintainCadence is a M2tsSegmentationStyle enum value 34488 M2tsSegmentationStyleMaintainCadence = "MAINTAIN_CADENCE" 34489 34490 // M2tsSegmentationStyleResetCadence is a M2tsSegmentationStyle enum value 34491 M2tsSegmentationStyleResetCadence = "RESET_CADENCE" 34492 ) 34493 34494 // M2tsSegmentationStyle_Values returns all elements of the M2tsSegmentationStyle enum 34495 func M2tsSegmentationStyle_Values() []string { 34496 return []string{ 34497 M2tsSegmentationStyleMaintainCadence, 34498 M2tsSegmentationStyleResetCadence, 34499 } 34500 } 34501 34502 // M2ts Timed Metadata Behavior 34503 const ( 34504 // M2tsTimedMetadataBehaviorNoPassthrough is a M2tsTimedMetadataBehavior enum value 34505 M2tsTimedMetadataBehaviorNoPassthrough = "NO_PASSTHROUGH" 34506 34507 // M2tsTimedMetadataBehaviorPassthrough is a M2tsTimedMetadataBehavior enum value 34508 M2tsTimedMetadataBehaviorPassthrough = "PASSTHROUGH" 34509 ) 34510 34511 // M2tsTimedMetadataBehavior_Values returns all elements of the M2tsTimedMetadataBehavior enum 34512 func M2tsTimedMetadataBehavior_Values() []string { 34513 return []string{ 34514 M2tsTimedMetadataBehaviorNoPassthrough, 34515 M2tsTimedMetadataBehaviorPassthrough, 34516 } 34517 } 34518 34519 // M3u8 Nielsen Id3 Behavior 34520 const ( 34521 // M3u8NielsenId3BehaviorNoPassthrough is a M3u8NielsenId3Behavior enum value 34522 M3u8NielsenId3BehaviorNoPassthrough = "NO_PASSTHROUGH" 34523 34524 // M3u8NielsenId3BehaviorPassthrough is a M3u8NielsenId3Behavior enum value 34525 M3u8NielsenId3BehaviorPassthrough = "PASSTHROUGH" 34526 ) 34527 34528 // M3u8NielsenId3Behavior_Values returns all elements of the M3u8NielsenId3Behavior enum 34529 func M3u8NielsenId3Behavior_Values() []string { 34530 return []string{ 34531 M3u8NielsenId3BehaviorNoPassthrough, 34532 M3u8NielsenId3BehaviorPassthrough, 34533 } 34534 } 34535 34536 // M3u8 Pcr Control 34537 const ( 34538 // M3u8PcrControlConfiguredPcrPeriod is a M3u8PcrControl enum value 34539 M3u8PcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" 34540 34541 // M3u8PcrControlPcrEveryPesPacket is a M3u8PcrControl enum value 34542 M3u8PcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" 34543 ) 34544 34545 // M3u8PcrControl_Values returns all elements of the M3u8PcrControl enum 34546 func M3u8PcrControl_Values() []string { 34547 return []string{ 34548 M3u8PcrControlConfiguredPcrPeriod, 34549 M3u8PcrControlPcrEveryPesPacket, 34550 } 34551 } 34552 34553 // M3u8 Scte35 Behavior 34554 const ( 34555 // M3u8Scte35BehaviorNoPassthrough is a M3u8Scte35Behavior enum value 34556 M3u8Scte35BehaviorNoPassthrough = "NO_PASSTHROUGH" 34557 34558 // M3u8Scte35BehaviorPassthrough is a M3u8Scte35Behavior enum value 34559 M3u8Scte35BehaviorPassthrough = "PASSTHROUGH" 34560 ) 34561 34562 // M3u8Scte35Behavior_Values returns all elements of the M3u8Scte35Behavior enum 34563 func M3u8Scte35Behavior_Values() []string { 34564 return []string{ 34565 M3u8Scte35BehaviorNoPassthrough, 34566 M3u8Scte35BehaviorPassthrough, 34567 } 34568 } 34569 34570 // M3u8 Timed Metadata Behavior 34571 const ( 34572 // M3u8TimedMetadataBehaviorNoPassthrough is a M3u8TimedMetadataBehavior enum value 34573 M3u8TimedMetadataBehaviorNoPassthrough = "NO_PASSTHROUGH" 34574 34575 // M3u8TimedMetadataBehaviorPassthrough is a M3u8TimedMetadataBehavior enum value 34576 M3u8TimedMetadataBehaviorPassthrough = "PASSTHROUGH" 34577 ) 34578 34579 // M3u8TimedMetadataBehavior_Values returns all elements of the M3u8TimedMetadataBehavior enum 34580 func M3u8TimedMetadataBehavior_Values() []string { 34581 return []string{ 34582 M3u8TimedMetadataBehaviorNoPassthrough, 34583 M3u8TimedMetadataBehaviorPassthrough, 34584 } 34585 } 34586 34587 // Motion Graphics Insertion 34588 const ( 34589 // MotionGraphicsInsertionDisabled is a MotionGraphicsInsertion enum value 34590 MotionGraphicsInsertionDisabled = "DISABLED" 34591 34592 // MotionGraphicsInsertionEnabled is a MotionGraphicsInsertion enum value 34593 MotionGraphicsInsertionEnabled = "ENABLED" 34594 ) 34595 34596 // MotionGraphicsInsertion_Values returns all elements of the MotionGraphicsInsertion enum 34597 func MotionGraphicsInsertion_Values() []string { 34598 return []string{ 34599 MotionGraphicsInsertionDisabled, 34600 MotionGraphicsInsertionEnabled, 34601 } 34602 } 34603 34604 // Mp2 Coding Mode 34605 const ( 34606 // Mp2CodingModeCodingMode10 is a Mp2CodingMode enum value 34607 Mp2CodingModeCodingMode10 = "CODING_MODE_1_0" 34608 34609 // Mp2CodingModeCodingMode20 is a Mp2CodingMode enum value 34610 Mp2CodingModeCodingMode20 = "CODING_MODE_2_0" 34611 ) 34612 34613 // Mp2CodingMode_Values returns all elements of the Mp2CodingMode enum 34614 func Mp2CodingMode_Values() []string { 34615 return []string{ 34616 Mp2CodingModeCodingMode10, 34617 Mp2CodingModeCodingMode20, 34618 } 34619 } 34620 34621 // Mpeg2 Adaptive Quantization 34622 const ( 34623 // Mpeg2AdaptiveQuantizationAuto is a Mpeg2AdaptiveQuantization enum value 34624 Mpeg2AdaptiveQuantizationAuto = "AUTO" 34625 34626 // Mpeg2AdaptiveQuantizationHigh is a Mpeg2AdaptiveQuantization enum value 34627 Mpeg2AdaptiveQuantizationHigh = "HIGH" 34628 34629 // Mpeg2AdaptiveQuantizationLow is a Mpeg2AdaptiveQuantization enum value 34630 Mpeg2AdaptiveQuantizationLow = "LOW" 34631 34632 // Mpeg2AdaptiveQuantizationMedium is a Mpeg2AdaptiveQuantization enum value 34633 Mpeg2AdaptiveQuantizationMedium = "MEDIUM" 34634 34635 // Mpeg2AdaptiveQuantizationOff is a Mpeg2AdaptiveQuantization enum value 34636 Mpeg2AdaptiveQuantizationOff = "OFF" 34637 ) 34638 34639 // Mpeg2AdaptiveQuantization_Values returns all elements of the Mpeg2AdaptiveQuantization enum 34640 func Mpeg2AdaptiveQuantization_Values() []string { 34641 return []string{ 34642 Mpeg2AdaptiveQuantizationAuto, 34643 Mpeg2AdaptiveQuantizationHigh, 34644 Mpeg2AdaptiveQuantizationLow, 34645 Mpeg2AdaptiveQuantizationMedium, 34646 Mpeg2AdaptiveQuantizationOff, 34647 } 34648 } 34649 34650 // Mpeg2 Color Metadata 34651 const ( 34652 // Mpeg2ColorMetadataIgnore is a Mpeg2ColorMetadata enum value 34653 Mpeg2ColorMetadataIgnore = "IGNORE" 34654 34655 // Mpeg2ColorMetadataInsert is a Mpeg2ColorMetadata enum value 34656 Mpeg2ColorMetadataInsert = "INSERT" 34657 ) 34658 34659 // Mpeg2ColorMetadata_Values returns all elements of the Mpeg2ColorMetadata enum 34660 func Mpeg2ColorMetadata_Values() []string { 34661 return []string{ 34662 Mpeg2ColorMetadataIgnore, 34663 Mpeg2ColorMetadataInsert, 34664 } 34665 } 34666 34667 // Mpeg2 Color Space 34668 const ( 34669 // Mpeg2ColorSpaceAuto is a Mpeg2ColorSpace enum value 34670 Mpeg2ColorSpaceAuto = "AUTO" 34671 34672 // Mpeg2ColorSpacePassthrough is a Mpeg2ColorSpace enum value 34673 Mpeg2ColorSpacePassthrough = "PASSTHROUGH" 34674 ) 34675 34676 // Mpeg2ColorSpace_Values returns all elements of the Mpeg2ColorSpace enum 34677 func Mpeg2ColorSpace_Values() []string { 34678 return []string{ 34679 Mpeg2ColorSpaceAuto, 34680 Mpeg2ColorSpacePassthrough, 34681 } 34682 } 34683 34684 // Mpeg2 Display Ratio 34685 const ( 34686 // Mpeg2DisplayRatioDisplayratio16x9 is a Mpeg2DisplayRatio enum value 34687 Mpeg2DisplayRatioDisplayratio16x9 = "DISPLAYRATIO16X9" 34688 34689 // Mpeg2DisplayRatioDisplayratio4x3 is a Mpeg2DisplayRatio enum value 34690 Mpeg2DisplayRatioDisplayratio4x3 = "DISPLAYRATIO4X3" 34691 ) 34692 34693 // Mpeg2DisplayRatio_Values returns all elements of the Mpeg2DisplayRatio enum 34694 func Mpeg2DisplayRatio_Values() []string { 34695 return []string{ 34696 Mpeg2DisplayRatioDisplayratio16x9, 34697 Mpeg2DisplayRatioDisplayratio4x3, 34698 } 34699 } 34700 34701 // Mpeg2 Gop Size Units 34702 const ( 34703 // Mpeg2GopSizeUnitsFrames is a Mpeg2GopSizeUnits enum value 34704 Mpeg2GopSizeUnitsFrames = "FRAMES" 34705 34706 // Mpeg2GopSizeUnitsSeconds is a Mpeg2GopSizeUnits enum value 34707 Mpeg2GopSizeUnitsSeconds = "SECONDS" 34708 ) 34709 34710 // Mpeg2GopSizeUnits_Values returns all elements of the Mpeg2GopSizeUnits enum 34711 func Mpeg2GopSizeUnits_Values() []string { 34712 return []string{ 34713 Mpeg2GopSizeUnitsFrames, 34714 Mpeg2GopSizeUnitsSeconds, 34715 } 34716 } 34717 34718 // Mpeg2 Scan Type 34719 const ( 34720 // Mpeg2ScanTypeInterlaced is a Mpeg2ScanType enum value 34721 Mpeg2ScanTypeInterlaced = "INTERLACED" 34722 34723 // Mpeg2ScanTypeProgressive is a Mpeg2ScanType enum value 34724 Mpeg2ScanTypeProgressive = "PROGRESSIVE" 34725 ) 34726 34727 // Mpeg2ScanType_Values returns all elements of the Mpeg2ScanType enum 34728 func Mpeg2ScanType_Values() []string { 34729 return []string{ 34730 Mpeg2ScanTypeInterlaced, 34731 Mpeg2ScanTypeProgressive, 34732 } 34733 } 34734 34735 // Mpeg2 Sub Gop Length 34736 const ( 34737 // Mpeg2SubGopLengthDynamic is a Mpeg2SubGopLength enum value 34738 Mpeg2SubGopLengthDynamic = "DYNAMIC" 34739 34740 // Mpeg2SubGopLengthFixed is a Mpeg2SubGopLength enum value 34741 Mpeg2SubGopLengthFixed = "FIXED" 34742 ) 34743 34744 // Mpeg2SubGopLength_Values returns all elements of the Mpeg2SubGopLength enum 34745 func Mpeg2SubGopLength_Values() []string { 34746 return []string{ 34747 Mpeg2SubGopLengthDynamic, 34748 Mpeg2SubGopLengthFixed, 34749 } 34750 } 34751 34752 // Mpeg2 Timecode Insertion Behavior 34753 const ( 34754 // Mpeg2TimecodeInsertionBehaviorDisabled is a Mpeg2TimecodeInsertionBehavior enum value 34755 Mpeg2TimecodeInsertionBehaviorDisabled = "DISABLED" 34756 34757 // Mpeg2TimecodeInsertionBehaviorGopTimecode is a Mpeg2TimecodeInsertionBehavior enum value 34758 Mpeg2TimecodeInsertionBehaviorGopTimecode = "GOP_TIMECODE" 34759 ) 34760 34761 // Mpeg2TimecodeInsertionBehavior_Values returns all elements of the Mpeg2TimecodeInsertionBehavior enum 34762 func Mpeg2TimecodeInsertionBehavior_Values() []string { 34763 return []string{ 34764 Mpeg2TimecodeInsertionBehaviorDisabled, 34765 Mpeg2TimecodeInsertionBehaviorGopTimecode, 34766 } 34767 } 34768 34769 // Ms Smooth H265 Packaging Type 34770 const ( 34771 // MsSmoothH265PackagingTypeHev1 is a MsSmoothH265PackagingType enum value 34772 MsSmoothH265PackagingTypeHev1 = "HEV1" 34773 34774 // MsSmoothH265PackagingTypeHvc1 is a MsSmoothH265PackagingType enum value 34775 MsSmoothH265PackagingTypeHvc1 = "HVC1" 34776 ) 34777 34778 // MsSmoothH265PackagingType_Values returns all elements of the MsSmoothH265PackagingType enum 34779 func MsSmoothH265PackagingType_Values() []string { 34780 return []string{ 34781 MsSmoothH265PackagingTypeHev1, 34782 MsSmoothH265PackagingTypeHvc1, 34783 } 34784 } 34785 34786 // The current state of the multiplex. 34787 const ( 34788 // MultiplexStateCreating is a MultiplexState enum value 34789 MultiplexStateCreating = "CREATING" 34790 34791 // MultiplexStateCreateFailed is a MultiplexState enum value 34792 MultiplexStateCreateFailed = "CREATE_FAILED" 34793 34794 // MultiplexStateIdle is a MultiplexState enum value 34795 MultiplexStateIdle = "IDLE" 34796 34797 // MultiplexStateStarting is a MultiplexState enum value 34798 MultiplexStateStarting = "STARTING" 34799 34800 // MultiplexStateRunning is a MultiplexState enum value 34801 MultiplexStateRunning = "RUNNING" 34802 34803 // MultiplexStateRecovering is a MultiplexState enum value 34804 MultiplexStateRecovering = "RECOVERING" 34805 34806 // MultiplexStateStopping is a MultiplexState enum value 34807 MultiplexStateStopping = "STOPPING" 34808 34809 // MultiplexStateDeleting is a MultiplexState enum value 34810 MultiplexStateDeleting = "DELETING" 34811 34812 // MultiplexStateDeleted is a MultiplexState enum value 34813 MultiplexStateDeleted = "DELETED" 34814 ) 34815 34816 // MultiplexState_Values returns all elements of the MultiplexState enum 34817 func MultiplexState_Values() []string { 34818 return []string{ 34819 MultiplexStateCreating, 34820 MultiplexStateCreateFailed, 34821 MultiplexStateIdle, 34822 MultiplexStateStarting, 34823 MultiplexStateRunning, 34824 MultiplexStateRecovering, 34825 MultiplexStateStopping, 34826 MultiplexStateDeleting, 34827 MultiplexStateDeleted, 34828 } 34829 } 34830 34831 // Network Input Server Validation 34832 const ( 34833 // NetworkInputServerValidationCheckCryptographyAndValidateName is a NetworkInputServerValidation enum value 34834 NetworkInputServerValidationCheckCryptographyAndValidateName = "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" 34835 34836 // NetworkInputServerValidationCheckCryptographyOnly is a NetworkInputServerValidation enum value 34837 NetworkInputServerValidationCheckCryptographyOnly = "CHECK_CRYPTOGRAPHY_ONLY" 34838 ) 34839 34840 // NetworkInputServerValidation_Values returns all elements of the NetworkInputServerValidation enum 34841 func NetworkInputServerValidation_Values() []string { 34842 return []string{ 34843 NetworkInputServerValidationCheckCryptographyAndValidateName, 34844 NetworkInputServerValidationCheckCryptographyOnly, 34845 } 34846 } 34847 34848 // State of Nielsen PCM to ID3 tagging 34849 const ( 34850 // NielsenPcmToId3TaggingStateDisabled is a NielsenPcmToId3TaggingState enum value 34851 NielsenPcmToId3TaggingStateDisabled = "DISABLED" 34852 34853 // NielsenPcmToId3TaggingStateEnabled is a NielsenPcmToId3TaggingState enum value 34854 NielsenPcmToId3TaggingStateEnabled = "ENABLED" 34855 ) 34856 34857 // NielsenPcmToId3TaggingState_Values returns all elements of the NielsenPcmToId3TaggingState enum 34858 func NielsenPcmToId3TaggingState_Values() []string { 34859 return []string{ 34860 NielsenPcmToId3TaggingStateDisabled, 34861 NielsenPcmToId3TaggingStateEnabled, 34862 } 34863 } 34864 34865 // Nielsen Watermarks Cbet Stepaside 34866 const ( 34867 // NielsenWatermarksCbetStepasideDisabled is a NielsenWatermarksCbetStepaside enum value 34868 NielsenWatermarksCbetStepasideDisabled = "DISABLED" 34869 34870 // NielsenWatermarksCbetStepasideEnabled is a NielsenWatermarksCbetStepaside enum value 34871 NielsenWatermarksCbetStepasideEnabled = "ENABLED" 34872 ) 34873 34874 // NielsenWatermarksCbetStepaside_Values returns all elements of the NielsenWatermarksCbetStepaside enum 34875 func NielsenWatermarksCbetStepaside_Values() []string { 34876 return []string{ 34877 NielsenWatermarksCbetStepasideDisabled, 34878 NielsenWatermarksCbetStepasideEnabled, 34879 } 34880 } 34881 34882 // Nielsen Watermarks Distribution Types 34883 const ( 34884 // NielsenWatermarksDistributionTypesFinalDistributor is a NielsenWatermarksDistributionTypes enum value 34885 NielsenWatermarksDistributionTypesFinalDistributor = "FINAL_DISTRIBUTOR" 34886 34887 // NielsenWatermarksDistributionTypesProgramContent is a NielsenWatermarksDistributionTypes enum value 34888 NielsenWatermarksDistributionTypesProgramContent = "PROGRAM_CONTENT" 34889 ) 34890 34891 // NielsenWatermarksDistributionTypes_Values returns all elements of the NielsenWatermarksDistributionTypes enum 34892 func NielsenWatermarksDistributionTypes_Values() []string { 34893 return []string{ 34894 NielsenWatermarksDistributionTypesFinalDistributor, 34895 NielsenWatermarksDistributionTypesProgramContent, 34896 } 34897 } 34898 34899 // Units for duration, e.g. 'MONTHS' 34900 const ( 34901 // OfferingDurationUnitsMonths is a OfferingDurationUnits enum value 34902 OfferingDurationUnitsMonths = "MONTHS" 34903 ) 34904 34905 // OfferingDurationUnits_Values returns all elements of the OfferingDurationUnits enum 34906 func OfferingDurationUnits_Values() []string { 34907 return []string{ 34908 OfferingDurationUnitsMonths, 34909 } 34910 } 34911 34912 // Offering type, e.g. 'NO_UPFRONT' 34913 const ( 34914 // OfferingTypeNoUpfront is a OfferingType enum value 34915 OfferingTypeNoUpfront = "NO_UPFRONT" 34916 ) 34917 34918 // OfferingType_Values returns all elements of the OfferingType enum 34919 func OfferingType_Values() []string { 34920 return []string{ 34921 OfferingTypeNoUpfront, 34922 } 34923 } 34924 34925 // Pipeline ID 34926 const ( 34927 // PipelineIdPipeline0 is a PipelineId enum value 34928 PipelineIdPipeline0 = "PIPELINE_0" 34929 34930 // PipelineIdPipeline1 is a PipelineId enum value 34931 PipelineIdPipeline1 = "PIPELINE_1" 34932 ) 34933 34934 // PipelineId_Values returns all elements of the PipelineId enum 34935 func PipelineId_Values() []string { 34936 return []string{ 34937 PipelineIdPipeline0, 34938 PipelineIdPipeline1, 34939 } 34940 } 34941 34942 // Indicates which pipeline is preferred by the multiplex for program ingest.If 34943 // set to \"PIPELINE_0\" or \"PIPELINE_1\" and an unhealthy ingest causes the 34944 // multiplex to switch to the non-preferred pipeline,it will switch back once 34945 // that ingest is healthy again. If set to \"CURRENTLY_ACTIVE\",it will not 34946 // switch back to the other pipeline based on it recovering to a healthy state,it 34947 // will only switch if the active pipeline becomes unhealthy. 34948 const ( 34949 // PreferredChannelPipelineCurrentlyActive is a PreferredChannelPipeline enum value 34950 PreferredChannelPipelineCurrentlyActive = "CURRENTLY_ACTIVE" 34951 34952 // PreferredChannelPipelinePipeline0 is a PreferredChannelPipeline enum value 34953 PreferredChannelPipelinePipeline0 = "PIPELINE_0" 34954 34955 // PreferredChannelPipelinePipeline1 is a PreferredChannelPipeline enum value 34956 PreferredChannelPipelinePipeline1 = "PIPELINE_1" 34957 ) 34958 34959 // PreferredChannelPipeline_Values returns all elements of the PreferredChannelPipeline enum 34960 func PreferredChannelPipeline_Values() []string { 34961 return []string{ 34962 PreferredChannelPipelineCurrentlyActive, 34963 PreferredChannelPipelinePipeline0, 34964 PreferredChannelPipelinePipeline1, 34965 } 34966 } 34967 34968 // Codec, 'MPEG2', 'AVC', 'HEVC', or 'AUDIO' 34969 const ( 34970 // ReservationCodecMpeg2 is a ReservationCodec enum value 34971 ReservationCodecMpeg2 = "MPEG2" 34972 34973 // ReservationCodecAvc is a ReservationCodec enum value 34974 ReservationCodecAvc = "AVC" 34975 34976 // ReservationCodecHevc is a ReservationCodec enum value 34977 ReservationCodecHevc = "HEVC" 34978 34979 // ReservationCodecAudio is a ReservationCodec enum value 34980 ReservationCodecAudio = "AUDIO" 34981 34982 // ReservationCodecLink is a ReservationCodec enum value 34983 ReservationCodecLink = "LINK" 34984 ) 34985 34986 // ReservationCodec_Values returns all elements of the ReservationCodec enum 34987 func ReservationCodec_Values() []string { 34988 return []string{ 34989 ReservationCodecMpeg2, 34990 ReservationCodecAvc, 34991 ReservationCodecHevc, 34992 ReservationCodecAudio, 34993 ReservationCodecLink, 34994 } 34995 } 34996 34997 // Maximum bitrate in megabits per second 34998 const ( 34999 // ReservationMaximumBitrateMax10Mbps is a ReservationMaximumBitrate enum value 35000 ReservationMaximumBitrateMax10Mbps = "MAX_10_MBPS" 35001 35002 // ReservationMaximumBitrateMax20Mbps is a ReservationMaximumBitrate enum value 35003 ReservationMaximumBitrateMax20Mbps = "MAX_20_MBPS" 35004 35005 // ReservationMaximumBitrateMax50Mbps is a ReservationMaximumBitrate enum value 35006 ReservationMaximumBitrateMax50Mbps = "MAX_50_MBPS" 35007 ) 35008 35009 // ReservationMaximumBitrate_Values returns all elements of the ReservationMaximumBitrate enum 35010 func ReservationMaximumBitrate_Values() []string { 35011 return []string{ 35012 ReservationMaximumBitrateMax10Mbps, 35013 ReservationMaximumBitrateMax20Mbps, 35014 ReservationMaximumBitrateMax50Mbps, 35015 } 35016 } 35017 35018 // Maximum framerate in frames per second (Outputs only) 35019 const ( 35020 // ReservationMaximumFramerateMax30Fps is a ReservationMaximumFramerate enum value 35021 ReservationMaximumFramerateMax30Fps = "MAX_30_FPS" 35022 35023 // ReservationMaximumFramerateMax60Fps is a ReservationMaximumFramerate enum value 35024 ReservationMaximumFramerateMax60Fps = "MAX_60_FPS" 35025 ) 35026 35027 // ReservationMaximumFramerate_Values returns all elements of the ReservationMaximumFramerate enum 35028 func ReservationMaximumFramerate_Values() []string { 35029 return []string{ 35030 ReservationMaximumFramerateMax30Fps, 35031 ReservationMaximumFramerateMax60Fps, 35032 } 35033 } 35034 35035 // Resolution based on lines of vertical resolution; SD is less than 720 lines, 35036 // HD is 720 to 1080 lines, FHD is 1080 lines, UHD is greater than 1080 lines 35037 const ( 35038 // ReservationResolutionSd is a ReservationResolution enum value 35039 ReservationResolutionSd = "SD" 35040 35041 // ReservationResolutionHd is a ReservationResolution enum value 35042 ReservationResolutionHd = "HD" 35043 35044 // ReservationResolutionFhd is a ReservationResolution enum value 35045 ReservationResolutionFhd = "FHD" 35046 35047 // ReservationResolutionUhd is a ReservationResolution enum value 35048 ReservationResolutionUhd = "UHD" 35049 ) 35050 35051 // ReservationResolution_Values returns all elements of the ReservationResolution enum 35052 func ReservationResolution_Values() []string { 35053 return []string{ 35054 ReservationResolutionSd, 35055 ReservationResolutionHd, 35056 ReservationResolutionFhd, 35057 ReservationResolutionUhd, 35058 } 35059 } 35060 35061 // Resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' 35062 const ( 35063 // ReservationResourceTypeInput is a ReservationResourceType enum value 35064 ReservationResourceTypeInput = "INPUT" 35065 35066 // ReservationResourceTypeOutput is a ReservationResourceType enum value 35067 ReservationResourceTypeOutput = "OUTPUT" 35068 35069 // ReservationResourceTypeMultiplex is a ReservationResourceType enum value 35070 ReservationResourceTypeMultiplex = "MULTIPLEX" 35071 35072 // ReservationResourceTypeChannel is a ReservationResourceType enum value 35073 ReservationResourceTypeChannel = "CHANNEL" 35074 ) 35075 35076 // ReservationResourceType_Values returns all elements of the ReservationResourceType enum 35077 func ReservationResourceType_Values() []string { 35078 return []string{ 35079 ReservationResourceTypeInput, 35080 ReservationResourceTypeOutput, 35081 ReservationResourceTypeMultiplex, 35082 ReservationResourceTypeChannel, 35083 } 35084 } 35085 35086 // Special features, 'ADVANCED_AUDIO' 'AUDIO_NORMALIZATION' 'MGHD' or 'MGUHD' 35087 const ( 35088 // ReservationSpecialFeatureAdvancedAudio is a ReservationSpecialFeature enum value 35089 ReservationSpecialFeatureAdvancedAudio = "ADVANCED_AUDIO" 35090 35091 // ReservationSpecialFeatureAudioNormalization is a ReservationSpecialFeature enum value 35092 ReservationSpecialFeatureAudioNormalization = "AUDIO_NORMALIZATION" 35093 35094 // ReservationSpecialFeatureMghd is a ReservationSpecialFeature enum value 35095 ReservationSpecialFeatureMghd = "MGHD" 35096 35097 // ReservationSpecialFeatureMguhd is a ReservationSpecialFeature enum value 35098 ReservationSpecialFeatureMguhd = "MGUHD" 35099 ) 35100 35101 // ReservationSpecialFeature_Values returns all elements of the ReservationSpecialFeature enum 35102 func ReservationSpecialFeature_Values() []string { 35103 return []string{ 35104 ReservationSpecialFeatureAdvancedAudio, 35105 ReservationSpecialFeatureAudioNormalization, 35106 ReservationSpecialFeatureMghd, 35107 ReservationSpecialFeatureMguhd, 35108 } 35109 } 35110 35111 // Current reservation state 35112 const ( 35113 // ReservationStateActive is a ReservationState enum value 35114 ReservationStateActive = "ACTIVE" 35115 35116 // ReservationStateExpired is a ReservationState enum value 35117 ReservationStateExpired = "EXPIRED" 35118 35119 // ReservationStateCanceled is a ReservationState enum value 35120 ReservationStateCanceled = "CANCELED" 35121 35122 // ReservationStateDeleted is a ReservationState enum value 35123 ReservationStateDeleted = "DELETED" 35124 ) 35125 35126 // ReservationState_Values returns all elements of the ReservationState enum 35127 func ReservationState_Values() []string { 35128 return []string{ 35129 ReservationStateActive, 35130 ReservationStateExpired, 35131 ReservationStateCanceled, 35132 ReservationStateDeleted, 35133 } 35134 } 35135 35136 // Video quality, e.g. 'STANDARD' (Outputs only) 35137 const ( 35138 // ReservationVideoQualityStandard is a ReservationVideoQuality enum value 35139 ReservationVideoQualityStandard = "STANDARD" 35140 35141 // ReservationVideoQualityEnhanced is a ReservationVideoQuality enum value 35142 ReservationVideoQualityEnhanced = "ENHANCED" 35143 35144 // ReservationVideoQualityPremium is a ReservationVideoQuality enum value 35145 ReservationVideoQualityPremium = "PREMIUM" 35146 ) 35147 35148 // ReservationVideoQuality_Values returns all elements of the ReservationVideoQuality enum 35149 func ReservationVideoQuality_Values() []string { 35150 return []string{ 35151 ReservationVideoQualityStandard, 35152 ReservationVideoQualityEnhanced, 35153 ReservationVideoQualityPremium, 35154 } 35155 } 35156 35157 // Rtmp Ad Markers 35158 const ( 35159 // RtmpAdMarkersOnCuePointScte35 is a RtmpAdMarkers enum value 35160 RtmpAdMarkersOnCuePointScte35 = "ON_CUE_POINT_SCTE35" 35161 ) 35162 35163 // RtmpAdMarkers_Values returns all elements of the RtmpAdMarkers enum 35164 func RtmpAdMarkers_Values() []string { 35165 return []string{ 35166 RtmpAdMarkersOnCuePointScte35, 35167 } 35168 } 35169 35170 // Rtmp Cache Full Behavior 35171 const ( 35172 // RtmpCacheFullBehaviorDisconnectImmediately is a RtmpCacheFullBehavior enum value 35173 RtmpCacheFullBehaviorDisconnectImmediately = "DISCONNECT_IMMEDIATELY" 35174 35175 // RtmpCacheFullBehaviorWaitForServer is a RtmpCacheFullBehavior enum value 35176 RtmpCacheFullBehaviorWaitForServer = "WAIT_FOR_SERVER" 35177 ) 35178 35179 // RtmpCacheFullBehavior_Values returns all elements of the RtmpCacheFullBehavior enum 35180 func RtmpCacheFullBehavior_Values() []string { 35181 return []string{ 35182 RtmpCacheFullBehaviorDisconnectImmediately, 35183 RtmpCacheFullBehaviorWaitForServer, 35184 } 35185 } 35186 35187 // Rtmp Caption Data 35188 const ( 35189 // RtmpCaptionDataAll is a RtmpCaptionData enum value 35190 RtmpCaptionDataAll = "ALL" 35191 35192 // RtmpCaptionDataField1608 is a RtmpCaptionData enum value 35193 RtmpCaptionDataField1608 = "FIELD1_608" 35194 35195 // RtmpCaptionDataField1AndField2608 is a RtmpCaptionData enum value 35196 RtmpCaptionDataField1AndField2608 = "FIELD1_AND_FIELD2_608" 35197 ) 35198 35199 // RtmpCaptionData_Values returns all elements of the RtmpCaptionData enum 35200 func RtmpCaptionData_Values() []string { 35201 return []string{ 35202 RtmpCaptionDataAll, 35203 RtmpCaptionDataField1608, 35204 RtmpCaptionDataField1AndField2608, 35205 } 35206 } 35207 35208 // Rtmp Output Certificate Mode 35209 const ( 35210 // RtmpOutputCertificateModeSelfSigned is a RtmpOutputCertificateMode enum value 35211 RtmpOutputCertificateModeSelfSigned = "SELF_SIGNED" 35212 35213 // RtmpOutputCertificateModeVerifyAuthenticity is a RtmpOutputCertificateMode enum value 35214 RtmpOutputCertificateModeVerifyAuthenticity = "VERIFY_AUTHENTICITY" 35215 ) 35216 35217 // RtmpOutputCertificateMode_Values returns all elements of the RtmpOutputCertificateMode enum 35218 func RtmpOutputCertificateMode_Values() []string { 35219 return []string{ 35220 RtmpOutputCertificateModeSelfSigned, 35221 RtmpOutputCertificateModeVerifyAuthenticity, 35222 } 35223 } 35224 35225 // S3 Canned Acl 35226 const ( 35227 // S3CannedAclAuthenticatedRead is a S3CannedAcl enum value 35228 S3CannedAclAuthenticatedRead = "AUTHENTICATED_READ" 35229 35230 // S3CannedAclBucketOwnerFullControl is a S3CannedAcl enum value 35231 S3CannedAclBucketOwnerFullControl = "BUCKET_OWNER_FULL_CONTROL" 35232 35233 // S3CannedAclBucketOwnerRead is a S3CannedAcl enum value 35234 S3CannedAclBucketOwnerRead = "BUCKET_OWNER_READ" 35235 35236 // S3CannedAclPublicRead is a S3CannedAcl enum value 35237 S3CannedAclPublicRead = "PUBLIC_READ" 35238 ) 35239 35240 // S3CannedAcl_Values returns all elements of the S3CannedAcl enum 35241 func S3CannedAcl_Values() []string { 35242 return []string{ 35243 S3CannedAclAuthenticatedRead, 35244 S3CannedAclBucketOwnerFullControl, 35245 S3CannedAclBucketOwnerRead, 35246 S3CannedAclPublicRead, 35247 } 35248 } 35249 35250 // Scte20 Convert608 To708 35251 const ( 35252 // Scte20Convert608To708Disabled is a Scte20Convert608To708 enum value 35253 Scte20Convert608To708Disabled = "DISABLED" 35254 35255 // Scte20Convert608To708Upconvert is a Scte20Convert608To708 enum value 35256 Scte20Convert608To708Upconvert = "UPCONVERT" 35257 ) 35258 35259 // Scte20Convert608To708_Values returns all elements of the Scte20Convert608To708 enum 35260 func Scte20Convert608To708_Values() []string { 35261 return []string{ 35262 Scte20Convert608To708Disabled, 35263 Scte20Convert608To708Upconvert, 35264 } 35265 } 35266 35267 // Scte27 Ocr Language 35268 const ( 35269 // Scte27OcrLanguageDeu is a Scte27OcrLanguage enum value 35270 Scte27OcrLanguageDeu = "DEU" 35271 35272 // Scte27OcrLanguageEng is a Scte27OcrLanguage enum value 35273 Scte27OcrLanguageEng = "ENG" 35274 35275 // Scte27OcrLanguageFra is a Scte27OcrLanguage enum value 35276 Scte27OcrLanguageFra = "FRA" 35277 35278 // Scte27OcrLanguageNld is a Scte27OcrLanguage enum value 35279 Scte27OcrLanguageNld = "NLD" 35280 35281 // Scte27OcrLanguagePor is a Scte27OcrLanguage enum value 35282 Scte27OcrLanguagePor = "POR" 35283 35284 // Scte27OcrLanguageSpa is a Scte27OcrLanguage enum value 35285 Scte27OcrLanguageSpa = "SPA" 35286 ) 35287 35288 // Scte27OcrLanguage_Values returns all elements of the Scte27OcrLanguage enum 35289 func Scte27OcrLanguage_Values() []string { 35290 return []string{ 35291 Scte27OcrLanguageDeu, 35292 Scte27OcrLanguageEng, 35293 Scte27OcrLanguageFra, 35294 Scte27OcrLanguageNld, 35295 Scte27OcrLanguagePor, 35296 Scte27OcrLanguageSpa, 35297 } 35298 } 35299 35300 // Scte35 Apos No Regional Blackout Behavior 35301 const ( 35302 // Scte35AposNoRegionalBlackoutBehaviorFollow is a Scte35AposNoRegionalBlackoutBehavior enum value 35303 Scte35AposNoRegionalBlackoutBehaviorFollow = "FOLLOW" 35304 35305 // Scte35AposNoRegionalBlackoutBehaviorIgnore is a Scte35AposNoRegionalBlackoutBehavior enum value 35306 Scte35AposNoRegionalBlackoutBehaviorIgnore = "IGNORE" 35307 ) 35308 35309 // Scte35AposNoRegionalBlackoutBehavior_Values returns all elements of the Scte35AposNoRegionalBlackoutBehavior enum 35310 func Scte35AposNoRegionalBlackoutBehavior_Values() []string { 35311 return []string{ 35312 Scte35AposNoRegionalBlackoutBehaviorFollow, 35313 Scte35AposNoRegionalBlackoutBehaviorIgnore, 35314 } 35315 } 35316 35317 // Scte35 Apos Web Delivery Allowed Behavior 35318 const ( 35319 // Scte35AposWebDeliveryAllowedBehaviorFollow is a Scte35AposWebDeliveryAllowedBehavior enum value 35320 Scte35AposWebDeliveryAllowedBehaviorFollow = "FOLLOW" 35321 35322 // Scte35AposWebDeliveryAllowedBehaviorIgnore is a Scte35AposWebDeliveryAllowedBehavior enum value 35323 Scte35AposWebDeliveryAllowedBehaviorIgnore = "IGNORE" 35324 ) 35325 35326 // Scte35AposWebDeliveryAllowedBehavior_Values returns all elements of the Scte35AposWebDeliveryAllowedBehavior enum 35327 func Scte35AposWebDeliveryAllowedBehavior_Values() []string { 35328 return []string{ 35329 Scte35AposWebDeliveryAllowedBehaviorFollow, 35330 Scte35AposWebDeliveryAllowedBehaviorIgnore, 35331 } 35332 } 35333 35334 // Corresponds to the archive_allowed parameter. A value of ARCHIVE_NOT_ALLOWED 35335 // corresponds to 0 (false) in the SCTE-35 specification. If you include one 35336 // of the "restriction" flags then you must include all four of them. 35337 const ( 35338 // Scte35ArchiveAllowedFlagArchiveNotAllowed is a Scte35ArchiveAllowedFlag enum value 35339 Scte35ArchiveAllowedFlagArchiveNotAllowed = "ARCHIVE_NOT_ALLOWED" 35340 35341 // Scte35ArchiveAllowedFlagArchiveAllowed is a Scte35ArchiveAllowedFlag enum value 35342 Scte35ArchiveAllowedFlagArchiveAllowed = "ARCHIVE_ALLOWED" 35343 ) 35344 35345 // Scte35ArchiveAllowedFlag_Values returns all elements of the Scte35ArchiveAllowedFlag enum 35346 func Scte35ArchiveAllowedFlag_Values() []string { 35347 return []string{ 35348 Scte35ArchiveAllowedFlagArchiveNotAllowed, 35349 Scte35ArchiveAllowedFlagArchiveAllowed, 35350 } 35351 } 35352 35353 // Corresponds to the device_restrictions parameter in a segmentation_descriptor. 35354 // If you include one of the "restriction" flags then you must include all four 35355 // of them. 35356 const ( 35357 // Scte35DeviceRestrictionsNone is a Scte35DeviceRestrictions enum value 35358 Scte35DeviceRestrictionsNone = "NONE" 35359 35360 // Scte35DeviceRestrictionsRestrictGroup0 is a Scte35DeviceRestrictions enum value 35361 Scte35DeviceRestrictionsRestrictGroup0 = "RESTRICT_GROUP0" 35362 35363 // Scte35DeviceRestrictionsRestrictGroup1 is a Scte35DeviceRestrictions enum value 35364 Scte35DeviceRestrictionsRestrictGroup1 = "RESTRICT_GROUP1" 35365 35366 // Scte35DeviceRestrictionsRestrictGroup2 is a Scte35DeviceRestrictions enum value 35367 Scte35DeviceRestrictionsRestrictGroup2 = "RESTRICT_GROUP2" 35368 ) 35369 35370 // Scte35DeviceRestrictions_Values returns all elements of the Scte35DeviceRestrictions enum 35371 func Scte35DeviceRestrictions_Values() []string { 35372 return []string{ 35373 Scte35DeviceRestrictionsNone, 35374 Scte35DeviceRestrictionsRestrictGroup0, 35375 Scte35DeviceRestrictionsRestrictGroup1, 35376 Scte35DeviceRestrictionsRestrictGroup2, 35377 } 35378 } 35379 35380 // Corresponds to the no_regional_blackout_flag parameter. A value of REGIONAL_BLACKOUT 35381 // corresponds to 0 (false) in the SCTE-35 specification. If you include one 35382 // of the "restriction" flags then you must include all four of them. 35383 const ( 35384 // Scte35NoRegionalBlackoutFlagRegionalBlackout is a Scte35NoRegionalBlackoutFlag enum value 35385 Scte35NoRegionalBlackoutFlagRegionalBlackout = "REGIONAL_BLACKOUT" 35386 35387 // Scte35NoRegionalBlackoutFlagNoRegionalBlackout is a Scte35NoRegionalBlackoutFlag enum value 35388 Scte35NoRegionalBlackoutFlagNoRegionalBlackout = "NO_REGIONAL_BLACKOUT" 35389 ) 35390 35391 // Scte35NoRegionalBlackoutFlag_Values returns all elements of the Scte35NoRegionalBlackoutFlag enum 35392 func Scte35NoRegionalBlackoutFlag_Values() []string { 35393 return []string{ 35394 Scte35NoRegionalBlackoutFlagRegionalBlackout, 35395 Scte35NoRegionalBlackoutFlagNoRegionalBlackout, 35396 } 35397 } 35398 35399 // Corresponds to SCTE-35 segmentation_event_cancel_indicator. SEGMENTATION_EVENT_NOT_CANCELED 35400 // corresponds to 0 in the SCTE-35 specification and indicates that this is 35401 // an insertion request. SEGMENTATION_EVENT_CANCELED corresponds to 1 in the 35402 // SCTE-35 specification and indicates that this is a cancelation request, in 35403 // which case complete this field and the existing event ID to cancel. 35404 const ( 35405 // Scte35SegmentationCancelIndicatorSegmentationEventNotCanceled is a Scte35SegmentationCancelIndicator enum value 35406 Scte35SegmentationCancelIndicatorSegmentationEventNotCanceled = "SEGMENTATION_EVENT_NOT_CANCELED" 35407 35408 // Scte35SegmentationCancelIndicatorSegmentationEventCanceled is a Scte35SegmentationCancelIndicator enum value 35409 Scte35SegmentationCancelIndicatorSegmentationEventCanceled = "SEGMENTATION_EVENT_CANCELED" 35410 ) 35411 35412 // Scte35SegmentationCancelIndicator_Values returns all elements of the Scte35SegmentationCancelIndicator enum 35413 func Scte35SegmentationCancelIndicator_Values() []string { 35414 return []string{ 35415 Scte35SegmentationCancelIndicatorSegmentationEventNotCanceled, 35416 Scte35SegmentationCancelIndicatorSegmentationEventCanceled, 35417 } 35418 } 35419 35420 // Scte35 Splice Insert No Regional Blackout Behavior 35421 const ( 35422 // Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow is a Scte35SpliceInsertNoRegionalBlackoutBehavior enum value 35423 Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow = "FOLLOW" 35424 35425 // Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore is a Scte35SpliceInsertNoRegionalBlackoutBehavior enum value 35426 Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore = "IGNORE" 35427 ) 35428 35429 // Scte35SpliceInsertNoRegionalBlackoutBehavior_Values returns all elements of the Scte35SpliceInsertNoRegionalBlackoutBehavior enum 35430 func Scte35SpliceInsertNoRegionalBlackoutBehavior_Values() []string { 35431 return []string{ 35432 Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow, 35433 Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore, 35434 } 35435 } 35436 35437 // Scte35 Splice Insert Web Delivery Allowed Behavior 35438 const ( 35439 // Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow is a Scte35SpliceInsertWebDeliveryAllowedBehavior enum value 35440 Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow = "FOLLOW" 35441 35442 // Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore is a Scte35SpliceInsertWebDeliveryAllowedBehavior enum value 35443 Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore = "IGNORE" 35444 ) 35445 35446 // Scte35SpliceInsertWebDeliveryAllowedBehavior_Values returns all elements of the Scte35SpliceInsertWebDeliveryAllowedBehavior enum 35447 func Scte35SpliceInsertWebDeliveryAllowedBehavior_Values() []string { 35448 return []string{ 35449 Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow, 35450 Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore, 35451 } 35452 } 35453 35454 // Corresponds to the web_delivery_allowed_flag parameter. A value of WEB_DELIVERY_NOT_ALLOWED 35455 // corresponds to 0 (false) in the SCTE-35 specification. If you include one 35456 // of the "restriction" flags then you must include all four of them. 35457 const ( 35458 // Scte35WebDeliveryAllowedFlagWebDeliveryNotAllowed is a Scte35WebDeliveryAllowedFlag enum value 35459 Scte35WebDeliveryAllowedFlagWebDeliveryNotAllowed = "WEB_DELIVERY_NOT_ALLOWED" 35460 35461 // Scte35WebDeliveryAllowedFlagWebDeliveryAllowed is a Scte35WebDeliveryAllowedFlag enum value 35462 Scte35WebDeliveryAllowedFlagWebDeliveryAllowed = "WEB_DELIVERY_ALLOWED" 35463 ) 35464 35465 // Scte35WebDeliveryAllowedFlag_Values returns all elements of the Scte35WebDeliveryAllowedFlag enum 35466 func Scte35WebDeliveryAllowedFlag_Values() []string { 35467 return []string{ 35468 Scte35WebDeliveryAllowedFlagWebDeliveryNotAllowed, 35469 Scte35WebDeliveryAllowedFlagWebDeliveryAllowed, 35470 } 35471 } 35472 35473 // Smooth Group Audio Only Timecode Control 35474 const ( 35475 // SmoothGroupAudioOnlyTimecodeControlPassthrough is a SmoothGroupAudioOnlyTimecodeControl enum value 35476 SmoothGroupAudioOnlyTimecodeControlPassthrough = "PASSTHROUGH" 35477 35478 // SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock is a SmoothGroupAudioOnlyTimecodeControl enum value 35479 SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock = "USE_CONFIGURED_CLOCK" 35480 ) 35481 35482 // SmoothGroupAudioOnlyTimecodeControl_Values returns all elements of the SmoothGroupAudioOnlyTimecodeControl enum 35483 func SmoothGroupAudioOnlyTimecodeControl_Values() []string { 35484 return []string{ 35485 SmoothGroupAudioOnlyTimecodeControlPassthrough, 35486 SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock, 35487 } 35488 } 35489 35490 // Smooth Group Certificate Mode 35491 const ( 35492 // SmoothGroupCertificateModeSelfSigned is a SmoothGroupCertificateMode enum value 35493 SmoothGroupCertificateModeSelfSigned = "SELF_SIGNED" 35494 35495 // SmoothGroupCertificateModeVerifyAuthenticity is a SmoothGroupCertificateMode enum value 35496 SmoothGroupCertificateModeVerifyAuthenticity = "VERIFY_AUTHENTICITY" 35497 ) 35498 35499 // SmoothGroupCertificateMode_Values returns all elements of the SmoothGroupCertificateMode enum 35500 func SmoothGroupCertificateMode_Values() []string { 35501 return []string{ 35502 SmoothGroupCertificateModeSelfSigned, 35503 SmoothGroupCertificateModeVerifyAuthenticity, 35504 } 35505 } 35506 35507 // Smooth Group Event Id Mode 35508 const ( 35509 // SmoothGroupEventIdModeNoEventId is a SmoothGroupEventIdMode enum value 35510 SmoothGroupEventIdModeNoEventId = "NO_EVENT_ID" 35511 35512 // SmoothGroupEventIdModeUseConfigured is a SmoothGroupEventIdMode enum value 35513 SmoothGroupEventIdModeUseConfigured = "USE_CONFIGURED" 35514 35515 // SmoothGroupEventIdModeUseTimestamp is a SmoothGroupEventIdMode enum value 35516 SmoothGroupEventIdModeUseTimestamp = "USE_TIMESTAMP" 35517 ) 35518 35519 // SmoothGroupEventIdMode_Values returns all elements of the SmoothGroupEventIdMode enum 35520 func SmoothGroupEventIdMode_Values() []string { 35521 return []string{ 35522 SmoothGroupEventIdModeNoEventId, 35523 SmoothGroupEventIdModeUseConfigured, 35524 SmoothGroupEventIdModeUseTimestamp, 35525 } 35526 } 35527 35528 // Smooth Group Event Stop Behavior 35529 const ( 35530 // SmoothGroupEventStopBehaviorNone is a SmoothGroupEventStopBehavior enum value 35531 SmoothGroupEventStopBehaviorNone = "NONE" 35532 35533 // SmoothGroupEventStopBehaviorSendEos is a SmoothGroupEventStopBehavior enum value 35534 SmoothGroupEventStopBehaviorSendEos = "SEND_EOS" 35535 ) 35536 35537 // SmoothGroupEventStopBehavior_Values returns all elements of the SmoothGroupEventStopBehavior enum 35538 func SmoothGroupEventStopBehavior_Values() []string { 35539 return []string{ 35540 SmoothGroupEventStopBehaviorNone, 35541 SmoothGroupEventStopBehaviorSendEos, 35542 } 35543 } 35544 35545 // Smooth Group Segmentation Mode 35546 const ( 35547 // SmoothGroupSegmentationModeUseInputSegmentation is a SmoothGroupSegmentationMode enum value 35548 SmoothGroupSegmentationModeUseInputSegmentation = "USE_INPUT_SEGMENTATION" 35549 35550 // SmoothGroupSegmentationModeUseSegmentDuration is a SmoothGroupSegmentationMode enum value 35551 SmoothGroupSegmentationModeUseSegmentDuration = "USE_SEGMENT_DURATION" 35552 ) 35553 35554 // SmoothGroupSegmentationMode_Values returns all elements of the SmoothGroupSegmentationMode enum 35555 func SmoothGroupSegmentationMode_Values() []string { 35556 return []string{ 35557 SmoothGroupSegmentationModeUseInputSegmentation, 35558 SmoothGroupSegmentationModeUseSegmentDuration, 35559 } 35560 } 35561 35562 // Smooth Group Sparse Track Type 35563 const ( 35564 // SmoothGroupSparseTrackTypeNone is a SmoothGroupSparseTrackType enum value 35565 SmoothGroupSparseTrackTypeNone = "NONE" 35566 35567 // SmoothGroupSparseTrackTypeScte35 is a SmoothGroupSparseTrackType enum value 35568 SmoothGroupSparseTrackTypeScte35 = "SCTE_35" 35569 35570 // SmoothGroupSparseTrackTypeScte35WithoutSegmentation is a SmoothGroupSparseTrackType enum value 35571 SmoothGroupSparseTrackTypeScte35WithoutSegmentation = "SCTE_35_WITHOUT_SEGMENTATION" 35572 ) 35573 35574 // SmoothGroupSparseTrackType_Values returns all elements of the SmoothGroupSparseTrackType enum 35575 func SmoothGroupSparseTrackType_Values() []string { 35576 return []string{ 35577 SmoothGroupSparseTrackTypeNone, 35578 SmoothGroupSparseTrackTypeScte35, 35579 SmoothGroupSparseTrackTypeScte35WithoutSegmentation, 35580 } 35581 } 35582 35583 // Smooth Group Stream Manifest Behavior 35584 const ( 35585 // SmoothGroupStreamManifestBehaviorDoNotSend is a SmoothGroupStreamManifestBehavior enum value 35586 SmoothGroupStreamManifestBehaviorDoNotSend = "DO_NOT_SEND" 35587 35588 // SmoothGroupStreamManifestBehaviorSend is a SmoothGroupStreamManifestBehavior enum value 35589 SmoothGroupStreamManifestBehaviorSend = "SEND" 35590 ) 35591 35592 // SmoothGroupStreamManifestBehavior_Values returns all elements of the SmoothGroupStreamManifestBehavior enum 35593 func SmoothGroupStreamManifestBehavior_Values() []string { 35594 return []string{ 35595 SmoothGroupStreamManifestBehaviorDoNotSend, 35596 SmoothGroupStreamManifestBehaviorSend, 35597 } 35598 } 35599 35600 // Smooth Group Timestamp Offset Mode 35601 const ( 35602 // SmoothGroupTimestampOffsetModeUseConfiguredOffset is a SmoothGroupTimestampOffsetMode enum value 35603 SmoothGroupTimestampOffsetModeUseConfiguredOffset = "USE_CONFIGURED_OFFSET" 35604 35605 // SmoothGroupTimestampOffsetModeUseEventStartDate is a SmoothGroupTimestampOffsetMode enum value 35606 SmoothGroupTimestampOffsetModeUseEventStartDate = "USE_EVENT_START_DATE" 35607 ) 35608 35609 // SmoothGroupTimestampOffsetMode_Values returns all elements of the SmoothGroupTimestampOffsetMode enum 35610 func SmoothGroupTimestampOffsetMode_Values() []string { 35611 return []string{ 35612 SmoothGroupTimestampOffsetModeUseConfiguredOffset, 35613 SmoothGroupTimestampOffsetModeUseEventStartDate, 35614 } 35615 } 35616 35617 // Smpte2038 Data Preference 35618 const ( 35619 // Smpte2038DataPreferenceIgnore is a Smpte2038DataPreference enum value 35620 Smpte2038DataPreferenceIgnore = "IGNORE" 35621 35622 // Smpte2038DataPreferencePrefer is a Smpte2038DataPreference enum value 35623 Smpte2038DataPreferencePrefer = "PREFER" 35624 ) 35625 35626 // Smpte2038DataPreference_Values returns all elements of the Smpte2038DataPreference enum 35627 func Smpte2038DataPreference_Values() []string { 35628 return []string{ 35629 Smpte2038DataPreferenceIgnore, 35630 Smpte2038DataPreferencePrefer, 35631 } 35632 } 35633 35634 // Temporal Filter Post Filter Sharpening 35635 const ( 35636 // TemporalFilterPostFilterSharpeningAuto is a TemporalFilterPostFilterSharpening enum value 35637 TemporalFilterPostFilterSharpeningAuto = "AUTO" 35638 35639 // TemporalFilterPostFilterSharpeningDisabled is a TemporalFilterPostFilterSharpening enum value 35640 TemporalFilterPostFilterSharpeningDisabled = "DISABLED" 35641 35642 // TemporalFilterPostFilterSharpeningEnabled is a TemporalFilterPostFilterSharpening enum value 35643 TemporalFilterPostFilterSharpeningEnabled = "ENABLED" 35644 ) 35645 35646 // TemporalFilterPostFilterSharpening_Values returns all elements of the TemporalFilterPostFilterSharpening enum 35647 func TemporalFilterPostFilterSharpening_Values() []string { 35648 return []string{ 35649 TemporalFilterPostFilterSharpeningAuto, 35650 TemporalFilterPostFilterSharpeningDisabled, 35651 TemporalFilterPostFilterSharpeningEnabled, 35652 } 35653 } 35654 35655 // Temporal Filter Strength 35656 const ( 35657 // TemporalFilterStrengthAuto is a TemporalFilterStrength enum value 35658 TemporalFilterStrengthAuto = "AUTO" 35659 35660 // TemporalFilterStrengthStrength1 is a TemporalFilterStrength enum value 35661 TemporalFilterStrengthStrength1 = "STRENGTH_1" 35662 35663 // TemporalFilterStrengthStrength2 is a TemporalFilterStrength enum value 35664 TemporalFilterStrengthStrength2 = "STRENGTH_2" 35665 35666 // TemporalFilterStrengthStrength3 is a TemporalFilterStrength enum value 35667 TemporalFilterStrengthStrength3 = "STRENGTH_3" 35668 35669 // TemporalFilterStrengthStrength4 is a TemporalFilterStrength enum value 35670 TemporalFilterStrengthStrength4 = "STRENGTH_4" 35671 35672 // TemporalFilterStrengthStrength5 is a TemporalFilterStrength enum value 35673 TemporalFilterStrengthStrength5 = "STRENGTH_5" 35674 35675 // TemporalFilterStrengthStrength6 is a TemporalFilterStrength enum value 35676 TemporalFilterStrengthStrength6 = "STRENGTH_6" 35677 35678 // TemporalFilterStrengthStrength7 is a TemporalFilterStrength enum value 35679 TemporalFilterStrengthStrength7 = "STRENGTH_7" 35680 35681 // TemporalFilterStrengthStrength8 is a TemporalFilterStrength enum value 35682 TemporalFilterStrengthStrength8 = "STRENGTH_8" 35683 35684 // TemporalFilterStrengthStrength9 is a TemporalFilterStrength enum value 35685 TemporalFilterStrengthStrength9 = "STRENGTH_9" 35686 35687 // TemporalFilterStrengthStrength10 is a TemporalFilterStrength enum value 35688 TemporalFilterStrengthStrength10 = "STRENGTH_10" 35689 35690 // TemporalFilterStrengthStrength11 is a TemporalFilterStrength enum value 35691 TemporalFilterStrengthStrength11 = "STRENGTH_11" 35692 35693 // TemporalFilterStrengthStrength12 is a TemporalFilterStrength enum value 35694 TemporalFilterStrengthStrength12 = "STRENGTH_12" 35695 35696 // TemporalFilterStrengthStrength13 is a TemporalFilterStrength enum value 35697 TemporalFilterStrengthStrength13 = "STRENGTH_13" 35698 35699 // TemporalFilterStrengthStrength14 is a TemporalFilterStrength enum value 35700 TemporalFilterStrengthStrength14 = "STRENGTH_14" 35701 35702 // TemporalFilterStrengthStrength15 is a TemporalFilterStrength enum value 35703 TemporalFilterStrengthStrength15 = "STRENGTH_15" 35704 35705 // TemporalFilterStrengthStrength16 is a TemporalFilterStrength enum value 35706 TemporalFilterStrengthStrength16 = "STRENGTH_16" 35707 ) 35708 35709 // TemporalFilterStrength_Values returns all elements of the TemporalFilterStrength enum 35710 func TemporalFilterStrength_Values() []string { 35711 return []string{ 35712 TemporalFilterStrengthAuto, 35713 TemporalFilterStrengthStrength1, 35714 TemporalFilterStrengthStrength2, 35715 TemporalFilterStrengthStrength3, 35716 TemporalFilterStrengthStrength4, 35717 TemporalFilterStrengthStrength5, 35718 TemporalFilterStrengthStrength6, 35719 TemporalFilterStrengthStrength7, 35720 TemporalFilterStrengthStrength8, 35721 TemporalFilterStrengthStrength9, 35722 TemporalFilterStrengthStrength10, 35723 TemporalFilterStrengthStrength11, 35724 TemporalFilterStrengthStrength12, 35725 TemporalFilterStrengthStrength13, 35726 TemporalFilterStrengthStrength14, 35727 TemporalFilterStrengthStrength15, 35728 TemporalFilterStrengthStrength16, 35729 } 35730 } 35731 35732 // Timecode Config Source 35733 const ( 35734 // TimecodeConfigSourceEmbedded is a TimecodeConfigSource enum value 35735 TimecodeConfigSourceEmbedded = "EMBEDDED" 35736 35737 // TimecodeConfigSourceSystemclock is a TimecodeConfigSource enum value 35738 TimecodeConfigSourceSystemclock = "SYSTEMCLOCK" 35739 35740 // TimecodeConfigSourceZerobased is a TimecodeConfigSource enum value 35741 TimecodeConfigSourceZerobased = "ZEROBASED" 35742 ) 35743 35744 // TimecodeConfigSource_Values returns all elements of the TimecodeConfigSource enum 35745 func TimecodeConfigSource_Values() []string { 35746 return []string{ 35747 TimecodeConfigSourceEmbedded, 35748 TimecodeConfigSourceSystemclock, 35749 TimecodeConfigSourceZerobased, 35750 } 35751 } 35752 35753 // Ttml Destination Style Control 35754 const ( 35755 // TtmlDestinationStyleControlPassthrough is a TtmlDestinationStyleControl enum value 35756 TtmlDestinationStyleControlPassthrough = "PASSTHROUGH" 35757 35758 // TtmlDestinationStyleControlUseConfigured is a TtmlDestinationStyleControl enum value 35759 TtmlDestinationStyleControlUseConfigured = "USE_CONFIGURED" 35760 ) 35761 35762 // TtmlDestinationStyleControl_Values returns all elements of the TtmlDestinationStyleControl enum 35763 func TtmlDestinationStyleControl_Values() []string { 35764 return []string{ 35765 TtmlDestinationStyleControlPassthrough, 35766 TtmlDestinationStyleControlUseConfigured, 35767 } 35768 } 35769 35770 // Udp Timed Metadata Id3 Frame 35771 const ( 35772 // UdpTimedMetadataId3FrameNone is a UdpTimedMetadataId3Frame enum value 35773 UdpTimedMetadataId3FrameNone = "NONE" 35774 35775 // UdpTimedMetadataId3FramePriv is a UdpTimedMetadataId3Frame enum value 35776 UdpTimedMetadataId3FramePriv = "PRIV" 35777 35778 // UdpTimedMetadataId3FrameTdrl is a UdpTimedMetadataId3Frame enum value 35779 UdpTimedMetadataId3FrameTdrl = "TDRL" 35780 ) 35781 35782 // UdpTimedMetadataId3Frame_Values returns all elements of the UdpTimedMetadataId3Frame enum 35783 func UdpTimedMetadataId3Frame_Values() []string { 35784 return []string{ 35785 UdpTimedMetadataId3FrameNone, 35786 UdpTimedMetadataId3FramePriv, 35787 UdpTimedMetadataId3FrameTdrl, 35788 } 35789 } 35790 35791 // Video Description Respond To Afd 35792 const ( 35793 // VideoDescriptionRespondToAfdNone is a VideoDescriptionRespondToAfd enum value 35794 VideoDescriptionRespondToAfdNone = "NONE" 35795 35796 // VideoDescriptionRespondToAfdPassthrough is a VideoDescriptionRespondToAfd enum value 35797 VideoDescriptionRespondToAfdPassthrough = "PASSTHROUGH" 35798 35799 // VideoDescriptionRespondToAfdRespond is a VideoDescriptionRespondToAfd enum value 35800 VideoDescriptionRespondToAfdRespond = "RESPOND" 35801 ) 35802 35803 // VideoDescriptionRespondToAfd_Values returns all elements of the VideoDescriptionRespondToAfd enum 35804 func VideoDescriptionRespondToAfd_Values() []string { 35805 return []string{ 35806 VideoDescriptionRespondToAfdNone, 35807 VideoDescriptionRespondToAfdPassthrough, 35808 VideoDescriptionRespondToAfdRespond, 35809 } 35810 } 35811 35812 // Video Description Scaling Behavior 35813 const ( 35814 // VideoDescriptionScalingBehaviorDefault is a VideoDescriptionScalingBehavior enum value 35815 VideoDescriptionScalingBehaviorDefault = "DEFAULT" 35816 35817 // VideoDescriptionScalingBehaviorStretchToOutput is a VideoDescriptionScalingBehavior enum value 35818 VideoDescriptionScalingBehaviorStretchToOutput = "STRETCH_TO_OUTPUT" 35819 ) 35820 35821 // VideoDescriptionScalingBehavior_Values returns all elements of the VideoDescriptionScalingBehavior enum 35822 func VideoDescriptionScalingBehavior_Values() []string { 35823 return []string{ 35824 VideoDescriptionScalingBehaviorDefault, 35825 VideoDescriptionScalingBehaviorStretchToOutput, 35826 } 35827 } 35828 35829 // Video Selector Color Space 35830 const ( 35831 // VideoSelectorColorSpaceFollow is a VideoSelectorColorSpace enum value 35832 VideoSelectorColorSpaceFollow = "FOLLOW" 35833 35834 // VideoSelectorColorSpaceHdr10 is a VideoSelectorColorSpace enum value 35835 VideoSelectorColorSpaceHdr10 = "HDR10" 35836 35837 // VideoSelectorColorSpaceHlg2020 is a VideoSelectorColorSpace enum value 35838 VideoSelectorColorSpaceHlg2020 = "HLG_2020" 35839 35840 // VideoSelectorColorSpaceRec601 is a VideoSelectorColorSpace enum value 35841 VideoSelectorColorSpaceRec601 = "REC_601" 35842 35843 // VideoSelectorColorSpaceRec709 is a VideoSelectorColorSpace enum value 35844 VideoSelectorColorSpaceRec709 = "REC_709" 35845 ) 35846 35847 // VideoSelectorColorSpace_Values returns all elements of the VideoSelectorColorSpace enum 35848 func VideoSelectorColorSpace_Values() []string { 35849 return []string{ 35850 VideoSelectorColorSpaceFollow, 35851 VideoSelectorColorSpaceHdr10, 35852 VideoSelectorColorSpaceHlg2020, 35853 VideoSelectorColorSpaceRec601, 35854 VideoSelectorColorSpaceRec709, 35855 } 35856 } 35857 35858 // Video Selector Color Space Usage 35859 const ( 35860 // VideoSelectorColorSpaceUsageFallback is a VideoSelectorColorSpaceUsage enum value 35861 VideoSelectorColorSpaceUsageFallback = "FALLBACK" 35862 35863 // VideoSelectorColorSpaceUsageForce is a VideoSelectorColorSpaceUsage enum value 35864 VideoSelectorColorSpaceUsageForce = "FORCE" 35865 ) 35866 35867 // VideoSelectorColorSpaceUsage_Values returns all elements of the VideoSelectorColorSpaceUsage enum 35868 func VideoSelectorColorSpaceUsage_Values() []string { 35869 return []string{ 35870 VideoSelectorColorSpaceUsageFallback, 35871 VideoSelectorColorSpaceUsageForce, 35872 } 35873 } 35874 35875 // Wav Coding Mode 35876 const ( 35877 // WavCodingModeCodingMode10 is a WavCodingMode enum value 35878 WavCodingModeCodingMode10 = "CODING_MODE_1_0" 35879 35880 // WavCodingModeCodingMode20 is a WavCodingMode enum value 35881 WavCodingModeCodingMode20 = "CODING_MODE_2_0" 35882 35883 // WavCodingModeCodingMode40 is a WavCodingMode enum value 35884 WavCodingModeCodingMode40 = "CODING_MODE_4_0" 35885 35886 // WavCodingModeCodingMode80 is a WavCodingMode enum value 35887 WavCodingModeCodingMode80 = "CODING_MODE_8_0" 35888 ) 35889 35890 // WavCodingMode_Values returns all elements of the WavCodingMode enum 35891 func WavCodingMode_Values() []string { 35892 return []string{ 35893 WavCodingModeCodingMode10, 35894 WavCodingModeCodingMode20, 35895 WavCodingModeCodingMode40, 35896 WavCodingModeCodingMode80, 35897 } 35898 } 35899 35900 // Webvtt Destination Style Control 35901 const ( 35902 // WebvttDestinationStyleControlNoStyleData is a WebvttDestinationStyleControl enum value 35903 WebvttDestinationStyleControlNoStyleData = "NO_STYLE_DATA" 35904 35905 // WebvttDestinationStyleControlPassthrough is a WebvttDestinationStyleControl enum value 35906 WebvttDestinationStyleControlPassthrough = "PASSTHROUGH" 35907 ) 35908 35909 // WebvttDestinationStyleControl_Values returns all elements of the WebvttDestinationStyleControl enum 35910 func WebvttDestinationStyleControl_Values() []string { 35911 return []string{ 35912 WebvttDestinationStyleControlNoStyleData, 35913 WebvttDestinationStyleControlPassthrough, 35914 } 35915 }