Commit Graph

13 Commits

Author SHA1 Message Date
Ashley Gould
a3f6d2c110 [Resolves #2196] - endpoints for querying organizations SC policies (#2197)
adding support for organizations service control policies

* [Resolves #2196] - endpoints for querying organizations SC policies

I have added the following mock endpoints to the Organizations service:

- create_policy
- list_policies
- describe_policy
- attach_policy
- list_policies_for_target
- list_targets_for_policy
2019-05-25 10:20:19 +01:00
Ashley Gould
7a88e634eb organizations: add exception test for describe_organization endpoint 2018-10-08 15:27:19 -07:00
Ashley Gould
05928b1497 [issue #1720] Add support for AWS Organizations
added exception handling in class OrganizationsBackend
2018-09-28 08:34:19 -07:00
Ashley Gould
40e422b74d [issue #1720] Add support for AWS Organizations
ready for pull request
did a little cleanup refactoring
local tests pass
2018-09-28 08:34:19 -07:00
Ashley Gould
01912bdca7 organizations: fix python 2.7 test errors 2018-09-28 08:34:19 -07:00
Ashley Gould
8f400b7110 organizations: add endpoint list_chilren 2018-09-28 08:34:19 -07:00
Ashley Gould
30a9aa33e5 organizations: endpoint list_parents now support account_id param
refactered classes: FakeRoot inherits from FakeOrganizationsUnit
add root_id attribute to class FakeOrganization
dropped 'roots' attribute from class OrganizationaBackend
2018-09-28 08:34:18 -07:00
Ashley Gould
009dcdb21a organizations: and another 2 endpoints:
list_accounts_for_parent
move_account
2018-09-28 08:34:18 -07:00
Ashley Gould
fc2447c6a4 organiziaions: 2 new endpoints:
list_organizational_units_for_parents
list_parents
2018-09-28 08:34:18 -07:00
Ashley Gould
beebb9abc8 organizations: add 2 more endpoints
create_organizational_unit
describe_organizational_unit
2018-09-28 08:34:18 -07:00
Ashley Gould
6c0c6148f1 organizations: add endpoint list_roots 2018-09-28 08:34:18 -07:00
Ashley Gould
c40d2be646 organizations: clean up for flake8 2018-09-28 08:34:18 -07:00
Ashley Gould
edbc57e00d add support for AWS Organizations
endpoints covers so far:
- create_organization
- describe_organization
- create_account
- describe_account
- list_accounts

all tests passing.
could use some advise from maintaners.
2018-09-28 08:34:18 -07:00