-
Notifications
You must be signed in to change notification settings - Fork 17
/
Code__checks.go
43 lines (31 loc) · 939 Bytes
/
Code__checks.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//go:build !no_runtime_type_checking
package awscodecommit
import (
"fmt"
"github.com/aws/aws-cdk-go/awscdk/v2/awss3assets"
"github.com/aws/constructs-go/constructs/v10"
)
func (c *jsiiProxy_Code) validateBindParameters(scope constructs.Construct) error {
if scope == nil {
return fmt.Errorf("parameter scope is required, but nil was provided")
}
return nil
}
func validateCode_FromAssetParameters(asset awss3assets.Asset) error {
if asset == nil {
return fmt.Errorf("parameter asset is required, but nil was provided")
}
return nil
}
func validateCode_FromDirectoryParameters(directoryPath *string) error {
if directoryPath == nil {
return fmt.Errorf("parameter directoryPath is required, but nil was provided")
}
return nil
}
func validateCode_FromZipFileParameters(filePath *string) error {
if filePath == nil {
return fmt.Errorf("parameter filePath is required, but nil was provided")
}
return nil
}