Commit Graph

52 Commits

Author SHA1 Message Date
Akira Noda
90bdd72555
Admin: Using ruff format instead of black (#7502) 2024-03-21 19:17:29 -01:00
Bert Blommers
a7f3b367b4 Introduce mock_aws() (#7194) 2024-01-27 19:38:09 +00:00
Guilherme de Amorim
a04ef58386
SageMaker: correct describe_model_package_group does not exist msg (#7246) 2024-01-25 21:38:37 -01:00
Bogdan Girman
33024619eb
SageMaker: Add exception when resource already exists (#7239) 2024-01-25 21:34:04 -01:00
Bogdan Girman
8d91d09b42
Add SageMaker Feature Group (#7227) 2024-01-21 17:03:29 -01:00
Michał Górny
7afd91fd23
Fix more test failures on platforms with 32-bit time_t (#7222) 2024-01-18 11:32:07 -01:00
Guilherme de Amorim
3ae1b62590
SageMaker: model-package-group supports list_tags, add_tags and remove_tags (#7183)
Co-authored-by: Guilherme <guilherme.amorim@ifood.com.br>
2024-01-04 18:13:30 -01:00
Guilherme de Amorim
44dcd14088
Sagemaker model: support versioned models (#7165) 2024-01-01 14:25:37 +00:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
d390aa673c
Sagemaker: Fix pagination for ModelPackages(Groups) (#6972) 2023-10-31 07:56:42 -01:00
HALLOUARD
da227dbfcd
fix: sagemaker model package arn (#6941) 2023-10-23 13:13:12 +00:00
Michael French
d4b8e07be8
Sagemaker: Add describe_model_package_group (#6899) 2023-10-11 10:34:33 +00:00
HALLOUARD
34bc540f70
Sagemaker: Add update_model_package (#6891) 2023-10-08 20:16:50 +00:00
HALLOUARD
c1bbae3604
feat: Add sagemaker list_model_package_groups and fix versionned model packages (#6847) 2023-09-26 08:43:27 +00:00
Bert Blommers
e211366534
SageMaker: list_notebook_instances() (#6756) 2023-09-02 06:34:49 +00:00
kbalk
56153be9d8
Techdebt: Replace sure with regular assertions in sagemaker (#6614) 2023-08-08 10:06:51 +00:00
DemyCode
8cc5155cc6
Sagemaker: Add create_model_package_group (#6454) 2023-07-27 09:32:18 +00:00
Brandon
6b2ee153e6
Sagemaker - Add Transform jobs (#6296) 2023-05-10 17:54:49 +00:00
Bogdan Girman
490e631245
Sagemaker: Store client_request_token in FakePipelineExecution object (#6000) 2023-03-01 10:19:05 -01:00
stiebels
afeebd8993
Sagemaker mock call: start_pipeline, list_pipeline_executions, describe_pipeline_execution, describe_pipeline_definition_for_execution, list_pipeline_parameters_for_execution #5 (#5836) 2023-01-12 18:18:30 -01:00
stiebels
4b117c4884
Add sagemaker mock call: describe_pipeline (#5797)
* Added mock for sagemaker describe-pipeline call

* Added NotImplementedError for PipelineDefinitionS3Location

* Added support for PipelineDefinitionS3Location

* Extended unit tests

* Moved arn_formatter into utils

* Import arn_formatter in test_sagemaker_pipeline

* Adding uniqueness check for PipelineName

* Removed unused import

* Swapped client for s3_backend

* Corrected kwarg names

* From direct s3_backend to mocked boto call due to strange error

* Changed to using s3_backends from mocked boto3 call

* Remove unused argument

* Black formatting

* Delete object and bucket to avoid duplicate bucket names error

* Try to fix bucket collisions

* Remove unused lines

* Switched to mock

* SkipTest in server mode

* Switched to handling inside to-be tested method

* added s3 mock

* mock s3

* Change mocking s3

* Removed unnecessary tests

* Switch to only s3_backend

* Adding skiptest to load from s3
2023-01-11 18:30:07 -01:00
sist
008d5b958e
Add sagemaker mock call: update_pipeline (#5787) 2022-12-19 22:35:37 -01:00
sist
f67abbe1f3
Add sagemaker mock call: delete_pipeline (#5780) 2022-12-17 09:38:23 -01:00
sist
e5d40f63f8
SageMaker: create_pipeline, list_pipelines (#5771) 2022-12-16 17:24:14 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Bert Blommers
da9cf7bb3a
Sagemaker:describe_training_job() - describe unknown job (#5582) 2022-10-19 21:53:02 +00:00
Bert Blommers
4f84e2f154
TechDebt - enable pylint rule redefined-outer-scope (#5518) 2022-10-04 16:28:30 +00:00
Arnaud Stiegler
6f3c391812
Sagemaker: Add support for Serverless Endpoint Configurations (#5445) 2022-09-02 18:42:50 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Thomas Rausch
e911341e6a
add indirection to access account id (#5098) 2022-05-08 22:25:40 +00:00
Killian O'Daly
eb49891118
Sagemaker: add support for update_endpoint_weights_and_capacities (#5082) 2022-05-04 09:36:46 +00:00
Killian O'Daly
e703ee9a76
Increase Tag support for Sagemaker. (#5052) 2022-04-27 11:56:08 +00:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bogdan Girman
de9aa9a8e3
Add pagination for list experiments/trials/components (#4686) 2021-12-15 09:32:19 -01:00
Przemysław Dąbek
aab2a25dfa
Add support for SageMaker Processing job (#4533) 2021-11-06 11:47:42 -01:00
Bogdan Girman
7764a94491
Improve sagemaker (#4517) 2021-11-01 21:30:07 -01:00
Bogdan Girman
3259a3307a
Add more functionality to sagemaker (#4491) 2021-10-28 20:21:20 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
nivla1
5044df98bc
Implement sagemaker list_training_jobs enhancement (issue #4248) (#4256)
Co-authored-by: nivla1 <keongalvin@gmail.com>
2021-09-02 13:45:47 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Zach Churchill
9b3e932822
Add CloudFormation support for SageMaker Endpoint Configs and Endpoints (#3863)
* Create SageMaker EndpointConfig with CloudFormation

Implement attributes for SM Endpoint Configs with CloudFormation

Delete SM Endpoint Configs with CloudFormation

Update SM Endpoint Configs with CloudFormation

* Fix typos in SM CF Model update test and refactor helper function for CF stack outputs

* Fixup weird commas in SM CF Test Configs from using black

* Create SageMaker Endpoints with CloudFormation

* Fix typos in SM CF update tests
2021-04-17 13:49:46 +01:00
Zach Churchill
f6dda54a6c
Add CloudFormation support for SageMaker Models (#3861)
* Create a formal interface for SM Cloudformation test configurations

* Create SageMaker Models with CloudFormation

* Utilize six for adding metaclass to TestConfig

* Update SM backend to return Model objects instead of response objects
2021-04-16 15:23:05 +01:00
Zach Churchill
0b11b0c716
Add CloudFormation support for SageMaker Notebook Instance Lifecycle Configs (#3855)
* Create SageMaker Notebook Instance Lifecycle Configs with CloudFormation

Implement attributes for SM Notebook Instance Lifecycle Config in CloudFormation

Delete SM Notebook Instance Lifecycle Configs with CloudFormation

Update SM Notebook Instance Lifecycle Configs with CloudFormation

Also fixed error in create_from method where the properties where not
being referenced when setting OnCreate and OnStart.

Factor out template for SM Notebook Lifecycle Config CF tests

* Refactor SM CloudFormation create tests to use pytest.mark.parametrize

* Refactor SM CloudFormation get_attr tests to use pytest.mark.parametrize

Also update the NotebookInstance template function to use Name and Arn
for the output IDs so that the parametrization is easier.

* Refactor SM CloudFormation delete tests to use pytest.mark.parametrize
2021-04-13 12:03:25 +01:00
Zach Churchill
d45233fa00
Add CloudFormation support for SageMaker Notebook Instances (#3845)
* Create SageMaker Notebook Instances with CloudFormation

* Implement attributes for SageMaker notebook instance in Cloudformation

* Delete SageMaker Notebook Instances with CloudFormation

* Update SageMaker Notebook Instances with CloudFormation

* Factor out template into function for SageMaker notebook instance tests
2021-04-09 18:54:00 +01:00
Bert Blommers
737636f9df
Tech debt (#3653) 2021-02-02 16:31:26 +00:00
Brian Pandola
cd25ab7a16
Fix: broken build with release of botocore 1.19.62 (#3628)
The latest release of `botocore` (1.19.62) makes changes to the parameter
validation code, which for some reason was also covered by a couple of
`moto` tests.

These tests, when run, do not execute any `moto` code.  They fail the
parameter validation check in `botocore`, which raises an exception
before ever sending a request.  These tests do not cover or verify
any `moto` behavior and have been removed.

Ref: ff8ae76ecc

Closes #3627
2021-01-29 09:06:25 +00:00
Matěj Cepl
5697ff87a8 Back to Black 2020-11-10 14:12:38 +01:00
Matěj Cepl
ea489bce6c Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97 Port test suite from nose to pytest.
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
jweite
f8d2ce2e6a
Notebook Lifecycle Config create, describe and delete (#3417)
* Notebook Lifecycle Config create, describe and delete

* PR3417 comment changes: raise on create with duplicate name, derive a ValidationException class and use it instead of RESTException, unit test for delete non-existing.

Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-10-30 21:05:06 +00:00