MCPcopy Index your code
hub / github.com/aws/aws-cli / _validate_args

Method _validate_args

awscli/customizations/codedeploy/push.py:122–135  ·  view source on GitHub ↗
(self, parsed_args)

Source from the content-addressed store, hash-verified

120 return 0
121
122 def _validate_args(self, parsed_args):
123 validate_s3_location(parsed_args, 's3_location')
124 if (
125 parsed_args.ignore_hidden_files
126 and parsed_args.no_ignore_hidden_files
127 ):
128 raise ParamValidationError(
129 'You cannot specify both --ignore-hidden-files and '
130 '--no-ignore-hidden-files.'
131 )
132 if not parsed_args.description:
133 parsed_args.description = (
134 f'Uploaded by AWS CLI {datetime.utcnow().isoformat()} UTC'
135 )
136
137 def _push(self, params):
138 with self._compress(

Calls 2

validate_s3_locationFunction · 0.90