
    B
                        S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSK	Jr  SS	K	Jr  \R                  " \R                  R                  \R                  R                   5       " S
 S\R"                  5      5       rg)z-Command to get a SHA effective custom module.    )absolute_import)division)unicode_literals)clients)base)	constants)flags)parsingc                   .    \ rS rSrSr\S 5       rS rSrg)DescribeEffective   a  Get effective the details of a Security Health Analytics effective custom module.

Get the effective details of a Security Health Analytics effective custom
module. It retrieves a custom module with its effective enablement state.

## EXAMPLES

To get the effective details of a Security Health Analytics custom module with
ID `123456` for organization `123`, run:

  $ {command} 123456 --organization=123

To get the effective details of a Security Health Analytics custom module with
ID `123456` for folder `456`, run:

  $ {command} 123456 --folder=456

To get the effective details of a Security Health Analytics custom module with
ID `123456` for project `789`, run:

  $ {command} 123456 --project=789

You can also specify the parent more generally:

  $ {command} 123456 --parent=organizations/123

Or just specify the fully qualified module name:

  $ {command}
  organizations/123/locations/global/effectiveSecurityHealthAnalyticsCustomModules/123456
c                     [         R                  " [        R                  R                  S9R                  U 5        [         R                  " SS9R                  U 5        g )Nmodule_typeF)required)r	   CreateModuleIdOrNameArgr   CustomModuleTypeEFFECTIVE_SHAAddToParserCreateParentFlag)parsers    ?lib/surface/scc/manage/custom_modules/sha/describe_effective.pyArgsDescribeEffective.Args>   sB    	!!..<<k&	E*66v>    c                     [         R                  " U[        R                  R                  S9n[
        R                  " 5       nUR                  U5      $ )Nr   )r
   GetModuleNameFromArgsr   r   r   r   EffectiveSHACustomModuleClientGet)selfargsnameclients       r   RunDescribeEffective.RunE   sB    (()44BBD 335F::dr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r   r      s!    @ ? ?r   r   N)r+   
__future__r   r   r   %googlecloudsdk.api_lib.scc.manage.shar   googlecloudsdk.callioper   %googlecloudsdk.command_lib.scc.manager   r	   r
   ReleaseTracksReleaseTrackGAALPHADescribeCommandr   r&   r   r   <module>r7      si    4 &  ' 9 ( ; 7 9 D%%(($*;*;*A*AB/,, / C/r   