// Creates a real-time log configuration. After you create a real-time log
// configuration, you can attach it to one or more cache behaviors to send
// real-time log data to the specified Amazon Kinesis data stream. For more
// information about real-time log configurations, see Real-time logs
// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html)
// in the Amazon CloudFront Developer Guide.
Creates a real-time log configuration. After you create a real-time log
configuration, you can attach it to one or more cache behaviors to send
real-time log data to the specified Amazon Kinesis data stream. For more
information about real-time log configurations, see Real-time logs

in the Amazon CloudFront Developer Guide.
// Creates a real - time log configuration . After you create a real - time log // configuration you can attach it to one or more cache behaviors to send // real - time log data to the specified Amazon Kinesis data stream . For more // information about real - time log configurations see Real - time logs // ( https : // docs . aws . amazon . com / AmazonCloudFront / latest / DeveloperGuide / real - time - logs . html ) // in the Amazon CloudFront Developer Guide .
func (c *Client) CreateRealtimeLogConfig(ctx context.Context, params *CreateRealtimeLogConfigInput, optFns ...func(*Options)) (*CreateRealtimeLogConfigOutput, error) {
	if params == nil {
		params = &CreateRealtimeLogConfigInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateRealtimeLogConfig", params, optFns, addOperationCreateRealtimeLogConfigMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateRealtimeLogConfigOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateRealtimeLogConfig ( ctx context . Context , params * CreateRealtimeLogConfigInput , optFns ... func ( * Options ) ) ( * CreateRealtimeLogConfigOutput , error ) { if params == nil { params = & CreateRealtimeLogConfigInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateRealtimeLogConfigMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateRealtimeLogConfigOutput ) out . ResultMetadata = metadata return out , nil }
Creates a real-time log configuration.
Creates a real - time log configuration .