_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c25100
train
// GetAliasRequest mocks base method
{ "resource": "" }
c25101
train
// GetEventSourceMapping mocks base method
{ "resource": "" }
c25102
train
// GetEventSourceMappingRequest mocks base method
{ "resource": "" }
c25103
train
// GetFunction mocks base method
{ "resource": "" }
c25104
train
// GetFunctionConfiguration mocks base method
{ "resource": "" }
c25105
train
// GetFunctionConfigurationRequest mocks base method
{ "resource": "" }
c25106
train
// GetFunctionConfigurationWithContext mocks base method
{ "resource": "" }
c25107
train
// GetFunctionRequest mocks base method
{ "resource": "" }
c25108
train
// GetFunctionWithContext mocks base method
{ "resource": "" }
c25109
train
// GetPolicy mocks base method
{ "resource": "" }
c25110
train
// GetPolicyRequest mocks base method
{ "resource": "" }
c25111
train
// GetPolicyWithContext mocks base method
{ "resource": "" }
c25112
train
// Invoke mocks base method
{ "resource": "" }
c25113
train
// InvokeAsync mocks base method
{ "resource": "" }
c25114
train
// InvokeAsyncRequest mocks base method
{ "resource": "" }
c25115
train
// InvokeAsyncWithContext mocks base method
{ "resource": "" }
c25116
train
// InvokeRequest mocks base method
{ "resource": "" }
c25117
train
// InvokeWithContext mocks base method
{ "resource": "" }
c25118
train
// ListAliases mocks base method
{ "resource": "" }
c25119
train
// ListAliasesRequest mocks base method
{ "resource": "" }
c25120
train
// ListAliasesRequest indicates an expected call of ListAliasesRequest
{ "resource": "" }
c25121
train
// ListAliasesWithContext mocks base method
{ "resource": "" }
c25122
train
// ListAliasesWithContext indicates an expected call of ListAliasesWithContext
{ "resource": "" }
c25123
train
// ListEventSourceMappings mocks base method
{ "resource": "" }
c25124
train
// ListEventSourceMappingsPages mocks base method
{ "resource": "" }
c25125
train
// ListEventSourceMappingsRequest mocks base method
{ "resource": "" }
c25126
train
// ListEventSourceMappingsWithContext mocks base method
{ "resource": "" }
c25127
train
// ListFunctions mocks base method
{ "resource": "" }
c25128
train
// ListFunctionsPages mocks base method
{ "resource": "" }
c25129
train
// ListFunctionsPagesWithContext mocks base method
{ "resource": "" }
c25130
train
// ListFunctionsRequest mocks base method
{ "resource": "" }
c25131
train
// ListTags mocks base method
{ "resource": "" }
c25132
train
// ListTagsRequest mocks base method
{ "resource": "" }
c25133
train
// ListTagsWithContext mocks base method
{ "resource": "" }
c25134
train
// ListVersionsByFunction mocks base method
{ "resource": "" }
c25135
train
// ListVersionsByFunctionRequest mocks base method
{ "resource": "" }
c25136
train
// ListVersionsByFunctionWithContext mocks base method
{ "resource": "" }
c25137
train
// PublishVersion mocks base method
{ "resource": "" }
c25138
train
// PublishVersionRequest mocks base method
{ "resource": "" }
c25139
train
// PutFunctionConcurrency mocks base method
{ "resource": "" }
c25140
train
// PutFunctionConcurrencyRequest mocks base method
{ "resource": "" }
c25141
train
// PutFunctionConcurrencyWithContext mocks base method
{ "resource": "" }
c25142
train
// RemovePermission mocks base method
{ "resource": "" }
c25143
train
// RemovePermissionRequest mocks base method
{ "resource": "" }
c25144
train
// RemovePermissionWithContext mocks base method
{ "resource": "" }
c25145
train
// TagResource mocks base method
{ "resource": "" }
c25146
train
// TagResourceRequest mocks base method
{ "resource": "" }
c25147
train
// TagResourceWithContext mocks base method
{ "resource": "" }
c25148
train
// UntagResource mocks base method
{ "resource": "" }
c25149
train
// UntagResourceRequest mocks base method
{ "resource": "" }
c25150
train
// UpdateAlias mocks base method
{ "resource": "" }
c25151
train
// UpdateAliasRequest mocks base method
{ "resource": "" }
c25152
train
// UpdateEventSourceMapping mocks base method
{ "resource": "" }
c25153
train
// UpdateEventSourceMappingRequest mocks base method
{ "resource": "" }
c25154
train
// UpdateEventSourceMappingWithContext mocks base method
{ "resource": "" }
c25155
train
// UpdateFunctionCode mocks base method
{ "resource": "" }
c25156
train
// UpdateFunctionCodeRequest mocks base method
{ "resource": "" }
c25157
train
// UpdateFunctionConfiguration mocks base method
{ "resource": "" }
c25158
train
// UpdateFunctionConfigurationRequest mocks base method
{ "resource": "" }
c25159
train
// Upgrade the current `version` of apex to the latest.
{ "resource": "" }
c25160
train
// Boot the project.
{ "resource": "" }
c25161
train
// check if there's a project.
{ "resource": "" }
c25162
train
// Bootstrap without Terraform.
{ "resource": "" }
c25163
train
// Create IAM role, returning the ARN.
{ "resource": "" }
c25164
train
// help string output.
{ "resource": "" }
c25165
train
// indent multiline string with 2 spaces.
{ "resource": "" }
c25166
train
// logf outputs a log message.
{ "resource": "" }
c25167
train
// wait for each log group to complete.
{ "resource": "" }
c25168
train
// consume logs for group `name`.
{ "resource": "" }
c25169
train
// preRun sets up global tasks used for most commands, some use PreRunNoop // to remove this default behaviour.
{ "resource": "" }
c25170
train
// Sha256 returns a base64 encoded SHA256 hash of `b`.
{ "resource": "" }
c25171
train
// LoadFiles return filtered map of relative to 'root' file paths; // for filtering it uses shell file name pattern matching
{ "resource": "" }
c25172
train
// ReadIgnoreFile reads .apexignore in `dir` when present and returns a list of patterns.
{ "resource": "" }
c25173
train
// ContainsString checks if array contains string
{ "resource": "" }
c25174
train
// ParseEnv accepts an `env` slice from the command-line and returns a map.
{ "resource": "" }
c25175
train
// ProfileAndRegionFromConfig attempts to load the .profile setting from `environment`'s config.
{ "resource": "" }
c25176
train
// AssumeRole uses STS to assume the given `role`.
{ "resource": "" }
c25177
train
// Open the project.json file and prime the config.
{ "resource": "" }
c25178
train
// DeployAndClean deploys functions and then cleans up their build artifacts.
{ "resource": "" }
c25179
train
// Deploy functions and their configurations.
{ "resource": "" }
c25180
train
// Clean up function build artifacts.
{ "resource": "" }
c25181
train
// Delete functions.
{ "resource": "" }
c25182
train
// RollbackVersion project functions to the specified version.
{ "resource": "" }
c25183
train
// FunctionDirNames returns a list of function directory names.
{ "resource": "" }
c25184
train
// LoadEnvFromFile reads `path` JSON and applies it to the environment.
{ "resource": "" }
c25185
train
// Setenv sets environment variable `name` to `value` on every function in project.
{ "resource": "" }
c25186
train
// LoadFunctionByPath returns the function in the given directory.
{ "resource": "" }
c25187
train
// CreateOrUpdateAlias ensures the given `alias` is available for `version`.
{ "resource": "" }
c25188
train
// name returns the computed name for `fn`, using the nameTemplate.
{ "resource": "" }
c25189
train
// readInfraRole reads lambda function IAM role from infrastructure
{ "resource": "" }
c25190
train
// render returns a string by executing template `t` against the given value `v`.
{ "resource": "" }
c25191
train
// copyVPC returns a copy of `in`.
{ "resource": "" }
c25192
train
// matches returns true if `name` is matched by any of the given `patterns`, // or if zero `patterns` are provided.
{ "resource": "" }
c25193
train
// Read implementation.
{ "resource": "" }
c25194
train
// New returns a progress bar reader.
{ "resource": "" }
c25195
train
// Collect and aggregate metrics for on function.
{ "resource": "" }
c25196
train
// stats for function `name`.
{ "resource": "" }
c25197
train
// collect starts a new cloudwatch session and requests the key metrics.
{ "resource": "" }
c25198
train
// gen generates the key metric structs and returns a channel pipeline.
{ "resource": "" }
c25199
train
// period returns the resolution of metrics.
{ "resource": "" }