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

Method _register_task_def

awscli/customizations/ecs/deploy.py:215–223  ·  view source on GitHub ↗
(self, task_def_kwargs, ecs_client)

Source from the content-addressed store, hash-verified

213 return register_task_def_kwargs, appspec_obj
214
215 def _register_task_def(self, task_def_kwargs, ecs_client):
216 response = ecs_client.register_task_definition(task_def_kwargs)
217
218 task_def_arn = response['taskDefinition']['taskDefinitionArn']
219
220 sys.stdout.write(self.MSG_TASK_DEF_REGISTERED.format(arn=task_def_arn))
221 sys.stdout.flush()
222
223 return task_def_arn
224
225 def _validate_code_deploy_resources(self, client):
226 validator = CodeDeployValidator(client, self.resources)

Callers 1

_run_mainMethod · 0.95

Calls 4

formatMethod · 0.80
writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected