diff --git a/isp/.openapi-generator/FILES b/isp/.openapi-generator/FILES index e1afeb9..a35dc7f 100644 --- a/isp/.openapi-generator/FILES +++ b/isp/.openapi-generator/FILES @@ -36,6 +36,7 @@ model_channel_packaging_packagers_value_content_protection_key_rotation.go model_channel_packaging_packagers_value_content_protection_simple.go model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner.go model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_basic_auth.go +model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_secure_header_auth.go model_channel_packaging_packagers_value_mp2t.go model_channel_packaging_packagers_value_mp4.go model_channel_packaging_packagers_value_web_vtt.go diff --git a/isp/api_transcoder_telemetry.go b/isp/api_transcoder_telemetry.go index 2794aa2..d451396 100644 --- a/isp/api_transcoder_telemetry.go +++ b/isp/api_transcoder_telemetry.go @@ -173,6 +173,16 @@ func (a *TranscoderTelemetryApiService) ListRawScteHistoryExecute(r ApiListRawSc newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 413 { + var v ErrorModel + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 422 { var v ErrorModel err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -365,6 +375,16 @@ func (a *TranscoderTelemetryApiService) ListRawScteHistoryByChannelExecute(r Api newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } + if localVarHTTPResponse.StatusCode == 413 { + var v ErrorModel + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 422 { var v ErrorModel err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner.go b/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner.go index d4b17db..e0cf2e0 100644 --- a/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner.go +++ b/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner.go @@ -33,6 +33,7 @@ type ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner str PlaybackQueryParams *string `json:"playback_query_params,omitempty" doc:"Specifies any query parameters that will be added to playback urls. Should not include the initial '?' Example: 'foo=bar&q=golang'"` // The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. PublishBaseUrl *string `json:"publish_base_url,omitempty" format:"uri-reference" doc:"The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'."` + SecureHeaderAuth *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth `json:"secure_header_auth,omitempty"` } // NewChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner instantiates a new ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner object @@ -308,6 +309,38 @@ func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner o.PublishBaseUrl = &v } +// GetSecureHeaderAuth returns the SecureHeaderAuth field value if set, zero value otherwise. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner) GetSecureHeaderAuth() ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth { + if o == nil || IsNil(o.SecureHeaderAuth) { + var ret ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth + return ret + } + return *o.SecureHeaderAuth +} + +// GetSecureHeaderAuthOk returns a tuple with the SecureHeaderAuth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner) GetSecureHeaderAuthOk() (*ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth, bool) { + if o == nil || IsNil(o.SecureHeaderAuth) { + return nil, false + } + return o.SecureHeaderAuth, true +} + +// HasSecureHeaderAuth returns a boolean if a field has been set. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner) HasSecureHeaderAuth() bool { + if o != nil && !IsNil(o.SecureHeaderAuth) { + return true + } + + return false +} + +// SetSecureHeaderAuth gets a reference to the given ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth and assigns it to the SecureHeaderAuth field. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner) SetSecureHeaderAuth(v ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) { + o.SecureHeaderAuth = &v +} + func (o ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -342,6 +375,9 @@ func (o ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInner) if !IsNil(o.PublishBaseUrl) { toSerialize["publish_base_url"] = o.PublishBaseUrl } + if !IsNil(o.SecureHeaderAuth) { + toSerialize["secure_header_auth"] = o.SecureHeaderAuth + } return toSerialize, nil } diff --git a/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_basic_auth.go b/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_basic_auth.go index c10ee74..9379a76 100644 --- a/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_basic_auth.go +++ b/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_basic_auth.go @@ -16,7 +16,7 @@ import ( // checks if the ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerBasicAuth type satisfies the MappedNullable interface at compile time var _ MappedNullable = &ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerBasicAuth{} -// ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerBasicAuth Only one of ['basic_auth'] may be set. +// ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerBasicAuth Only one of ['basic_auth', 'secure_header_auth'] may be set. type ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerBasicAuth struct { // Plain text password for basic auth. Password *string `json:"password,omitempty" doc:"Plain text password for basic auth."` diff --git a/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_secure_header_auth.go b/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_secure_header_auth.go new file mode 100644 index 0000000..e5e1fe2 --- /dev/null +++ b/isp/model_channel_packaging_packagers_value_content_protection_simple_publish_points_inner_secure_header_auth.go @@ -0,0 +1,163 @@ +/* + * WBD Aventus Channels API + * + * API version: 0.0.0 + * Contact: live-control-plane-devs@wbd.com + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package isp + +import ( + "encoding/json" +) + +// checks if the ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth{} + +// ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. +type ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth struct { + // arn is the AWS Secret ARN that contains the secure header list to be applied. + Arn *string `json:"arn,omitempty" doc:"arn is the AWS Secret ARN that contains the secure header list to be applied."` + // version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + VersionId *string `json:"version_id,omitempty" doc:"version_id is the AWS Secret's version ID that contains the version of the secret to be applied."` +} + +// NewChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth instantiates a new ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth() *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth { + this := ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth{} + return &this +} + +// NewChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuthWithDefaults instantiates a new ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuthWithDefaults() *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth { + this := ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth{} + return &this +} + +// GetArn returns the Arn field value if set, zero value otherwise. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) GetArn() string { + if o == nil || IsNil(o.Arn) { + var ret string + return ret + } + return *o.Arn +} + +// GetArnOk returns a tuple with the Arn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) GetArnOk() (*string, bool) { + if o == nil || IsNil(o.Arn) { + return nil, false + } + return o.Arn, true +} + +// HasArn returns a boolean if a field has been set. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) HasArn() bool { + if o != nil && !IsNil(o.Arn) { + return true + } + + return false +} + +// SetArn gets a reference to the given string and assigns it to the Arn field. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) SetArn(v string) { + o.Arn = &v +} + +// GetVersionId returns the VersionId field value if set, zero value otherwise. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) GetVersionId() string { + if o == nil || IsNil(o.VersionId) { + var ret string + return ret + } + return *o.VersionId +} + +// GetVersionIdOk returns a tuple with the VersionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) GetVersionIdOk() (*string, bool) { + if o == nil || IsNil(o.VersionId) { + return nil, false + } + return o.VersionId, true +} + +// HasVersionId returns a boolean if a field has been set. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) HasVersionId() bool { + if o != nil && !IsNil(o.VersionId) { + return true + } + + return false +} + +// SetVersionId gets a reference to the given string and assigns it to the VersionId field. +func (o *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) SetVersionId(v string) { + o.VersionId = &v +} + +func (o ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Arn) { + toSerialize["arn"] = o.Arn + } + if !IsNil(o.VersionId) { + toSerialize["version_id"] = o.VersionId + } + return toSerialize, nil +} + +type NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth struct { + value *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth + isSet bool +} + +func (v NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) Get() *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth { + return v.value +} + +func (v *NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) Set(val *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) { + v.value = val + v.isSet = true +} + +func (v NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) IsSet() bool { + return v.isSet +} + +func (v *NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth(val *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) *NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth { + return &NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth{value: val, isSet: true} +} + +func (v NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/isp/model_channel_publishing_publications_inner_publish_points_inner_http.go b/isp/model_channel_publishing_publications_inner_publish_points_inner_http.go index 1250277..b3fa938 100644 --- a/isp/model_channel_publishing_publications_inner_publish_points_inner_http.go +++ b/isp/model_channel_publishing_publications_inner_publish_points_inner_http.go @@ -33,6 +33,7 @@ type ChannelPublishingPublicationsInnerPublishPointsInnerHttp struct { PlaybackQueryParams *string `json:"playback_query_params,omitempty" doc:"Specifies any query parameters that will be added to playback urls. Should not include the initial '?' Example: 'foo=bar&q=golang'"` // The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. PublishBaseUrl *string `json:"publish_base_url,omitempty" format:"uri-reference" doc:"The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'."` + SecureHeaderAuth *ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth `json:"secure_header_auth,omitempty"` } // NewChannelPublishingPublicationsInnerPublishPointsInnerHttp instantiates a new ChannelPublishingPublicationsInnerPublishPointsInnerHttp object @@ -308,6 +309,38 @@ func (o *ChannelPublishingPublicationsInnerPublishPointsInnerHttp) SetPublishBas o.PublishBaseUrl = &v } +// GetSecureHeaderAuth returns the SecureHeaderAuth field value if set, zero value otherwise. +func (o *ChannelPublishingPublicationsInnerPublishPointsInnerHttp) GetSecureHeaderAuth() ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth { + if o == nil || IsNil(o.SecureHeaderAuth) { + var ret ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth + return ret + } + return *o.SecureHeaderAuth +} + +// GetSecureHeaderAuthOk returns a tuple with the SecureHeaderAuth field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ChannelPublishingPublicationsInnerPublishPointsInnerHttp) GetSecureHeaderAuthOk() (*ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth, bool) { + if o == nil || IsNil(o.SecureHeaderAuth) { + return nil, false + } + return o.SecureHeaderAuth, true +} + +// HasSecureHeaderAuth returns a boolean if a field has been set. +func (o *ChannelPublishingPublicationsInnerPublishPointsInnerHttp) HasSecureHeaderAuth() bool { + if o != nil && !IsNil(o.SecureHeaderAuth) { + return true + } + + return false +} + +// SetSecureHeaderAuth gets a reference to the given ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth and assigns it to the SecureHeaderAuth field. +func (o *ChannelPublishingPublicationsInnerPublishPointsInnerHttp) SetSecureHeaderAuth(v ChannelPackagingPackagersValueContentProtectionSimplePublishPointsInnerSecureHeaderAuth) { + o.SecureHeaderAuth = &v +} + func (o ChannelPublishingPublicationsInnerPublishPointsInnerHttp) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -342,6 +375,9 @@ func (o ChannelPublishingPublicationsInnerPublishPointsInnerHttp) ToMap() (map[s if !IsNil(o.PublishBaseUrl) { toSerialize["publish_base_url"] = o.PublishBaseUrl } + if !IsNil(o.SecureHeaderAuth) { + toSerialize["secure_header_auth"] = o.SecureHeaderAuth + } return toSerialize, nil } diff --git a/spec/isp.yaml b/spec/isp.yaml index b0e3f93..06488ee 100644 --- a/spec/isp.yaml +++ b/spec/isp.yaml @@ -404,7 +404,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -441,6 +441,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -884,7 +895,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -921,6 +932,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false id: type: string @@ -1981,7 +2003,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -2018,6 +2040,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -2168,7 +2201,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -2205,6 +2238,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -2355,7 +2399,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -2392,6 +2436,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -2656,7 +2711,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -2693,6 +2748,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -7198,7 +7264,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -7235,6 +7301,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -7678,7 +7755,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -7715,6 +7792,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false id: type: string @@ -8932,7 +9020,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -8969,6 +9057,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false require_publish: type: string @@ -9412,7 +9511,7 @@ components: properties: basic_auth: type: object - description: Only one of ['basic_auth'] may be set. + description: Only one of ['basic_auth', 'secure_header_auth'] may be set. properties: password: type: string @@ -9449,6 +9548,17 @@ components: type: string description: The base URL where generated playlists will be sent/published. Each publish point requires a unique 'publish_base_url'. format: uri-reference + secure_header_auth: + type: object + description: SecureHeaderAuth sets up HTTP authentication using secure HTTP Headers stored in AWS Secrets Manager Only one of ['basic_auth', 'secure_header_auth'] may be set. + properties: + arn: + type: string + description: arn is the AWS Secret ARN that contains the secure header list to be applied. + version_id: + type: string + description: version_id is the AWS Secret's version ID that contains the version of the secret to be applied. + additionalProperties: false additionalProperties: false id: type: string @@ -12311,6 +12421,21 @@ paths: description: Link schema: type: string + "413": + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorModel' + description: Request Entity Too Large + headers: + Content-Type: + description: Content-Type + schema: + type: string + Link: + description: Link + schema: + type: string "422": content: application/problem+json: @@ -16308,6 +16433,21 @@ paths: description: Link schema: type: string + "413": + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorModel' + description: Request Entity Too Large + headers: + Content-Type: + description: Content-Type + schema: + type: string + Link: + description: Link + schema: + type: string "422": content: application/problem+json: