id
stringlengths 2
7
| text
stringlengths 17
51.2k
| title
stringclasses 1
value |
|---|---|---|
c2100
|
s.DropFrameTimecode = &v
return s
}
| |
c2101
|
s.RespondToAfd = &v
return s
}
| |
c2102
|
s.ScalingBehavior = &v
return s
}
| |
c2103
|
*VideoDescription {
s.VideoPreprocessors = v
return s
}
| |
c2104
|
s.HeightInPx = &v
return s
}
| |
c2105
|
s.WidthInPx = &v
return s
}
| |
c2106
|
{
s.ColorCorrector = v
return s
}
| |
c2107
|
{
s.Deinterlacer = v
return s
}
| |
c2108
|
{
s.NoiseReducer = v
return s
}
| |
c2109
|
{
s.TimecodeBurnin = v
return s
}
| |
c2110
|
s.ColorSpace = &v
return s
}
| |
c2111
|
s.ColorSpaceUsage = &v
return s
}
| |
c2112
|
c.WaitUntilStreamExistsWithContext(aws.BackgroundContext(), input)
}
| |
c2113
|
c.WaitUntilStreamNotExistsWithContext(aws.BackgroundContext(), input)
}
| |
c2114
|
err}
}()
select {
case data := <-c:
return data.n, data.err
case <-timer.C:
return 0, timeoutErr
}
}
| |
c2115
|
if ok && aerr.Code() == ErrCodeResponseTimeout {
req.Error = aerr
}
}
}
| |
c2116
|
c.WaitUntilVaultExistsWithContext(aws.BackgroundContext(), input)
}
| |
c2117
|
c.WaitUntilVaultNotExistsWithContext(aws.BackgroundContext(), input)
}
| |
c2118
|
return ""
}
return string(children[0].Root.Raw())
}
| |
c2119
|
resolved.SigningRegion
// Presign a request with modified params
req := request.New(*cfg, clientInfo, r.Handlers, r.Retryer, r.Operation, newParams, r.Data)
req.Operation.HTTPMethod = "GET"
uri, err := req.Presign(5 * time.Minute) // 5 minutes should be enough.
if err != nil { // bubble error back up to original request
r.Error = err
return nil
}
// We have our URL, set it on params
return &uri
}
| |
c2120
|
!initialized && debugLogger != nil {
panic("LogDebug called multiple times. Can only be called once")
}
}
| |
c2121
|
return
}
fmt.Fprintf(l.w, format+"\n", args...)
}
| |
c2122
|
return
}
fmt.Fprintln(l.w, args...)
}
| |
c2123
|
name
passRef := ref.Shape.MemberRefs[name]
if isMap {
memName = fmt.Sprintf("%q", memName)
passRef = &ref.Shape.ValueRef
}
switch v := shape.(type) {
case map[string]interface{}:
ret += b.BuildComplex(name, memName, passRef, v)
case []interface{}:
ret += b.BuildList(name, memName, passRef, v)
default:
ret += b.BuildScalar(name, memName, passRef, v, ref.Shape.Payload == name)
}
}
return ret
}
| |
c2124
|
fmt.Sprintf("%s: %s {\n", memName, b.GoType(ref, false))
ret += b.buildListElements(passRef, v)
ret += "},\n"
return ret
}
| |
c2125
|
t := ref.Shape.Type
switch t {
case "timestamp":
return parseTimeString(ref, memName, fmt.Sprintf("%s", v))
case "blob":
if (ref.Streaming || ref.Shape.Streaming) && isPayload {
return fmt.Sprintf("%s: aws.ReadSeekCloser(strings.NewReader(%q)),\n", memName, v)
}
return fmt.Sprintf("%s: []byte(%q),\n", memName, v)
default:
return convertToCorrectType(memName, t, v)
}
default:
panic(fmt.Errorf("Unsupported scalar type: %v", reflect.TypeOf(v)))
}
}
| |
c2126
|
name, b.GoType(ref, false), b.BuildShape(ref, v, true))
default:
panic(fmt.Sprintf("Expected complex type but received %q", ref.Shape.Type))
}
}
| |
c2127
|
{
ref = &ref.Shape.MemberRef
prefix = "[]"
}
if elem {
return prefix + ref.Shape.GoTypeWithPkgNameElem()
}
return prefix + ref.GoTypeWithPkgName()
}
| |
c2128
|
s.FragmentLengthInMilliseconds = &v
return s
}
| |
c2129
|
s.FragmentNumber = &v
return s
}
| |
c2130
|
s.FragmentSizeInBytes = &v
return s
}
| |
c2131
|
s.ProducerTimestamp = &v
return s
}
| |
c2132
|
s.ServerTimestamp = &v
return s
}
| |
c2133
|
string) *GetHLSStreamingSessionURLInput {
s.ContainerFormat = &v
return s
}
| |
c2134
|
string) *GetHLSStreamingSessionURLInput {
s.DiscontinuityMode = &v
return s
}
| |
c2135
|
string) *GetHLSStreamingSessionURLInput {
s.DisplayFragmentTimestamp = &v
return s
}
| |
c2136
|
*HLSFragmentSelector) *GetHLSStreamingSessionURLInput {
s.HLSFragmentSelector = v
return s
}
| |
c2137
|
int64) *GetHLSStreamingSessionURLInput {
s.MaxMediaPlaylistFragmentResults = &v
return s
}
| |
c2138
|
string) *GetHLSStreamingSessionURLInput {
s.PlaybackMode = &v
return s
}
| |
c2139
|
string) *GetHLSStreamingSessionURLOutput {
s.HLSStreamingSessionURL = &v
return s
}
| |
c2140
|
*FragmentSelector) *ListFragmentsInput {
s.FragmentSelector = v
return s
}
| |
c2141
|
s.BudgetLimit = v
return s
}
| |
c2142
|
*Budget {
s.CalculatedSpend = v
return s
}
| |
c2143
|
*BudgetPerformanceHistory {
s.BudgetedAndActualAmountsList = v
return s
}
| |
c2144
|
*Spend) *BudgetedAndActualAmounts {
s.ActualAmount = v
return s
}
| |
c2145
|
*Spend) *BudgetedAndActualAmounts {
s.BudgetedAmount = v
return s
}
| |
c2146
|
s.ActualSpend = v
return s
}
| |
c2147
|
s.ForecastedSpend = v
return s
}
| |
c2148
|
s.IncludeCredit = &v
return s
}
| |
c2149
|
s.IncludeDiscount = &v
return s
}
| |
c2150
|
s.IncludeOtherSubscription = &v
return s
}
| |
c2151
|
s.IncludeRecurring = &v
return s
}
| |
c2152
|
s.IncludeRefund = &v
return s
}
| |
c2153
|
s.IncludeSubscription = &v
return s
}
| |
c2154
|
s.IncludeSupport = &v
return s
}
| |
c2155
|
s.IncludeTax = &v
return s
}
| |
c2156
|
s.IncludeUpfront = &v
return s
}
| |
c2157
|
s.UseAmortized = &v
return s
}
| |
c2158
|
s.UseBlended = &v
return s
}
| |
c2159
|
*CreateBudgetInput {
s.NotificationsWithSubscribers = v
return s
}
| |
c2160
|
*BudgetPerformanceHistory) *DescribeBudgetPerformanceHistoryOutput {
s.BudgetPerformanceHistory = v
return s
}
| |
c2161
|
s.NotificationState = &v
return s
}
| |
c2162
|
s.ThresholdType = &v
return s
}
| |
c2163
|
{
s.NewBudget = v
return s
}
| |
c2164
|
*Notification) *UpdateNotificationInput {
s.NewNotification = v
return s
}
| |
c2165
|
*Notification) *UpdateNotificationInput {
s.OldNotification = v
return s
}
| |
c2166
|
*Subscriber) *UpdateSubscriberInput {
s.NewSubscriber = v
return s
}
| |
c2167
|
*Subscriber) *UpdateSubscriberInput {
s.OldSubscriber = v
return s
}
| |
c2168
|
reflect.ValueOf(r.Params).Elem()
buildLocationElements(r, v, false)
buildBody(r, v)
}
}
| |
c2169
|
buildLocationElements(r, v, true)
buildBody(r, v)
}
}
| |
c2170
|
buf.WriteByte(c)
} else {
fmt.Fprintf(&buf, "%%%02X", c)
}
}
return buf.String()
}
| |
c2171
|
metadata = append(metadata, fileInfo{key, p})
}
return nil
})
return &SyncFolderIterator{
bucket,
metadata,
nil,
}
}
| |
c2172
|
}
input := s3manager.UploadInput{
Bucket: &iter.bucket,
Key: &fi.key,
Body: body,
ContentType: &mimeType,
}
return s3manager.BatchUploadObject{
Object: &input,
}
}
| |
c2173
|
s.IgnorePollAlarmFailure = &v
return s
}
| |
c2174
|
s.GitHubAccountName = &v
return s
}
| |
c2175
|
s.LinkedToGitHub = &v
return s
}
| |
c2176
|
[]*ApplicationInfo) *BatchGetApplicationsOutput {
s.ApplicationsInfo = v
return s
}
| |
c2177
|
[]*string) *BatchGetDeploymentGroupsInput {
s.DeploymentGroupNames = v
return s
}
| |
c2178
|
[]*DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput {
s.DeploymentGroupsInfo = v
return s
}
| |
c2179
|
[]*InstanceSummary) *BatchGetDeploymentInstancesOutput {
s.InstancesSummary = v
return s
}
| |
c2180
|
[]*DeploymentTarget) *BatchGetDeploymentTargetsOutput {
s.DeploymentTargets = v
return s
}
| |
c2181
|
[]*DeploymentInfo) *BatchGetDeploymentsOutput {
s.DeploymentsInfo = v
return s
}
| |
c2182
|
[]*InstanceInfo) *BatchGetOnPremisesInstancesOutput {
s.InstanceInfos = v
return s
}
| |
c2183
|
*DeploymentReadyOption) *BlueGreenDeploymentConfiguration {
s.DeploymentReadyOption = v
return s
}
| |
c2184
|
*GreenFleetProvisioningOption) *BlueGreenDeploymentConfiguration {
s.GreenFleetProvisioningOption = v
return s
}
| |
c2185
|
*BlueInstanceTerminationOption) *BlueGreenDeploymentConfiguration {
s.TerminateBlueInstancesOnDeploymentSuccess = v
return s
}
| |
c2186
|
int64) *BlueInstanceTerminationOption {
s.TerminationWaitTimeInMinutes = &v
return s
}
| |
c2187
|
{
s.DeploymentWaitType = &v
return s
}
| |
c2188
|
{
s.LastAttemptedDeployment = v
return s
}
| |
c2189
|
{
s.LastSuccessfulDeployment = v
return s
}
| |
c2190
|
*DeploymentGroupInfo {
s.TargetRevision = v
return s
}
| |
c2191
|
s.AdditionalDeploymentStatusInfo = &v
return s
}
| |
c2192
|
string) *DeploymentInfo {
s.Creator = &v
return s
}
| |
c2193
|
s.DeploymentOverview = v
return s
}
| |
c2194
|
s.DeploymentStatusMessages = v
return s
}
| |
c2195
|
s.ErrorInformation = v
return s
}
| |
c2196
|
s.InstanceTerminationWaitTimeStarted = &v
return s
}
| |
c2197
|
s.PreviousRevision = v
return s
}
| |
c2198
|
{
s.RollbackInfo = v
return s
}
| |
c2199
|
int64) *DeploymentOverview {
s.Ready = &v
return s
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.